@@ -862,39 +863,35 @@
:options="standSortOptions"
clearable/>
-
+
-
{{ opt.label}}
-
-
+
+ {{ opt.label}}
+
-
+
+ {{ opt.label}}
+
-
{{ opt.label}}
@@ -1012,7 +1009,7 @@ export default {
standSortOptions: [], // 标准类别下拉框
standSortConfigOptions: [], // 标准类别下拉框
applyArcticOptions: [], // 适用车型下拉框
- standStateOptions: [], // 标准状态下拉框
+ standStateOptions: [], // 文本状态下拉框
standNatureOptions: [], // 标准性质下拉框
adoptExtentOptions: [], // 采标程度下拉框
emergyKindOptions: [], // 能源种类下拉框
@@ -1517,7 +1514,7 @@ export default {
this.threeOptions = this.countryOptions
} else if (val === 'stand_sort') {
this.threeOptions = this.standSortOptions
- } else if (val === 'stand_state') {
+ } else if (val === 'stand_state_show') {
this.threeOptions = this.standStateOptions
} else if (val === 'stand_nature') {
this.threeOptions = this.standNatureOptions
@@ -1633,7 +1630,6 @@ export default {
this.modalshowtitle = '编辑国内标准'
this.modalshowflag = true
this.resolveFormFieldList(item.isRelateAccess)
-
this.$nextTick(() => {
Promise.all([this.queryDisplayLocation()]).then((values) => {
const [displayLocation] = values
@@ -1799,13 +1795,19 @@ export default {
this.getDomesticStandardTable(item)
},
// 搜索
- getDomesticStandardTableBtn (advancedSearch) {
- let item = {}
- item.page = 1
- item.advanceSearchStr = ''
- item.advanceSearchVOStr = JSON.stringify(advancedSearch) || ''
- this.getDomesticStandardTable(item)
+ getDomesticStandardTableBtn (item) {
+ this.tableFlag = item
+ item.page = 1
+ item.sarStandardsSearch = ''
+ this.getDomesticStandardTable(item)
},
+ // getDomesticStandardTableBtn (advancedSearch) {
+ // let item = {}
+ // item.page = 1
+ // item.advanceSearchStr = ''
+ // item.advanceSearchVOStr = JSON.stringify(advancedSearch) || ''
+ // this.getDomesticStandardTable(item)
+ // },
// 清空搜索框
clearAllSearch (flag) {
if (flag === 'sarStandardsSearch') {
@@ -1849,9 +1851,8 @@ export default {
},
// 高级检索
selectMoreBtn () {
- console.log('检索窗口')
this.isAdvancedSearch = true
- this.threeOptions = []
+ this.sarStandardsSearch = []
},
treeCollapse () {
this.sideClose = !this.sideClose
@@ -2389,7 +2390,7 @@ export default {
sarStandAttrObj[item.attrField] = nowstandinfo[item.attrField]
})
nowstandinfo['sarStandAttrEOStr'] = JSON.stringify(sarStandAttrObj).replace(/"/g, "'")
- this.$http.postData(this.addOrUPdateFlag === 1 ? 'lawss/sarStandardsInfo/addarStandardsInfo' : 'lawss/sarStandardsInfo/updateSarStandardsInfo', nowstandinfo, {
+ this.$http.postData(this.addOrUPdateFlag === 1 ? 'sarStandardsInfo/sar-standards-info/addarStandardsInfo' : 'lawss/sarStandardsInfo/updateSarStandardsInfo', nowstandinfo, {
_this: this
}, res => {
this.isSubmit = false
@@ -2508,7 +2509,7 @@ export default {
this.sarConfigStandSearch.page = this.configPage
// this.sarConfigStandSearch.pageSize = this.configRows
this.sarConfigStandSearch.pageSize = this.$store.getters.userInfo.configContent
- this.$http.get('lawss/sarStandardsInfo/getSarStandardsInfoPage', this.sarConfigStandSearch, {
+ this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarConfigStandSearch, {
_this: this,
loading: 'loading'
}, res => {
@@ -2675,7 +2676,7 @@ export default {
// this.replaceStandNumForm.quoteIdList = this.sarStandardsInfoEO.replaceStandNumId.toString()
// (this.replaceStandNumForm.quoteIdList)
// }
- this.$http.get('lawss/sarStandardsInfo/getSarStandardsInfoPage', this.replaceStandNumForm, {
+ this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.replaceStandNumForm, {
_this: this
// loading: 'lawsExplainQuoteFormLoading'
}, res => {
@@ -2907,7 +2908,7 @@ export default {
if (this.sarStandardsInfoEO.lawsExplainQuote !== null && this.sarStandardsInfoEO.lawsExplainQuote !== '') {
this.lawsExplainQuoteForm.quoteIdList = this.sarStandardsInfoEO.lawsExplainQuote.toString()
}
- this.$http.get('lawss/sarStandardsInfo/getSarStandardsInfoPage', this.lawsExplainQuoteForm, {
+ this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.lawsExplainQuoteForm, {
_this: this,
loading: 'lawsExplainQuoteFormLoading'
}, res => {
@@ -3208,8 +3209,8 @@ export default {
disabled: false
},
{
- label: '标准状态',
- value: 'stand_state',
+ label: '文本状态',
+ value: 'stand_state_show',
type: 'SEL_OPTION',
disabled: false
},
@@ -3283,7 +3284,7 @@ export default {
*/
queryDisplayLocation () {
return new Promise((resolve, reject) => {
- this.$http.get('sarStandardsInfo/sar-standards-info/addarStandardsInfo', {
+ this.$http.get('lawssBase/utArea/getAreaList', {
sarType: this.sarType
}, {
_this: this
@@ -3342,7 +3343,7 @@ export default {
}
// isEdit 为0 标准状态不是必填
if (isEdit === '0') {
- rules.standState = [{required: false, message: '标准状态不能为空', trigger: 'change'}]
+ rules.standState = [{required: false, message: '文本状态不能为空', trigger: 'change'}]
rules.issueTime = [{required: false, message: '发布日期不能为空', trigger: 'change'}]
}
if (item.attrLen && item.attrType !== 'INPUT_NUM' && item.attrType !== 'DATE_PICKER' && item.attrType !== 'SEL_OPTION' && item.attrType !== 'SEL_OPTS' && item.attrType !== 'DATE_PIC_OPTS') {