diff --git a/src/views/activiti/ProcessModelList.vue b/src/views/activiti/ProcessModelList.vue
index 129d008..88c9816 100644
--- a/src/views/activiti/ProcessModelList.vue
+++ b/src/views/activiti/ProcessModelList.vue
@@ -758,6 +758,7 @@
// this.loadData();
},
loadData(arg) {
+
if(!this.url.list){
this.$message.error("请设置url.list属性!")
return
diff --git a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue
index 21c7221..8780dfb 100644
--- a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue
+++ b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue
@@ -649,8 +649,9 @@
httpAction(url, formData, method).then((res) => {
if (res.success) {
//todo 将表单的数据传给父组件
- this.$emit('afterSubmit', formData)
- this.$emit("close")
+ if(e!=true){
+ this.$emit('afterSubmit', formData)
+ }
} else {
this.$message.error(res.message)
}
@@ -768,7 +769,7 @@
},
saveAndpassTask() {
this.passTask()
- this.handleSubmit();
+ this.handleSubmit(true);
},
validateError(msg) {
this.$message.error(msg)
diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue
index 3ad7604..d58fde8 100644
--- a/src/views/activiti/form/ProcessUdgetPlanForm.vue
+++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue
@@ -1350,7 +1350,7 @@
return
} else {
this.passTask();
- this.handleSubmit();
+ this.handleSubmit(true);
}
}
})
@@ -1413,8 +1413,9 @@
httpAction(url, formData, method).then((res) => {
if (res.success) {
//todo 将表单的数据传给父组件
- this.$emit('afterSubmit', formData)
- this.$emit("close")
+ if(e!=true){
+ this.$emit('afterSubmit', formData)
+ }
} else {
this.$message.error(res.message)
}
diff --git a/src/views/activiti/todoManage.vue b/src/views/activiti/todoManage.vue
index d803499..4d6984c 100644
--- a/src/views/activiti/todoManage.vue
+++ b/src/views/activiti/todoManage.vue
@@ -14,15 +14,15 @@
/>
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
passTask(lcModa.processData)"
@backTask="()=>backTask(lcModa.processData)" :procInstId="lcModa.procInstId"
@@ -166,7 +168,7 @@
-
+
{
+ let param = {}
+ param.tableName = this.tableName
+ param.tableId = this.tableId
+ param.nodeId = v
+ this.getAction(this.url.getNode, param).then(res => {
this.userLoading = false
if (res.success) {
if (res.result.users && res.result.users.length > 0) {
@@ -676,9 +685,9 @@
}
})
},
- afterSub(){
+ afterSub() {
this.$message.success('保存成功')
- this.lcModa.visible=false;
+ this.lcModa.visible = false
this.lcModa.disabled = false
},
backAll() {
@@ -717,20 +726,23 @@
}
\ No newline at end of file
diff --git a/src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue b/src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue
index 8fd49c9..4a7d1b6 100644
--- a/src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue
+++ b/src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue
@@ -26,7 +26,7 @@
-
+
@@ -73,7 +73,7 @@
-
+
diff --git a/src/views/wastematerials/ProcessWasteMaterialsLists.vue b/src/views/wastematerials/ProcessWasteMaterialsLists.vue
index 9bf52cb..35a2e5b 100644
--- a/src/views/wastematerials/ProcessWasteMaterialsLists.vue
+++ b/src/views/wastematerials/ProcessWasteMaterialsLists.vue
@@ -47,7 +47,7 @@
-
+