diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index c82632dd1..97452ae8a 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -52,7 +52,7 @@
- {{ sarStandardsInfoEO.textStatus || '-' }}
+ {{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}
{{ sarStandardsInfoEO.issueTime || '-' }}
{{sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'}}
@@ -136,6 +136,13 @@
{{ '-' }}
+
+ {{ child.value ? child.value.substring(0,10) : '-' }}
+
{
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ console.log(this.textStatusMap, '文本状态的值')
+ },
statusClick () {
let routeUrl = this.$router.resolve({
name: 'standInvolveProjectTwo',
@@ -2614,6 +2629,7 @@ export default {
this.emergyKindOptions = res.data.ENERGYTYPES
this.requestOptions = res.data.REQUESTTYPE
this.BZFGGXOUIUJ = res.data.BZFGGXOUIUJ // 企标覆盖关系
+ this.setMap(res.data.WBZTCLASS) // 文本状态
}, e => {
})
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then((values) => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index 72064daeb..bbf7f36b9 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -532,11 +532,15 @@
>
-
+
+
+
@@ -1244,15 +1248,15 @@
// 适用范围
txlb: '', // 体系类别
gkdw: '', // 归口管理部门
- qcdw: '', // 起草单位
- wssmr: '', // 我司署名人
+ qcdw: [], // 起草单位
+ wssmr: [], // 我司署名人
cysd: '', // 我司参与深度
- cllx: '', // 适用车型
- nylx: '',// 能源类型
- sycpx: '',// 适用产品线
- syrz: '', // 适用认证
- zrbm: '', // 责任部门
- zrgcs: '', // 责任工程师
+ cllx: [], // 适用车型
+ nylx: [],// 能源类型
+ sycpx: [],// 适用产品线
+ syrz: [], // 适用认证
+ zrbm: [], // 责任部门
+ zrgcs: [], // 责任工程师
cycvppsbm: '', // 关联模块--乘用车VPPS编码
cycvppscn: '', // 关联模块--乘用车vpps中文名称
kccvppsbm: '', // 关联模块--卡车VPPS编码
@@ -1334,6 +1338,7 @@
sycpxOptions: [], // 适用产品线
zrbmOptions: [], // 责任部门
zrgcsOptions: [], // 责任工程师
+ qcdwOption: [], // 起草单位
txlbOptions: [], // 体系类别
data: [], // 标准列表数据
ListForm: {}, // 新增数据
@@ -1446,15 +1451,15 @@
// 适用范围
txlb: '', // 体系类别
gkdw: '', // 归口管理部门
- qcdw: '', // 起草单位
- wssmr: '', // 我司署名人
+ qcdw: [], // 起草单位
+ wssmr: [], // 我司署名人
cysd: '', // 我司参与深度
- cllx: '', // 适用车型
- nylx: '',// 能源类型
- sycpx: '',// 适用产品线
- syrz: '', // 适用认证
- zrbm: '', // 责任部门
- zrgcs: '', // 责任工程师
+ cllx: [], // 适用车型
+ nylx: [],// 能源类型
+ sycpx: [],// 适用产品线
+ syrz: [], // 适用认证
+ zrbm: [], // 责任部门
+ zrgcs: [], // 责任工程师
cycvppsbm: '', // 关联模块--乘用车VPPS编码
cycvppscn: '', // 关联模块--乘用车vpps中文名称
kccvppsbm: '', // 关联模块--卡车VPPS编码
@@ -1491,6 +1496,14 @@
console.log(bringData)
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
this.form = JSON.parse(JSON.stringify(json))
+ this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw.split(',')
+ this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr.split(',')
+ this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs.split(',')
+ this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm.split(',')
+ this.form.syrz = JSON.parse(JSON.stringify(json)).syrz.split(',')
+ this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx.split(',')
+ this.form.nylx = JSON.parse(JSON.stringify(json)).nylx.split(',')
+ this.form.cllx = JSON.parse(JSON.stringify(json)).cllx.split(',')
this.defaultCheckedKeys = [this.form.standSystem];
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
@@ -2014,7 +2027,7 @@
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
- this.txlbOptions = res.data.TXLBCLASS // 体系类别
+ this.qcdwOption = res.data.QCDW // 体系类别
})
this.busVsFunc()
this.modelFunc()
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 9b46f8ae4..8f86564ea 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -206,10 +206,13 @@
sortable="custom"
width="120px"
label="文本状态">
-
-
- 文本状态
-
+
+
+
+
+
+
+ {{ textStatusMap[scope.row.textStatus] }}
@@ -353,7 +356,7 @@
+ prop="textStatus" label-width="150px" class="add-form-item">
文本状态
-
+
-
+
@@ -648,6 +651,9 @@
label="文本状态"
width="130"
align="center">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -847,6 +853,9 @@
label="文本状态"
width="200"
align="center">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -1542,6 +1551,12 @@ export default {
standSort: [
{required: true, message: '标准类别不能为空', trigger: 'change'}
],
+ standNature: [
+ {required: true, message: '标准性质不能为空', trigger: 'change'}
+ ],
+ textStatus: [
+ {required: true, message: '文本状态不能为空', trigger: 'change'}
+ ],
standNumber: [
{required: true, type: 'string', message: '标准编号不能为空', trigger: 'change'},
{type: 'string', max: 100, message: '标准编号不能超过100个字符', trigger: 'change'},
@@ -1717,7 +1732,8 @@ export default {
orgData: [],
delLoading: false,
standState: '',
- orderBy :''
+ orderBy :'',
+ textStatusMap: {} // 文本状态id与name对应
}
},
methods: {
@@ -2123,7 +2139,8 @@ export default {
},
remove(node, data) {
- this.$confirm('是否删除菜单?', '提示', {
+ //通过 stahndinfoList 是否有数据进行判断
+ this.$confirm(this.stahndinfoList.length > 0 ? '该节点下有记录,是否删除?' : '是否删除菜单', '提示', {
confirmButtonText: '确定',
confirmButtonClass: 'common-button-primary',
cancelButtonText: '取消',
@@ -4011,6 +4028,13 @@ export default {
break
}
}
+ },
+ // 将文本状态的id与name对应
+ setMap(data){
+ data.forEach(item => {
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ console.log(this.textStatusMap, '文本状态的值')
}
},
computed: {
@@ -4061,6 +4085,8 @@ export default {
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.getGzzOption()
+ this.setMap(this.standStateOptions)
+ console.log(this.standStateOptions, '文本状态')
}, e => {
})
this.getDomesticStandardTable(this.tableFlag)
diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
index 12f3fabf4..27831533d 100644
--- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
@@ -77,19 +77,18 @@
+ 查询
+ @click="clearAllSearch('standCommonlySearch')">清空
高级查询
@@ -198,14 +197,17 @@
-
-
- 标准状态
-
+ label="文本状态">
+
+
+
+
+
+
+ {{ textStatusMap[scope.row.textStatus] }}
@@ -697,10 +699,13 @@
align="center">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -895,10 +900,13 @@
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -1094,6 +1102,7 @@ export default {
},
data () {
return {
+ textStatusMap: {}, // 文本状态id与name对应
treeList: [],
props: {
label: 'menuName',
@@ -1713,6 +1722,13 @@ export default {
watch: {
},
methods: {
+ // 将文本状态的id与name对应
+ setMap(data){
+ data.forEach(item => {
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ console.log(this.textStatusMap, '文本状态的值')
+ },
popoverHideBusVs (checkedIds, checkedData) {
if(checkedData){
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.code
@@ -3944,6 +3960,7 @@ export default {
this.categoryConfigOptions = res.data.CATEGORY
this.standAttributeList = res.data.RULETYPE
this.getGzzOption()
+ this.setMap(this.standStateOptions)
}, e => {
})
this.getDomesticStandardTable()