|
@@ -17,11 +17,11 @@
|
17
|
17
|
</el-col>
|
18
|
18
|
</el-tab-pane> -->
|
19
|
19
|
<el-tab-pane label="表单信息" name="1">
|
20
|
|
- <sc-form @submit="submitForm" v-if="deployId == '7653'"></sc-form>
|
21
|
|
- <jy-form @submit="submitForm" v-else-if="deployId == '10018'"></jy-form>
|
22
|
|
- <zh-form @submit="submitForm" v-else-if="deployId == '10022'"></zh-form>
|
23
|
|
- <js-form @submit="submitForm" v-else-if="deployId == '12501'"></js-form>
|
24
|
|
- <xm-form @submit="submitForm" v-else-if="deployId == '12505'"></xm-form>
|
|
20
|
+ <sc-form @submit="submitForm" v-if="deployName == '生产部门考核'"></sc-form>
|
|
21
|
+ <jy-form @submit="submitForm" v-else-if="deployName == '经营发展部考核'"></jy-form>
|
|
22
|
+ <zh-form @submit="submitForm" v-else-if="deployName == '综合事务部考核'"></zh-form>
|
|
23
|
+ <js-form @submit="submitForm" v-else-if="deployName == '技术质量部考核'"></js-form>
|
|
24
|
+ <xm-form @submit="submitForm" v-else-if="deployName == '项目管理部考核'"></xm-form>
|
25
|
25
|
<el-col :span="16" :offset="4" v-else>
|
26
|
26
|
<div class="test-form">
|
27
|
27
|
<parser :key="new Date().getTime()" :form-conf="formConf" @submit="submitForm" ref="parser"
|
|
@@ -92,6 +92,7 @@ export default {
|
92
|
92
|
// 遮罩层
|
93
|
93
|
loading: true,
|
94
|
94
|
deployId: "", // 流程定义编号
|
|
95
|
+ deployName:"",//流程定义名称
|
95
|
96
|
procDefId: "", // 流程实例编号
|
96
|
97
|
formConf: {}, // 默认表单数据
|
97
|
98
|
variables: [], // 流程变量数据
|
|
@@ -110,6 +111,7 @@ export default {
|
110
|
111
|
this.deployId = this.$route.query && this.$route.query.deployId;
|
111
|
112
|
// 初始化表单
|
112
|
113
|
this.procDefId = this.$route.query && this.$route.query.procDefId;
|
|
114
|
+ this.deployName = this.$route.query && this.$route.query.name;
|
113
|
115
|
// this.getNextFlowNodeByStart(this.deployId);
|
114
|
116
|
this.getFlowFormData(this.deployId);
|
115
|
117
|
},
|