Browse Source

修改审核人选择问题显示部门1

dev
caoyizhong 2 years ago
parent
commit
8c18e34f84
  1. 6
      src/views/activiti/PSelectBizComponentModal.vue
  2. 20
      src/views/activiti/ProcessModelList.vue

6
src/views/activiti/PSelectBizComponentModal.vue

@ -272,7 +272,7 @@ export default {
},
// id
initQueryUserByDepId(selectedDepIds) {
// this.loading = true
this.loading = true
return queryUserByDepId({id: selectedDepIds.toString()}).then((res) => {
// console.log("initQueryUserByDepId",res)
if (res.success) {
@ -280,13 +280,13 @@ export default {
this.ipagination.total = res.result.length;
}
}).finally(() => {
// this.loading = false
this.loading = false
})
},
queryDepartTree() {
queryDepartTreeList().then((res) => {
console.log("234q32423",res)
// console.log("234q32423",res)
if (res.success) {
this.departTree = res.result;
//

20
src/views/activiti/ProcessModelList.vue

@ -629,16 +629,16 @@
if (!err) {
let formData = Object.assign(this.editObj, values)
console.log("formData",formData)
// this.confirmLoading = true;
// this.postFormAction(this.url.updateInfo,formData).then(res => {
// if (res.success) {
// _this.$message.success("");
// _this.loadData();
// _this.editObj.visible = false;
// }else {
// _this.$message.error(res.message);
// }
// }).finally(() => _this.confirmLoading = false);;
this.confirmLoading = true;
this.postFormAction(this.url.updateInfo,formData).then(res => {
if (res.success) {
_this.$message.success("操作成功");
_this.loadData();
_this.editObj.visible = false;
}else {
_this.$message.error(res.message);
}
}).finally(() => _this.confirmLoading = false);;
}
})
},

Loading…
Cancel
Save