3ee4a49b by zhaoqian

自然幢字典信息数据整理

1 parent b1e5c0ea
......@@ -324,7 +324,6 @@
glbsm:'', //关联标识码
sx:'', //顺序
}],
qlxzList:[]
},
options: [{
value: '选项1',
......@@ -392,35 +391,7 @@
onSave(){
// this.loading=true;
this.form.zrzbsm=this.bsm;
this.form.qlxzList=
[{
"addQjTdytRequestList": [
{
"bz": "string",
"mj": 0,
"pzdjbsm": "string",
"pzdjmc": "string",
"pzytdm": "1",
"pzytmc": "string",
"pzytmj": 0,
"qlxzbsm": "string",
"sjdjbsm": "string",
"sjdjmc": "string",
"sjytdm": "1234",
"sjytmc": "string",
"sjytmj": 0,
"syqx": "string",
"tdsyjssj": "2020-10-09 03:15:37.730Z",
"tdsyqssj": "2020-10-09 03:15:37.730Z",
"tdzh": "string"
}
],
"glbsm": "string",
"qlxzdm": "string",
"qlxzmc": "string",
"qlxzzdbsm": "string",
"zhqlxzlx": 0
}];
this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList();
if(1>0){
saveZrzInfo(this.form).then((res)=>{
if(res.code===200){
......@@ -474,6 +445,29 @@
fwsjytbsm:'', //房屋实际用途字典标识码
})
}
if(res.result.qjQlxzListVOS.length>0){
if(res.result.qjQlxzListVOS[0].list.length<1){
res.result.qjQlxzListVOS[0].list.push({
"pzdjbsm": "",
"pzdjmc": "",
"pzytdm": "",
"pzytmc": "",
"pzytmj": 0,
"qlxzbsm": "",
"sjdjbsm": "",
"sjdjmc": "",
"sjytdm": "",
"sjytmc": "",
"sjytmj": 0,
"syqx": "",
"tdsyjssj": "",
"tdsyqssj": "",
"tdzh": ""
})
}
//权利性质数据传给子组件
this.$refs.qlxzModule.countList = res.result.qjQlxzListVOS
}
}
})
},
......