fix(手机端): 国内国外企标体系结构参数修改
This commit is contained in:
@@ -55,10 +55,14 @@ export default {
|
||||
required: true
|
||||
}
|
||||
},
|
||||
activated () {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
initOpen () {
|
||||
this.checkedKeys = []
|
||||
this.textStatusName = '全部'
|
||||
this.getData()
|
||||
this.$refs.standardSystemTreeRef.setCheckedKeys([])
|
||||
this.popupShow = true
|
||||
},
|
||||
open () {
|
||||
this.getData()
|
||||
this.$refs.standardSystemTreeRef.setCheckedKeys(this.initKeys)
|
||||
|
||||
@@ -108,18 +108,20 @@ export default {
|
||||
standardSystemPopup,
|
||||
},
|
||||
data () {
|
||||
const searchQuery = {
|
||||
selectIndex: 'stand',
|
||||
selectValue: '',
|
||||
standSystem: [],
|
||||
textStatus: '全部',
|
||||
selectType: 'titleSearch',
|
||||
standType: 'INLAND',
|
||||
page: 1,
|
||||
pageSize: 20
|
||||
}
|
||||
return {
|
||||
titleName: '',
|
||||
searchQuery: {
|
||||
selectIndex: 'stand',
|
||||
selectValue: '',
|
||||
standSystem: [],
|
||||
textStatus: '全部',
|
||||
selectType: 'titleSearch',
|
||||
standType: 'INLAND',
|
||||
page: 1,
|
||||
pageSize: 20
|
||||
},
|
||||
searchQuery,
|
||||
initSearQuery: { ...searchQuery },
|
||||
total: 0,
|
||||
loading: false,
|
||||
list: [],
|
||||
@@ -149,8 +151,8 @@ export default {
|
||||
vm.titleName = '国内外政策库'
|
||||
break
|
||||
}
|
||||
vm.searchQuery.page = 1
|
||||
vm.$refs.standardSystemPopupRef.popupShow = true
|
||||
vm.searchQuery = { ...vm.initSearQuery }
|
||||
vm.$refs.standardSystemPopupRef.initOpen()
|
||||
vm.$refs.scroll.scrollTo(0, 0)
|
||||
vm.getData()
|
||||
}
|
||||
@@ -240,10 +242,12 @@ export default {
|
||||
},
|
||||
getDicTypeListCode () {
|
||||
this.$http._getData('sys/dictype/getDicTypeListCode').then(res => {
|
||||
this.dict = {...res.data}
|
||||
this.setMap(this.dict.WBZTCLASS, 'textStatusMap')
|
||||
this.setMap(this.dict.lawsTextState, 'lawsMap')
|
||||
this.setMap(this.dict.SARPROPERTY, 'natureMap')
|
||||
if (res.ok) {
|
||||
this.dict = {...res.data}
|
||||
this.setMap(this.dict.WBZTCLASS, 'textStatusMap')
|
||||
this.setMap(this.dict.lawsTextState, 'lawsMap')
|
||||
this.setMap(this.dict.SARPROPERTY, 'natureMap')
|
||||
}
|
||||
})
|
||||
},
|
||||
setMap(data, key) {
|
||||
|
||||
Reference in New Issue
Block a user