b1e5c0ea by 杨威

添加国民经济行业分类代码字典数据

1 parent d73031b0
......@@ -32,6 +32,7 @@ const store = new Vuex.Store({
cbOptions:[],
cqlyOptions:[],
jgOptions:[],
gmjjhyflbsmList:[],
//创建自然幢时需要用到的临时存储信息
zrzbsm: '',
zjlxList: [],
......
......@@ -263,6 +263,7 @@ export default {
s.cbOptions = s.cbOptions.length == 0 ?await this.getDicData("房屋产别") : s.cbOptions;
s.cqlyOptions = s.cqlyOptions.length == 0 ?await this.getDicData("产权来源") : s.cqlyOptions;
s.jgOptions = s.jgOptions.length == 0 ?await this.getDicData("房屋结构") : s.jgOptions;
s.gmjjhyflbsmList = s.gmjjhyflbsmList.length == 0 ?await this.getDicData("国民经济行业分类代码") : s.gmjjhyflbsmList;
},
async getDicData(name) {
return await getDdicByMC(name).then((res)=> {
......
......@@ -150,7 +150,7 @@
<td colspan="4">
<el-select class="formSelect" v-model="formData.gmjjhyflbsm">
<el-option
v-for="item in $store.state.sshyList"
v-for="item in $store.state.gmjjhyflbsmList"
:key="item.bsm"
:label="item.mc"
:value="item.bsm"
......