master
lion 1 year ago
parent c0b47e0aab
commit 0f4f6a221a

@ -890,7 +890,7 @@
this.checkAll = checkedCount === this.deptOptions.length; this.checkAll = checkedCount === this.deptOptions.length;
this.isIndeterminate = checkedCount > 0 && checkedCount < this.deptOptions.length; this.isIndeterminate = checkedCount > 0 && checkedCount < this.deptOptions.length;
}, },
// //
sendNotice(row){ sendNotice(row){
this.$refs.sendNotice.setForm(row) this.$refs.sendNotice.setForm(row)
this.$refs.sendNotice.isShow = true this.$refs.sendNotice.isShow = true
@ -1194,7 +1194,16 @@
mission_name:this.form.name, mission_name:this.form.name,
op_name:this.type === 'editor'?'编辑任务':(this.type=== 'send'?'任务转办':'编辑任务'), op_name:this.type === 'editor'?'编辑任务':(this.type=== 'send'?'任务转办':'编辑任务'),
remark:'' remark:''
}).then(res=>{ }).then(res1=>{
console.log("this.type",this.type)
if(this.type==="send"){
if(res.mission_distribute && res.mission_distribute.length>0){
this.sendNotice({
id:res.model.id,
mission_distribute:res.mission_distribute
})
}
}
this.isShow = false this.isShow = false
this.$emit('refresh') this.$emit('refresh')
}) })

@ -86,10 +86,10 @@
let Arr = [] let Arr = []
this.form.mission_id = e.id this.form.mission_id = e.id
e.mission_distribute.map(item=>{ e.mission_distribute.map(item=>{
if(item.admin_type>1){ // if(item.admin_type>1){
arr.push(item.accept_admin_id) arr.push(item.accept_admin_id)
Arr.push(item) Arr.push(item)
} // }
}) })
this.checkList = arr this.checkList = arr
this.checkArr = Arr this.checkArr = Arr

Loading…
Cancel
Save