[update] 稽查整改流程
This commit is contained in:
+121
-3
@@ -41,7 +41,118 @@
|
||||
<!-- 业务信息 -->
|
||||
<div class="process-part">
|
||||
<div class="process-part-title">{{ $t('basicServiceInformation') }}</div>
|
||||
|
||||
<!-- 稽查依据 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.inspectionBasis')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.standardName" />
|
||||
<!-- 依据条款 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.accordingToTerms')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.enterpriseStandardInspectReport.baseClause" />
|
||||
<!-- 标准内容或要求 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.standardContentOrDemand')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.enterpriseStandardInspectReport.standardRequire" />
|
||||
<!-- 整改单位 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.rectificationUnit')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.responseDepart_dictText" />
|
||||
<!-- 不符合项描述 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.nonCompliantDescription')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.issue" />
|
||||
<!-- 整改措施 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.rectificationMeasures')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.rectifyMeasure" />
|
||||
<!-- 整改责任人 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.rectificationDirector')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.responseUserDictText" />
|
||||
<!-- 计划完成日期 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.planDoneDate')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.enterpriseStandardInspectRectifyPlan.planCompleteDate" />
|
||||
<!-- 操作类型 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.operationType')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.operationType_dictText" />
|
||||
<template v-if="baseInfoForm.operationType === '1'">
|
||||
<!-- 整改结果 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.rectificationResults')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.rectifyResult" />
|
||||
<!-- 附件 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.file')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.attachment">
|
||||
<template v-slot:input>
|
||||
<file-display :file-ids="baseInfoForm.attachment" />
|
||||
</template>
|
||||
</van-field>
|
||||
</template>
|
||||
<template v-else-if="baseInfoForm.operationType === '2'">
|
||||
<!-- 申请延期日期 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.requestExtensionDate')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.applyDelayDate" />
|
||||
<!-- 延期说明 -->
|
||||
<van-field
|
||||
:label="$t('esInspectionRectification.extensionDescription')"
|
||||
readonly
|
||||
type="textarea"
|
||||
autosize
|
||||
rows="1"
|
||||
v-model="baseInfoForm.delayDetail" />
|
||||
</template>
|
||||
</div>
|
||||
<!-- 流程审批信息 -->
|
||||
<div class="process-part">
|
||||
@@ -107,10 +218,11 @@ import {
|
||||
getInspectRectifyDetail, rejectInspectRectify,
|
||||
transferInspectRectify
|
||||
} from '@/api/api'
|
||||
import FileDisplay from '@/components/FileDisplay'
|
||||
|
||||
export default {
|
||||
name: 'EnterpriseStandardInspectionRectification',
|
||||
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
||||
components: { FileDisplay, ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
||||
data () {
|
||||
return {
|
||||
// 流程加载
|
||||
@@ -160,7 +272,12 @@ export default {
|
||||
// 获取业务数据
|
||||
getInspectRectifyDataById({ projectId }).then(res => {
|
||||
if (res.success) {
|
||||
this.baseInfoForm = res.result || {}
|
||||
// this.baseInfoForm = res.result || {}
|
||||
const data = res.result || {}
|
||||
this.baseInfoForm = Object.assign({}, data)
|
||||
// data.enterpriseStandardInspectRectifyPlan,
|
||||
// data.enterpriseStandardInspectRectifyPlan && data.enterpriseStandardInspectRectifyPlan.enterpriseStandardInspectReport
|
||||
console.log(this.baseInfoForm)
|
||||
}
|
||||
}).finally(() => {}),
|
||||
|
||||
@@ -219,6 +336,7 @@ export default {
|
||||
// 流程信息
|
||||
params.processAll = Object.assign({}, this.info.processAll, {
|
||||
projectId: this.projectId,
|
||||
nodeId: this.$route.query.nodeId,
|
||||
taskId: this.$route.query.taskId
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user