122b46d8 by zhaoqian

权利人

1 parent 000e2cd7
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
222 <td colspan="3"> 222 <td colspan="3">
223 <el-select class="formSelect" v-model="item.zjzlbsm"> 223 <el-select class="formSelect" v-model="item.zjzlbsm">
224 <el-option 224 <el-option
225 v-for="item in $store.state.zjlxList" 225 v-for="item in $store.state.zjzlList"
226 :key="item.bsm" 226 :key="item.bsm"
227 :label="item.mc" 227 :label="item.mc"
228 :value="item.bsm" 228 :value="item.bsm"
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
232 </td> 232 </td>
233 </tr> 233 </tr>
234 <!-- <tr :key="item.dh">--> 234 <!-- <tr :key="item.dh">-->
235 <tr> 235 <tr :key="'dh'+item.index">
236 <td>证件号码</td> 236 <td>证件号码</td>
237 <td colspan="3"> 237 <td colspan="3">
238 <input type="text" class="formInput" v-model="item.zjh" /> 238 <input type="text" class="formInput" v-model="item.zjh" />
...@@ -368,13 +368,13 @@ ...@@ -368,13 +368,13 @@
368 zjh: "", 368 zjh: "",
369 zjzlbsm: "", 369 zjzlbsm: "",
370 }, 370 },
371 qllxList: [], 371 // qlrlxList: [],
372 zjlxList: [], 372 // zjzlList: [],
373 gjList: [], 373 // gjList: [],
374 ssList: [], 374 // ssList: [],
375 xbList: [], 375 // xbList: [],
376 sshyList: [], 376 // sshyList: [],
377 gyfsList: [], 377 // gyfsList: [],
378 }; 378 };
379 }, 379 },
380 methods: { 380 methods: {
...@@ -474,29 +474,6 @@ ...@@ -474,29 +474,6 @@
474 }); 474 });
475 } 475 }
476 }, 476 },
477 getDdic(){
478 getDdicByMC("权利人类型").then((res)=>{
479 this.qllxList=res.result;
480 })
481 getDdicByMC("证件种类").then((res)=>{
482 this.zjlxList=res.result;
483 })
484 getDdicByMC("国家和地区").then((res)=>{
485 this.gjList=res.result;
486 })
487 getDdicByMC("省市").then((res)=>{
488 this.ssList=res.result;
489 })
490 getDdicByMC("性别").then((res)=>{
491 this.xbList=res.result;
492 })
493 getDdicByMC("所属行业").then((res)=>{
494 this.sshyList=res.result;
495 })
496 getDdicByMC("共有方式").then((res)=>{
497 this.gyfsList=res.result;
498 })
499 },
500 getQlrInfo(){ 477 getQlrInfo(){
501 console.log("===========================") 478 console.log("===========================")
502 console.log(this.bsm) 479 console.log(this.bsm)
...@@ -516,7 +493,6 @@ ...@@ -516,7 +493,6 @@
516 this.getQlrInfo(); 493 this.getQlrInfo();
517 }, 494 },
518 mounted() { 495 mounted() {
519 this.getDdic();
520 } 496 }
521 }; 497 };
522 </script> 498 </script>
......
...@@ -23,7 +23,10 @@ const store = new Vuex.Store({ ...@@ -23,7 +23,10 @@ const store = new Vuex.Store({
23 zrzbsm: '', 23 zrzbsm: '',
24 xmmc: '', 24 xmmc: '',
25 zdmj: '', 25 zdmj: '',
26 zdzl: '' 26 zdzl: '',
27 qllxList: [],
28 zjlxList: [],
29 gyfsList: [],
27 }, 30 },
28 modules: { 31 modules: {
29 user, 32 user,
......
...@@ -250,7 +250,8 @@ export default { ...@@ -250,7 +250,8 @@ export default {
250 s.ssList = s.ssList.length == 0 ?await this.getDicData("省市") : s.ssList; 250 s.ssList = s.ssList.length == 0 ?await this.getDicData("省市") : s.ssList;
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.gyfsList = s.gyfsList.length == 0 ?await this.getDicData("共有方式") : s.gyfsList;
254 }, 255 },
255 async getDicData(name) { 256 async getDicData(name) {
256 return await getDdicByMC(name).then((res)=> { 257 return await getDdicByMC(name).then((res)=> {
......