协同宣发
This commit is contained in:
@@ -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)}
|
||||
))
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user