diff --git a/src/api/api.js b/src/api/api.js
index 8a49a1a..ae44625 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -46,6 +46,11 @@ const agreeStandardECProcess = (params) => postAction('/process/fb/processFbEntr
// 驳回
const rejectStandardECProcess = (params) => postAction('/process/fb/processFbEntryChange/reject', params)
+// 企标立项、变更流程
+// 初始化数据
+// 根据流程id获取流程信息
+const getProcessDataById = (taskId, params) => getAction(`/process/es/initChange/handle/${taskId}`, params)
+
export {
queryPermissionsByUser,
getFormDictTreeList,
@@ -63,5 +68,7 @@ export {
queryStandardECProcessData,
turnToStandardECProcess,
agreeStandardECProcess,
- rejectStandardECProcess
+ rejectStandardECProcess,
+
+ getProcessDataById
}
diff --git a/src/views/workCenter/enterpriseStandardInitChange/EnterpriseStandardInitChange.vue b/src/views/workCenter/enterpriseStandardInitChange/EnterpriseStandardInitChange.vue
index 5f61014..dc950b3 100644
--- a/src/views/workCenter/enterpriseStandardInitChange/EnterpriseStandardInitChange.vue
+++ b/src/views/workCenter/enterpriseStandardInitChange/EnterpriseStandardInitChange.vue
@@ -40,160 +40,149 @@
class="vertical-form-item"/>
-
-
-
{{ $t('basicServiceInformation') }}
-
-
-
-
-
-
-
-
-
+
+
+
{{ $t('basicServiceInformation') }}
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ :columnData="projectTypeData"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
{{ $t('finishDate') }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ $t('finishDate') }}
-
-
-
-
-
{{ $t('rangeOfApplication') }}
-
+
+
+
+
{{ $t('rangeOfApplication') }}
-
-
-
-
-
{{ $t('esInitChange.projectStatement') }}
-
+
+
+
+
{{ $t('esInitChange.projectStatement') }}
-
-
+
+
{{ $t('processApprovalInformation') }}
@@ -420,7 +393,7 @@ import PickerField from '@/components/PickerField'
import PickerDictField from '@/components/PickerDictField'
import TreeSelectMultiple from '@/components/TreeSelectMultiple'
import FileDisplay from '@/components/FileDisplay'
-import { getTreeList } from '@/api/api'
+import { getProcessDataById, getTreeList } from '@/api/api'
export default {
name: 'EnterpriseStandardInitChange',
@@ -485,17 +458,12 @@ export default {
],
standardSystemOptions: [], // 标准体系下拉框数据
processInfoForm: {}, // 流程信息表单
- baseInfoForm: {
- applicationCategory: 3,
- projectType: 1,
- enStandardCode: '1',
- enStandardSystem: 'adb15f66ce174f7295ab51fbc39c15b8',
- compilationDescription: '1730504676669747201'
- } // 业务基本信息
+ baseInfoForm: {} // 业务基本信息
}
},
created () {
this.initStandardSystemOptions()
+ this.initData()
},
methods: {
// 获取标准体系下拉框数据
@@ -506,6 +474,15 @@ export default {
}
})
},
+ initData () {
+ getProcessDataById(this.$route.query.taskId).then(res => {
+ if (res.success) {
+ const result = res.result
+ this.processInfoForm = result.common
+ this.baseInfoForm = result.dataList[0]
+ }
+ })
+ },
selectUserNameChange (value, fieldName) {
this.processInfoForm[fieldName + '_dictText'] = value
},