协同宣发

This commit is contained in:
shijingjing
2022-08-22 13:47:25 +08:00
parent 24fbbd51f7
commit 3c417c32ae
2 changed files with 9 additions and 7 deletions

View File

@@ -7,9 +7,7 @@
<img src="./images/tx@2x.png" alt="" class="avatras"/>
</div>
<div class="rights fill">
<div class="applicationNames">
<AiOpenData type="userName" :openid="e.userId"/>
</div>
<div class="applicationNames">{{ e.userName }}</div>
</div>
</div>
<AiEmpty description="暂无数据" v-if="!userList"/>
@@ -45,13 +43,17 @@ export default {
},
methods: {
isSelected(userId) {
return this.selected.userId===userId
return this.selected.userId === userId
},
getCreateUserList() {
this.userList = []
this.$http.post(`/app/appmasssendingtask/createUserlist`).then(res => {
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)}
))
}
})
},

View File

@@ -252,7 +252,7 @@ export default {
...mapState(['user'])
},
methods: {
...mapActions(['initOpenData', 'transCanvas','selectEnterpriseContact']),
...mapActions(['initOpenData', 'transCanvas','selectPrivilegedContact']),
checkTime(index) {
if (index == 3) {
this.timeSelect = index;
@@ -628,7 +628,7 @@ export default {
},
// 选择部门
getDept() {
this.selectEnterpriseContact({
this.selectPrivilegedContact({
fromDepartmentId: 0,
mode: "single",
type: ["department"],