|
|
|
@ -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')
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|