fix 81420
This commit is contained in:
@@ -567,7 +567,8 @@ export const InconformityItemState = {
|
|||||||
// 法规合规评估结果
|
// 法规合规评估结果
|
||||||
export const StandardEvaluationResultType = {
|
export const StandardEvaluationResultType = {
|
||||||
accordWith: { text: '符合', value: '1' },
|
accordWith: { text: '符合', value: '1' },
|
||||||
inconformity: { text: '不符合', value: '2' }
|
inconformity: { text: '不符合', value: '2' },
|
||||||
|
notInvolve: { text: '不涉及', value: '4' }
|
||||||
}
|
}
|
||||||
|
|
||||||
// 条款使用范围
|
// 条款使用范围
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<!--评估结果-->
|
<!--评估结果-->
|
||||||
<template v-slot:evaluationResult="text,record">
|
<template v-slot:evaluationResult="text,record">
|
||||||
<j-dict-select-tag :placeholder="$t('pleaseSelect') + $t('projectLibrary.vehicleItemLibrary.evaluationResult')"
|
<j-dict-select-tag :placeholder="$t('pleaseSelect') + $t('projectLibrary.vehicleItemLibrary.evaluationResult')"
|
||||||
dict-code="standards_assess_results"
|
:options="resultOptions"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:value="record.assessResults"
|
:value="record.assessResults"
|
||||||
@change="value => handleEvaluationResultChange(value, record, record.dataSourceIndex)" />
|
@change="value => handleEvaluationResultChange(value, record, record.dataSourceIndex)" />
|
||||||
@@ -98,6 +98,7 @@ import { StandardEvaluationResultType, YesOrNoEnum } from '../../../../enums/com
|
|||||||
import { getCarTypeProjectList } from '../../../../api/projectLibraryApi'
|
import { getCarTypeProjectList } from '../../../../api/projectLibraryApi'
|
||||||
import SplitClauseDetail from '../../../documentTool/documentSplit/modules/SplitClauseDetail'
|
import SplitClauseDetail from '../../../documentTool/documentSplit/modules/SplitClauseDetail'
|
||||||
import JTable from '../../../../components/jero/JTable'
|
import JTable from '../../../../components/jero/JTable'
|
||||||
|
import { ajaxGetDictItems } from '../../../../api/api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'DesignEngineerAssess',
|
name: 'DesignEngineerAssess',
|
||||||
@@ -194,7 +195,8 @@ export default {
|
|||||||
showQuickJumper: true,
|
showQuickJumper: true,
|
||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
total: 0
|
total: 0
|
||||||
}
|
},
|
||||||
|
resultOptions: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -229,8 +231,16 @@ export default {
|
|||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.getCarTypeList()
|
this.getCarTypeList()
|
||||||
|
this.initDict()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
initDict () {
|
||||||
|
ajaxGetDictItems('standards_assess_results').then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.resultOptions = (res.result || []).filter(tt => tt.value !== StandardEvaluationResultType.notInvolve.value)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 获取车型下拉数据
|
* 获取车型下拉数据
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user