|
|
|
@ -10,7 +10,7 @@ |
|
|
|
:show-all-levels="false" clearable></el-cascader> |
|
|
|
<el-select v-model.trim="formData.receiverIds" placeholder="请选择" size="small" clearable |
|
|
|
class="cell-width-1" collapse-tags style="margin-left: 10px;" |
|
|
|
@change="changeTag" c> |
|
|
|
@change="changeTag" > |
|
|
|
<el-option v-for="item in workPersonnelList" :key="item.value" :label="item.name" |
|
|
|
:value="item.staffId"> |
|
|
|
</el-option> |
|
|
|
@ -59,7 +59,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import options from "@/utils/luckysheetConfig.js"; |
|
|
|
|
|
|
|
import { requestPost, requestGet } from "@/js/dai/request"; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
@ -90,10 +90,38 @@ export default { |
|
|
|
agencyId: '', |
|
|
|
agencylevel: '', |
|
|
|
showType:"", |
|
|
|
pageNo:1, |
|
|
|
pageSize:10 |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { }, |
|
|
|
methods: { |
|
|
|
handleConfirm(){ |
|
|
|
let userIdList=this.selfTag.map(item=>{ |
|
|
|
console.log(item,"dsdl;fjdfs"); |
|
|
|
|
|
|
|
}) |
|
|
|
let parms={ |
|
|
|
userIdList:this.selfTag, |
|
|
|
taskId:this.taskId, |
|
|
|
} |
|
|
|
requestPost('/actual/base/communityOneTablePeriodPublish/changeAssignWorker', parms).then(res => { |
|
|
|
return this.$success.error("调整成功") |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
getPeriodPublish() { |
|
|
|
let parms={ |
|
|
|
pageNo:this.pageNo, |
|
|
|
pageSize:this.pageSize, |
|
|
|
taskId:this.taskId, |
|
|
|
taskNum:0 |
|
|
|
} |
|
|
|
requestGet('/actual/base/communityOneTablePeriodPublish/page', parms).then(res => { |
|
|
|
this.tableData=res.data.list |
|
|
|
}); |
|
|
|
}, |
|
|
|
getLastItem(list, vals, key) { |
|
|
|
let LIST = list || []; |
|
|
|
for (let item of LIST) { |
|
|
|
@ -158,37 +186,11 @@ export default { |
|
|
|
return this.$message.error('网络错误') |
|
|
|
}) |
|
|
|
}, |
|
|
|
getPeriodPublish() { |
|
|
|
let parms={ |
|
|
|
pageNo:this.pageNo, |
|
|
|
pageSize:this.pageSize, |
|
|
|
taskId:this.taskId, |
|
|
|
taskNum:0 |
|
|
|
} |
|
|
|
requestGet('/actual/base/communityOneTablePeriodPublish/page', parms).then(res => { |
|
|
|
this.tableData=res.data.list |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
handleCancel(){ |
|
|
|
this.$emit('handelPersonel') |
|
|
|
}, |
|
|
|
handleConfirm(){ |
|
|
|
this.$http |
|
|
|
.post('/gov/org/customeragency/agencygridtree', {}) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} else { |
|
|
|
this.$message.success("调整成功") |
|
|
|
return this.$emit('handelPersonel') |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
return this.$message.error('网络错误') |
|
|
|
}) |
|
|
|
return this.$success.error("调整成功") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
console.log(this.showType,this.taskId,"sdlfkl;sdf"); |
|
|
|
|