|
@@ -193,6 +193,16 @@
|
|
|
ref="myFormRef"
|
|
|
v-if="myForm"
|
|
|
></component>
|
|
|
+ <!-- <AssignEmployees :formData="formData"
|
|
|
+ :row="row"></AssignEmployees> -->
|
|
|
+ <!-- <NodeShow ref="myFormRef" :formData="formData" :row="row"></NodeShow>
|
|
|
+ -->
|
|
|
+
|
|
|
+ <!-- <SC01 :formData="formData"
|
|
|
+ :row="row"></SC01> -->
|
|
|
+
|
|
|
+ <!-- <AssignEmployees></AssignEmployees> -->
|
|
|
+
|
|
|
<!-- <CG1 ref="myFormRef"></CG1>
|
|
|
<KC1 ref="myFormRef"></KC1> -->
|
|
|
<!-- <GY06 ref="myFormRef" :formData="formData" :row="row"></GY06> -->
|
|
@@ -217,7 +227,7 @@ import { triggerExceptionNode } from "@/api/bpmprocess/process";
|
|
|
|
|
|
import getNodeSequence from "@/utils/bpmn/getNodeSequence";
|
|
|
import GY02 from "./dialogCompments/GongYi/GY02.vue";
|
|
|
-import ZL1 from "./dialogCompments/ZhiLiang/ZL1.vue";
|
|
|
+import ZL01 from "./dialogCompments/ZhiLiang/ZL1.vue";
|
|
|
import { getForm } from "@/api/dragform/form";
|
|
|
import DialogTemplate from "@/views/dialogTemplate/components/index.vue";
|
|
|
|
|
@@ -225,15 +235,44 @@ import DialogTemplate from "@/views/dialogTemplate/components/index.vue";
|
|
|
import GY01 from "./dialogCompments/GongYi/GY01.vue";
|
|
|
import GY03 from "./dialogCompments/GongYi/GY03.vue";
|
|
|
import CG1 from "./dialogCompments/test-component/CaiGou/CG1.vue";
|
|
|
-import CG2 from "./dialogCompments/test-component/CaiGou/CG02.vue";
|
|
|
-import KC1 from "./dialogCompments/test-component/KuCun/KC1.vue";
|
|
|
+import CG02 from "./dialogCompments/test-component/CaiGou/CG02.vue";
|
|
|
+import KC01 from "./dialogCompments/test-component/KuCun/KC1.vue";
|
|
|
import KC02 from "./dialogCompments/test-component/KuCun/KC02.vue";
|
|
|
import GY06 from "./dialogCompments/GongYi/GY06.vue";
|
|
|
+import KB01 from "./dialogCompments/KongBai/KB01.vue"; //空白提示组件
|
|
|
+import SC01 from "./dialogCompments/ShengChan/SC01.vue";
|
|
|
+
|
|
|
+//Mec组件
|
|
|
+import AssignEmployees from "./dialogCompments/Mec/AssignEmployees.vue";
|
|
|
+import Notes from "./dialogCompments/Mec/Notes.vue";
|
|
|
+import Print from "./dialogCompments/Mec/Print.vue";
|
|
|
+import NodeShow from "./dialogCompments/Mec/NodeShow.vue";
|
|
|
+import RecordQuality from "./dialogCompments/Mec/RecordQuality.vue";
|
|
|
+import ProductionProcesses from "./dialogCompments/Mec/ProductionProcesses.vue";
|
|
|
|
|
|
export default {
|
|
|
name: "processMange",
|
|
|
props: [],
|
|
|
- components: { GY01, DialogTemplate, CG1, CG2, KC1, GY06, GY03, KC02, GY02 },
|
|
|
+ components: {
|
|
|
+ GY01,
|
|
|
+ DialogTemplate,
|
|
|
+ CG1,
|
|
|
+ CG02,
|
|
|
+ KC01,
|
|
|
+ GY06,
|
|
|
+ GY03,
|
|
|
+ KC02,
|
|
|
+ GY02,
|
|
|
+ KB01,
|
|
|
+ SC01,
|
|
|
+ ZL01,
|
|
|
+ NodeShow,
|
|
|
+ AssignEmployees,
|
|
|
+ Notes,
|
|
|
+ Print,
|
|
|
+ RecordQuality,
|
|
|
+ ProductionProcesses,
|
|
|
+ },
|
|
|
dicts: ["bpm_type", "task_process_state"],
|
|
|
data() {
|
|
|
return {
|
|
@@ -353,7 +392,9 @@ export default {
|
|
|
// default:
|
|
|
// break;
|
|
|
// }
|
|
|
+ console.log(this.$refs.myFormRef);
|
|
|
let temp = await this.$refs.myFormRef?.getFormData();
|
|
|
+ console.log('temp',temp);
|
|
|
if (!temp?.flag) {
|
|
|
this.$message.error(temp.msg);
|
|
|
return false;
|