|
@@ -222,7 +222,7 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
|
- <Upload v-model="fileUrl" ref="upload" />
|
|
|
+ <Upload :fileUrl="fileUrl" ref="upload" />
|
|
|
</el-form-item>
|
|
|
<div class="text item" style="text-align: center; margin-top: 18px">
|
|
|
<el-button round @click="handleCommit(endNodeDetail)"
|
|
@@ -544,6 +544,8 @@ export default {
|
|
|
this.dataList.remarks = "";
|
|
|
this.fileUrl = [];
|
|
|
this.$refs.upload.onClear();
|
|
|
+ // 充值数据
|
|
|
+ this.getProcessNodeList();
|
|
|
} else {
|
|
|
this.$message.error(res.message);
|
|
|
}
|
|
@@ -753,7 +755,7 @@ export default {
|
|
|
});
|
|
|
|
|
|
// console.log(this.nodeStepList);
|
|
|
- console.log(this.circulationList, "this.circulationList");
|
|
|
+ // console.log(this.circulationList, "this.circulationList");
|
|
|
|
|
|
// if(this.processStructureValue.nodes) {
|
|
|
// for (var i = 0; i < this.processStructureValue.nodes.length; i++) {
|
|
@@ -944,6 +946,21 @@ export default {
|
|
|
});
|
|
|
promiseList.push(this.$refs["generateForm-" + tpl.id][0].getData());
|
|
|
}
|
|
|
+ console.log({
|
|
|
+ tasks: this.processStructureValue.process.task,
|
|
|
+ source_state: this.processStructureValue.workOrder.current_state,
|
|
|
+ target_state: item.target,
|
|
|
+ circulation: item.label,
|
|
|
+ flow_properties:
|
|
|
+ item.flowProperties === undefined
|
|
|
+ ? 2
|
|
|
+ : parseInt(item.flowProperties),
|
|
|
+ work_order_id: parseInt(this.$route.query.workOrderId),
|
|
|
+ remarks: this.dataList.remarks,
|
|
|
+ fileUrl: JSON.stringify(this.fileUrl || []),
|
|
|
+ tpls: this.tpls
|
|
|
+ })
|
|
|
+
|
|
|
this.$refs["dataFrom"].validate(_ => {
|
|
|
if (_) {
|
|
|
Promise.all(promiseList).then(values => {
|