Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
23 changed files
with
648 additions
and
286 deletions
src/api/ljz.js
0 → 100644
| 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 |
| ... | @@ -44,3 +44,17 @@ export function zrzList(data) { | ... | @@ -44,3 +44,17 @@ export function zrzList(data) { |
| 44 | data:data | 44 | data:data |
| 45 | }) | 45 | }) |
| 46 | } | 46 | } |
| 47 | |||
| 48 | /** | ||
| 49 | * 查询宗地、自然幢等权属状态 | ||
| 50 | * @param bsm | ||
| 51 | */ | ||
| 52 | export function queryStatus(bsm) { | ||
| 53 | return request({ | ||
| 54 | url:"/system/basiccommon/query-status", | ||
| 55 | method:'get', | ||
| 56 | params:{ | ||
| 57 | bsm | ||
| 58 | } | ||
| 59 | }) | ||
| 60 | } | ... | ... |
| ... | @@ -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 | }; | ... | ... |
| ... | @@ -253,7 +253,7 @@ export default { | ... | @@ -253,7 +253,7 @@ export default { |
| 253 | default: | 253 | default: |
| 254 | break; | 254 | break; |
| 255 | } | 255 | } |
| 256 | if(item.type == 'zd' ||item.type == 'dz' ||item.type == 'zrz'){ | 256 | if(item.type == 'zd' ||item.type == 'dz' ||item.type == 'zrz'||item.type == 'gzw'){ |
| 257 | this.$router.push({ | 257 | this.$router.push({ |
| 258 | path: '/'+item.type, | 258 | path: '/'+item.type, |
| 259 | query:{ | 259 | query:{ | ... | ... |
| ... | @@ -10,26 +10,26 @@ | ... | @@ -10,26 +10,26 @@ |
| 10 | <div> | 10 | <div> |
| 11 | <table border="1"> | 11 | <table border="1"> |
| 12 | <tr> | 12 | <tr> |
| 13 | <td>前缀</td> | 13 | <th>前缀</th> |
| 14 | <td>宗地</td> | 14 | <th>宗地</th> |
| 15 | <td>自然幢</td> | 15 | <th>自然幢</th> |
| 16 | <td>逻辑幢</td> | 16 | <th>逻辑幢</th> |
| 17 | <td>幢单元</td> | 17 | <th>幢单元</th> |
| 18 | <td>层</td> | 18 | <th>层</th> |
| 19 | <td>户</td> | 19 | <th>户</th> |
| 20 | <td>后缀</td> | 20 | <th>后缀</th> |
| 21 | </tr> | 21 | </tr> |
| 22 | <tr> | 22 | <tr> |
| 23 | <td> | 23 | <td> |
| 24 | <input type="text" class="inputtitle" v-model="plzlData.qz"/> | 24 | <el-input v-model="plzlData.qz"></el-input> |
| 25 | </td> | 25 | </td> |
| 26 | <td> | 26 | <td> |
| 27 | <el-select v-model="plzlData.zd"> | 27 | <el-select v-model="plzlData.zd"> |
| 28 | <el-option v-for="i in zdgz" | 28 | <el-option v-for="i in zdgz" |
| 29 | :key="i.label" | 29 | :key="i.label" |
| 30 | :label="i.label" | 30 | :label="i.label" |
| 31 | :value="i.value"> | 31 | :value="i.value" |
| 32 | 32 | :disabled="i.disabled"> | |
| 33 | </el-option> | 33 | </el-option> |
| 34 | </el-select> | 34 | </el-select> |
| 35 | </td> | 35 | </td> |
| ... | @@ -38,8 +38,8 @@ | ... | @@ -38,8 +38,8 @@ |
| 38 | <el-option v-for="i in zrzgz" | 38 | <el-option v-for="i in zrzgz" |
| 39 | :key="i.label" | 39 | :key="i.label" |
| 40 | :label="i.label" | 40 | :label="i.label" |
| 41 | :value="i.value"> | 41 | :value="i.value" |
| 42 | 42 | :disabled="i.disabled"> | |
| 43 | </el-option> | 43 | </el-option> |
| 44 | </el-select> | 44 | </el-select> |
| 45 | </td> | 45 | </td> |
| ... | @@ -84,7 +84,7 @@ | ... | @@ -84,7 +84,7 @@ |
| 84 | </el-select> | 84 | </el-select> |
| 85 | </td> | 85 | </td> |
| 86 | <td> | 86 | <td> |
| 87 | <input type="text" class="inputtitle" v-model="plzlData.hz"/> | 87 | <el-input v-model="plzlData.hz"></el-input> |
| 88 | </td> | 88 | </td> |
| 89 | </tr> | 89 | </tr> |
| 90 | </table> | 90 | </table> |
| ... | @@ -132,22 +132,27 @@ | ... | @@ -132,22 +132,27 @@ |
| 132 | zdgz: [ | 132 | zdgz: [ |
| 133 | { | 133 | { |
| 134 | label: '宗地坐落', | 134 | label: '宗地坐落', |
| 135 | value: '1' | 135 | value: '1', |
| 136 | disabled: false | ||
| 136 | }, { | 137 | }, { |
| 137 | label: "宗地名称", | 138 | label: "宗地名称", |
| 138 | value: '2' | 139 | value: '2', |
| 140 | disabled: false | ||
| 139 | }, { | 141 | }, { |
| 140 | label: "空", | 142 | label: "空", |
| 141 | value: '3' | 143 | value: '3', |
| 144 | disabled: false | ||
| 142 | } | 145 | } |
| 143 | ], | 146 | ], |
| 144 | zrzgz: [ | 147 | zrzgz: [ |
| 145 | { | 148 | { |
| 146 | label: '自然幢坐落', | 149 | label: '自然幢坐落', |
| 147 | value: '1' | 150 | value: '1', |
| 151 | disabled: false | ||
| 148 | }, { | 152 | }, { |
| 149 | label: "自然幢名称", | 153 | label: "自然幢名称", |
| 150 | value: '2' | 154 | value: '2', |
| 155 | disabled: false | ||
| 151 | }, { | 156 | }, { |
| 152 | label: "空", | 157 | label: "空", |
| 153 | value: '3' | 158 | value: '3' |
| ... | @@ -305,6 +310,13 @@ | ... | @@ -305,6 +310,13 @@ |
| 305 | watch: { | 310 | watch: { |
| 306 | plZlVisible: function (val) { | 311 | plZlVisible: function (val) { |
| 307 | this.isVisible = val | 312 | this.isVisible = val |
| 313 | }, | ||
| 314 | plzlData: { | ||
| 315 | handler(val) { | ||
| 316 | this.zrzgz[0].disabled = +val.zd === 1; | ||
| 317 | this.zdgz[0].disabled = +val.zrz === 1; | ||
| 318 | }, | ||
| 319 | deep: true | ||
| 308 | } | 320 | } |
| 309 | } | 321 | } |
| 310 | } | 322 | } |
| ... | @@ -321,6 +333,10 @@ | ... | @@ -321,6 +333,10 @@ |
| 321 | } | 333 | } |
| 322 | } | 334 | } |
| 323 | 335 | ||
| 336 | th { | ||
| 337 | height: 36px; | ||
| 338 | } | ||
| 339 | |||
| 324 | td { | 340 | td { |
| 325 | text-align: center; | 341 | text-align: center; |
| 326 | height: 36px; | 342 | height: 36px; | ... | ... |
| ... | @@ -444,7 +444,7 @@ export default { | ... | @@ -444,7 +444,7 @@ export default { |
| 444 | cursor: pointer; | 444 | cursor: pointer; |
| 445 | height: 72px; | 445 | height: 72px; |
| 446 | padding: 0 30px; | 446 | padding: 0 30px; |
| 447 | font-size: 20px; | 447 | font-size: 18px; |
| 448 | line-height: 72px; | 448 | line-height: 72px; |
| 449 | float: left; | 449 | float: left; |
| 450 | position: relative; | 450 | position: relative; |
| ... | @@ -453,7 +453,7 @@ export default { | ... | @@ -453,7 +453,7 @@ export default { |
| 453 | /*border-right: 1px solid #EAEAEA;*/ | 453 | /*border-right: 1px solid #EAEAEA;*/ |
| 454 | i { | 454 | i { |
| 455 | margin-right: 6px; | 455 | margin-right: 6px; |
| 456 | font-size: 22px; | 456 | font-size: 18px; |
| 457 | position: relative; | 457 | position: relative; |
| 458 | top: 1px; | 458 | top: 1px; |
| 459 | } | 459 | } | ... | ... |
| ... | @@ -8,24 +8,24 @@ | ... | @@ -8,24 +8,24 @@ |
| 8 | <th colspan="12"><font size="4"></font>多幢基本信息</th> | 8 | <th colspan="12"><font size="4"></font>多幢基本信息</th> |
| 9 | </tr> | 9 | </tr> |
| 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 maxlength="19" v-model="form.zddm"> |
| 14 | </td> | 14 | </td> |
| 15 | <td colspan="2" align="center" >不动产单元号</td> | 15 | <td colspan="2" align="center" ><i class="requisite">*</i>不动产单元号</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" @blur="inputBlur($event)" ref="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" ><i class="requisite">*</i>项目名称</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" @blur="inputBlur($event)" ref="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" |
| ... | @@ -141,10 +142,10 @@ | ... | @@ -141,10 +142,10 @@ |
| 141 | 142 | ||
| 142 | <tr height="30"> | 143 | <tr height="30"> |
| 143 | <td colspan="2" align="center" > | 144 | <td colspan="2" align="center" > |
| 144 | <span>坐落</span> | 145 | <span><i class="requisite">*</i>坐落</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" @blur="inputBlur($event)" ref="zl"> |
| 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> |
| ... | @@ -190,8 +192,8 @@ | ... | @@ -190,8 +192,8 @@ |
| 190 | </table> | 192 | </table> |
| 191 | </el-form> | 193 | </el-form> |
| 192 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> | 194 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> |
| 193 | <el-button type="primary" class="saveBtn" @click="onSave">保存</el-button> | 195 | <el-button type="primary" class="saveBtn" @click="onSave" :disabled="disabled">保存</el-button> |
| 194 | <el-button type="primary" @click="onSubmit">提交</el-button> | 196 | <el-button type="primary" @click="onSubmit" :disabled="disabled">提交</el-button> |
| 195 | <el-button type="primary" @click="registerCall">登记调用</el-button> | 197 | <el-button type="primary" @click="registerCall">登记调用</el-button> |
| 196 | </div> | 198 | </div> |
| 197 | </div> | 199 | </div> |
| ... | @@ -282,6 +284,8 @@ | ... | @@ -282,6 +284,8 @@ |
| 282 | value: '', | 284 | value: '', |
| 283 | ytTitleRowspan:1, //用途的单元格垂直合并数量 | 285 | ytTitleRowspan:1, //用途的单元格垂直合并数量 |
| 284 | mainBoxWidth: 0, | 286 | mainBoxWidth: 0, |
| 287 | |||
| 288 | rules:[], | ||
| 285 | } | 289 | } |
| 286 | }, | 290 | }, |
| 287 | created() { | 291 | created() { |
| ... | @@ -380,6 +384,15 @@ | ... | @@ -380,6 +384,15 @@ |
| 380 | this.form.qlxzList | 384 | this.form.qlxzList |
| 381 | }, | 385 | }, |
| 382 | 386 | ||
| 387 | inputBlur(e) { | ||
| 388 | if (e.target.value != '') { | ||
| 389 | e.target.style.border = "" | ||
| 390 | } else { | ||
| 391 | e.target.style.border = "1px solid red"; | ||
| 392 | e.target.style.boxSizing = 'border-box'; | ||
| 393 | } | ||
| 394 | }, | ||
| 395 | |||
| 383 | deleteQlxzItem(index){ | 396 | deleteQlxzItem(index){ |
| 384 | 397 | ||
| 385 | }, | 398 | }, |
| ... | @@ -387,6 +400,11 @@ | ... | @@ -387,6 +400,11 @@ |
| 387 | getDzDetailByBsm(data).then((res)=>{ | 400 | getDzDetailByBsm(data).then((res)=>{ |
| 388 | if(res.code===200) { | 401 | if(res.code===200) { |
| 389 | this.form = res.result; | 402 | this.form = res.result; |
| 403 | if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){ | ||
| 404 | this.disabled = false | ||
| 405 | }else { | ||
| 406 | this.disabled = true | ||
| 407 | } | ||
| 390 | console.log(this.form+"fwytList") | 408 | console.log(this.form+"fwytList") |
| 391 | console.log(this.form) | 409 | console.log(this.form) |
| 392 | if(this.form.fwytList.length===0){ | 410 | if(this.form.fwytList.length===0){ |
| ... | @@ -427,10 +445,66 @@ | ... | @@ -427,10 +445,66 @@ |
| 427 | 445 | ||
| 428 | 446 | ||
| 429 | onSave(){ | 447 | onSave(){ |
| 448 | |||
| 449 | this.rules=[ | ||
| 450 | { | ||
| 451 | data:this.form.bdcdyh, | ||
| 452 | name:'不动产单元号', | ||
| 453 | dom:this.$refs.bdcdyh, | ||
| 454 | rule: /^\s*$/g, //非空 | ||
| 455 | }, | ||
| 456 | { | ||
| 457 | data:this.form.xmmc, | ||
| 458 | name:'项目名称', | ||
| 459 | dom:this.$refs.xmmc, | ||
| 460 | rule: /^\s*$/g, //非空 | ||
| 461 | }, | ||
| 462 | { | ||
| 463 | data:this.form.zl, | ||
| 464 | name:'坐落', | ||
| 465 | dom:this.$refs.zl, | ||
| 466 | rule: /^\s*$/g, //非空 | ||
| 467 | }, | ||
| 468 | ] | ||
| 469 | |||
| 470 | this.form.fwytList.forEach((item,index)=>{ | ||
| 471 | this.rules.push( | ||
| 472 | { | ||
| 473 | data:item.fwytzdbsm, | ||
| 474 | name:'规划用途', | ||
| 475 | dom:this.$refs.ghyt[index], | ||
| 476 | rule: /^\s*$/g, //非空 | ||
| 477 | }, | ||
| 478 | { | ||
| 479 | data:item.fwytzdbsm, | ||
| 480 | name:'用途', | ||
| 481 | dom:this.$refs.yt[index], | ||
| 482 | rule: /^\s*$/g, //非空 | ||
| 483 | }, | ||
| 484 | ) | ||
| 485 | }) | ||
| 486 | |||
| 430 | console.log(this.form) | 487 | console.log(this.form) |
| 431 | this.form.dzbsm=this.bsm; | 488 | this.form.dzbsm=this.bsm; |
| 489 | let flag = true; | ||
| 432 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); | 490 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); |
| 433 | if(1>0){ | 491 | this.$refs.qlxzModule.getRules(); |
| 492 | this.rules.forEach(item=>{ | ||
| 493 | if(item.rule.test(item.data) || item.data == null){ | ||
| 494 | if(item.dom.$el){ | ||
| 495 | item.dom.$el.style.border = '1px solid red'; | ||
| 496 | item.dom.$el.style.boxSizing = 'border-box'; | ||
| 497 | }else{ | ||
| 498 | item.dom.style.border = '1px solid red'; | ||
| 499 | item.dom.style.boxSizing = 'border-box'; | ||
| 500 | } | ||
| 501 | flag = false; | ||
| 502 | return false | ||
| 503 | } | ||
| 504 | }) | ||
| 505 | |||
| 506 | this.$nextTick(()=> { | ||
| 507 | if (flag && this.$refs.qlxzModule.getRulesResult()) { | ||
| 434 | saveDzInfo(this.form).then((res)=>{ | 508 | saveDzInfo(this.form).then((res)=>{ |
| 435 | if(res.code===200){ | 509 | if(res.code===200){ |
| 436 | this.$message.success("保存完成!") | 510 | this.$message.success("保存完成!") |
| ... | @@ -441,7 +515,14 @@ | ... | @@ -441,7 +515,14 @@ |
| 441 | }); | 515 | }); |
| 442 | } | 516 | } |
| 443 | }) | 517 | }) |
| 518 | }else { | ||
| 519 | this.$message({ | ||
| 520 | // message: item.name+'不能为空', | ||
| 521 | message: '请完善表单后再继续操作', | ||
| 522 | type: "warning", | ||
| 523 | }); | ||
| 444 | } | 524 | } |
| 525 | }) | ||
| 445 | }, | 526 | }, |
| 446 | onSubmit(){ | 527 | onSubmit(){ |
| 447 | console.log(this.form) | 528 | console.log(this.form) |
| ... | @@ -454,6 +535,7 @@ | ... | @@ -454,6 +535,7 @@ |
| 454 | if(res.code===200){ | 535 | if(res.code===200){ |
| 455 | this.$message.success("提交完成!"); | 536 | this.$message.success("提交完成!"); |
| 456 | this.getDzDetailByBsm(this.$route.query.bsm) | 537 | this.getDzDetailByBsm(this.$route.query.bsm) |
| 538 | this.getTreeByBsm(this.$route.query.bsm,'dz','0,1,2') | ||
| 457 | } | 539 | } |
| 458 | }) | 540 | }) |
| 459 | }, | 541 | }, |
| ... | @@ -512,6 +594,24 @@ | ... | @@ -512,6 +594,24 @@ |
| 512 | this.getDzDetailByBsm(val) | 594 | this.getDzDetailByBsm(val) |
| 513 | }, | 595 | }, |
| 514 | 596 | ||
| 597 | "form.fwytList": { | ||
| 598 | handler : function (newVal, oldVal) { | ||
| 599 | newVal.forEach((item,ind)=>{ | ||
| 600 | if(item.fwytzdbsm != ''){ | ||
| 601 | this.$refs.ghyt[ind].$el.style.border="" | ||
| 602 | this.$refs.yt[ind].$el.style.border="" | ||
| 603 | } | ||
| 604 | }) | ||
| 605 | }, | ||
| 606 | deep:true | ||
| 607 | }, | ||
| 608 | |||
| 609 | "form.bdcdyh":function (val) { | ||
| 610 | if (val != '') { | ||
| 611 | this.$refs.bdcdyh.style.border = ''; | ||
| 612 | } | ||
| 613 | }, | ||
| 614 | |||
| 515 | "$store.state.sxdrType": { | 615 | "$store.state.sxdrType": { |
| 516 | handler(n) { | 616 | handler(n) { |
| 517 | this.$nextTick(()=>{ | 617 | this.$nextTick(()=>{ | ... | ... |
| ... | @@ -2,7 +2,8 @@ | ... | @@ -2,7 +2,8 @@ |
| 2 | <div class="content_box"> | 2 | <div class="content_box"> |
| 3 | <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" type="border-card" > | 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"><fjcl v-if="fjclVisible"></fjcl></el-tab-pane> | 5 | <el-tab-pane label="附件材料" name="fjcl"> |
| 6 | <fjcl v-if="fjclVisible" ref="fjcl"></fjcl></el-tab-pane> | ||
| 6 | </el-tabs> | 7 | </el-tabs> |
| 7 | </div> | 8 | </div> |
| 8 | </template> | 9 | </template> |
| ... | @@ -10,6 +11,7 @@ | ... | @@ -10,6 +11,7 @@ |
| 10 | <script> | 11 | <script> |
| 11 | import dzxx from "./dzxx"; | 12 | import dzxx from "./dzxx"; |
| 12 | import fjcl from "./../zd/fjcl/fjcl" | 13 | import fjcl from "./../zd/fjcl/fjcl" |
| 14 | import {queryStatus} from "@api/search" | ||
| 13 | export default { | 15 | export default { |
| 14 | name: "", | 16 | name: "", |
| 15 | components: { | 17 | components: { |
| ... | @@ -18,13 +20,25 @@ | ... | @@ -18,13 +20,25 @@ |
| 18 | props: {}, | 20 | props: {}, |
| 19 | data() { | 21 | data() { |
| 20 | return { | 22 | return { |
| 23 | isDisabled:false, | ||
| 21 | activeName: "dzxx", | 24 | activeName: "dzxx", |
| 22 | dzJbxxVisble:true, | 25 | dzJbxxVisble:true, |
| 23 | fjclVisible:false | 26 | fjclVisible:false |
| 24 | }; | 27 | }; |
| 25 | }, | 28 | }, |
| 26 | methods: { | 29 | methods: { |
| 30 | loadingStatus() { | ||
| 31 | debugger | ||
| 32 | let bsm=this.$store.state.dzbsm; | ||
| 33 | queryStatus(bsm).then(res => { | ||
| 34 | if (res.success) { | ||
| 35 | let qszt = res.result.qszt; | ||
| 36 | this.isDisabled = +qszt !== 0; | ||
| 37 | } | ||
| 38 | }) | ||
| 39 | }, | ||
| 27 | handleClick(tab, event) { | 40 | handleClick(tab, event) { |
| 41 | this.loadingStatus(); | ||
| 28 | switch (tab.name) { | 42 | switch (tab.name) { |
| 29 | case 'dzxx': | 43 | case 'dzxx': |
| 30 | this.dzJbxxVisble = true; | 44 | this.dzJbxxVisble = true; | ... | ... |
| ... | @@ -13,17 +13,17 @@ | ... | @@ -13,17 +13,17 @@ |
| 13 | </td> | 13 | </td> |
| 14 | <td colspan="2" align="center" >项目名称</td> | 14 | <td colspan="2" align="center" >项目名称</td> |
| 15 | <td colspan="4" > | 15 | <td colspan="4" > |
| 16 | <input class="formInput" v-model="form.xmmc" :disabled="form.qszt!=='0'"> | 16 | <input class="formInput" v-model="form.xmmc" :disabled="form.qszt!=='0'" @blur="inputBlur($event)" ref="xmmc"> |
| 17 | </td> | 17 | </td> |
| 18 | </tr> | 18 | </tr> |
| 19 | <tr height="30"> | 19 | <tr height="30"> |
| 20 | <td colspan="2" align="center" >坐落</td> | 20 | <td colspan="2" align="center" >坐落</td> |
| 21 | <td colspan="4" > | 21 | <td colspan="4" > |
| 22 | <input class="formInput" v-model="form.zl" :disabled="form.qszt!=='0'"> | 22 | <input class="formInput" v-model="form.zl" :disabled="form.qszt!=='0'" @blur="inputBlur($event)" ref="zl"> |
| 23 | </td> | 23 | </td> |
| 24 | <td colspan="2" align="center" >不动产单元号</td> | 24 | <td colspan="2" align="center" >不动产单元号</td> |
| 25 | <td colspan="4" class="psr"> | 25 | <td colspan="4" class="psr"> |
| 26 | <input class="formInput percent80" maxlength="28" v-model="form.bdcdyh" :disabled="form.qszt!=='0'"> | 26 | <input class="formInput percent80" maxlength="28" v-model="form.bdcdyh" :disabled="form.qszt!=='0'" @blur="inputBlur($event)" ref="bdcdyh"> |
| 27 | <el-button @click.prevent="generatorCode" size="mini" class="createBtn" type="warning" :disabled="form.qszt!=='0'">生成</el-button> | 27 | <el-button @click.prevent="generatorCode" size="mini" class="createBtn" type="warning" :disabled="form.qszt!=='0'">生成</el-button> |
| 28 | </td> | 28 | </td> |
| 29 | </tr> | 29 | </tr> |
| ... | @@ -129,6 +129,7 @@ | ... | @@ -129,6 +129,7 @@ |
| 129 | bsm:'', | 129 | bsm:'', |
| 130 | }, | 130 | }, |
| 131 | zdbsm:'', | 131 | zdbsm:'', |
| 132 | rules:[], | ||
| 132 | } | 133 | } |
| 133 | }, | 134 | }, |
| 134 | methods:{ | 135 | methods:{ |
| ... | @@ -140,6 +141,16 @@ | ... | @@ -140,6 +141,16 @@ |
| 140 | } | 141 | } |
| 141 | }) | 142 | }) |
| 142 | }, | 143 | }, |
| 144 | |||
| 145 | inputBlur(e) { | ||
| 146 | if (e.target.value != '') { | ||
| 147 | e.target.style.border = "" | ||
| 148 | } else { | ||
| 149 | e.target.style.border = "1px solid red"; | ||
| 150 | e.target.style.boxSizing = 'border-box'; | ||
| 151 | } | ||
| 152 | }, | ||
| 153 | |||
| 143 | generatorCode(){ | 154 | generatorCode(){ |
| 144 | if(this.form.bdcdyh!=null&&this.form.bdcdyh!==''){ | 155 | if(this.form.bdcdyh!=null&&this.form.bdcdyh!==''){ |
| 145 | this.open(); | 156 | this.open(); |
| ... | @@ -182,6 +193,45 @@ | ... | @@ -182,6 +193,45 @@ |
| 182 | }); | 193 | }); |
| 183 | }, | 194 | }, |
| 184 | onSave(){ | 195 | onSave(){ |
| 196 | |||
| 197 | this.rules=[ | ||
| 198 | { | ||
| 199 | data:this.form.bdcdyh, | ||
| 200 | name:'不动产单元号', | ||
| 201 | dom:this.$refs.bdcdyh, | ||
| 202 | rule: /^\s*$/g, //非空 | ||
| 203 | }, | ||
| 204 | { | ||
| 205 | data:this.form.xmmc, | ||
| 206 | name:'项目名称', | ||
| 207 | dom:this.$refs.xmmc, | ||
| 208 | rule: /^\s*$/g, //非空 | ||
| 209 | }, | ||
| 210 | { | ||
| 211 | data:this.form.zl, | ||
| 212 | name:'坐落', | ||
| 213 | dom:this.$refs.zl, | ||
| 214 | rule: /^\s*$/g, //非空 | ||
| 215 | }, | ||
| 216 | ] | ||
| 217 | |||
| 218 | let flag = true; | ||
| 219 | this.rules.forEach(item=>{ | ||
| 220 | if(item.rule.test(item.data) || item.data == null){ | ||
| 221 | if(item.dom.$el){ | ||
| 222 | item.dom.$el.style.border = '1px solid red'; | ||
| 223 | item.dom.$el.style.boxSizing = 'border-box'; | ||
| 224 | }else{ | ||
| 225 | item.dom.style.border = '1px solid red'; | ||
| 226 | item.dom.style.boxSizing = 'border-box'; | ||
| 227 | } | ||
| 228 | flag = false; | ||
| 229 | return false | ||
| 230 | } | ||
| 231 | }) | ||
| 232 | |||
| 233 | this.$nextTick(()=> { | ||
| 234 | if (flag) { | ||
| 185 | console.log(this.form,'this.form'); | 235 | console.log(this.form,'this.form'); |
| 186 | this.bsm=this.$route.query.bsm; | 236 | this.bsm=this.$route.query.bsm; |
| 187 | this.form.bsm=this.bsm; | 237 | this.form.bsm=this.bsm; |
| ... | @@ -191,6 +241,10 @@ | ... | @@ -191,6 +241,10 @@ |
| 191 | this.$message.success("保存完成!"); | 241 | this.$message.success("保存完成!"); |
| 192 | } | 242 | } |
| 193 | }) | 243 | }) |
| 244 | } | ||
| 245 | }) | ||
| 246 | |||
| 247 | |||
| 194 | }, | 248 | }, |
| 195 | getGzwDetailInfo(data){ | 249 | getGzwDetailInfo(data){ |
| 196 | getQjGzwDetailInfo(data).then((res)=>{ | 250 | getQjGzwDetailInfo(data).then((res)=>{ |
| ... | @@ -219,6 +273,7 @@ | ... | @@ -219,6 +273,7 @@ |
| 219 | if(res.code===200){ | 273 | if(res.code===200){ |
| 220 | this.$message.success("提交完成!"); | 274 | this.$message.success("提交完成!"); |
| 221 | this.getGzwDetailInfo(this.bsm) | 275 | this.getGzwDetailInfo(this.bsm) |
| 276 | this.getTreeByBsm(this.bsm,'gzw','0,1,2') | ||
| 222 | } | 277 | } |
| 223 | }) | 278 | }) |
| 224 | }, | 279 | }, |
| ... | @@ -252,6 +307,12 @@ | ... | @@ -252,6 +307,12 @@ |
| 252 | this.getGzwDetailInfo(val) | 307 | this.getGzwDetailInfo(val) |
| 253 | this.reload() | 308 | this.reload() |
| 254 | }, | 309 | }, |
| 310 | |||
| 311 | "form.bdcdyh":function (val) { | ||
| 312 | if (val != '') { | ||
| 313 | this.$refs.bdcdyh.style.border = ''; | ||
| 314 | } | ||
| 315 | }, | ||
| 255 | } | 316 | } |
| 256 | } | 317 | } |
| 257 | </script> | 318 | </script> | ... | ... |
| ... | @@ -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: | ... | ... |
| ... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
| 8 | <djb v-if="djbVisible"></djb> | 8 | <djb v-if="djbVisible"></djb> |
| 9 | </el-tab-pane> | 9 | </el-tab-pane> |
| 10 | <el-tab-pane label="附件材料" name="fjcl"> | 10 | <el-tab-pane label="附件材料" name="fjcl"> |
| 11 | <fjcl v-if="fjclVisible"></fjcl> | 11 | <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl> |
| 12 | </el-tab-pane> | 12 | </el-tab-pane> |
| 13 | </el-tabs> | 13 | </el-tabs> |
| 14 | </div> | 14 | </div> |
| ... | @@ -26,6 +26,7 @@ | ... | @@ -26,6 +26,7 @@ |
| 26 | }, | 26 | }, |
| 27 | data() { | 27 | data() { |
| 28 | return { | 28 | return { |
| 29 | isDisabled:false, | ||
| 29 | hbsm:this.$store.state.hbsm, | 30 | hbsm:this.$store.state.hbsm, |
| 30 | activeName: "hjbxx", | 31 | activeName: "hjbxx", |
| 31 | djbVisible: false, | 32 | djbVisible: false, |
| ... | @@ -36,7 +37,19 @@ | ... | @@ -36,7 +37,19 @@ |
| 36 | 37 | ||
| 37 | }, | 38 | }, |
| 38 | methods: { | 39 | methods: { |
| 40 | loadingStatus() { | ||
| 41 | debugger | ||
| 42 | console.log("是否禁用") | ||
| 43 | let bsm=this.$store.state.hbsm; | ||
| 44 | queryStatus(bsm).then(res => { | ||
| 45 | if (res.success) { | ||
| 46 | let qszt = res.result.qszt; | ||
| 47 | this.isDisabled = +qszt !== 0; | ||
| 48 | } | ||
| 49 | }) | ||
| 50 | }, | ||
| 39 | handleClick(tab, event) { | 51 | handleClick(tab, event) { |
| 52 | this.loadingStatus() | ||
| 40 | // console.log(tab, event); | 53 | // console.log(tab, event); |
| 41 | switch (tab.name) { | 54 | switch (tab.name) { |
| 42 | case 'djb': | 55 | case 'djb': | ... | ... |
| ... | @@ -12,8 +12,9 @@ | ... | @@ -12,8 +12,9 @@ |
| 12 | :show-file-list="false" | 12 | :show-file-list="false" |
| 13 | multiple | 13 | multiple |
| 14 | :on-exceed="handleExceed" | 14 | :on-exceed="handleExceed" |
| 15 | :disabled="isDisabled" | ||
| 15 | > | 16 | > |
| 16 | <el-button size="small" type="primary">上传</el-button> | 17 | <el-button size="small" type="primary" :disabled="isDisabled" >上传</el-button> |
| 17 | </el-upload> | 18 | </el-upload> |
| 18 | <table border="2"> | 19 | <table border="2"> |
| 19 | <tr> | 20 | <tr> |
| ... | @@ -22,12 +23,12 @@ | ... | @@ -22,12 +23,12 @@ |
| 22 | <th class="lx">文件类型</th> | 23 | <th class="lx">文件类型</th> |
| 23 | <th class="cz">操作</th> | 24 | <th class="cz">操作</th> |
| 24 | </tr> | 25 | </tr> |
| 25 | <tr v-if="list.length==0"> | 26 | <tr v-if="list.length===0"> |
| 26 | <td colspan="4" class="noData" > | 27 | <td colspan="4" class="noData"> |
| 27 | <span>暂无数据</span> | 28 | <span>暂无数据</span> |
| 28 | </td> | 29 | </td> |
| 29 | </tr> | 30 | </tr> |
| 30 | <tr v-else v-for="(item,index) in list" :key="index" > | 31 | <tr v-else v-for="(item,index) in list" :key="index"> |
| 31 | <td class="xh">{{index+1}}</td> | 32 | <td class="xh">{{index+1}}</td> |
| 32 | <td class="mc">{{item.filename}}</td> | 33 | <td class="mc">{{item.filename}}</td> |
| 33 | <td class="lx">{{item.filepostfix}}</td> | 34 | <td class="lx">{{item.filepostfix}}</td> |
| ... | @@ -44,47 +45,43 @@ | ... | @@ -44,47 +45,43 @@ |
| 44 | </template> | 45 | </template> |
| 45 | 46 | ||
| 46 | <script> | 47 | <script> |
| 47 | import {insertFile, getFileLis, downloadFile,loadFile,deleteFile} from "@api/common" | 48 | import {insertFile, getFileLis, downloadFile, loadFile, deleteFile} from "@api/common" |
| 48 | import {Message} from "element-ui" | 49 | import {queryStatus} from "@api/search" |
| 49 | 50 | ||
| 50 | export default { | 51 | export default { |
| 51 | name: "fjcl", | 52 | name: "fjcl", |
| 52 | data() { | 53 | data() { |
| 53 | return { | 54 | return { |
| 54 | fileData:{ | 55 | fileData: { |
| 55 | glbsm:'', | 56 | glbsm: '', |
| 56 | dylx:'' | 57 | dylx: '' |
| 57 | }, | 58 | }, |
| 58 | list: [ | 59 | list: [] |
| 59 | ], | ||
| 60 | /* filesData: { | ||
| 61 | dylx: "", | ||
| 62 | glbsm: "", | ||
| 63 | list: [ | ||
| 64 | { | ||
| 65 | filename: "", | ||
| 66 | filepostfix: "", | ||
| 67 | fileurl: "", | ||
| 68 | preViewUrl:"" | ||
| 69 | } | ||
| 70 | ] | ||
| 71 | },*/ | ||
| 72 | } | 60 | } |
| 73 | }, | 61 | }, |
| 74 | mounted() { | 62 | mounted() { |
| 75 | this.getFileList() | 63 | this.getFileList() |
| 76 | }, | 64 | }, |
| 65 | created(){ | ||
| 66 | |||
| 67 | }, | ||
| 68 | props: { | ||
| 69 | isDisabled:{ | ||
| 70 | type:Boolean, | ||
| 71 | default:false | ||
| 72 | } | ||
| 73 | }, | ||
| 77 | methods: { | 74 | methods: { |
| 78 | deleteFile(bsm){ | 75 | deleteFile(bsm) { |
| 79 | this.$confirm('将删除该文件, 是否继续?', '提示', { | 76 | this.$confirm('将删除该文件, 是否继续?', '提示', { |
| 80 | confirmButtonText: '确定', | 77 | confirmButtonText: '确定', |
| 81 | cancelButtonText: '取消', | 78 | cancelButtonText: '取消', |
| 82 | type: 'warning' | 79 | type: 'warning' |
| 83 | }).then(() => { | 80 | }).then(() => { |
| 84 | deleteFile(bsm).then(res=>{ | 81 | deleteFile(bsm).then(res => { |
| 85 | if (res.success) { | 82 | if (res.success) { |
| 86 | this.getFileList(); | 83 | this.getFileList(); |
| 87 | }else { | 84 | } else { |
| 88 | this.$message.error("删除失败") | 85 | this.$message.error("删除失败") |
| 89 | } | 86 | } |
| 90 | }) | 87 | }) |
| ... | @@ -95,38 +92,38 @@ | ... | @@ -95,38 +92,38 @@ |
| 95 | }); | 92 | }); |
| 96 | }); | 93 | }); |
| 97 | }, | 94 | }, |
| 98 | loadFile(bsm){ | 95 | loadFile(bsm) { |
| 99 | loadFile(bsm).then(res=>{ | 96 | loadFile(bsm).then(res => { |
| 100 | if (res.success) { | 97 | if (res.success) { |
| 101 | window.open(res.message) | 98 | window.open(res.message) |
| 102 | } | 99 | } |
| 103 | }) | 100 | }) |
| 104 | }, | 101 | }, |
| 105 | downloadFile(url) { | 102 | downloadFile(url) { |
| 106 | window.open(`/api/file/download?url=`+url); | 103 | window.open(`/api/file/download?url=` + url); |
| 107 | }, | 104 | }, |
| 108 | getFileList() { | 105 | getFileList() { |
| 109 | switch (this.$route.name) { | 106 | switch (this.$route.name) { |
| 110 | case "宗地": | 107 | case "宗地": |
| 111 | this.fileData.dylx = 'zd'; | 108 | this.fileData.dylx = 'zd'; |
| 112 | this.fileData.glbsm = this.$store.state.zdbsm | 109 | this.fileData.glbsm = this.$store.state.zdbsm; |
| 113 | break; | 110 | break; |
| 114 | case "自然幢": | 111 | case "自然幢": |
| 115 | this.fileData.dylx = 'zrz'; | 112 | this.fileData.dylx = 'zrz'; |
| 116 | this.fileData.glbsm = this.$store.state.zrzbsm | 113 | this.fileData.glbsm = this.$store.state.zrzbsm; |
| 117 | break | 114 | break; |
| 118 | case "多幢": | 115 | case "多幢": |
| 119 | this.fileData.dylx = 'dz'; | 116 | this.fileData.dylx = 'dz'; |
| 120 | this.fileData.glbsm = this.$store.state.dzbsm | 117 | this.fileData.glbsm = this.$store.state.dzbsm; |
| 121 | break | 118 | break; |
| 122 | case "户": | 119 | case "户": |
| 123 | this.fileData.dylx = 'h'; | 120 | this.fileData.dylx = 'h'; |
| 124 | this.fileData.glbsm = this.$store.state.hbsm | 121 | this.fileData.glbsm = this.$store.state.hbsm; |
| 125 | break; | 122 | break; |
| 126 | default: | 123 | default: |
| 127 | break | 124 | break |
| 128 | } | 125 | } |
| 129 | getFileLis(this.fileData.glbsm ).then(res => { | 126 | getFileLis(this.fileData.glbsm).then(res => { |
| 130 | if (res.success) { | 127 | if (res.success) { |
| 131 | this.list = res.result; | 128 | this.list = res.result; |
| 132 | } else { | 129 | } else { |
| ... | @@ -185,19 +182,19 @@ | ... | @@ -185,19 +182,19 @@ |
| 185 | color: blue; | 182 | color: blue; |
| 186 | text-decoration: underline; | 183 | text-decoration: underline; |
| 187 | } | 184 | } |
| 188 | .xh{ | 185 | .xh { |
| 189 | width: 100px; | 186 | width: 100px; |
| 190 | } | 187 | } |
| 191 | .mc{ | 188 | .mc { |
| 192 | width: 300px; | 189 | width: 300px; |
| 193 | } | 190 | } |
| 194 | .lx{ | 191 | .lx { |
| 195 | width: 120px; | 192 | width: 120px; |
| 196 | } | 193 | } |
| 197 | .cz{ | 194 | .cz { |
| 198 | width: 150px; | 195 | width: 150px; |
| 199 | } | 196 | } |
| 200 | .noData span{ | 197 | .noData span { |
| 201 | color: #BBB; | 198 | color: #BBB; |
| 202 | } | 199 | } |
| 203 | } | 200 | } | ... | ... |
| ... | @@ -2,12 +2,17 @@ | ... | @@ -2,12 +2,17 @@ |
| 2 | <!-- <div class="content_box"> --> | 2 | <!-- <div class="content_box"> --> |
| 3 | <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" type="border-card" > | 3 | <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" type="border-card" > |
| 4 | <el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane> | 4 | <el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane> |
| 5 | <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible"></mjftb></el-tab-pane> | 5 | <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb></el-tab-pane> |
| 6 | <el-tab-pane label="界址点" name="jzd"><jzd v-if="jzdVisible"></jzd></el-tab-pane> | 6 | <el-tab-pane label="界址点" name="jzd"> |
| 7 | <el-tab-pane label="界址线" name="jzx"><jzx v-if="jzxVisible"></jzx></el-tab-pane> | 7 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> |
| 8 | </el-tab-pane> | ||
| 9 | <el-tab-pane label="界址线" name="jzx" > | ||
| 10 | <jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx> | ||
| 11 | </el-tab-pane> | ||
| 8 | <el-tab-pane label="登记簿" name="djb"><djb v-if="djbVisible"></djb></el-tab-pane> | 12 | <el-tab-pane label="登记簿" name="djb"><djb v-if="djbVisible"></djb></el-tab-pane> |
| 9 | <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible"></lshs></el-tab-pane> | 13 | <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible"></lshs></el-tab-pane> |
| 10 | <el-tab-pane label="附件材料" name="fjcl"><fjcl v-if="fjclVisible"></fjcl></el-tab-pane> | 14 | <el-tab-pane label="附件材料" name="fjcl"> |
| 15 | <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl></el-tab-pane> | ||
| 11 | </el-tabs> | 16 | </el-tabs> |
| 12 | <!-- </div> --> | 17 | <!-- </div> --> |
| 13 | </template> | 18 | </template> |
| ... | @@ -20,6 +25,7 @@ import jzx from "./jzx"; | ... | @@ -20,6 +25,7 @@ import jzx from "./jzx"; |
| 20 | import djb from "./djb"; | 25 | import djb from "./djb"; |
| 21 | import lshs from "./lshs"; | 26 | import lshs from "./lshs"; |
| 22 | import fjcl from "./fjcl/fjcl" | 27 | import fjcl from "./fjcl/fjcl" |
| 28 | import {queryStatus} from "@api/search" | ||
| 23 | export default { | 29 | export default { |
| 24 | name: "", | 30 | name: "", |
| 25 | components: { | 31 | components: { |
| ... | @@ -28,6 +34,7 @@ export default { | ... | @@ -28,6 +34,7 @@ export default { |
| 28 | props: {}, | 34 | props: {}, |
| 29 | data() { | 35 | data() { |
| 30 | return { | 36 | return { |
| 37 | isDisabled:false, | ||
| 31 | activeName: "djdcb", | 38 | activeName: "djdcb", |
| 32 | mjftbVisible:false, | 39 | mjftbVisible:false, |
| 33 | jzdVisible:false, | 40 | jzdVisible:false, |
| ... | @@ -38,8 +45,24 @@ export default { | ... | @@ -38,8 +45,24 @@ export default { |
| 38 | }; | 45 | }; |
| 39 | }, | 46 | }, |
| 40 | methods: { | 47 | methods: { |
| 48 | loadingStatus() { | ||
| 49 | debugger | ||
| 50 | console.log("是否禁用") | ||
| 51 | let bsm=this.$store.state.zdbsm; | ||
| 52 | queryStatus(bsm).then(res => { | ||
| 53 | if (res.success) { | ||
| 54 | let qszt = res.result.qszt; | ||
| 55 | this.isDisabled = +qszt !== 0; | ||
| 56 | } | ||
| 57 | }) | ||
| 58 | }, | ||
| 59 | /* loading(){ | ||
| 60 | console.log("附件材料是否禁用") | ||
| 61 | this.$refs.fjcl.isUpload(this.$store.state.zdbsm) | ||
| 62 | },*/ | ||
| 41 | handleClick(tab, event) { | 63 | handleClick(tab, event) { |
| 42 | // console.log(tab, event); | 64 | // console.log(tab, event); |
| 65 | this.loadingStatus(); | ||
| 43 | switch (tab.name) { | 66 | switch (tab.name) { |
| 44 | case 'mjftb': | 67 | case 'mjftb': |
| 45 | this.mjftbVisible = true; | 68 | this.mjftbVisible = true; | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="main"> | 2 | <div class="main"> |
| 3 | <div class="button"> | 3 | <div class="button"> |
| 4 | <el-button type="primary" @click="oneExit">编辑</el-button> | 4 | <el-button type="primary" @click="oneExit" :disabled="isDisabled">编辑</el-button> |
| 5 | <el-button type="primary" @click="save">保存</el-button> | 5 | <el-button type="primary" @click="save" :disabled="isDisabled">保存</el-button> |
| 6 | <el-button type="primary" @click="batchExit">批量修改</el-button> | 6 | <el-button type="primary" @click="batchExit" :disabled="isDisabled">批量修改</el-button> |
| 7 | </div> | 7 | </div> |
| 8 | <div class="table"> | 8 | <div class="table"> |
| 9 | <table border="1"> | 9 | <table border="1"> |
| ... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
| 18 | <th class="">界标类型</th> | 18 | <th class="">界标类型</th> |
| 19 | <th class="">界址点类型</th> | 19 | <th class="">界址点类型</th> |
| 20 | </tr> | 20 | </tr> |
| 21 | <tr v-if="jzdlist.length==0"> | 21 | <tr v-if="jzdlist.length===0"> |
| 22 | <td colspan="7"><span class="nodata">暂无数据</span></td> | 22 | <td colspan="7"><span class="nodata">暂无数据</span></td> |
| 23 | </tr> | 23 | </tr> |
| 24 | <tr v-for="(item,index) in jzdlist" :key="index" v-else> | 24 | <tr v-for="(item,index) in jzdlist" :key="index" v-else> |
| ... | @@ -109,12 +109,18 @@ | ... | @@ -109,12 +109,18 @@ |
| 109 | 109 | ||
| 110 | <script> | 110 | <script> |
| 111 | import {queryjzd, jzdsingleModify, jzdbatchModify} from '@api/zd' | 111 | import {queryjzd, jzdsingleModify, jzdbatchModify} from '@api/zd' |
| 112 | import {queryStatus} from "@api/search" | ||
| 112 | import {Message} from 'element-ui' | 113 | import {Message} from 'element-ui' |
| 113 | 114 | ||
| 114 | export default { | 115 | export default { |
| 115 | name: "jzd", | 116 | name: "jzd", |
| 116 | components: {}, | 117 | components: {}, |
| 117 | props: {}, | 118 | props: { |
| 119 | isDisabled:{ | ||
| 120 | type:Boolean, | ||
| 121 | default:false | ||
| 122 | } | ||
| 123 | }, | ||
| 118 | data() { | 124 | data() { |
| 119 | return { | 125 | return { |
| 120 | bsm: '', | 126 | bsm: '', | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="main"> | 2 | <div class="main"> |
| 3 | <div class="button"> | 3 | <div class="button"> |
| 4 | <el-button type="primary" @click="oneExit">编辑</el-button> | 4 | <el-button type="primary" @click="oneExit" :disabled="isDisabled">编辑</el-button> |
| 5 | <el-button type="primary" @click="save">保存</el-button> | 5 | <el-button type="primary" @click="save" :disabled="isDisabled">保存</el-button> |
| 6 | <el-button type="primary" @click="batchExit">批量修改</el-button> | 6 | <el-button type="primary" @click="batchExit" :disabled="isDisabled">批量修改</el-button> |
| 7 | </div> | 7 | </div> |
| 8 | <div class="table"> | 8 | <div class="table"> |
| 9 | <table border="1"> | 9 | <table border="1"> |
| ... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
| 19 | <th class="">界限性质</th> | 19 | <th class="">界限性质</th> |
| 20 | <th class="">说明</th> | 20 | <th class="">说明</th> |
| 21 | </tr> | 21 | </tr> |
| 22 | <tr v-if="jzxlist.length==0"> | 22 | <tr v-if="jzxlist.length===0"> |
| 23 | <td colspan="8"><span class="nodata">暂无数据</span></td> | 23 | <td colspan="8"><span class="nodata">暂无数据</span></td> |
| 24 | </tr> | 24 | </tr> |
| 25 | <tr v-for="(item,index) in jzxlist" :key="index" v-else> | 25 | <tr v-for="(item,index) in jzxlist" :key="index" v-else> |
| ... | @@ -137,7 +137,12 @@ | ... | @@ -137,7 +137,12 @@ |
| 137 | export default { | 137 | export default { |
| 138 | name: "jzx", | 138 | name: "jzx", |
| 139 | components: {}, | 139 | components: {}, |
| 140 | props: {}, | 140 | props: { |
| 141 | isDisabled:{ | ||
| 142 | type:Boolean, | ||
| 143 | default:false | ||
| 144 | } | ||
| 145 | }, | ||
| 141 | data() { | 146 | data() { |
| 142 | return { | 147 | return { |
| 143 | bsm: '', | 148 | bsm: '', |
| ... | @@ -246,13 +251,13 @@ | ... | @@ -246,13 +251,13 @@ |
| 246 | } | 251 | } |
| 247 | }, | 252 | }, |
| 248 | created() { | 253 | created() { |
| 249 | 254 | let bsm = this.$store.state.zdbsm; | |
| 250 | }, | ||
| 251 | mounted() { | ||
| 252 | let bsm = this.$store.state.zdbsm | ||
| 253 | this.bsm = bsm; | 255 | this.bsm = bsm; |
| 254 | this.getData(bsm) | 256 | this.getData(bsm) |
| 255 | }, | 257 | }, |
| 258 | mounted() { | ||
| 259 | |||
| 260 | }, | ||
| 256 | methods: { | 261 | methods: { |
| 257 | result() { | 262 | result() { |
| 258 | this.batchJzx.jzxlx = ''; | 263 | this.batchJzx.jzxlx = ''; | ... | ... |
| ... | @@ -2,22 +2,23 @@ | ... | @@ -2,22 +2,23 @@ |
| 2 | <div class="main" ref="mainBox"> | 2 | <div class="main" ref="mainBox"> |
| 3 | <table border="1"> | 3 | <table border="1"> |
| 4 | <tr> | 4 | <tr> |
| 5 | <td colspan="2">土地坐落</td> | 5 | <th colspan="2">土地坐落</th> |
| 6 | <td colspan="3"><input type="text" class="formInput" v-model="tdzl" disabled/></td> | 6 | <th colspan="3"><el-input v-model="tdzl" disabled></el-input></th> |
| 7 | </tr> | 7 | </tr> |
| 8 | <tr> | 8 | <tr> |
| 9 | <td colspan="2">宗地代码</td> | 9 | <th colspan="2">宗地代码</th> |
| 10 | <td colspan="3"><input type="text" class="formInput" v-model="zddm " disabled/></td> | 10 | <td colspan="3"><el-input v-model="zddm " disabled></el-input></td> |
| 11 | </tr> | 11 | </tr> |
| 12 | <tr> | 12 | <tr> |
| 13 | <td colspan="2">宗地面积(㎡)</td> | 13 | <th colspan="2">宗地面积(㎡)</th> |
| 14 | <td><input type="number" class="formInput" v-model.number="zdmj" disabled/></td> | 14 | <th> |
| 15 | <td>定着物数量</td> | 15 | <el-input v-model="zdmj" disabled/></th> |
| 16 | <th>定着物数量</th> | ||
| 16 | <td class="dzwsl">{{dzwdsl}}</td> | 17 | <td class="dzwsl">{{dzwdsl}}</td> |
| 17 | </tr> | 18 | </tr> |
| 18 | <tr> | 19 | <tr> |
| 19 | <td colspan="2">备注</td> | 20 | <th colspan="2">备注</th> |
| 20 | <td colspan="3"><input type="text" class="formInput" v-model="mjftData.bz"/></td> | 21 | <td colspan="3"><el-input v-model="mjftData.bz" :disabled="isDisabled"></el-input></td> |
| 21 | </tr> | 22 | </tr> |
| 22 | </table> | 23 | </table> |
| 23 | <table border="1"> | 24 | <table border="1"> |
| ... | @@ -26,12 +27,13 @@ | ... | @@ -26,12 +27,13 @@ |
| 26 | type="primary" | 27 | type="primary" |
| 27 | class="changeBtn inAdd addMinus" | 28 | class="changeBtn inAdd addMinus" |
| 28 | @click="addRow" | 29 | @click="addRow" |
| 30 | :disabled="isDisabled" | ||
| 29 | >+</el-button | 31 | >+</el-button |
| 30 | ></td> | 32 | ></td> |
| 31 | <td class="dzwdm">定着物代码</td> | 33 | <th class="dzwdm">定着物代码</th> |
| 32 | <td class="syqmj">土地所有权/使用权面积(㎡)</td> | 34 | <th class="syqmj">土地所有权/使用权面积(㎡)</th> |
| 33 | <td class="dytdmj">独有独用土地面积(㎡)</td> | 35 | <th class="dytdmj">独有独用土地面积(㎡)</th> |
| 34 | <td class="fttjmj">分摊土地面积(㎡)</td> | 36 | <th class="fttjmj">分摊土地面积(㎡)</th> |
| 35 | </tr> | 37 | </tr> |
| 36 | <tr v-for="(item,i) in mjftData.list" :key="i"> | 38 | <tr v-for="(item,i) in mjftData.list" :key="i"> |
| 37 | <td class="cz"> | 39 | <td class="cz"> |
| ... | @@ -39,42 +41,40 @@ | ... | @@ -39,42 +41,40 @@ |
| 39 | type="primary" | 41 | type="primary" |
| 40 | class="changeBtn inMinus addMinus" | 42 | class="changeBtn inMinus addMinus" |
| 41 | @click="delRow(i)" | 43 | @click="delRow(i)" |
| 44 | :disabled="isDisabled" | ||
| 42 | >-</el-button | 45 | >-</el-button |
| 43 | > | 46 | > |
| 44 | </td> | 47 | </td> |
| 45 | <td class="dzwdm"> | 48 | <td class="dzwdm"> |
| 46 | <el-input v-model="item.dzwdm" | 49 | <el-input v-model="item.dzwdm" |
| 47 | maxlength="9" | 50 | maxlength="9" |
| 51 | :disabled="isDisabled" | ||
| 48 | > | 52 | > |
| 49 | </el-input> | 53 | </el-input> |
| 50 | </td> | 54 | </td> |
| 51 | <td class="syqmj"> | 55 | <td class="syqmj"> |
| 52 | <el-input style="ime-mode:inactive" | 56 | <el-input style="ime-mode:inactive" |
| 53 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 57 | oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null" |
| 54 | v-model="item.tdsyqsyqmj" | 58 | v-model="item.tdsyqsyqmj" :disabled="isDisabled" |
| 55 | ></el-input> | 59 | ></el-input> |
| 56 | </td> | 60 | </td> |
| 57 | <td class="dytdmj"> | 61 | <td class="dytdmj"> |
| 58 | <el-input v-model="item.dydytdmj" style="ime-mode:inactive" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> | 62 | <el-input v-model="item.dydytdmj" style="ime-mode:inactive" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null" :disabled="isDisabled"></el-input> |
| 59 | </td> | 63 | </td> |
| 60 | <td class="fttjmj"> | 64 | <td class="fttjmj"> |
| 61 | <el-input v-model="item.fttdmj" style="ime-mode:inactive" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> | 65 | <el-input v-model="item.fttdmj" style="ime-mode:inactive" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null" :disabled="isDisabled"></el-input> |
| 62 | </td> | 66 | </td> |
| 63 | </tr> | 67 | </tr> |
| 64 | <tr> | 68 | <tr> |
| 65 | <td class="cz"></td> | 69 | <td class="cz"></td> |
| 66 | <td class="dzwdm">统计</td> | 70 | <th class="dzwdm">统计</th> |
| 67 | <td class="syqmj">{{sumTdsyqsyqmj}}</td> | 71 | <td class="syqmj">{{sumTdsyqsyqmj}}</td> |
| 68 | <td class="dytdmj">{{sumDydytdmj}}</td> | 72 | <td class="dytdmj">{{sumDydytdmj}}</td> |
| 69 | <td class="fttjmj">{{sumFttdmj}}</td> | 73 | <td class="fttjmj">{{sumFttdmj}}</td> |
| 70 | </tr> | 74 | </tr> |
| 71 | </table> | 75 | </table> |
| 72 | <!-- <div class="pers"> | ||
| 73 | <el-button @click="save" type="primary">保存</el-button> | ||
| 74 | </div> --> | ||
| 75 | |||
| 76 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> | 76 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> |
| 77 | <el-button type="primary" class="saveBtn" @click="save">保存</el-button> | 77 | <el-button type="primary" class="saveBtn" @click="save" :disabled="isDisabled">保存</el-button> |
| 78 | </div> | 78 | </div> |
| 79 | </div> | 79 | </div> |
| 80 | </template> | 80 | </template> |
| ... | @@ -85,6 +85,12 @@ | ... | @@ -85,6 +85,12 @@ |
| 85 | 85 | ||
| 86 | export default { | 86 | export default { |
| 87 | name: "index", | 87 | name: "index", |
| 88 | props: { | ||
| 89 | isDisabled:{ | ||
| 90 | type:Boolean, | ||
| 91 | default:false | ||
| 92 | } | ||
| 93 | }, | ||
| 88 | data() { | 94 | data() { |
| 89 | return { | 95 | return { |
| 90 | tdzl: '', // 土地坐落 继承获取 | 96 | tdzl: '', // 土地坐落 继承获取 |
| ... | @@ -250,16 +256,6 @@ | ... | @@ -250,16 +256,6 @@ |
| 250 | font-size: 14px; | 256 | font-size: 14px; |
| 251 | width: 100%; | 257 | width: 100%; |
| 252 | cursor: pointer; | 258 | cursor: pointer; |
| 253 | .formInput { | ||
| 254 | margin: 0; | ||
| 255 | height: 36px; | ||
| 256 | outline: none; | ||
| 257 | border: none; | ||
| 258 | color: #606764; | ||
| 259 | overflow: visible; | ||
| 260 | text-align: center; | ||
| 261 | cursor: text; | ||
| 262 | } | ||
| 263 | td { | 259 | td { |
| 264 | text-align: center; | 260 | text-align: center; |
| 265 | height: 36px; | 261 | height: 36px; |
| ... | @@ -303,11 +299,11 @@ | ... | @@ -303,11 +299,11 @@ |
| 303 | width: 50px; | 299 | width: 50px; |
| 304 | } | 300 | } |
| 305 | 301 | ||
| 306 | .dzwdm { | 302 | .dzwdm ,.syqmj,.dytdmj,.fttjmj{ |
| 307 | width: 150px; | 303 | width: 150px; |
| 308 | } | 304 | } |
| 309 | 305 | ||
| 310 | .syqmj { | 306 | /* .syqmj { |
| 311 | width: 150px; | 307 | width: 150px; |
| 312 | } | 308 | } |
| 313 | 309 | ||
| ... | @@ -317,6 +313,6 @@ | ... | @@ -317,6 +313,6 @@ |
| 317 | 313 | ||
| 318 | .fttjmj { | 314 | .fttjmj { |
| 319 | width: 150px; | 315 | width: 150px; |
| 320 | } | 316 | }*/ |
| 321 | 317 | ||
| 322 | </style> | 318 | </style> | ... | ... |
| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| 10 | <td colspan="2" class="tdright">行政区</td> | 10 | <td colspan="2" class="tdright">行政区</td> |
| 11 | <td colspan="2"> | 11 | <td colspan="2"> |
| 12 | <el-select | 12 | <el-select |
| 13 | :disabled="formData.qszt!='0'" | 13 | :disabled="disabled" |
| 14 | class="formSelect" | 14 | class="formSelect" |
| 15 | v-model="formData.xzqbsm" | 15 | v-model="formData.xzqbsm" |
| 16 | @change="changeXzq(formData.xzqbsm)" | 16 | @change="changeXzq(formData.xzqbsm)" |
| ... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
| 28 | <td colspan="2"> | 28 | <td colspan="2"> |
| 29 | <el-select | 29 | <el-select |
| 30 | class="formSelect" | 30 | class="formSelect" |
| 31 | :disabled="formData.qszt!='0'" | 31 | :disabled="disabled" |
| 32 | v-model="formData.djqbsm" | 32 | v-model="formData.djqbsm" |
| 33 | @change="changeDjq(formData.djqbsm)" | 33 | @change="changeDjq(formData.djqbsm)" |
| 34 | > | 34 | > |
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | </td> | 43 | </td> |
| 44 | <td colspan="2" class="tdright">地籍子区</td> | 44 | <td colspan="2" class="tdright">地籍子区</td> |
| 45 | <td colspan="2"> | 45 | <td colspan="2"> |
| 46 | <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"> |
| 47 | <el-option | 47 | <el-option |
| 48 | v-for="item in $store.state.djzqList" | 48 | v-for="item in $store.state.djzqList" |
| 49 | :key="item.bsm" | 49 | :key="item.bsm" |
| ... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
| 57 | <tr> | 57 | <tr> |
| 58 | <td colspan="2" class="tdright">权利类型</td> | 58 | <td colspan="2" class="tdright">权利类型</td> |
| 59 | <td colspan="4"> | 59 | <td colspan="4"> |
| 60 | <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qllxbsm"> | 60 | <el-select class="formSelect" :disabled="disabled" v-model="formData.qllxbsm"> |
| 61 | <el-option | 61 | <el-option |
| 62 | v-for="item in $store.state.qllxList" | 62 | v-for="item in $store.state.qllxList" |
| 63 | :key="item.bsm" | 63 | :key="item.bsm" |
| ... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
| 69 | </td> | 69 | </td> |
| 70 | <td colspan="2" class="tdright"><i class="requisite">*</i>宗地特征码</td> | 70 | <td colspan="2" class="tdright"><i class="requisite">*</i>宗地特征码</td> |
| 71 | <td colspan="4"> | 71 | <td colspan="4"> |
| 72 | <el-select class="formSelect" ref="zdtzm" :disabled="formData.qszt!='0'" | 72 | <el-select class="formSelect" ref="zdtzm" :disabled="disabled" |
| 73 | v-model="formData.zdtzmbsm"> | 73 | v-model="formData.zdtzmbsm"> |
| 74 | <el-option | 74 | <el-option |
| 75 | v-for="item in $store.state.zdtzmList" | 75 | v-for="item in $store.state.zdtzmList" |
| ... | @@ -84,7 +84,7 @@ | ... | @@ -84,7 +84,7 @@ |
| 84 | <tr> | 84 | <tr> |
| 85 | <td colspan="2" class="tdright">权利设定方式</td> | 85 | <td colspan="2" class="tdright">权利设定方式</td> |
| 86 | <td colspan="4"> | 86 | <td colspan="4"> |
| 87 | <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qlsdfs"> | 87 | <el-select class="formSelect" :disabled="disabled" v-model="formData.qlsdfs"> |
| 88 | <el-option | 88 | <el-option |
| 89 | v-for="item in $store.state.qlsdfsList" | 89 | v-for="item in $store.state.qlsdfsList" |
| 90 | :key="item.bsm" | 90 | :key="item.bsm" |
| ... | @@ -96,12 +96,12 @@ | ... | @@ -96,12 +96,12 @@ |
| 96 | </td> | 96 | </td> |
| 97 | <td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td> | 97 | <td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td> |
| 98 | <td colspan="4" class="psr"> | 98 | <td colspan="4" class="psr"> |
| 99 | <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" |
| 100 | type="text" | 100 | type="text" |
| 101 | class="formInput percent80" | 101 | class="formInput percent80" |
| 102 | v-model="formData.zddm" | 102 | v-model="formData.zddm" |
| 103 | /> | 103 | /> |
| 104 | <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn" | 104 | <el-button type="warning" :disabled="disabled" class="createBtn" |
| 105 | @click="generatorCode" | 105 | @click="generatorCode" |
| 106 | >生成 | 106 | >生成 |
| 107 | </el-button> | 107 | </el-button> |
| ... | @@ -110,29 +110,29 @@ | ... | @@ -110,29 +110,29 @@ |
| 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 type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.djh"/> | 113 | <input type="text" :disabled="disabled" class="formInput" v-model="formData.djh"/> |
| 114 | </td> | 114 | </td> |
| 115 | 115 | ||
| 116 | <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td> | 116 | <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td> |
| 117 | <td colspan="4" class="psr"> | 117 | <td colspan="4" class="psr"> |
| 118 | <input | 118 | <input |
| 119 | type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="bdcdyh" | 119 | type="text" :disabled="disabled" @blur="inputBlur($event)" ref="bdcdyh" |
| 120 | maxlength="28" | 120 | maxlength="28" |
| 121 | class="formInput" | 121 | class="formInput" |
| 122 | v-model="formData.bdcdyh" | 122 | v-model="formData.bdcdyh" |
| 123 | /> | 123 | /> |
| 124 | <!-- <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn">生成</el-button> --> | 124 | <!-- <el-button type="warning" :disabled="disabled" class="createBtn">生成</el-button> --> |
| 125 | </td> | 125 | </td> |
| 126 | </tr> | 126 | </tr> |
| 127 | <tr> | 127 | <tr> |
| 128 | <td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td> | 128 | <td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td> |
| 129 | <td colspan="4"> | 129 | <td colspan="4"> |
| 130 | <input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zl" | 130 | <input type="text" :disabled="disabled" @blur="inputBlur($event)" ref="zl" |
| 131 | class="formInput" v-model="formData.zl"/> | 131 | class="formInput" v-model="formData.zl"/> |
| 132 | </td> | 132 | </td> |
| 133 | <td colspan="2" class="tdright">项目名称</td> | 133 | <td colspan="2" class="tdright">项目名称</td> |
| 134 | <td colspan="4" class="psr"> | 134 | <td colspan="4" class="psr"> |
| 135 | <input :disabled="formData.qszt!='0'" | 135 | <input :disabled="disabled" |
| 136 | type="text" | 136 | type="text" |
| 137 | class="formInput " | 137 | class="formInput " |
| 138 | v-model="formData.xmmc" | 138 | v-model="formData.xmmc" |
| ... | @@ -142,7 +142,7 @@ | ... | @@ -142,7 +142,7 @@ |
| 142 | <tr> | 142 | <tr> |
| 143 | <td colspan="2" class="tdright">国民经济行业分类</td> | 143 | <td colspan="2" class="tdright">国民经济行业分类</td> |
| 144 | <td colspan="4"> | 144 | <td colspan="4"> |
| 145 | <!-- <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.gmjjhyflbsm">--> | 145 | <!-- <el-select class="formSelect" :disabled="disabled" v-model="formData.gmjjhyflbsm">--> |
| 146 | <!-- <el-option--> | 146 | <!-- <el-option--> |
| 147 | <!-- v-for="item in $store.state.gmjjhyflbsmList"--> | 147 | <!-- v-for="item in $store.state.gmjjhyflbsmList"--> |
| 148 | <!-- :key="item.bsm"--> | 148 | <!-- :key="item.bsm"--> |
| ... | @@ -157,7 +157,7 @@ | ... | @@ -157,7 +157,7 @@ |
| 157 | :default-expand-all="defaultExpandAll" | 157 | :default-expand-all="defaultExpandAll" |
| 158 | :multiple="multiple" | 158 | :multiple="multiple" |
| 159 | :placeholder="placeholder" | 159 | :placeholder="placeholder" |
| 160 | :disabled="formData.qszt!='0'" | 160 | :disabled="disabled" |
| 161 | :data="$store.state.gmjjhyflbsmList" | 161 | :data="$store.state.gmjjhyflbsmList" |
| 162 | :props="treeProps" | 162 | :props="treeProps" |
| 163 | :check-strictly="checkStrictly" | 163 | :check-strictly="checkStrictly" |
| ... | @@ -167,13 +167,13 @@ | ... | @@ -167,13 +167,13 @@ |
| 167 | </td> | 167 | </td> |
| 168 | <td colspan="2" class="tdright">价格(元)</td> | 168 | <td colspan="2" class="tdright">价格(元)</td> |
| 169 | <td colspan="4" class="psr"> | 169 | <td colspan="4" class="psr"> |
| 170 | <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"/> |
| 171 | </td> | 171 | </td> |
| 172 | </tr> | 172 | </tr> |
| 173 | <tr> | 173 | <tr> |
| 174 | <td colspan="2" class="tdright">容积率</td> | 174 | <td colspan="2" class="tdright">容积率</td> |
| 175 | <td colspan="2"> | 175 | <td colspan="2"> |
| 176 | <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyrjl"> | 176 | <el-select class="formSelect" :disabled="disabled" v-model="formData.jyrjl"> |
| 177 | <el-option | 177 | <el-option |
| 178 | v-for="item in compareList" | 178 | v-for="item in compareList" |
| 179 | :key="item.value" | 179 | :key="item.value" |
| ... | @@ -185,27 +185,27 @@ | ... | @@ -185,27 +185,27 @@ |
| 185 | </td> | 185 | </td> |
| 186 | <td colspan="2"> | 186 | <td colspan="2"> |
| 187 | <input | 187 | <input |
| 188 | type="text" :disabled="formData.qszt!='0'" | 188 | type="text" :disabled="disabled" |
| 189 | v-model="rjl" | 189 | v-model="rjl" |
| 190 | v-show="isInterval(formData.jyrjl)" | 190 | v-show="isInterval(formData.jyrjl)" |
| 191 | class="formInput percent47" | 191 | class="formInput percent47" |
| 192 | /> | 192 | /> |
| 193 | <span class="percent4" v-show="isInterval(formData.jyrjl)">-</span> | 193 | <span class="percent4" v-show="isInterval(formData.jyrjl)">-</span> |
| 194 | <input | 194 | <input |
| 195 | type="text" :disabled="formData.qszt!='0'" | 195 | type="text" :disabled="disabled" |
| 196 | v-model="formData.rjl" | 196 | v-model="formData.rjl" |
| 197 | :class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'" | 197 | :class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'" |
| 198 | /> | 198 | /> |
| 199 | </td> | 199 | </td> |
| 200 | <td colspan="2" class="tdright">容积说明</td> | 200 | <td colspan="2" class="tdright">容积说明</td> |
| 201 | <td colspan="4" class="psr"> | 201 | <td colspan="4" class="psr"> |
| 202 | <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"/> |
| 203 | </td> | 203 | </td> |
| 204 | </tr> | 204 | </tr> |
| 205 | <tr> | 205 | <tr> |
| 206 | <td colspan="2" class="tdright">建筑密度</td> | 206 | <td colspan="2" class="tdright">建筑密度</td> |
| 207 | <td colspan="2"> | 207 | <td colspan="2"> |
| 208 | <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzmd"> | 208 | <el-select class="formSelect" :disabled="disabled" v-model="formData.jyjzmd"> |
| 209 | <el-option | 209 | <el-option |
| 210 | v-for="item in compareList" | 210 | v-for="item in compareList" |
| 211 | :key="item.value" | 211 | :key="item.value" |
| ... | @@ -218,26 +218,26 @@ | ... | @@ -218,26 +218,26 @@ |
| 218 | <td colspan="2"> | 218 | <td colspan="2"> |
| 219 | <input | 219 | <input |
| 220 | type="text" | 220 | type="text" |
| 221 | v-model="jzmd" :disabled="formData.qszt!='0'" | 221 | v-model="jzmd" :disabled="disabled" |
| 222 | v-show="isInterval(formData.jyjzmd)" | 222 | v-show="isInterval(formData.jyjzmd)" |
| 223 | class="formInput percent47" | 223 | class="formInput percent47" |
| 224 | /> | 224 | /> |
| 225 | <span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span> | 225 | <span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span> |
| 226 | <input | 226 | <input |
| 227 | type="text" | 227 | type="text" |
| 228 | v-model="formData.jzmd" :disabled="formData.qszt!='0'" | 228 | v-model="formData.jzmd" :disabled="disabled" |
| 229 | :class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'" | 229 | :class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'" |
| 230 | /> | 230 | /> |
| 231 | </td> | 231 | </td> |
| 232 | <td colspan="2" class="tdright">建筑密度说明</td> | 232 | <td colspan="2" class="tdright">建筑密度说明</td> |
| 233 | <td colspan="4" class="psr"> | 233 | <td colspan="4" class="psr"> |
| 234 | <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"/> |
| 235 | </td> | 235 | </td> |
| 236 | </tr> | 236 | </tr> |
| 237 | <tr> | 237 | <tr> |
| 238 | <td colspan="2" class="tdright">建筑限高</td> | 238 | <td colspan="2" class="tdright">建筑限高</td> |
| 239 | <td colspan="2"> | 239 | <td colspan="2"> |
| 240 | <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzxg"> | 240 | <el-select class="formSelect" :disabled="disabled" v-model="formData.jyjzxg"> |
| 241 | <el-option | 241 | <el-option |
| 242 | v-for="item in compareList" | 242 | v-for="item in compareList" |
| 243 | :key="item.value" | 243 | :key="item.value" |
| ... | @@ -249,34 +249,34 @@ | ... | @@ -249,34 +249,34 @@ |
| 249 | </td> | 249 | </td> |
| 250 | <td colspan="2"> | 250 | <td colspan="2"> |
| 251 | <input | 251 | <input |
| 252 | type="text" :disabled="formData.qszt!='0'" | 252 | type="text" :disabled="disabled" |
| 253 | v-model="jzxg" | 253 | v-model="jzxg" |
| 254 | v-show="isInterval(formData.jyjzxg)" | 254 | v-show="isInterval(formData.jyjzxg)" |
| 255 | class="formInput percent47" | 255 | class="formInput percent47" |
| 256 | /> | 256 | /> |
| 257 | <span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span> | 257 | <span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span> |
| 258 | <input | 258 | <input |
| 259 | type="text" :disabled="formData.qszt!='0'" | 259 | type="text" :disabled="disabled" |
| 260 | v-model="formData.jzxg" | 260 | v-model="formData.jzxg" |
| 261 | :class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'" | 261 | :class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'" |
| 262 | /> | 262 | /> |
| 263 | </td> | 263 | </td> |
| 264 | <td colspan="2" class="tdright">建筑限高说明</td> | 264 | <td colspan="2" class="tdright">建筑限高说明</td> |
| 265 | <td colspan="4" class="psr"> | 265 | <td colspan="4" class="psr"> |
| 266 | <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"/> |
| 267 | </td> | 267 | </td> |
| 268 | </tr> | 268 | </tr> |
| 269 | <tr> | 269 | <tr> |
| 270 | <td colspan="2" rowspan="2" class="tdright">所在图幅号</td> | 270 | <td colspan="2" rowspan="2" class="tdright">所在图幅号</td> |
| 271 | <td colspan="2" class="tdright">比例尺</td> | 271 | <td colspan="2" class="tdright">比例尺</td> |
| 272 | <td colspan="8" class="psr"> | 272 | <td colspan="8" class="psr"> |
| 273 | <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"/> |
| 274 | </td> | 274 | </td> |
| 275 | </tr> | 275 | </tr> |
| 276 | <tr> | 276 | <tr> |
| 277 | <td colspan="2" class="tdright">图幅号</td> | 277 | <td colspan="2" class="tdright">图幅号</td> |
| 278 | <td colspan="8" class="psr"> | 278 | <td colspan="8" class="psr"> |
| 279 | <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"/> |
| 280 | </td> | 280 | </td> |
| 281 | </tr> | 281 | </tr> |
| 282 | 282 | ||
| ... | @@ -284,28 +284,28 @@ | ... | @@ -284,28 +284,28 @@ |
| 284 | <td colspan="2" rowspan="4" class="tdright">宗地四至</td> | 284 | <td colspan="2" rowspan="4" class="tdright">宗地四至</td> |
| 285 | <td colspan="2" class="tdright"><i class="requisite">*</i>北至</td> | 285 | <td colspan="2" class="tdright"><i class="requisite">*</i>北至</td> |
| 286 | <td colspan="8" class="psr"> | 286 | <td colspan="8" class="psr"> |
| 287 | <input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="formData.qszt!='0'" | 287 | <input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="disabled" |
| 288 | class="formInput" v-model="formData.zdszb"/> | 288 | class="formInput" v-model="formData.zdszb"/> |
| 289 | </td> | 289 | </td> |
| 290 | </tr> | 290 | </tr> |
| 291 | <tr> | 291 | <tr> |
| 292 | <td colspan="2" class="tdright"><i class="requisite">*</i>东至</td> | 292 | <td colspan="2" class="tdright"><i class="requisite">*</i>东至</td> |
| 293 | <td colspan="8" class="psr"> | 293 | <td colspan="8" class="psr"> |
| 294 | <input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="formData.qszt!='0'" | 294 | <input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="disabled" |
| 295 | class="formInput" v-model="formData.zdszd"/> | 295 | class="formInput" v-model="formData.zdszd"/> |
| 296 | </td> | 296 | </td> |
| 297 | </tr> | 297 | </tr> |
| 298 | <tr> | 298 | <tr> |
| 299 | <td colspan="2" class="tdright"><i class="requisite">*</i>南至</td> | 299 | <td colspan="2" class="tdright"><i class="requisite">*</i>南至</td> |
| 300 | <td colspan="8" class="psr"> | 300 | <td colspan="8" class="psr"> |
| 301 | <input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="formData.qszt!='0'" | 301 | <input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="disabled" |
| 302 | class="formInput" v-model="formData.zdszn"/> | 302 | class="formInput" v-model="formData.zdszn"/> |
| 303 | </td> | 303 | </td> |
| 304 | </tr> | 304 | </tr> |
| 305 | <tr> | 305 | <tr> |
| 306 | <td colspan="2" class="tdright"><i class="requisite">*</i>西至</td> | 306 | <td colspan="2" class="tdright"><i class="requisite">*</i>西至</td> |
| 307 | <td colspan="8" class="psr"> | 307 | <td colspan="8" class="psr"> |
| 308 | <input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="formData.qszt!='0'" | 308 | <input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="disabled" |
| 309 | class="formInput" v-model="formData.zdszx"/> | 309 | class="formInput" v-model="formData.zdszx"/> |
| 310 | </td> | 310 | </td> |
| 311 | </tr> | 311 | </tr> |
| ... | @@ -317,45 +317,45 @@ | ... | @@ -317,45 +317,45 @@ |
| 317 | <tr> | 317 | <tr> |
| 318 | <td colspan="2" class="tdright">批准面积(㎡)</td> | 318 | <td colspan="2" class="tdright">批准面积(㎡)</td> |
| 319 | <td colspan="4" > | 319 | <td colspan="4" > |
| 320 | <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,'')" |
| 321 | class="formInput" v-model="formData.pzmj"/> | 321 | class="formInput" v-model="formData.pzmj"/> |
| 322 | </td> | 322 | </td> |
| 323 | <td colspan="2" class="tdright"><i class="requisite">*</i>宗地面积(㎡)</td> | 323 | <td colspan="2" class="tdright"><i class="requisite">*</i>宗地面积(㎡)</td> |
| 324 | <td colspan="4" > | 324 | <td colspan="4" > |
| 325 | <input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zdmj" | 325 | <input type="text" :disabled="disabled" @blur="inputBlur($event)" ref="zdmj" |
| 326 | 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"/> |
| 327 | </td> | 327 | </td> |
| 328 | </tr> | 328 | </tr> |
| 329 | <tr> | 329 | <tr> |
| 330 | <td colspan="2" class="tdright">建筑占地总面积(㎡)</td> | 330 | <td colspan="2" class="tdright">建筑占地总面积(㎡)</td> |
| 331 | <td colspan="4"> | 331 | <td colspan="4"> |
| 332 | <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,'')" |
| 333 | class="formInput" v-model="formData.jzzdzmj"/> | 333 | class="formInput" v-model="formData.jzzdzmj"/> |
| 334 | </td> | 334 | </td> |
| 335 | 335 | ||
| 336 | <td colspan="2" class="tdright">建筑总面积(㎡)</td> | 336 | <td colspan="2" class="tdright">建筑总面积(㎡)</td> |
| 337 | <td colspan="4"> | 337 | <td colspan="4"> |
| 338 | <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,'')" |
| 339 | class="formInput" v-model="formData.jzzmj"/> | 339 | class="formInput" v-model="formData.jzzmj"/> |
| 340 | </td> | 340 | </td> |
| 341 | </tr> | 341 | </tr> |
| 342 | <tr> | 342 | <tr> |
| 343 | <td colspan="2" class="tdright">共有/共用权利人情况</td> | 343 | <td colspan="2" class="tdright">共有/共用权利人情况</td> |
| 344 | <td colspan="10"> | 344 | <td colspan="10"> |
| 345 | <input type="text" :disabled="formData.qszt!='0'" class="formInput" | 345 | <input type="text" :disabled="disabled" class="formInput" |
| 346 | v-model="formData.gygyqlrqk"/> | 346 | v-model="formData.gygyqlrqk"/> |
| 347 | </td> | 347 | </td> |
| 348 | </tr> | 348 | </tr> |
| 349 | <tr> | 349 | <tr> |
| 350 | <td colspan="2" class="tdright" rowspan="2">说明</td> | 350 | <td colspan="2" class="tdright" rowspan="2">说明</td> |
| 351 | <td colspan="10" rowspan="2"> | 351 | <td colspan="10" rowspan="2"> |
| 352 | <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"/> |
| 353 | </td> | 353 | </td> |
| 354 | </tr> | 354 | </tr> |
| 355 | </table> | 355 | </table> |
| 356 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> | 356 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> |
| 357 | <el-button type="primary" class="saveBtn" @click="updateZDxx">保存</el-button> | 357 | <el-button type="primary" class="saveBtn" @click="updateZDxx" :disabled="disabled">保存</el-button> |
| 358 | <el-button type="primary" @click="submitZDxx">提交</el-button> | 358 | <el-button type="primary" @click="submitZDxx" :disabled="disabled">提交</el-button> |
| 359 | <el-button type="primary" @click="registerCall">登记调用</el-button> | 359 | <el-button type="primary" @click="registerCall">登记调用</el-button> |
| 360 | </div> | 360 | </div> |
| 361 | </div> | 361 | </div> |
| ... | @@ -498,6 +498,13 @@ | ... | @@ -498,6 +498,13 @@ |
| 498 | .then((res) => { | 498 | .then((res) => { |
| 499 | if (res.result) { | 499 | if (res.result) { |
| 500 | this.formData = res.result; | 500 | this.formData = res.result; |
| 501 | if(this.formData.bblx === 0 && this.formData.qszt === '0' && this.formData.bhqkbsm == null){ | ||
| 502 | console.log("12345") | ||
| 503 | this.disabled = false | ||
| 504 | }else { | ||
| 505 | console.log("1234567890") | ||
| 506 | this.disabled = true | ||
| 507 | } | ||
| 501 | console.log(res.result, 'res.result'); | 508 | console.log(res.result, 'res.result'); |
| 502 | this.getXzqData(res.result.xzqbsm, res.result.djqbsm); | 509 | this.getXzqData(res.result.xzqbsm, res.result.djqbsm); |
| 503 | //如果没有宗地代码,自动生成 | 510 | //如果没有宗地代码,自动生成 | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <el-tab-pane label="登记簿" name="djb"><djb></djb></el-tab-pane> | 6 | <el-tab-pane label="登记簿" name="djb"><djb></djb></el-tab-pane> |
| 7 | <el-tab-pane label="楼盘表" name="lpb"><lpb v-if="lpbLoad"></lpb></el-tab-pane> | 7 | <el-tab-pane label="楼盘表" name="lpb"><lpb v-if="lpbLoad"></lpb></el-tab-pane> |
| 8 | <el-tab-pane label="历史回溯" name="lshs"><lshs></lshs></el-tab-pane> | 8 | <el-tab-pane label="历史回溯" name="lshs"><lshs></lshs></el-tab-pane> |
| 9 | <el-tab-pane label="附件材料" name="fjcl"><fjcl></fjcl></el-tab-pane> | 9 | <el-tab-pane label="附件材料" name="fjcl"><fjcl ref="fjcl" :is-disabled="isDisabled"></fjcl></el-tab-pane> |
| 10 | </el-tabs> | 10 | </el-tabs> |
| 11 | </div> | 11 | </div> |
| 12 | </template> | 12 | </template> |
| ... | @@ -18,6 +18,7 @@ import djb from "./djb"; | ... | @@ -18,6 +18,7 @@ import djb from "./djb"; |
| 18 | import lpb from "./lpb"; | 18 | import lpb from "./lpb"; |
| 19 | import lshs from "./lshs"; | 19 | import lshs from "./lshs"; |
| 20 | import fjcl from "./../zd/fjcl/fjcl"; | 20 | import fjcl from "./../zd/fjcl/fjcl"; |
| 21 | import {queryStatus} from "@api/search" | ||
| 21 | export default { | 22 | export default { |
| 22 | name: "", | 23 | name: "", |
| 23 | components: { | 24 | components: { |
| ... | @@ -26,13 +27,26 @@ export default { | ... | @@ -26,13 +27,26 @@ export default { |
| 26 | props: {}, | 27 | props: {}, |
| 27 | data() { | 28 | data() { |
| 28 | return { | 29 | return { |
| 30 | isDisabled:false, | ||
| 29 | activeName: "zrzxx", | 31 | activeName: "zrzxx", |
| 30 | lpbLoad:false, //默认不加载楼盘表组件 | 32 | lpbLoad:false, //默认不加载楼盘表组件 |
| 31 | yzgyLoad:false, | 33 | yzgyLoad:false, |
| 32 | }; | 34 | }; |
| 33 | }, | 35 | }, |
| 34 | methods: { | 36 | methods: { |
| 37 | loadingStatus() { | ||
| 38 | debugger | ||
| 39 | console.log("是否禁用") | ||
| 40 | let bsm=this.$store.state.zrzbsm; | ||
| 41 | queryStatus(bsm).then(res => { | ||
| 42 | if (res.success) { | ||
| 43 | let qszt = res.result.qszt; | ||
| 44 | this.isDisabled = +qszt !== 0; | ||
| 45 | } | ||
| 46 | }) | ||
| 47 | }, | ||
| 35 | handleClick(tab, event) { | 48 | handleClick(tab, event) { |
| 49 | this.loadingStatus() | ||
| 36 | if(!this.lpbLoad){ | 50 | if(!this.lpbLoad){ |
| 37 | this.lpbLoad = tab.name == 'lpb' ? true : false | 51 | this.lpbLoad = tab.name == 'lpb' ? true : false |
| 38 | } | 52 | } | ... | ... |
| ... | @@ -9,33 +9,24 @@ | ... | @@ -9,33 +9,24 @@ |
| 9 | </template> | 9 | </template> |
| 10 | </el-table-column> | 10 | </el-table-column> |
| 11 | <el-table-column prop="zrzmc" label="自然幢" align="center"> | 11 | <el-table-column prop="zrzmc" label="自然幢" align="center"> |
| 12 | <!-- <template slot-scope="scope"> | ||
| 13 | <el-input size="small" v-model="scope.row.ljzbsm"></el-input> | ||
| 14 | </template> --> | ||
| 15 | </el-table-column> | 12 | </el-table-column> |
| 16 | <el-table-column prop="ljzmc" label="逻辑幢" align="center"> | 13 | <el-table-column prop="ljzmc" label="逻辑幢" align="center"> |
| 17 | <!-- <template slot-scope="scope"> | ||
| 18 | <el-input size="small" v-model="scope.row.ljzbsm"></el-input> | ||
| 19 | </template> --> | ||
| 20 | </el-table-column> | 14 | </el-table-column> |
| 21 | <el-table-column prop="zdymc" label="幢单元" align="center"> | 15 | <el-table-column prop="zdymc" label="幢单元" align="center"> |
| 22 | <!-- <template slot-scope="scope"> | ||
| 23 | <el-input size="small" v-model="scope.row.zdybsm"></el-input> | ||
| 24 | </template> --> | ||
| 25 | </el-table-column> | 16 | </el-table-column> |
| 26 | <el-table-column prop="qsc" label="起始层" align="center"> | 17 | <el-table-column prop="qsc" label="起始层" align="center"> |
| 27 | <template slot-scope="scope"> | 18 | <template slot-scope="scope"> |
| 28 | <el-input size="small" v-model="scope.row.qsc"></el-input> | 19 | <el-input v-model="scope.row.qsc" type="number"></el-input> |
| 29 | </template> | 20 | </template> |
| 30 | </el-table-column> | 21 | </el-table-column> |
| 31 | <el-table-column prop="jsc" label="结束层" align="center"> | 22 | <el-table-column prop="jsc" label="结束层" align="center"> |
| 32 | <template slot-scope="scope"> | 23 | <template slot-scope="scope"> |
| 33 | <el-input size="small" v-model="scope.row.jsc"></el-input> | 24 | <el-input v-model="scope.row.jsc" type="number"></el-input> |
| 34 | </template> | 25 | </template> |
| 35 | </el-table-column> | 26 | </el-table-column> |
| 36 | <el-table-column prop="hs" label="每层户数" align="center"> | 27 | <el-table-column prop="hs" label="每层户数" align="center"> |
| 37 | <template slot-scope="scope"> | 28 | <template slot-scope="scope"> |
| 38 | <el-input size="small" v-model="scope.row.hs"></el-input> | 29 | <el-input v-model="scope.row.hs" type="number"></el-input> |
| 39 | </template> | 30 | </template> |
| 40 | </el-table-column> | 31 | </el-table-column> |
| 41 | </el-table> | 32 | </el-table> |
| ... | @@ -87,6 +78,9 @@ export default { | ... | @@ -87,6 +78,9 @@ export default { |
| 87 | handleRowClick(row, index) { | 78 | handleRowClick(row, index) { |
| 88 | if (row.cz == "+") { | 79 | if (row.cz == "+") { |
| 89 | let temp = JSON.parse(JSON.stringify(this.formData)); | 80 | let temp = JSON.parse(JSON.stringify(this.formData)); |
| 81 | temp.qsc = ''; | ||
| 82 | temp.jsc = ''; | ||
| 83 | temp.hs = ''; | ||
| 90 | temp.cz = "-"; | 84 | temp.cz = "-"; |
| 91 | this.tableData.push(temp); | 85 | this.tableData.push(temp); |
| 92 | } else { | 86 | } else { |
| ... | @@ -94,6 +88,23 @@ export default { | ... | @@ -94,6 +88,23 @@ export default { |
| 94 | } | 88 | } |
| 95 | }, | 89 | }, |
| 96 | onSave(bsm) { | 90 | onSave(bsm) { |
| 91 | console.log(this.tableData) | ||
| 92 | let totalHs = 0; | ||
| 93 | for(let k =0;k<this.tableData.length;k++){ | ||
| 94 | if(this.tableData[k].qsc === ""||this.tableData[k].jsc === ""||this.tableData[k].hs === ""){ | ||
| 95 | this.$message.warning("表单不完整,请填写完整") | ||
| 96 | return false | ||
| 97 | } | ||
| 98 | if(this.tableData[k].qsc - this.tableData[k].jsc > 0){ | ||
| 99 | this.$message.warning("存在结束层大于起始层,请重写填写") | ||
| 100 | return false | ||
| 101 | } | ||
| 102 | totalHs = totalHs + (this.tableData[k].jsc-this.tableData[k].qsc+1)*this.tableData[k].hs; | ||
| 103 | } | ||
| 104 | if(totalHs >= 5000){ | ||
| 105 | this.$message.warning("单次添加户数累积超过5000户,请分次添加!") | ||
| 106 | return false | ||
| 107 | } | ||
| 97 | insertChInfo(this.tableData).then((res) => { | 108 | insertChInfo(this.tableData).then((res) => { |
| 98 | if (res.code === 200) { | 109 | if (res.code === 200) { |
| 99 | this.$message.success("保存成功"); | 110 | this.$message.success("保存成功"); | ... | ... |
| ... | @@ -393,8 +393,8 @@ | ... | @@ -393,8 +393,8 @@ |
| 393 | </table> | 393 | </table> |
| 394 | </el-form> | 394 | </el-form> |
| 395 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> | 395 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> |
| 396 | <el-button type="primary" class="saveBtn" @click="onSave">保存</el-button> | 396 | <el-button type="primary" class="saveBtn" @click="onSave" :disabled="disableFlag">保存</el-button> |
| 397 | <el-button type="primary" @click="onSubmit">提交</el-button> | 397 | <el-button type="primary" @click="onSubmit" :disabled="disableFlag">提交</el-button> |
| 398 | <el-button type="primary" @click="registerCall">登记调用</el-button> | 398 | <el-button type="primary" @click="registerCall">登记调用</el-button> |
| 399 | <!-- <el-button type="primary" class="saveBtn" @click="save">保存</el-button> --> | 399 | <!-- <el-button type="primary" class="saveBtn" @click="save">保存</el-button> --> |
| 400 | </div> | 400 | </div> |
| ... | @@ -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) | ... | ... |
| ... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
| 21 | </td> | 21 | </td> |
| 22 | <td colspan="2" align="center">自然幢号</td> | 22 | <td colspan="2" align="center">自然幢号</td> |
| 23 | <td colspan="4"> | 23 | <td colspan="4"> |
| 24 | <el-input v-model="form.zrzh" maxlength="24"></el-input> | 24 | <el-input v-model="form.zrzh" maxlength="24" disabled></el-input> |
| 25 | </td> | 25 | </td> |
| 26 | </tr> | 26 | </tr> |
| 27 | <tr height="30"> | 27 | <tr height="30"> |
| ... | @@ -96,28 +96,25 @@ | ... | @@ -96,28 +96,25 @@ |
| 96 | :rowspan="ytTitleRowspan" | 96 | :rowspan="ytTitleRowspan" |
| 97 | align="center" | 97 | align="center" |
| 98 | > | 98 | > |
| 99 | <el-button | 99 | <i class="iconfont iconicon-test1" style="margin-right: 8px;color:#66b1ff;font-size:30px" @click="addYtInfo"></i> |
| 100 | type="primary" | ||
| 101 | size="mini" | ||
| 102 | style="margin-right: 10px" | ||
| 103 | @click="addYtInfo" | ||
| 104 | >添加</el-button | ||
| 105 | > | ||
| 106 | <span>用途</span> | 100 | <span>用途</span> |
| 107 | </td> | 101 | </td> |
| 108 | <td colspan="1" align="center"> | 102 | <td colspan="1" align="center"> |
| 109 | <span @click="deleteYtInfo(index)">删除</span> | 103 | <i class="iconfont iconicon-test" style="color:#FA6400;font-size:30px" @click="deleteYtInfo(index)"></i> |
| 110 | </td> | 104 | </td> |
| 111 | <td colspan="9"> | 105 | <td colspan="9"> |
| 112 | <el-select v-model="item1.fwytzdbsm" placeholder="请选择"> | 106 | <el-select-tree style="width:100%" |
| 113 | <el-option | 107 | ref="yt" |
| 114 | v-for="item in $store.state.tdytList" | 108 | v-if="show" |
| 115 | :key="item.bsm" | 109 | :default-expand-all="defaultExpandAll" |
| 116 | :label="item.mc" | 110 | :multiple="multiple" |
| 117 | :value="item.bsm" | 111 | :placeholder="placeholder" |
| 118 | > | 112 | :data="$store.state.fwytList" |
| 119 | </el-option> | 113 | :props="treeProps" |
| 120 | </el-select> | 114 | :check-strictly="checkStrictly" |
| 115 | :clearable="clearable" | ||
| 116 | v-model="item1.fwytzdbsm" | ||
| 117 | ></el-select-tree> | ||
| 121 | </td> | 118 | </td> |
| 122 | </tr> | 119 | </tr> |
| 123 | 120 | ||
| ... | @@ -132,28 +129,25 @@ | ... | @@ -132,28 +129,25 @@ |
| 132 | :rowspan="fwjgTitleRowspan" | 129 | :rowspan="fwjgTitleRowspan" |
| 133 | align="center" | 130 | align="center" |
| 134 | > | 131 | > |
| 135 | <el-button | 132 | <i class="iconfont iconicon-test1" style="margin-right: 8px;color:#66b1ff;font-size:30px" @click="addFwjgInfo"></i> |
| 136 | type="primary" | ||
| 137 | size="mini" | ||
| 138 | style="margin-right: 10px" | ||
| 139 | @click="addFwjgInfo" | ||
| 140 | >添加</el-button | ||
| 141 | > | ||
| 142 | <span>房屋结构</span> | 133 | <span>房屋结构</span> |
| 143 | </td> | 134 | </td> |
| 144 | <td colspan="1" align="center"> | 135 | <td colspan="1" align="center"> |
| 145 | <span @click="deleteFwjgInfo(index)">删除</span> | 136 | <i class="iconfont iconicon-test" style="color:#FA6400;font-size:30px" @click="deleteFwjgInfo(index)"></i> |
| 146 | </td> | 137 | </td> |
| 147 | <td colspan="9"> | 138 | <td colspan="9"> |
| 148 | <el-select v-model="item1.fwjgzdbsm" placeholder="请选择"> | 139 | <el-select-tree style="width:100%" |
| 149 | <el-option | 140 | ref="yt" |
| 150 | v-for="item in $store.state.jgOptions" | 141 | v-if="show" |
| 151 | :key="item.bsm" | 142 | :default-expand-all="defaultExpandAll" |
| 152 | :label="item.mc" | 143 | :multiple="multiple" |
| 153 | :value="item.bsm" | 144 | :placeholder="placeholder" |
| 154 | > | 145 | :data="$store.state.jgOptions" |
| 155 | </el-option> | 146 | :props="treeProps" |
| 156 | </el-select> | 147 | :check-strictly="checkStrictly" |
| 148 | :clearable="clearable" | ||
| 149 | v-model="item1.fwjgzdbsm" | ||
| 150 | ></el-select-tree> | ||
| 157 | </td> | 151 | </td> |
| 158 | </tr> | 152 | </tr> |
| 159 | 153 | ||
| ... | @@ -192,6 +186,7 @@ | ... | @@ -192,6 +186,7 @@ |
| 192 | 186 | ||
| 193 | <script> | 187 | <script> |
| 194 | import { insertLjzInfo } from "@api/lpb"; | 188 | import { insertLjzInfo } from "@api/lpb"; |
| 189 | import { getQjLjzDetailById,updateQjLjz } from "@api/ljz"; | ||
| 195 | import { formdate } from "@libs/function"; | 190 | import { formdate } from "@libs/function"; |
| 196 | export default { | 191 | export default { |
| 197 | name: "ljz", | 192 | name: "ljz", |
| ... | @@ -204,6 +199,21 @@ export default { | ... | @@ -204,6 +199,21 @@ export default { |
| 204 | }, | 199 | }, |
| 205 | data() { | 200 | data() { |
| 206 | return { | 201 | return { |
| 202 | |||
| 203 | //树型结构 | ||
| 204 | show:true, | ||
| 205 | clearable: true, | ||
| 206 | defaultExpandAll: true, | ||
| 207 | multiple: false, | ||
| 208 | placeholder: '请选择', | ||
| 209 | disabled: false, | ||
| 210 | checkStrictly: true, | ||
| 211 | treeProps: { | ||
| 212 | value: 'bsm', | ||
| 213 | children: 'children', | ||
| 214 | label: 'mc' | ||
| 215 | }, | ||
| 216 | |||
| 207 | form: { | 217 | form: { |
| 208 | zrzbsm: "", | 218 | zrzbsm: "", |
| 209 | ljzh: "", //逻辑幢号 | 219 | ljzh: "", //逻辑幢号 |
| ... | @@ -275,7 +285,7 @@ export default { | ... | @@ -275,7 +285,7 @@ export default { |
| 275 | this.form = { | 285 | this.form = { |
| 276 | // zrzbsm: "", | 286 | // zrzbsm: "", |
| 277 | ljzh: "", //逻辑幢号 | 287 | ljzh: "", //逻辑幢号 |
| 278 | // zrzh: "", //自然幢号 | 288 | zrzh: this.$store.state.zrzh, //自然幢号 |
| 279 | ljzmc: "", //逻辑幢顺序号 | 289 | ljzmc: "", //逻辑幢顺序号 |
| 280 | bdcdyh: "", //不动产单元号 | 290 | bdcdyh: "", //不动产单元号 |
| 281 | mph: "", //门牌号 | 291 | mph: "", //门牌号 |
| ... | @@ -336,6 +346,11 @@ export default { | ... | @@ -336,6 +346,11 @@ export default { |
| 336 | }else{ | 346 | }else{ |
| 337 | //逻辑幢更新接口调用 TODO | 347 | //逻辑幢更新接口调用 TODO |
| 338 | console.log('保存'); | 348 | console.log('保存'); |
| 349 | updateQjLjz(this.form).then((res)=>{ | ||
| 350 | if(res.code === 200){ | ||
| 351 | this.$message.success("修改成功") | ||
| 352 | } | ||
| 353 | }) | ||
| 339 | } | 354 | } |
| 340 | }, | 355 | }, |
| 341 | onSubmit() { | 356 | onSubmit() { |
| ... | @@ -343,8 +358,48 @@ export default { | ... | @@ -343,8 +358,48 @@ export default { |
| 343 | }, | 358 | }, |
| 344 | //根据逻辑幢bsm查询逻辑幢信息 | 359 | //根据逻辑幢bsm查询逻辑幢信息 |
| 345 | getLjzInfo(bsm){ | 360 | getLjzInfo(bsm){ |
| 346 | //逻辑幢信息查询接口调用 bsm为逻辑幢bsm TODO | 361 | //逻辑幢信息查询接口调用 bsm为逻辑幢bsm |
| 347 | this.form = {zrzh:'11111111'}; | 362 | getQjLjzDetailById(bsm).then((res)=>{ |
| 363 | if(res.code === 200){ | ||
| 364 | this.form = res.result; | ||
| 365 | this.form.zrzh = this.$store.state.zrzh; | ||
| 366 | this.form.fwjgList= [ | ||
| 367 | { | ||
| 368 | fwjgzdbsm: "", //房屋结构字典标识码 | ||
| 369 | glbsm: "", //关联标识码 | ||
| 370 | sx: "", //顺序 | ||
| 371 | }, | ||
| 372 | ]; | ||
| 373 | this.form.ytList= [ | ||
| 374 | { | ||
| 375 | glbsm: "", //关联标识码 | ||
| 376 | fwytzdbsm: "", //房屋用途字典标识码 | ||
| 377 | sx: "", //顺序 | ||
| 378 | }, | ||
| 379 | ]; | ||
| 380 | if(this.form.qjfwjg.length>0){ | ||
| 381 | this.form.fwjgList= []; | ||
| 382 | for(let i =0;i<this.form.qjfwjg.length;i++){ | ||
| 383 | this.form.fwjgList.push({ | ||
| 384 | fwjgzdbsm: this.form.qjfwjg[i].fwjgzdbsm, //房屋结构字典标识码 | ||
| 385 | glbsm: this.form.qjfwjg[i].glbsm, //关联标识码 | ||
| 386 | sx: this.form.qjfwjg[i].sx, //顺序 | ||
| 387 | }) | ||
| 388 | } | ||
| 389 | } | ||
| 390 | if(this.form.qjfwyt.length>0){ | ||
| 391 | this.form.ytList= []; | ||
| 392 | for(let i =0;i<this.form.qjfwyt.length;i++){ | ||
| 393 | this.form.ytList.push({ | ||
| 394 | fwytzdbsm: this.form.qjfwyt[i].fwytzdbsm, //房屋结构字典标识码 | ||
| 395 | glbsm: this.form.qjfwyt[i].glbsm, //关联标识码 | ||
| 396 | sx: this.form.qjfwyt[i].sx, //顺序 | ||
| 397 | }) | ||
| 398 | } | ||
| 399 | } | ||
| 400 | console.log(JSON.stringify(this.form)+":this.form") | ||
| 401 | } | ||
| 402 | }) | ||
| 348 | this.$forceUpdate(); | 403 | this.$forceUpdate(); |
| 349 | } | 404 | } |
| 350 | }, | 405 | }, | ... | ... |
| ... | @@ -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%" |
| ... | @@ -269,8 +269,8 @@ | ... | @@ -269,8 +269,8 @@ |
| 269 | 269 | ||
| 270 | </table> | 270 | </table> |
| 271 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> | 271 | <div class="header-button" :style="{width:mainBoxWidth+'px'}"> |
| 272 | <el-button type="primary" class="saveBtn" @click="onSave">保存</el-button> | 272 | <el-button type="primary" class="saveBtn" @click="onSave" :disabled="disabled">保存</el-button> |
| 273 | <el-button type="primary" @click="onSubmit">提交</el-button> | 273 | <el-button type="primary" @click="onSubmit" :disabled="disabled">提交</el-button> |
| 274 | <el-button type="primary" @click="registerCall">登记调用</el-button> | 274 | <el-button type="primary" @click="registerCall">登记调用</el-button> |
| 275 | <!-- <el-button type="primary" class="saveBtn" @click="save">保存</el-button> --> | 275 | <!-- <el-button type="primary" class="saveBtn" @click="save">保存</el-button> --> |
| 276 | </div> | 276 | </div> |
| ... | @@ -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({ | ... | ... |
-
Please register or sign in to post a comment