|
|
@@ -25,6 +25,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-show="activeComp === 'main'">
|
|
|
+ <div class="row">主题: {{ form.businessName }}</div>
|
|
|
+ <div class="row">提交人: {{ form.processInstance?.startUserNickname }}</div>
|
|
|
+ <div class="row">提交时间: {{ form.createTime }}</div>
|
|
|
<fm-generate-form
|
|
|
v-if="Object.keys(form?.formJson || {}).length !== 0"
|
|
|
:data="jsonData"
|
|
|
@@ -52,6 +55,90 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
+ <template v-slot:eom_contact="scope">
|
|
|
+ <div class="eom_contact">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.model.eom_contact.name"
|
|
|
+ style="width: 100%"
|
|
|
+ :disabled="view"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 关联工单 -->
|
|
|
+ <template v-slot:manage_workorder="scope">
|
|
|
+ <div class="manage_workorder">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.model.manage_workorder.code"
|
|
|
+ style="width: 100%"
|
|
|
+ :disabled="view"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 差旅 -->
|
|
|
+ <template v-slot:blank_business_component="scope">
|
|
|
+ <businessComponent
|
|
|
+ ref="blank_business_component"
|
|
|
+ id="blank_business_component"
|
|
|
+ :generateForm="$refs.generateForm"
|
|
|
+ :info="scope.model"
|
|
|
+ :view="view"
|
|
|
+ ></businessComponent>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 印章使用 -->
|
|
|
+ <template v-slot:blank_use_seal="scope">
|
|
|
+ <useSealComponent
|
|
|
+ ref="blank_use_seal"
|
|
|
+ id="blank_use_seal"
|
|
|
+ :generateForm="$refs.generateForm"
|
|
|
+ :info="scope.model"
|
|
|
+ :view="view"
|
|
|
+ ></useSealComponent>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 资质使用 -->
|
|
|
+ <template v-slot:blank_use_qualification="scope">
|
|
|
+ <useQualificationComponent
|
|
|
+ ref="blank_use_qualification"
|
|
|
+ id="blank_use_qualification"
|
|
|
+ :generateForm="$refs.generateForm"
|
|
|
+ :info="scope.model"
|
|
|
+ :view="view"
|
|
|
+ ></useQualificationComponent>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 产品规格 -->
|
|
|
+ <template v-slot:blank_product_specification="scope">
|
|
|
+ <productSpecificationComponent
|
|
|
+ ref="blank_product_specification"
|
|
|
+ id="blank_product_specification"
|
|
|
+ :generateForm="$refs.generateForm"
|
|
|
+ :info="scope.model"
|
|
|
+ :view="view"
|
|
|
+ ></productSpecificationComponent>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 事件 -->
|
|
|
+ <template v-slot:blank_event_component="scope">
|
|
|
+ <eventComponent
|
|
|
+ ref="blank_event_component"
|
|
|
+ id="blank_event_component"
|
|
|
+ :generateForm="$refs.generateForm"
|
|
|
+ :info="scope.model"
|
|
|
+ :view="view"
|
|
|
+ ></eventComponent>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 补发 -->
|
|
|
+ <template v-slot:blank_reissue_component="scope">
|
|
|
+ <reissueComponent
|
|
|
+ ref="blank_reissue_component"
|
|
|
+ id="blank_reissue_component"
|
|
|
+ :generateForm="$refs.generateForm"
|
|
|
+ :info="scope.model"
|
|
|
+ :view="view"
|
|
|
+ ></reissueComponent>
|
|
|
+ </template>
|
|
|
</fm-generate-form>
|
|
|
<async-biz-form-component
|
|
|
v-else
|
|
|
@@ -77,9 +164,22 @@
|
|
|
import Vue from 'vue';
|
|
|
import { getToken } from '@/utils/token-util';
|
|
|
|
|
|
+ import businessComponent from '@/BIZComponents/processSubmitDialog/components/businessComponent.vue';
|
|
|
+ import useSealComponent from '@/BIZComponents/processSubmitDialog/components/useSealComponent.vue';
|
|
|
+ import useQualificationComponent from '@/BIZComponents/processSubmitDialog/components/useQualificationComponent.vue';
|
|
|
+ import productSpecificationComponent from '@/BIZComponents/processSubmitDialog/components/productSpecificationComponent.vue';
|
|
|
+ import eventComponent from '@/BIZComponents/processSubmitDialog/components/eventComponent.vue';
|
|
|
+ import reissueComponent from '@/BIZComponents/processSubmitDialog/components/reissueComponent.vue';
|
|
|
+
|
|
|
export default {
|
|
|
components: {
|
|
|
- bpmDetail
|
|
|
+ bpmDetail,
|
|
|
+ businessComponent,
|
|
|
+ useSealComponent,
|
|
|
+ useQualificationComponent,
|
|
|
+ productSpecificationComponent,
|
|
|
+ eventComponent,
|
|
|
+ reissueComponent
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -152,4 +252,9 @@
|
|
|
}
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
+ .row {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ margin-top: 10px;
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
</style>
|