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