[update] 修改企标废止流程、封存、已封存启用流程标准类型回显问题,企标复审流程复审字段没有返回的问题
This commit is contained in:
@@ -111,6 +111,8 @@ const enStandardAnnulAgree = (params) => postAction('/process/es/abolish/agree',
|
||||
const enStandardAnnulReject = (params) => postAction('/process/es/abolish/reject', params)
|
||||
// 根据id查询流程数据--办理
|
||||
const enStandardAnnulGetDataById = (taskId, params) => getAction(`/process/es/abolish/handle/${taskId}`, params)
|
||||
// 根据企标编号获取企标计划中标准类型字段
|
||||
const getStandardTypeByNum = (params) => getAction('/process/common/getStandType', params)
|
||||
|
||||
// 企标封存流程
|
||||
// 保存
|
||||
@@ -269,6 +271,7 @@ export {
|
||||
enStandardAnnulTurnTo,
|
||||
enStandardAnnulAgree,
|
||||
enStandardAnnulReject,
|
||||
getStandardTypeByNum,
|
||||
|
||||
enStandardSealSaveGetDataById,
|
||||
enStandardSealSaveSave,
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
import { StandardSource } from '@/enums/commonEnums'
|
||||
import StandardSelection from '@/components/selection/StandardSelection'
|
||||
import { getEnterpriseStandardInfoById } from '@/api/enterpriseStandardLibraryApi'
|
||||
import { getStandardTypeByNum } from '@/api/workCenter'
|
||||
|
||||
export default {
|
||||
name: 'BaseInfoForm',
|
||||
@@ -226,13 +227,11 @@ export default {
|
||||
// 企标名称
|
||||
this.formInline.standardName = value[0].standardName
|
||||
// 根据返回的id查询企标数据
|
||||
getEnterpriseStandardInfoById({ id: value[0].id, type: '2' }).then(res => {
|
||||
getEnterpriseStandardInfoById({ id: value[0].id, type: '2' }).then(async res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
// 标准英文名称
|
||||
this.formInline.standardEnglishName = result.standard_english_name
|
||||
// 标准类型??
|
||||
// this.formInline.standardEnglishName = result.standard_english_name
|
||||
// 代替企标编号
|
||||
this.formInline.substituteStandardNumber = result.substitute_standard_number
|
||||
// 被代替企标编号
|
||||
@@ -243,6 +242,13 @@ export default {
|
||||
this.formInline.implementationDate = result.implementation_date
|
||||
this.formInline = Object.assign({}, this.formInline)
|
||||
}
|
||||
// 标准类型字段来源是企标计划,所以需要单独调接口获取
|
||||
await getStandardTypeByNum({ standardNo: value[0].standardNo }).then(res => {
|
||||
if (res.success) {
|
||||
// 标准类型
|
||||
this.formInline.standardCategory = res.result.standardType
|
||||
}
|
||||
})
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
</span>
|
||||
</div>
|
||||
<a-form-model-item class="item-model" prop="recheck">
|
||||
<template>{{ formInline.recheck_dictText }}</template>
|
||||
<template>{{ formInline.recheckAdvice_dictText }}</template>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
import { StandardSource } from '@/enums/commonEnums'
|
||||
import StandardSelection from '@/components/selection/StandardSelection'
|
||||
import { getEnterpriseStandardInfoById } from '@/api/enterpriseStandardLibraryApi'
|
||||
import { getStandardTypeByNum } from '@/api/workCenter'
|
||||
|
||||
export default {
|
||||
name: 'BaseInfoForm',
|
||||
@@ -226,13 +227,11 @@ export default {
|
||||
// 企标名称
|
||||
this.formInline.standardName = value[0].standardName
|
||||
// 根据返回的id查询企标数据
|
||||
getEnterpriseStandardInfoById({ id: value[0].id, type: '2' }).then(res => {
|
||||
getEnterpriseStandardInfoById({ id: value[0].id, type: '2' }).then(async res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
// 标准英文名称
|
||||
this.formInline.standardEnglishName = result.standard_english_name
|
||||
// 标准类型??
|
||||
// this.formInline.standardEnglishName = result.standard_english_name
|
||||
// 代替企标编号
|
||||
this.formInline.substituteStandardNumber = result.substitute_standard_number
|
||||
// 被代替企标编号
|
||||
@@ -243,6 +242,13 @@ export default {
|
||||
this.formInline.implementationDate = result.implementation_date
|
||||
this.formInline = Object.assign({}, this.formInline)
|
||||
}
|
||||
// 标准类型字段来源是企标计划,所以需要单独调接口获取
|
||||
await getStandardTypeByNum({ standardNo: value[0].standardNo }).then(res => {
|
||||
if (res.success) {
|
||||
// 标准类型
|
||||
this.formInline.standardCategory = res.result.standardType
|
||||
}
|
||||
})
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
import { StandardSource } from '@/enums/commonEnums'
|
||||
import StandardSelection from '@/components/selection/StandardSelection'
|
||||
import { getEnterpriseStandardInfoById } from '@/api/enterpriseStandardLibraryApi'
|
||||
import { getStandardTypeByNum } from '@/api/workCenter'
|
||||
|
||||
export default {
|
||||
name: 'BaseInfoForm',
|
||||
@@ -226,7 +227,7 @@ export default {
|
||||
// 企标名称
|
||||
this.formInline.standardName = value[0].standardName
|
||||
// 根据返回的id查询企标数据
|
||||
getEnterpriseStandardInfoById({ id: value[0].id, type: '2' }).then(res => {
|
||||
getEnterpriseStandardInfoById({ id: value[0].id, type: '2' }).then(async res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
// 标准英文名称
|
||||
@@ -243,6 +244,13 @@ export default {
|
||||
this.formInline.implementationDate = result.implementation_date
|
||||
this.formInline = Object.assign({}, this.formInline)
|
||||
}
|
||||
// 标准类型字段来源是企标计划,所以需要单独调接口获取
|
||||
await getStandardTypeByNum({ standardNo: value[0].standardNo }).then(res => {
|
||||
if (res.success) {
|
||||
// 标准类型
|
||||
this.formInline.standardCategory = res.result.standardType
|
||||
}
|
||||
})
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user