协同宣发
This commit is contained in:
@@ -7,9 +7,7 @@
|
|||||||
<img src="./images/tx@2x.png" alt="" class="avatras"/>
|
<img src="./images/tx@2x.png" alt="" class="avatras"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="rights fill">
|
<div class="rights fill">
|
||||||
<div class="applicationNames">
|
<div class="applicationNames">{{ e.userName }}</div>
|
||||||
<AiOpenData type="userName" :openid="e.userId"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<AiEmpty description="暂无数据" v-if="!userList"/>
|
<AiEmpty description="暂无数据" v-if="!userList"/>
|
||||||
@@ -45,13 +43,17 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
isSelected(userId) {
|
isSelected(userId) {
|
||||||
return this.selected.userId===userId
|
return this.selected.userId === userId
|
||||||
},
|
},
|
||||||
getCreateUserList() {
|
getCreateUserList() {
|
||||||
this.userList = []
|
this.userList = []
|
||||||
this.$http.post(`/app/appmasssendingtask/createUserlist`).then(res => {
|
this.$http.post(`/app/appmasssendingtask/createUserlist`).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.userList = res.data.map(e => ({userId: e, isChecked: this.isSelected(e)}))
|
this.userList = res.data.map(e => ({
|
||||||
|
userId: e.create_user_id,
|
||||||
|
userName: e.create_user_name,
|
||||||
|
isChecked: this.isSelected(e.create_user_id)}
|
||||||
|
))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ export default {
|
|||||||
...mapState(['user'])
|
...mapState(['user'])
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['initOpenData', 'transCanvas','selectEnterpriseContact']),
|
...mapActions(['initOpenData', 'transCanvas','selectPrivilegedContact']),
|
||||||
checkTime(index) {
|
checkTime(index) {
|
||||||
if (index == 3) {
|
if (index == 3) {
|
||||||
this.timeSelect = index;
|
this.timeSelect = index;
|
||||||
@@ -628,7 +628,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 选择部门
|
// 选择部门
|
||||||
getDept() {
|
getDept() {
|
||||||
this.selectEnterpriseContact({
|
this.selectPrivilegedContact({
|
||||||
fromDepartmentId: 0,
|
fromDepartmentId: 0,
|
||||||
mode: "single",
|
mode: "single",
|
||||||
type: ["department"],
|
type: ["department"],
|
||||||
|
|||||||
Reference in New Issue
Block a user