新增字典数据
Showing
2 changed files
with
7 additions
and
2 deletions
... | @@ -5,11 +5,13 @@ import user from './modules/user' | ... | @@ -5,11 +5,13 @@ import user from './modules/user' |
5 | import permission_routes from './modules/permission_routes' | 5 | import permission_routes from './modules/permission_routes' |
6 | import setTabs from './modules/setTabs' | 6 | import setTabs from './modules/setTabs' |
7 | 7 | ||
8 | Vue.use(Vuex) | 8 | Vue.use(Vuex); |
9 | |||
10 | const store = new Vuex.Store({ | 9 | const store = new Vuex.Store({ |
11 | state: sessionStorage.getItem('state') ? JSON.parse(sessionStorage.getItem('state')) : { | 10 | state: sessionStorage.getItem('state') ? JSON.parse(sessionStorage.getItem('state')) : { |
12 | zdbsm: '', | 11 | zdbsm: '', |
12 | qllxList:[], | ||
13 | zdtzmList:[], | ||
14 | qlsdfsList:[], | ||
13 | zjzlList:[], | 15 | zjzlList:[], |
14 | gjList:[], | 16 | gjList:[], |
15 | ssList:[], | 17 | ssList:[], | ... | ... |
... | @@ -251,6 +251,9 @@ export default { | ... | @@ -251,6 +251,9 @@ export default { |
251 | s.qlrlxList = s.qlrlxList.length == 0 ?await this.getDicData("权利人类型") : s.qlrlxList; | 251 | s.qlrlxList = s.qlrlxList.length == 0 ?await this.getDicData("权利人类型") : s.qlrlxList; |
252 | s.xbList = s.xbList.length == 0 ? await this.getDicData("性别") : s.xbList; | 252 | s.xbList = s.xbList.length == 0 ? await this.getDicData("性别") : s.xbList; |
253 | s.sshyList = s.sshyList.length == 0 ?await this.getDicData("国民经济行业分类代码") : s.sshyList; | 253 | s.sshyList = s.sshyList.length == 0 ?await this.getDicData("国民经济行业分类代码") : s.sshyList; |
254 | s.qllxList = s.qllxList.length == 0 ?await this.getDicData("权利类型") : s.qllxList; | ||
255 | s.zdtzmList = s.zdtzmList.length == 0 ?await this.getDicData("宗地(宗海)特征码") : s.sshyList; | ||
256 | s.qlsdfsList = s.qlsdfsList.length == 0 ?await this.getDicData("权利设定方式") : s.qlsdfsList; | ||
254 | }, | 257 | }, |
255 | async getDicData(name) { | 258 | async getDicData(name) { |
256 | return await getDdicByMC(name).then((res)=> { | 259 | return await getDdicByMC(name).then((res)=> { | ... | ... |
-
Please register or sign in to post a comment