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