c2fa6f5f by weimo934

Merge remote-tracking branch 'origin/master'

2 parents fae459c2 776157fc
1 import request from '@/plugin/axios'
2
3 /**
4 * 查询逻辑幢基本信息
5 */
6 export function getQjLjzDetailById(data) {
7 return request({
8 url: '/system/qjLjz/getQjLjzDetailById',
9 method: 'get',
10 params: {
11 id: data,
12 }
13 })
14 }
15
16 /**
17 * 更新保存逻辑幢基本信息
18 */
19 export function updateQjLjz(data) {
20 return request({
21 url: '/system/qjLjz/updateQjLjz',
22 method: 'put',
23 data: data,
24 })
25 }
26
...@@ -417,7 +417,6 @@ ...@@ -417,7 +417,6 @@
417 //todo 权利人页面调整 417 //todo 权利人页面调整
418 this.formData.addQjDlrFrRequest=[]; 418 this.formData.addQjDlrFrRequest=[];
419 this.formData.glbsm=this.bsm; 419 this.formData.glbsm=this.bsm;
420 this.formData.gyfsbsm=this.gyfs;
421 //将代理人,法人数据合在一起,名称为addQjDlrFrRequest; 420 //将代理人,法人数据合在一起,名称为addQjDlrFrRequest;
422 //法人的type字段类型为0, 421 //法人的type字段类型为0,
423 this.formData.fr.type=0; 422 this.formData.fr.type=0;
...@@ -427,7 +426,6 @@ ...@@ -427,7 +426,6 @@
427 this.formData.dlrList[k].type=1; 426 this.formData.dlrList[k].type=1;
428 this.formData.addQjDlrFrRequest.push(this.formData.dlrList[k]); 427 this.formData.addQjDlrFrRequest.push(this.formData.dlrList[k]);
429 } 428 }
430 this.formData.gyfsbsm=this.gyfs;
431 //如果是从更新按钮点击确定的则进行更新操作,如果不是,则进行添加操作 429 //如果是从更新按钮点击确定的则进行更新操作,如果不是,则进行添加操作
432 if(this.update){ 430 if(this.update){
433 console.log(this.formData) 431 console.log(this.formData)
...@@ -563,19 +561,12 @@ ...@@ -563,19 +561,12 @@
563 }, 561 },
564 created(){ 562 created(){
565 this.gyfsList = this.$store.state.gyfsList; 563 this.gyfsList = this.$store.state.gyfsList;
566 if(this.tableData.length>1){
567 for(let i = 0;i<this.gyfsList.length;i++){
568 let item = this.gyfsList[i];
569 this.gyfsList.disabled = item.mc === "单独所有" && item.bsm === this.gyfs;
570 }
571 }
572 }, 564 },
573 mounted() { 565 mounted() {
574 this.getQlrInfo(); 566 this.getQlrInfo();
575 if(this.$store.state.gyfsList.length>0){ 567 if(this.$store.state.gyfsList.length>0){
576 this.gyfs=this.$store.state.gyfsList[0].bsm; 568 this.gyfs=this.$store.state.gyfsList[0].bsm;
577 } 569 }
578
579 }, 570 },
580 watch:{ 571 watch:{
581 dialogVisible(n){ 572 dialogVisible(n){
...@@ -632,6 +623,11 @@ ...@@ -632,6 +623,11 @@
632 this.gyfsList[i].disabled = item.mc === "单独所有"; 623 this.gyfsList[i].disabled = item.mc === "单独所有";
633 } 624 }
634 } 625 }
626 console.log(this.tableData.length+":this.tableData[0].length");
627 if(this.tableData.length>1){
628 console.log(JSON.stringify(this.tableData[0])+":this.tableData[0].length");
629 this.gyfs = this.tableData[0].gyfsbsm
630 }
635 }, 631 },
636 } 632 }
637 }; 633 };
......
...@@ -116,11 +116,11 @@ ...@@ -116,11 +116,11 @@
116 <td colspan="5"> 116 <td colspan="5">
117 <el-select class="selectTitle" v-model="form.fwjgbsm"> 117 <el-select class="selectTitle" v-model="form.fwjgbsm">
118 <el-option 118 <el-option
119 v-for="i in $store.state.fwjgList" 119 v-for="item in $store.state.jgOptions"
120 :key="i.bsm" 120 :key="item.bsm"
121 :label="i.mc" 121 :label="item.mc"
122 :value="i.bsm" 122 :value="item.bsm">
123 ></el-option> 123 </el-option>
124 </el-select> 124 </el-select>
125 </td> 125 </td>
126 </tr> 126 </tr>
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
177 <td colspan="9" > 177 <td colspan="9" >
178 <el-select v-model="item1.fwjgzdbsm" placeholder="请选择" > 178 <el-select v-model="item1.fwjgzdbsm" placeholder="请选择" >
179 <el-option 179 <el-option
180 v-for="item in $store.state.fwjgList" 180 v-for="item in $store.state.jgOptions"
181 :key="item.bsm" 181 :key="item.bsm"
182 :label="item.mc" 182 :label="item.mc"
183 :value="item.bsm"> 183 :value="item.bsm">
......
1 <template> 1 <template>
2 <div class="dz content-form"> 2 <div class="dz content-form" ref="mainBox">
3 <el-form ref="form" :model="form" label-width="160px"> 3 <el-form ref="form" :model="form" label-width="160px">
4 <Qlr ref="qlrxxModule" :bsm="bsm"></Qlr> 4 <Qlr ref="qlrxxModule" :bsm="bsm"></Qlr>
5 <table border="1" width="100%" cellspacing="0" cellpadding="0" class="dzTable"> 5 <table border="1" width="100%" cellspacing="0" cellpadding="0" class="dzTable">
...@@ -10,22 +10,22 @@ ...@@ -10,22 +10,22 @@
10 <tr height="30"> 10 <tr height="30">
11 <td colspan="2" align="center" >宗地代码</td> 11 <td colspan="2" align="center" >宗地代码</td>
12 <td colspan="4" > 12 <td colspan="4" >
13 <input class="formInput" maxlength="19" v-model="form.zddm"> 13 <input class="formInput" :disabled="disabled" maxlength="19" v-model="form.zddm">
14 </td> 14 </td>
15 <td colspan="2" align="center" >不动产单元号</td> 15 <td colspan="2" align="center" >不动产单元号</td>
16 <td colspan="4" class="psr"> 16 <td colspan="4" class="psr">
17 <input class="formInput percent80" maxlength="28" v-model="form.bdcdyh"> 17 <input class="formInput percent80" :disabled="disabled" maxlength="28" v-model="form.bdcdyh">
18 <el-button @click.prevent="generatorCode" size="mini" class="createBtn" type="warning">生成</el-button> 18 <el-button @click.prevent="generatorCode" :disabled="disabled" size="mini" class="createBtn" type="warning">生成</el-button>
19 </td> 19 </td>
20 </tr> 20 </tr>
21 <tr height="30"> 21 <tr height="30">
22 <td colspan="2" align="center" >项目名称</td> 22 <td colspan="2" align="center" >项目名称</td>
23 <td colspan="4" > 23 <td colspan="4" >
24 <input class="formInput" v-model="form.xmmc"> 24 <input class="formInput" :disabled="disabled" v-model="form.xmmc">
25 </td> 25 </td>
26 <td colspan="2" align="center" >房屋性质</td> 26 <td colspan="2" align="center" >房屋性质</td>
27 <td colspan="4" > 27 <td colspan="4" >
28 <el-select class="formSelect" v-model="form.fwxzbsm" placeholder="请选择" > 28 <el-select class="formSelect" :disabled="disabled" v-model="form.fwxzbsm" placeholder="请选择" >
29 <el-option 29 <el-option
30 v-for="item in $store.state.fwxzOptions" 30 v-for="item in $store.state.fwxzOptions"
31 :key="item.bsm" 31 :key="item.bsm"
...@@ -39,13 +39,14 @@ ...@@ -39,13 +39,14 @@
39 <tr height="30"> 39 <tr height="30">
40 <td colspan="2" align="center" >共有土地面积(㎡)</td> 40 <td colspan="2" align="center" >共有土地面积(㎡)</td>
41 <td colspan="4" > 41 <td colspan="4" >
42 <input class="formInput" type="number" v-model="form.zdmj"> 42 <input class="formInput" :disabled="disabled" type="number" v-model="form.zdmj">
43 </td> 43 </td>
44 <td colspan="2" align="center" >竣工日期</td> 44 <td colspan="2" align="center" >竣工日期</td>
45 <td colspan="4" > 45 <td colspan="4" >
46 <el-date-picker 46 <el-date-picker
47 style="width:100%" 47 style="width:100%"
48 v-model="form.jgrq" 48 v-model="form.jgrq"
49 :disabled="disabled"
49 type="date" 50 type="date"
50 placeholder="选择日期"> 51 placeholder="选择日期">
51 </el-date-picker> 52 </el-date-picker>
...@@ -55,11 +56,11 @@ ...@@ -55,11 +56,11 @@
55 <tr height="30"> 56 <tr height="30">
56 <td colspan="2" align="center" >分摊土地面积(㎡)</td> 57 <td colspan="2" align="center" >分摊土地面积(㎡)</td>
57 <td colspan="4" > 58 <td colspan="4" >
58 <input class="formInput" type="number" v-model="form.fttdsymj"> 59 <input class="formInput" type="number" :disabled="disabled" v-model="form.fttdsymj">
59 </td> 60 </td>
60 <td colspan="2" align="center" >产别</td> 61 <td colspan="2" align="center" >产别</td>
61 <td colspan="4" > 62 <td colspan="4" >
62 <el-select class="formSelect" v-model="form.fwcbbsm" placeholder="请选择" > 63 <el-select class="formSelect" :disabled="disabled" v-model="form.fwcbbsm" placeholder="请选择" >
63 <el-option 64 <el-option
64 v-for="item in $store.state.cbOptions" 65 v-for="item in $store.state.cbOptions"
65 :key="item.bsm" 66 :key="item.bsm"
...@@ -73,11 +74,11 @@ ...@@ -73,11 +74,11 @@
73 <tr height="30"> 74 <tr height="30">
74 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td> 75 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
75 <td colspan="4" > 76 <td colspan="4" >
76 <input class="formInput" type="number" v-model="form.dlsytdmj"> 77 <input class="formInput" :disabled="disabled" type="number" v-model="form.dlsytdmj">
77 </td> 78 </td>
78 <td colspan="2" align="center" >产权来源</td> 79 <td colspan="2" align="center" >产权来源</td>
79 <td colspan="4" > 80 <td colspan="4" >
80 <el-select class="formSelect" v-model="form.fwcqlybsm" placeholder="请选择" > 81 <el-select class="formSelect" :disabled="disabled" v-model="form.fwcqlybsm" placeholder="请选择" >
81 <el-option 82 <el-option
82 v-for="item in $store.state.cqlyOptions" 83 v-for="item in $store.state.cqlyOptions"
83 :key="item.bsm" 84 :key="item.bsm"
...@@ -106,7 +107,7 @@ ...@@ -106,7 +107,7 @@
106 :default-expand-all="defaultExpandAll" 107 :default-expand-all="defaultExpandAll"
107 :multiple="multiple" 108 :multiple="multiple"
108 :placeholder="placeholder" 109 :placeholder="placeholder"
109 :disabled="form.qszt!='0'" 110 :disabled="disabled"
110 :data="$store.state.fwytList" 111 :data="$store.state.fwytList"
111 :props="treeProps" 112 :props="treeProps"
112 :check-strictly="checkStrictly" 113 :check-strictly="checkStrictly"
...@@ -122,7 +123,7 @@ ...@@ -122,7 +123,7 @@
122 :default-expand-all="defaultExpandAll" 123 :default-expand-all="defaultExpandAll"
123 :multiple="multiple" 124 :multiple="multiple"
124 :placeholder="placeholder" 125 :placeholder="placeholder"
125 :disabled="form.qszt!='0'" 126 :disabled="disabled"
126 :data="$store.state.fwytList" 127 :data="$store.state.fwytList"
127 :props="treeProps" 128 :props="treeProps"
128 :check-strictly="checkStrictly" 129 :check-strictly="checkStrictly"
...@@ -144,7 +145,7 @@ ...@@ -144,7 +145,7 @@
144 <span>坐落</span> 145 <span>坐落</span>
145 </td> 146 </td>
146 <td colspan="10" > 147 <td colspan="10" >
147 <input class="formInput" v-model="form.zl"> 148 <input class="formInput" v-model="form.zl" :disabled="disabled">
148 </td> 149 </td>
149 </tr> 150 </tr>
150 151
...@@ -153,7 +154,7 @@ ...@@ -153,7 +154,7 @@
153 <span>附加说明</span> 154 <span>附加说明</span>
154 </td> 155 </td>
155 <td colspan="10" rowspan="2" > 156 <td colspan="10" rowspan="2" >
156 <input class="formInput" v-model="form.bz" type="textarea"> 157 <input class="formInput" v-model="form.bz" :disabled="disabled" type="textarea">
157 </td> 158 </td>
158 </tr> 159 </tr>
159 <tr height="30"> 160 <tr height="30">
...@@ -164,7 +165,7 @@ ...@@ -164,7 +165,7 @@
164 <span>调查意见</span> 165 <span>调查意见</span>
165 </td> 166 </td>
166 <td colspan="10" > 167 <td colspan="10" >
167 <input class="formInput" v-model="form.name"> 168 <input class="formInput" v-model="form.name" :disabled="disabled">
168 </td> 169 </td>
169 </tr> 170 </tr>
170 171
...@@ -173,7 +174,7 @@ ...@@ -173,7 +174,7 @@
173 <span>审查员</span> 174 <span>审查员</span>
174 </td> 175 </td>
175 <td colspan="2" > 176 <td colspan="2" >
176 <input class="formInput" v-model="form.name"> 177 <input class="formInput" v-model="form.name" :disabled="disabled">
177 </td> 178 </td>
178 <td colspan="2" rowspan="2" align="right" style="width:8.33%;padding-right:10px"> 179 <td colspan="2" rowspan="2" align="right" style="width:8.33%;padding-right:10px">
179 <span>审查日期</span> 180 <span>审查日期</span>
...@@ -182,6 +183,7 @@ ...@@ -182,6 +183,7 @@
182 <el-date-picker style="width:100%" 183 <el-date-picker style="width:100%"
183 v-model="form.date" 184 v-model="form.date"
184 type="date" 185 type="date"
186 :disabled="disabled"
185 placeholder="选择日期"> 187 placeholder="选择日期">
186 </el-date-picker> 188 </el-date-picker>
187 </td> 189 </td>
...@@ -189,8 +191,8 @@ ...@@ -189,8 +191,8 @@
189 </tbody> 191 </tbody>
190 </table> 192 </table>
191 </el-form> 193 </el-form>
192 <div style="min-height: 40px;text-align: center;margin-top: 10px"> 194 <div class="header-button" :style="{width:mainBoxWidth+'px'}">
193 <el-button type="success" @click="onSave">保存</el-button> 195 <el-button type="primary" class="saveBtn" @click="onSave">保存</el-button>
194 <el-button type="primary" @click="onSubmit">提交</el-button> 196 <el-button type="primary" @click="onSubmit">提交</el-button>
195 <el-button type="primary" @click="registerCall">登记调用</el-button> 197 <el-button type="primary" @click="registerCall">登记调用</el-button>
196 </div> 198 </div>
...@@ -281,8 +283,29 @@ ...@@ -281,8 +283,29 @@
281 }], 283 }],
282 value: '', 284 value: '',
283 ytTitleRowspan:1, //用途的单元格垂直合并数量 285 ytTitleRowspan:1, //用途的单元格垂直合并数量
286 mainBoxWidth: 0,
284 } 287 }
285 }, 288 },
289 created() {
290 if(this.source===1){
291 this.bsm=this.$route.query.bsm;
292 this.form.dzbsm=this.$route.query.bsm;
293 this.getZddm(this.$store.state.zdbsm);
294 }else {
295 this.bsm=this.$route.query.bsm;
296 this.form.dzbsm=this.$route.query.bsm;
297 }
298 if(this.source!==1){
299 this.bsm=this.$route.query.bsm;
300 this.form.dzbsm=this.$route.query.bsm;
301 this.getDzDetailByBsm(this.$route.query.bsm)
302 }
303 },
304 mounted(){
305 this.$nextTick(() => {
306 this.mainBoxWidth = this.$refs.mainBox.clientWidth;
307 })
308 },
286 methods: { 309 methods: {
287 registerCall(){ 310 registerCall(){
288 let data={ 311 let data={
...@@ -366,6 +389,11 @@ ...@@ -366,6 +389,11 @@
366 getDzDetailByBsm(data).then((res)=>{ 389 getDzDetailByBsm(data).then((res)=>{
367 if(res.code===200) { 390 if(res.code===200) {
368 this.form = res.result; 391 this.form = res.result;
392 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){
393 this.disabled = false
394 }else {
395 this.disabled = true
396 }
369 console.log(this.form+"fwytList") 397 console.log(this.form+"fwytList")
370 console.log(this.form) 398 console.log(this.form)
371 if(this.form.fwytList.length===0){ 399 if(this.form.fwytList.length===0){
...@@ -480,21 +508,6 @@ ...@@ -480,21 +508,6 @@
480 }) 508 })
481 }, 509 },
482 }, 510 },
483 created() {
484 if(this.source===1){
485 this.bsm=this.$route.query.bsm;
486 this.form.dzbsm=this.$route.query.bsm;
487 this.getZddm(this.$store.state.zdbsm);
488 }else {
489 this.bsm=this.$route.query.bsm;
490 this.form.dzbsm=this.$route.query.bsm;
491 }
492 if(this.source!==1){
493 this.bsm=this.$route.query.bsm;
494 this.form.dzbsm=this.$route.query.bsm;
495 this.getDzDetailByBsm(this.$route.query.bsm)
496 }
497 },
498 computed: { 511 computed: {
499 dzbsm() { 512 dzbsm() {
500 return this.$route.query.bsm; 513 return this.$route.query.bsm;
...@@ -525,6 +538,7 @@ ...@@ -525,6 +538,7 @@
525 box-sizing: border-box; 538 box-sizing: border-box;
526 padding: 18px; 539 padding: 18px;
527 padding-bottom: 0; 540 padding-bottom: 0;
541 margin-bottom: 50px;
528 .iconfont{ 542 .iconfont{
529 cursor: pointer; 543 cursor: pointer;
530 } 544 }
...@@ -578,5 +592,26 @@ ...@@ -578,5 +592,26 @@
578 text-align: center; 592 text-align: center;
579 } 593 }
580 } 594 }
595 .header-button {
596 z-index: 3;
597 height: 50px;
598 position: fixed;
599 bottom: 0;
600 right: 0;
601 text-align: center;
602 background-color: #ffffff;
603 .el-button {
604 padding: 10px 30px;
605 margin-top: 8px;
606 }
607 .saveBtn {
608 background-color: #00CACD;
609 border-color: #00CACD;
610 }
611 .saveBtn:hover {
612 background-color: rgba(0, 202, 205, .8);
613 border-color: rgba(0, 202, 205, .8);
614 }
615 }
581 } 616 }
582 </style> 617 </style>
......
1 <template> 1 <template>
2 <div class="content_box"> 2 <div class="content_box">
3 <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick"> 3 <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" type="border-card" >
4 <el-tab-pane label="多幢基本信息" name="dzxx"><dzxx v-if="dzJbxxVisble"></dzxx></el-tab-pane> 4 <el-tab-pane label="多幢基本信息" name="dzxx"><dzxx v-if="dzJbxxVisble"></dzxx></el-tab-pane>
5 <el-tab-pane label="附件材料" name="fjcl" @click="loading"> 5 <el-tab-pane label="附件材料" name="fjcl" @click="loading">
6 <fjcl v-if="fjclVisible" ref="fjcl"></fjcl></el-tab-pane> 6 <fjcl v-if="fjclVisible" ref="fjcl"></fjcl></el-tab-pane>
...@@ -47,4 +47,22 @@ ...@@ -47,4 +47,22 @@
47 watch: {}, 47 watch: {},
48 }; 48 };
49 </script> 49 </script>
50 <style scoped lang="less"></style> 50 <style scoped lang="less">
51 .el-tabs{
52 height: calc(100% - 50px);
53 /deep/.el-tabs__content{
54 //height: 100%;
55 /deep/.el-tab-pane{
56 height: 100%;
57 }
58 background: #eaedf5;
59 padding: 0;
60 }
61 /deep/ .el-tabs__item {
62 height: 48px;
63 }
64 /deep/ .el-tabs__header{
65 background-color: #ffffff;
66 }
67 }
68 </style>
......
...@@ -315,7 +315,7 @@ ...@@ -315,7 +315,7 @@
315 315
316 export default { 316 export default {
317 name: "", 317 name: "",
318 inject: ['getTreeByS'], 318 inject: ['getTreeByS','getRightTree'],
319 components: {zdQueryData,dzQueryData,hfghb}, 319 components: {zdQueryData,dzQueryData,hfghb},
320 props: {}, 320 props: {},
321 data() { 321 data() {
...@@ -634,6 +634,7 @@ ...@@ -634,6 +634,7 @@
634 } 634 }
635 saveDzFg(this.dzFghData).then(res => { 635 saveDzFg(this.dzFghData).then(res => {
636 if (res.success) { 636 if (res.success) {
637 this.getRightTree(res.result,'0,1,2');
637 Message.success("保存成功") 638 Message.success("保存成功")
638 //TO DO 多幢分割完成后的操作 639 //TO DO 多幢分割完成后的操作
639 } else { 640 } else {
......
...@@ -377,17 +377,17 @@ export default { ...@@ -377,17 +377,17 @@ export default {
377 switch (row.dylx) { 377 switch (row.dylx) {
378 case "zrz": 378 case "zrz":
379 this.$store.state.zrzbsm = res.result; 379 this.$store.state.zrzbsm = res.result;
380 this.getTreeByBsm(row.glbsm,row.dylx,'2'); 380 this.getTreeByBsm(res.result,row.dylx,'2');
381 path = "/zrz"; 381 path = "/zrz";
382 break; 382 break;
383 case "zd": 383 case "zd":
384 this.$store.state.zdbsm = res.result; 384 this.$store.state.zdbsm = res.result;
385 this.getRightTree(row.glbsm,'2'); 385 this.getRightTree(res.result,'2');
386 path = "/zd"; 386 path = "/zd";
387 break; 387 break;
388 case "dz": 388 case "dz":
389 this.$store.state.dzbsm = res.result; 389 this.$store.state.dzbsm = res.result;
390 this.getTreeByBsm(row.glbsm,row.dylx,'2'); 390 this.getTreeByBsm(res.result,row.dylx,'2');
391 path = "/dz"; 391 path = "/dz";
392 break; 392 break;
393 default: 393 default:
......
...@@ -2,18 +2,6 @@ ...@@ -2,18 +2,6 @@
2 <div class="main" ref="mainBox"> 2 <div class="main" ref="mainBox">
3 <div class="formMenu"> 3 <div class="formMenu">
4 <Qlr ref="qlrxxModule" :bsm="curZdbsm" :qszt="formData.qszt"></Qlr> 4 <Qlr ref="qlrxxModule" :bsm="curZdbsm" :qszt="formData.qszt"></Qlr>
5 <!-- <el-button
6 type="primary"
7 class="changeBtn"
8 @click="getQlrxxData"
9 >获取权利人信息数据</el-button
10 >
11 <el-button
12 type="primary"
13 class="changeBtn"
14 @click="getQlxzData"
15 >获取权利性质组件数据</el-button
16 > -->
17 <table class="zdjbxxTable" cellspacing="0" cellpadding="0" border="1"> 5 <table class="zdjbxxTable" cellspacing="0" cellpadding="0" border="1">
18 <tr> 6 <tr>
19 <th colspan="12">宗地基本信息</th> 7 <th colspan="12">宗地基本信息</th>
...@@ -22,7 +10,7 @@ ...@@ -22,7 +10,7 @@
22 <td colspan="2" class="tdright">行政区</td> 10 <td colspan="2" class="tdright">行政区</td>
23 <td colspan="2"> 11 <td colspan="2">
24 <el-select 12 <el-select
25 :disabled="formData.qszt!='0'" 13 :disabled="disabled"
26 class="formSelect" 14 class="formSelect"
27 v-model="formData.xzqbsm" 15 v-model="formData.xzqbsm"
28 @change="changeXzq(formData.xzqbsm)" 16 @change="changeXzq(formData.xzqbsm)"
...@@ -40,7 +28,7 @@ ...@@ -40,7 +28,7 @@
40 <td colspan="2"> 28 <td colspan="2">
41 <el-select 29 <el-select
42 class="formSelect" 30 class="formSelect"
43 :disabled="formData.qszt!='0'" 31 :disabled="disabled"
44 v-model="formData.djqbsm" 32 v-model="formData.djqbsm"
45 @change="changeDjq(formData.djqbsm)" 33 @change="changeDjq(formData.djqbsm)"
46 > 34 >
...@@ -55,7 +43,7 @@ ...@@ -55,7 +43,7 @@
55 </td> 43 </td>
56 <td colspan="2" class="tdright">地籍子区</td> 44 <td colspan="2" class="tdright">地籍子区</td>
57 <td colspan="2"> 45 <td colspan="2">
58 <el-select class="formSelect" @change="changeDjzq" :disabled="formData.qszt!='0'" v-model="formData.djzqbsm"> 46 <el-select class="formSelect" @change="changeDjzq" :disabled="disabled" v-model="formData.djzqbsm">
59 <el-option 47 <el-option
60 v-for="item in $store.state.djzqList" 48 v-for="item in $store.state.djzqList"
61 :key="item.bsm" 49 :key="item.bsm"
...@@ -69,7 +57,7 @@ ...@@ -69,7 +57,7 @@
69 <tr> 57 <tr>
70 <td colspan="2" class="tdright">权利类型</td> 58 <td colspan="2" class="tdright">权利类型</td>
71 <td colspan="4"> 59 <td colspan="4">
72 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qllxbsm"> 60 <el-select class="formSelect" :disabled="disabled" v-model="formData.qllxbsm">
73 <el-option 61 <el-option
74 v-for="item in $store.state.qllxList" 62 v-for="item in $store.state.qllxList"
75 :key="item.bsm" 63 :key="item.bsm"
...@@ -81,7 +69,7 @@ ...@@ -81,7 +69,7 @@
81 </td> 69 </td>
82 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地特征码</td> 70 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地特征码</td>
83 <td colspan="4"> 71 <td colspan="4">
84 <el-select class="formSelect" ref="zdtzm" :disabled="formData.qszt!='0'" 72 <el-select class="formSelect" ref="zdtzm" :disabled="disabled"
85 v-model="formData.zdtzmbsm"> 73 v-model="formData.zdtzmbsm">
86 <el-option 74 <el-option
87 v-for="item in $store.state.zdtzmList" 75 v-for="item in $store.state.zdtzmList"
...@@ -96,7 +84,7 @@ ...@@ -96,7 +84,7 @@
96 <tr> 84 <tr>
97 <td colspan="2" class="tdright">权利设定方式</td> 85 <td colspan="2" class="tdright">权利设定方式</td>
98 <td colspan="4"> 86 <td colspan="4">
99 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qlsdfs"> 87 <el-select class="formSelect" :disabled="disabled" v-model="formData.qlsdfs">
100 <el-option 88 <el-option
101 v-for="item in $store.state.qlsdfsList" 89 v-for="item in $store.state.qlsdfsList"
102 :key="item.bsm" 90 :key="item.bsm"
...@@ -108,12 +96,12 @@ ...@@ -108,12 +96,12 @@
108 </td> 96 </td>
109 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td> 97 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td>
110 <td colspan="4" class="psr"> 98 <td colspan="4" class="psr">
111 <input :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zddm" on maxlength="19" 99 <input :disabled="disabled" @blur="inputBlur($event)" ref="zddm" on maxlength="19"
112 type="text" 100 type="text"
113 class="formInput percent80" 101 class="formInput percent80"
114 v-model="formData.zddm" 102 v-model="formData.zddm"
115 /> 103 />
116 <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn" 104 <el-button type="warning" :disabled="disabled" class="createBtn"
117 @click="generatorCode" 105 @click="generatorCode"
118 >生成 106 >生成
119 </el-button> 107 </el-button>
...@@ -122,29 +110,29 @@ ...@@ -122,29 +110,29 @@
122 <tr> 110 <tr>
123 <td colspan="2" class="tdright">地籍号</td> 111 <td colspan="2" class="tdright">地籍号</td>
124 <td colspan="4"> 112 <td colspan="4">
125 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.djh"/> 113 <input type="text" :disabled="disabled" class="formInput" v-model="formData.djh"/>
126 </td> 114 </td>
127 115
128 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td> 116 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td>
129 <td colspan="4" class="psr"> 117 <td colspan="4" class="psr">
130 <input 118 <input
131 type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="bdcdyh" 119 type="text" :disabled="disabled" @blur="inputBlur($event)" ref="bdcdyh"
132 maxlength="28" 120 maxlength="28"
133 class="formInput" 121 class="formInput"
134 v-model="formData.bdcdyh" 122 v-model="formData.bdcdyh"
135 /> 123 />
136 <!-- <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn">生成</el-button> --> 124 <!-- <el-button type="warning" :disabled="disabled" class="createBtn">生成</el-button> -->
137 </td> 125 </td>
138 </tr> 126 </tr>
139 <tr> 127 <tr>
140 <td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td> 128 <td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td>
141 <td colspan="4"> 129 <td colspan="4">
142 <input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zl" 130 <input type="text" :disabled="disabled" @blur="inputBlur($event)" ref="zl"
143 class="formInput" v-model="formData.zl"/> 131 class="formInput" v-model="formData.zl"/>
144 </td> 132 </td>
145 <td colspan="2" class="tdright">项目名称</td> 133 <td colspan="2" class="tdright">项目名称</td>
146 <td colspan="4" class="psr"> 134 <td colspan="4" class="psr">
147 <input :disabled="formData.qszt!='0'" 135 <input :disabled="disabled"
148 type="text" 136 type="text"
149 class="formInput " 137 class="formInput "
150 v-model="formData.xmmc" 138 v-model="formData.xmmc"
...@@ -154,7 +142,7 @@ ...@@ -154,7 +142,7 @@
154 <tr> 142 <tr>
155 <td colspan="2" class="tdright">国民经济行业分类</td> 143 <td colspan="2" class="tdright">国民经济行业分类</td>
156 <td colspan="4"> 144 <td colspan="4">
157 <!-- <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.gmjjhyflbsm">--> 145 <!-- <el-select class="formSelect" :disabled="disabled" v-model="formData.gmjjhyflbsm">-->
158 <!-- <el-option--> 146 <!-- <el-option-->
159 <!-- v-for="item in $store.state.gmjjhyflbsmList"--> 147 <!-- v-for="item in $store.state.gmjjhyflbsmList"-->
160 <!-- :key="item.bsm"--> 148 <!-- :key="item.bsm"-->
...@@ -169,7 +157,7 @@ ...@@ -169,7 +157,7 @@
169 :default-expand-all="defaultExpandAll" 157 :default-expand-all="defaultExpandAll"
170 :multiple="multiple" 158 :multiple="multiple"
171 :placeholder="placeholder" 159 :placeholder="placeholder"
172 :disabled="formData.qszt!='0'" 160 :disabled="disabled"
173 :data="$store.state.gmjjhyflbsmList" 161 :data="$store.state.gmjjhyflbsmList"
174 :props="treeProps" 162 :props="treeProps"
175 :check-strictly="checkStrictly" 163 :check-strictly="checkStrictly"
...@@ -179,13 +167,13 @@ ...@@ -179,13 +167,13 @@
179 </td> 167 </td>
180 <td colspan="2" class="tdright">价格(元)</td> 168 <td colspan="2" class="tdright">价格(元)</td>
181 <td colspan="4" class="psr"> 169 <td colspan="4" class="psr">
182 <input :disabled="formData.qszt!='0'" class="formInput" type="number" v-model="formData.jg"/> 170 <input :disabled="disabled" class="formInput" type="number" v-model="formData.jg"/>
183 </td> 171 </td>
184 </tr> 172 </tr>
185 <tr> 173 <tr>
186 <td colspan="2" class="tdright">容积率</td> 174 <td colspan="2" class="tdright">容积率</td>
187 <td colspan="2"> 175 <td colspan="2">
188 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyrjl"> 176 <el-select class="formSelect" :disabled="disabled" v-model="formData.jyrjl">
189 <el-option 177 <el-option
190 v-for="item in compareList" 178 v-for="item in compareList"
191 :key="item.value" 179 :key="item.value"
...@@ -197,27 +185,27 @@ ...@@ -197,27 +185,27 @@
197 </td> 185 </td>
198 <td colspan="2"> 186 <td colspan="2">
199 <input 187 <input
200 type="text" :disabled="formData.qszt!='0'" 188 type="text" :disabled="disabled"
201 v-model="rjl" 189 v-model="rjl"
202 v-show="isInterval(formData.jyrjl)" 190 v-show="isInterval(formData.jyrjl)"
203 class="formInput percent47" 191 class="formInput percent47"
204 /> 192 />
205 <span class="percent4" v-show="isInterval(formData.jyrjl)">-</span> 193 <span class="percent4" v-show="isInterval(formData.jyrjl)">-</span>
206 <input 194 <input
207 type="text" :disabled="formData.qszt!='0'" 195 type="text" :disabled="disabled"
208 v-model="formData.rjl" 196 v-model="formData.rjl"
209 :class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'" 197 :class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'"
210 /> 198 />
211 </td> 199 </td>
212 <td colspan="2" class="tdright">容积说明</td> 200 <td colspan="2" class="tdright">容积说明</td>
213 <td colspan="4" class="psr"> 201 <td colspan="4" class="psr">
214 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.rjlsm"/> 202 <input type="text" :disabled="disabled" class="formInput" v-model="formData.rjlsm"/>
215 </td> 203 </td>
216 </tr> 204 </tr>
217 <tr> 205 <tr>
218 <td colspan="2" class="tdright">建筑密度</td> 206 <td colspan="2" class="tdright">建筑密度</td>
219 <td colspan="2"> 207 <td colspan="2">
220 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzmd"> 208 <el-select class="formSelect" :disabled="disabled" v-model="formData.jyjzmd">
221 <el-option 209 <el-option
222 v-for="item in compareList" 210 v-for="item in compareList"
223 :key="item.value" 211 :key="item.value"
...@@ -230,26 +218,26 @@ ...@@ -230,26 +218,26 @@
230 <td colspan="2"> 218 <td colspan="2">
231 <input 219 <input
232 type="text" 220 type="text"
233 v-model="jzmd" :disabled="formData.qszt!='0'" 221 v-model="jzmd" :disabled="disabled"
234 v-show="isInterval(formData.jyjzmd)" 222 v-show="isInterval(formData.jyjzmd)"
235 class="formInput percent47" 223 class="formInput percent47"
236 /> 224 />
237 <span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span> 225 <span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span>
238 <input 226 <input
239 type="text" 227 type="text"
240 v-model="formData.jzmd" :disabled="formData.qszt!='0'" 228 v-model="formData.jzmd" :disabled="disabled"
241 :class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'" 229 :class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'"
242 /> 230 />
243 </td> 231 </td>
244 <td colspan="2" class="tdright">建筑密度说明</td> 232 <td colspan="2" class="tdright">建筑密度说明</td>
245 <td colspan="4" class="psr"> 233 <td colspan="4" class="psr">
246 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzmdsm"/> 234 <input type="text" :disabled="disabled" class="formInput" v-model="formData.jzmdsm"/>
247 </td> 235 </td>
248 </tr> 236 </tr>
249 <tr> 237 <tr>
250 <td colspan="2" class="tdright">建筑限高</td> 238 <td colspan="2" class="tdright">建筑限高</td>
251 <td colspan="2"> 239 <td colspan="2">
252 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzxg"> 240 <el-select class="formSelect" :disabled="disabled" v-model="formData.jyjzxg">
253 <el-option 241 <el-option
254 v-for="item in compareList" 242 v-for="item in compareList"
255 :key="item.value" 243 :key="item.value"
...@@ -261,34 +249,34 @@ ...@@ -261,34 +249,34 @@
261 </td> 249 </td>
262 <td colspan="2"> 250 <td colspan="2">
263 <input 251 <input
264 type="text" :disabled="formData.qszt!='0'" 252 type="text" :disabled="disabled"
265 v-model="jzxg" 253 v-model="jzxg"
266 v-show="isInterval(formData.jyjzxg)" 254 v-show="isInterval(formData.jyjzxg)"
267 class="formInput percent47" 255 class="formInput percent47"
268 /> 256 />
269 <span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span> 257 <span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span>
270 <input 258 <input
271 type="text" :disabled="formData.qszt!='0'" 259 type="text" :disabled="disabled"
272 v-model="formData.jzxg" 260 v-model="formData.jzxg"
273 :class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'" 261 :class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'"
274 /> 262 />
275 </td> 263 </td>
276 <td colspan="2" class="tdright">建筑限高说明</td> 264 <td colspan="2" class="tdright">建筑限高说明</td>
277 <td colspan="4" class="psr"> 265 <td colspan="4" class="psr">
278 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzxgsm"/> 266 <input type="text" :disabled="disabled" class="formInput" v-model="formData.jzxgsm"/>
279 </td> 267 </td>
280 </tr> 268 </tr>
281 <tr> 269 <tr>
282 <td colspan="2" rowspan="2" class="tdright">所在图幅号</td> 270 <td colspan="2" rowspan="2" class="tdright">所在图幅号</td>
283 <td colspan="2" class="tdright">比例尺</td> 271 <td colspan="2" class="tdright">比例尺</td>
284 <td colspan="8" class="psr"> 272 <td colspan="8" class="psr">
285 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.blc"/> 273 <input type="text" :disabled="disabled" class="formInput" v-model="formData.blc"/>
286 </td> 274 </td>
287 </tr> 275 </tr>
288 <tr> 276 <tr>
289 <td colspan="2" class="tdright">图幅号</td> 277 <td colspan="2" class="tdright">图幅号</td>
290 <td colspan="8" class="psr"> 278 <td colspan="8" class="psr">
291 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.tfh"/> 279 <input type="text" :disabled="disabled" class="formInput" v-model="formData.tfh"/>
292 </td> 280 </td>
293 </tr> 281 </tr>
294 282
...@@ -296,28 +284,28 @@ ...@@ -296,28 +284,28 @@
296 <td colspan="2" rowspan="4" class="tdright">宗地四至</td> 284 <td colspan="2" rowspan="4" class="tdright">宗地四至</td>
297 <td colspan="2" class="tdright"><i class="requisite">*</i>北至</td> 285 <td colspan="2" class="tdright"><i class="requisite">*</i>北至</td>
298 <td colspan="8" class="psr"> 286 <td colspan="8" class="psr">
299 <input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="formData.qszt!='0'" 287 <input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="disabled"
300 class="formInput" v-model="formData.zdszb"/> 288 class="formInput" v-model="formData.zdszb"/>
301 </td> 289 </td>
302 </tr> 290 </tr>
303 <tr> 291 <tr>
304 <td colspan="2" class="tdright"><i class="requisite">*</i>东至</td> 292 <td colspan="2" class="tdright"><i class="requisite">*</i>东至</td>
305 <td colspan="8" class="psr"> 293 <td colspan="8" class="psr">
306 <input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="formData.qszt!='0'" 294 <input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="disabled"
307 class="formInput" v-model="formData.zdszd"/> 295 class="formInput" v-model="formData.zdszd"/>
308 </td> 296 </td>
309 </tr> 297 </tr>
310 <tr> 298 <tr>
311 <td colspan="2" class="tdright"><i class="requisite">*</i>南至</td> 299 <td colspan="2" class="tdright"><i class="requisite">*</i>南至</td>
312 <td colspan="8" class="psr"> 300 <td colspan="8" class="psr">
313 <input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="formData.qszt!='0'" 301 <input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="disabled"
314 class="formInput" v-model="formData.zdszn"/> 302 class="formInput" v-model="formData.zdszn"/>
315 </td> 303 </td>
316 </tr> 304 </tr>
317 <tr> 305 <tr>
318 <td colspan="2" class="tdright"><i class="requisite">*</i>西至</td> 306 <td colspan="2" class="tdright"><i class="requisite">*</i>西至</td>
319 <td colspan="8" class="psr"> 307 <td colspan="8" class="psr">
320 <input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="formData.qszt!='0'" 308 <input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="disabled"
321 class="formInput" v-model="formData.zdszx"/> 309 class="formInput" v-model="formData.zdszx"/>
322 </td> 310 </td>
323 </tr> 311 </tr>
...@@ -329,55 +317,46 @@ ...@@ -329,55 +317,46 @@
329 <tr> 317 <tr>
330 <td colspan="2" class="tdright">批准面积(㎡)</td> 318 <td colspan="2" class="tdright">批准面积(㎡)</td>
331 <td colspan="4" > 319 <td colspan="4" >
332 <input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')" 320 <input type="text" :disabled="disabled" onkeyup="value=value.replace(/[^\d\.]/g,'')"
333 class="formInput" v-model="formData.pzmj"/> 321 class="formInput" v-model="formData.pzmj"/>
334 </td> 322 </td>
335 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地面积(㎡)</td> 323 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地面积(㎡)</td>
336 <td colspan="4" > 324 <td colspan="4" >
337 <input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zdmj" 325 <input type="text" :disabled="disabled" @blur="inputBlur($event)" ref="zdmj"
338 onkeyup="value=value.replace(/[^\d\.]/g,'')" class="formInput" v-model="formData.zdmj"/> 326 onkeyup="value=value.replace(/[^\d\.]/g,'')" class="formInput" v-model="formData.zdmj"/>
339 </td> 327 </td>
340 </tr> 328 </tr>
341 <tr> 329 <tr>
342 <td colspan="2" class="tdright">建筑占地总面积(㎡)</td> 330 <td colspan="2" class="tdright">建筑占地总面积(㎡)</td>
343 <td colspan="4"> 331 <td colspan="4">
344 <input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')" 332 <input type="text" :disabled="disabled" onkeyup="value=value.replace(/[^\d\.]/g,'')"
345 class="formInput" v-model="formData.jzzdzmj"/> 333 class="formInput" v-model="formData.jzzdzmj"/>
346 </td> 334 </td>
347 335
348 <td colspan="2" class="tdright">建筑总面积(㎡)</td> 336 <td colspan="2" class="tdright">建筑总面积(㎡)</td>
349 <td colspan="4"> 337 <td colspan="4">
350 <input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')" 338 <input type="text" :disabled="disabled" onkeyup="value=value.replace(/[^\d\.]/g,'')"
351 class="formInput" v-model="formData.jzzmj"/> 339 class="formInput" v-model="formData.jzzmj"/>
352 </td> 340 </td>
353 </tr> 341 </tr>
354 <tr> 342 <tr>
355 <td colspan="2" class="tdright">共有/共用权利人情况</td> 343 <td colspan="2" class="tdright">共有/共用权利人情况</td>
356 <td colspan="10"> 344 <td colspan="10">
357 <input type="text" :disabled="formData.qszt!='0'" class="formInput" 345 <input type="text" :disabled="disabled" class="formInput"
358 v-model="formData.gygyqlrqk"/> 346 v-model="formData.gygyqlrqk"/>
359 </td> 347 </td>
360 </tr> 348 </tr>
361 <tr> 349 <tr>
362 <td colspan="2" class="tdright" rowspan="2">说明</td> 350 <td colspan="2" class="tdright" rowspan="2">说明</td>
363 <td colspan="10" rowspan="2"> 351 <td colspan="10" rowspan="2">
364 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.sm"/> 352 <input type="text" :disabled="disabled" class="formInput" v-model="formData.sm"/>
365 </td> 353 </td>
366 </tr> 354 </tr>
367 </table> 355 </table>
368
369 <!-- <div style="min-height: 40px;text-align: center;margin-top: 10px">
370 <el-button type="success" class="saveBtn" @click="updateZDxx">保存</el-button>
371 <el-button type="primary" @click="submitZDxx">提交</el-button>
372 <el-button type="primary" @click="registerCall">登记调用</el-button>
373 </div> -->
374
375 <div class="header-button" :style="{width:mainBoxWidth+'px'}"> 356 <div class="header-button" :style="{width:mainBoxWidth+'px'}">
376
377 <el-button type="primary" class="saveBtn" @click="updateZDxx">保存</el-button> 357 <el-button type="primary" class="saveBtn" @click="updateZDxx">保存</el-button>
378 <el-button type="primary" @click="submitZDxx">提交</el-button> 358 <el-button type="primary" @click="submitZDxx">提交</el-button>
379 <el-button type="primary" @click="registerCall">登记调用</el-button> 359 <el-button type="primary" @click="registerCall">登记调用</el-button>
380 <!-- <el-button type="primary" class="saveBtn" @click="save">保存</el-button> -->
381 </div> 360 </div>
382 </div> 361 </div>
383 </div> 362 </div>
...@@ -519,6 +498,11 @@ ...@@ -519,6 +498,11 @@
519 .then((res) => { 498 .then((res) => {
520 if (res.result) { 499 if (res.result) {
521 this.formData = res.result; 500 this.formData = res.result;
501 if(this.formData.bblx === 0 && this.formData.qszt === 0 && this.formData.bhqkbsm == null){
502 this.disabled = false
503 }else {
504 this.disabled = true
505 }
522 console.log(res.result, 'res.result'); 506 console.log(res.result, 'res.result');
523 this.getXzqData(res.result.xzqbsm, res.result.djqbsm); 507 this.getXzqData(res.result.xzqbsm, res.result.djqbsm);
524 //如果没有宗地代码,自动生成 508 //如果没有宗地代码,自动生成
......
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
284 <td colspan="9" > 284 <td colspan="9" >
285 <el-select v-model="item1.fwjgzdbsm" placeholder="请选择" :disabled="disableFlag"> 285 <el-select v-model="item1.fwjgzdbsm" placeholder="请选择" :disabled="disableFlag">
286 <el-option 286 <el-option
287 v-for="item in $store.state.fwjgList" 287 v-for="item in $store.state.jgOptions"
288 :key="item.bsm" 288 :key="item.bsm"
289 :label="item.mc" 289 :label="item.mc"
290 :value="item.bsm"> 290 :value="item.bsm">
...@@ -600,8 +600,10 @@ ...@@ -600,8 +600,10 @@
600 if(res.code===200){ 600 if(res.code===200){
601 this.form = res.result; 601 this.form = res.result;
602 this.hbsm = res.result.bsm; 602 this.hbsm = res.result.bsm;
603 if(res.result.qszt !== '0'){ 603 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){
604 this.disableFlag = true; 604 this.disableFlag = false
605 }else {
606 this.disableFlag = true
605 } 607 }
606 if(this.form.scyclx==='0'){ 608 if(this.form.scyclx==='0'){
607 this.$set(this.form,"ycjzmj", this.form.jzmj) 609 this.$set(this.form,"ycjzmj", this.form.jzmj)
......
...@@ -109,15 +109,18 @@ ...@@ -109,15 +109,18 @@
109 <span @click="deleteYtInfo(index)">删除</span> 109 <span @click="deleteYtInfo(index)">删除</span>
110 </td> 110 </td>
111 <td colspan="9"> 111 <td colspan="9">
112 <el-select v-model="item1.fwytzdbsm" placeholder="请选择"> 112 <el-select-tree style="width:100%"
113 <el-option 113 ref="yt"
114 v-for="item in $store.state.tdytList" 114 v-if="show"
115 :key="item.bsm" 115 :default-expand-all="defaultExpandAll"
116 :label="item.mc" 116 :multiple="multiple"
117 :value="item.bsm" 117 :placeholder="placeholder"
118 > 118 :data="$store.state.fwytList"
119 </el-option> 119 :props="treeProps"
120 </el-select> 120 :check-strictly="checkStrictly"
121 :clearable="clearable"
122 v-model="item1.fwytzdbsm"
123 ></el-select-tree>
121 </td> 124 </td>
122 </tr> 125 </tr>
123 126
...@@ -145,15 +148,18 @@ ...@@ -145,15 +148,18 @@
145 <span @click="deleteFwjgInfo(index)">删除</span> 148 <span @click="deleteFwjgInfo(index)">删除</span>
146 </td> 149 </td>
147 <td colspan="9"> 150 <td colspan="9">
148 <el-select v-model="item1.fwjgzdbsm" placeholder="请选择"> 151 <el-select-tree style="width:100%"
149 <el-option 152 ref="yt"
150 v-for="item in $store.state.jgOptions" 153 v-if="show"
151 :key="item.bsm" 154 :default-expand-all="defaultExpandAll"
152 :label="item.mc" 155 :multiple="multiple"
153 :value="item.bsm" 156 :placeholder="placeholder"
154 > 157 :data="$store.state.jgOptions"
155 </el-option> 158 :props="treeProps"
156 </el-select> 159 :check-strictly="checkStrictly"
160 :clearable="clearable"
161 v-model="item1.fwjgzdbsm"
162 ></el-select-tree>
157 </td> 163 </td>
158 </tr> 164 </tr>
159 165
...@@ -192,6 +198,7 @@ ...@@ -192,6 +198,7 @@
192 198
193 <script> 199 <script>
194 import { insertLjzInfo } from "@api/lpb"; 200 import { insertLjzInfo } from "@api/lpb";
201 import { getQjLjzDetailById,updateQjLjz } from "@api/ljz";
195 import { formdate } from "@libs/function"; 202 import { formdate } from "@libs/function";
196 export default { 203 export default {
197 name: "ljz", 204 name: "ljz",
...@@ -204,6 +211,21 @@ export default { ...@@ -204,6 +211,21 @@ export default {
204 }, 211 },
205 data() { 212 data() {
206 return { 213 return {
214
215 //树型结构
216 show:true,
217 clearable: true,
218 defaultExpandAll: true,
219 multiple: false,
220 placeholder: '请选择',
221 disabled: false,
222 checkStrictly: true,
223 treeProps: {
224 value: 'bsm',
225 children: 'children',
226 label: 'mc'
227 },
228
207 form: { 229 form: {
208 zrzbsm: "", 230 zrzbsm: "",
209 ljzh: "", //逻辑幢号 231 ljzh: "", //逻辑幢号
...@@ -336,6 +358,11 @@ export default { ...@@ -336,6 +358,11 @@ export default {
336 }else{ 358 }else{
337 //逻辑幢更新接口调用 TODO 359 //逻辑幢更新接口调用 TODO
338 console.log('保存'); 360 console.log('保存');
361 updateQjLjz(this.form).then((res)=>{
362 if(res.code === 200){
363 this.$message.success("修改成功")
364 }
365 })
339 } 366 }
340 }, 367 },
341 onSubmit() { 368 onSubmit() {
...@@ -343,8 +370,48 @@ export default { ...@@ -343,8 +370,48 @@ export default {
343 }, 370 },
344 //根据逻辑幢bsm查询逻辑幢信息 371 //根据逻辑幢bsm查询逻辑幢信息
345 getLjzInfo(bsm){ 372 getLjzInfo(bsm){
346 //逻辑幢信息查询接口调用 bsm为逻辑幢bsm TODO 373 //逻辑幢信息查询接口调用 bsm为逻辑幢bsm
347 this.form = {zrzh:'11111111'}; 374 getQjLjzDetailById(bsm).then((res)=>{
375 if(res.code === 200){
376 this.form = res.result;
377 this.form.zrzh = this.$store.state.zrzh;
378 this.form.fwjgList= [
379 {
380 fwjgzdbsm: "", //房屋结构字典标识码
381 glbsm: "", //关联标识码
382 sx: "", //顺序
383 },
384 ];
385 this.form.ytList= [
386 {
387 glbsm: "", //关联标识码
388 fwytzdbsm: "", //房屋用途字典标识码
389 sx: "", //顺序
390 },
391 ];
392 if(this.form.qjfwjg.length>0){
393 this.form.fwjgList= [];
394 for(let i =0;i<this.form.qjfwjg.length;i++){
395 this.form.fwjgList.push({
396 fwjgzdbsm: this.form.qjfwjg[i].fwjgzdbsm, //房屋结构字典标识码
397 glbsm: this.form.qjfwjg[i].glbsm, //关联标识码
398 sx: this.form.qjfwjg[i].sx, //顺序
399 })
400 }
401 }
402 if(this.form.qjfwyt.length>0){
403 this.form.ytList= [];
404 for(let i =0;i<this.form.qjfwyt.length;i++){
405 this.form.ytList.push({
406 fwytzdbsm: this.form.qjfwyt[i].fwytzdbsm, //房屋结构字典标识码
407 glbsm: this.form.qjfwyt[i].glbsm, //关联标识码
408 sx: this.form.qjfwyt[i].sx, //顺序
409 })
410 }
411 }
412 console.log(JSON.stringify(this.form)+":this.form")
413 }
414 })
348 this.$forceUpdate(); 415 this.$forceUpdate();
349 } 416 }
350 }, 417 },
......
...@@ -10,40 +10,40 @@ ...@@ -10,40 +10,40 @@
10 <td colspan="2" class="tdright">宗地代码</td> 10 <td colspan="2" class="tdright">宗地代码</td>
11 <td colspan="4" style="min-width:450px"> 11 <td colspan="4" style="min-width:450px">
12 <input v-model="form.zddm" class="formInput" disabled> 12 <input v-model="form.zddm" class="formInput" disabled>
13 <input v-show="false" :disabled="form.qszt!='0'" maxlength="19" class="formInput" v-model="form.zdbsm"> 13 <input v-show="false" :disabled="disabled" maxlength="19" class="formInput" v-model="form.zdbsm">
14 </td> 14 </td>
15 <td colspan="2" class="tdright"><i class="requisite">*</i>自然幢号</td> 15 <td colspan="2" class="tdright"><i class="requisite">*</i>自然幢号</td>
16 <td colspan="4" class="psr"> 16 <td colspan="4" class="psr">
17 <input class="formInput percent80" ref="zrzh" @blur="inputBlur($event)" :disabled="form.qszt!='0'" maxlength="24" v-model="form.zrzh"> 17 <input class="formInput percent80" ref="zrzh" @blur="inputBlur($event)" :disabled="disabled" maxlength="24" v-model="form.zrzh">
18 <el-button @click.prevent="generatorCode" type="warning" :disabled="form.qszt!='0'" class="createBtn" size="mini">生成</el-button> 18 <el-button @click.prevent="generatorCode" type="warning" :disabled="disabled" class="createBtn" size="mini">生成</el-button>
19 </td> 19 </td>
20 </tr> 20 </tr>
21 <tr> 21 <tr>
22 <td colspan="2" class="tdright"><i class="requisite">*</i>项目名称</td> 22 <td colspan="2" class="tdright"><i class="requisite">*</i>项目名称</td>
23 <td colspan="4" > 23 <td colspan="4" >
24 <input class="formInput " ref="xmmc" @blur="inputBlur($event)" :disabled="form.qszt!='0'" v-model="form.xmmc"> 24 <input class="formInput " ref="xmmc" @blur="inputBlur($event)" :disabled="disabled" v-model="form.xmmc">
25 </td> 25 </td>
26 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td> 26 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td>
27 <td colspan="4"> 27 <td colspan="4">
28 <input class="formInput " ref="bdcdyh" @blur="inputBlur($event)" :disabled="form.qszt!='0'" maxlength="28" v-model="form.bdcdyh"> 28 <input class="formInput " ref="bdcdyh" @blur="inputBlur($event)" :disabled="disabled" maxlength="28" v-model="form.bdcdyh">
29 </td> 29 </td>
30 </tr> 30 </tr>
31 31
32 <tr> 32 <tr>
33 <td colspan="2" class="tdright">建筑物名称</td> 33 <td colspan="2" class="tdright">建筑物名称</td>
34 <td colspan="4" > 34 <td colspan="4" >
35 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwmc"> 35 <input class="formInput" :disabled="disabled" v-model="form.jzwmc">
36 </td> 36 </td>
37 <td colspan="2" class="tdright">建筑物基本用途</td> 37 <td colspan="2" class="tdright">建筑物基本用途</td>
38 <td colspan="4" > 38 <td colspan="4" >
39 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwjbyt"> 39 <input class="formInput" :disabled="disabled" v-model="form.jzwjbyt">
40 </td> 40 </td>
41 </tr> 41 </tr>
42 42
43 <tr> 43 <tr>
44 <td colspan="2" class="tdright"><i class="requisite">*</i>房屋性质</td> 44 <td colspan="2" class="tdright"><i class="requisite">*</i>房屋性质</td>
45 <td colspan="4" > 45 <td colspan="4" >
46 <el-select class="formSelect" ref="fwxz" :disabled="form.qszt!='0'" v-model="form.fwxzbsm" placeholder="请选择" > 46 <el-select class="formSelect" ref="fwxz" :disabled="disabled" v-model="form.fwxzbsm" placeholder="请选择" >
47 <el-option 47 <el-option
48 v-for="item in $store.state.fwxzOptions" 48 v-for="item in $store.state.fwxzOptions"
49 :key="item.bsm" 49 :key="item.bsm"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 <td colspan="4" > 56 <td colspan="4" >
57 <el-date-picker 57 <el-date-picker
58 style="width:100%" 58 style="width:100%"
59 :disabled="form.qszt!='0'" 59 :disabled="disabled"
60 v-model="form.jgrq" 60 v-model="form.jgrq"
61 type="date" 61 type="date"
62 placeholder="选择日期"> 62 placeholder="选择日期">
...@@ -66,55 +66,55 @@ ...@@ -66,55 +66,55 @@
66 <tr> 66 <tr>
67 <td colspan="2" class="tdright">地下层数</td> 67 <td colspan="2" class="tdright">地下层数</td>
68 <td colspan="4" > 68 <td colspan="4" >
69 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxcs"> 69 <input class="formInput" :disabled="disabled" type="number" v-model="form.dxcs">
70 </td> 70 </td>
71 <td colspan="2" class="tdright">地上层数</td> 71 <td colspan="2" class="tdright">地上层数</td>
72 <td colspan="4" > 72 <td colspan="4" >
73 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dscs"> 73 <input class="formInput" :disabled="disabled" type="number" v-model="form.dscs">
74 </td> 74 </td>
75 </tr> 75 </tr>
76 76
77 <tr> 77 <tr>
78 <td colspan="2" class="tdright">总层数</td> 78 <td colspan="2" class="tdright">总层数</td>
79 <td colspan="4" > 79 <td colspan="4" >
80 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zcs"> 80 <input class="formInput" :disabled="disabled" type="number" v-model="form.zcs">
81 </td> 81 </td>
82 <td colspan="2" class="tdright">总套数</td> 82 <td colspan="2" class="tdright">总套数</td>
83 <td colspan="4" > 83 <td colspan="4" >
84 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zts"> 84 <input class="formInput" :disabled="disabled" type="number" v-model="form.zts">
85 </td> 85 </td>
86 86
87 </tr> 87 </tr>
88 <tr> 88 <tr>
89 <td colspan="2" class="tdright">建筑物高度(m)</td> 89 <td colspan="2" class="tdright">建筑物高度(m)</td>
90 <td colspan="4" > 90 <td colspan="4" >
91 <input class="formInput" type="number" :disabled="form.qszt!='0'" v-model="form.jzwgd"> 91 <input class="formInput" type="number" :disabled="disabled" v-model="form.jzwgd">
92 </td> 92 </td>
93 <td colspan="2" class="tdright">地下深度(m)</td> 93 <td colspan="2" class="tdright">地下深度(m)</td>
94 <td colspan="4" > 94 <td colspan="4" >
95 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxsd"> 95 <input class="formInput" :disabled="disabled" type="number" v-model="form.dxsd">
96 </td> 96 </td>
97 </tr> 97 </tr>
98 98
99 <tr> 99 <tr>
100 <td colspan="2" class="tdright">幢用地面积(㎡)</td> 100 <td colspan="2" class="tdright">幢用地面积(㎡)</td>
101 <td colspan="4" > 101 <td colspan="4" >
102 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zydmj"> 102 <input class="formInput" :disabled="disabled" type="number" v-model="form.zydmj">
103 </td> 103 </td>
104 <td colspan="2" class="tdright">幢占用地面积(㎡)</td> 104 <td colspan="2" class="tdright">幢占用地面积(㎡)</td>
105 <td colspan="4" > 105 <td colspan="4" >
106 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zzdmj"> 106 <input class="formInput" :disabled="disabled" type="number" v-model="form.zzdmj">
107 </td> 107 </td>
108 </tr> 108 </tr>
109 109
110 <tr> 110 <tr>
111 <td colspan="2" class="tdright">预测建筑面积(㎡)</td> 111 <td colspan="2" class="tdright">预测建筑面积(㎡)</td>
112 <td colspan="4" > 112 <td colspan="4" >
113 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.ycjzmj"> 113 <input class="formInput" :disabled="disabled" type="number" v-model="form.ycjzmj">
114 </td> 114 </td>
115 <td colspan="2" class="tdright">实测建筑面积(㎡)</td> 115 <td colspan="2" class="tdright">实测建筑面积(㎡)</td>
116 <td colspan="4" > 116 <td colspan="4" >
117 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.scjzmj"> 117 <input class="formInput" :disabled="disabled" type="number" v-model="form.scjzmj">
118 </td> 118 </td>
119 </tr> 119 </tr>
120 120
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 <tr> 123 <tr>
124 <td colspan="2" class="tdright">产别</td> 124 <td colspan="2" class="tdright">产别</td>
125 <td colspan="4" > 125 <td colspan="4" >
126 <el-select v-model="form.fwcbbsm" :disabled="form.qszt!='0'" placeholder="请选择" > 126 <el-select v-model="form.fwcbbsm" :disabled="disabled" placeholder="请选择" >
127 <el-option 127 <el-option
128 v-for="item in $store.state.cbOptions" 128 v-for="item in $store.state.cbOptions"
129 :key="item.bsm" 129 :key="item.bsm"
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
134 </td> 134 </td>
135 <td colspan="2" class="tdright">产权来源</td> 135 <td colspan="2" class="tdright">产权来源</td>
136 <td colspan="4" > 136 <td colspan="4" >
137 <el-select v-model="form.fwcqlybsm" :disabled="form.qszt!='0'" placeholder="请选择" > 137 <el-select v-model="form.fwcqlybsm" :disabled="disabled" placeholder="请选择" >
138 <el-option 138 <el-option
139 v-for="item in $store.state.cqlyOptions" 139 v-for="item in $store.state.cqlyOptions"
140 :key="item.bsm" 140 :key="item.bsm"
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
163 :default-expand-all="defaultExpandAll" 163 :default-expand-all="defaultExpandAll"
164 :multiple="multiple" 164 :multiple="multiple"
165 :placeholder="placeholder" 165 :placeholder="placeholder"
166 :disabled="form.qszt!='0'" 166 :disabled="disabled"
167 :data="$store.state.fwytList" 167 :data="$store.state.fwytList"
168 :props="treeProps" 168 :props="treeProps"
169 :check-strictly="checkStrictly" 169 :check-strictly="checkStrictly"
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 :default-expand-all="defaultExpandAll" 179 :default-expand-all="defaultExpandAll"
180 :multiple="multiple" 180 :multiple="multiple"
181 :placeholder="placeholder" 181 :placeholder="placeholder"
182 :disabled="form.qszt!='0'" 182 :disabled="disabled"
183 :data="$store.state.fwytList" 183 :data="$store.state.fwytList"
184 :props="treeProps" 184 :props="treeProps"
185 :check-strictly="checkStrictly" 185 :check-strictly="checkStrictly"
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
200 200
201 </td> 201 </td>
202 <td colspan="9" > 202 <td colspan="9" >
203 <el-select class="persent78" ref="fwjg" :disabled="form.qszt!='0'" v-model="item1.fwjgzdbsm" placeholder="请选择" > 203 <el-select class="persent78" ref="fwjg" :disabled="disabled" v-model="item1.fwjgzdbsm" placeholder="请选择" >
204 <el-option 204 <el-option
205 v-for="item in $store.state.jgOptions" 205 v-for="item in $store.state.jgOptions"
206 :key="item.bsm" 206 :key="item.bsm"
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
222 <span><i class="requisite">*</i>坐落</span> 222 <span><i class="requisite">*</i>坐落</span>
223 </td> 223 </td>
224 <td colspan="10" > 224 <td colspan="10" >
225 <input class="formInput" ref="zl" @blur="inputBlur($event)" :disabled="form.qszt!='0'" v-model="form.zl"> 225 <input class="formInput" ref="zl" @blur="inputBlur($event)" :disabled="disabled" v-model="form.zl">
226 </td> 226 </td>
227 </tr> 227 </tr>
228 228
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
231 <span>附加说明</span> 231 <span>附加说明</span>
232 </td> 232 </td>
233 <td colspan="10" rowspan="2" > 233 <td colspan="10" rowspan="2" >
234 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.bz" type="textarea"> 234 <input class="formInput" :disabled="disabled" v-model="form.bz" type="textarea">
235 </td> 235 </td>
236 </tr> 236 </tr>
237 <tr> 237 <tr>
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
242 <span>调查意见</span> 242 <span>调查意见</span>
243 </td> 243 </td>
244 <td colspan="10" > 244 <td colspan="10" >
245 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.dcyj"> 245 <input class="formInput" :disabled="disabled" v-model="form.dcyj">
246 </td> 246 </td>
247 </tr> 247 </tr>
248 248
...@@ -251,14 +251,14 @@ ...@@ -251,14 +251,14 @@
251 <span>审查员</span> 251 <span>审查员</span>
252 </td> 252 </td>
253 <td colspan="2" > 253 <td colspan="2" >
254 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.scy"> 254 <input class="formInput" :disabled="disabled" v-model="form.scy">
255 </td> 255 </td>
256 <td colspan="2" class="tdright"> 256 <td colspan="2" class="tdright">
257 <span>审查日期</span> 257 <span>审查日期</span>
258 </td> 258 </td>
259 <td colspan="2" > 259 <td colspan="2" >
260 <el-date-picker 260 <el-date-picker
261 :disabled="form.qszt!='0'" 261 :disabled="disabled"
262 v-model="form.date" 262 v-model="form.date"
263 type="date" 263 type="date"
264 style="width: 100%" 264 style="width: 100%"
...@@ -663,6 +663,11 @@ ...@@ -663,6 +663,11 @@
663 // if(res.result.zddm == null){ 663 // if(res.result.zddm == null){
664 // this.generatorCode() 664 // this.generatorCode()
665 // } 665 // }
666 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){
667 this.disabled = false
668 }else {
669 this.disabled = true
670 }
666 this.$store.state.zrzh = res.result.zrzh; 671 this.$store.state.zrzh = res.result.zrzh;
667 if(this.form.fwjgList.length===0){ 672 if(this.form.fwjgList.length===0){
668 this.form.fwjgList.push({ 673 this.form.fwjgList.push({
......