diff --git a/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue b/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue index c29dfda43..3f9b26407 100644 --- a/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue +++ b/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue @@ -24,10 +24,14 @@ :maxlength="100" > - - - + + + @@ -306,6 +310,7 @@ export default { getListStandLimit: "lawss/sarMenuStandardLimit/getListStandLimit", }, iconShow: false, + standStateOptions: [], } }, created() { @@ -445,9 +450,32 @@ export default { this.searchForm.standSystem = '' this.searchForm.standSystemId = '' }, + standStateChange (value) { + this.searchForm.standState = value.join(',') + }, + standStateLabel (values) { + if (values === '') { + return '' + } + return this.standStateOptions.filter(item => values.split(',').some(i => i === item.value)).map(item => item.label).join(',') + }, + convertStr (str) { + return str === '' ? [] : str.split(',') + }, getDicTypeListCode () { this.$http._getData('sys/dictype/getDicTypeListCode').then(res => { - this.dict = { ...res.data } + if (res.ok) { + this.dict = { ...res.data } + const WBZTCLASS = this.dict.WBZTCLASS.map(item => ({ + label: '国内标准-' + item.label, + value: item.value + })) + const TEXTSTATUSBUSS = this.dict.TEXTSTATUSBUSS.map(item => ({ + label: '企业标准-' + item.label, + value: item.value + })) + this.standStateOptions = [...WBZTCLASS, ...TEXTSTATUSBUSS] + } }) }, handlePreview (row) { @@ -480,4 +508,17 @@ export default { padding: 0 20px !important; } } +/deep/ .search-item { + .el-select .el-tag { + max-width: 80px !important; + } +} +///deep/ .search-area .search-item input.el-input__inner { +// display: inline-block; +// width: 200px; +// color: #999; +// height: 30px; +// line-height: 30px; +// font-family: MicrosoftYaHei,微软雅黑; +//}