style:土地用途
Showing
9 changed files
with
159 additions
and
89 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:24 | 4 | * @LastEditTime: 2023-08-04 15:44:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -573,6 +573,15 @@ | ... | @@ -573,6 +573,15 @@ |
573 | onSubmit () { | 573 | onSubmit () { |
574 | this.$refs.ruleForm.validate((valid) => { | 574 | this.$refs.ruleForm.validate((valid) => { |
575 | if (valid) { | 575 | if (valid) { |
576 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
577 | if (arr.length > 0) { | ||
578 | this.$message({ | ||
579 | showClose: true, | ||
580 | message: "土地用途不能为空", | ||
581 | type: "error", | ||
582 | }); | ||
583 | return false; | ||
584 | } | ||
576 | if (this.ruleForm.qlrData.length == 0) { | 585 | if (this.ruleForm.qlrData.length == 0) { |
577 | this.$message({ | 586 | this.$message({ |
578 | showClose: true, | 587 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:28 | 4 | * @LastEditTime: 2023-08-04 15:44:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -351,7 +351,7 @@ | ... | @@ -351,7 +351,7 @@ |
351 | <el-form-item label="共有方式:"> | 351 | <el-form-item label="共有方式:"> |
352 | <el-radio-group | 352 | <el-radio-group |
353 | :disabled="!ableOperation" | 353 | :disabled="!ableOperation" |
354 | v-model="ruleForm.sldy.gyfs"> | 354 | v-model="ruleForm.qlxx.gyfs"> |
355 | <el-radio label="0">单独所有</el-radio> | 355 | <el-radio label="0">单独所有</el-radio> |
356 | <el-radio label="1">共同共有</el-radio> | 356 | <el-radio label="1">共同共有</el-radio> |
357 | <el-radio label="2">按份所有</el-radio> | 357 | <el-radio label="2">按份所有</el-radio> |
... | @@ -359,10 +359,10 @@ | ... | @@ -359,10 +359,10 @@ |
359 | </el-radio-group> | 359 | </el-radio-group> |
360 | </el-form-item> | 360 | </el-form-item> |
361 | </el-col> | 361 | </el-col> |
362 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 362 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
363 | <el-form-item label="是否分别持证:"> | 363 | <el-form-item label="是否分别持证:"> |
364 | <el-radio-group | 364 | <el-radio-group |
365 | v-model="ruleForm.sldy.sqfbcz" | 365 | v-model="ruleForm.qlxx.sqfbcz" |
366 | :disabled="!ableOperation"> | 366 | :disabled="!ableOperation"> |
367 | <el-radio :label="1">是</el-radio> | 367 | <el-radio :label="1">是</el-radio> |
368 | <el-radio :label="0">否</el-radio> | 368 | <el-radio :label="0">否</el-radio> |
... | @@ -371,7 +371,7 @@ | ... | @@ -371,7 +371,7 @@ |
371 | </el-col> | 371 | </el-col> |
372 | <el-col | 372 | <el-col |
373 | :span="6" | 373 | :span="6" |
374 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 374 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> |
375 | <el-form-item label="持证人:"> | 375 | <el-form-item label="持证人:"> |
376 | <el-select | 376 | <el-select |
377 | v-model="ruleForm.czr" | 377 | v-model="ruleForm.czr" |
... | @@ -659,6 +659,15 @@ | ... | @@ -659,6 +659,15 @@ |
659 | onSubmit () { | 659 | onSubmit () { |
660 | this.$refs.ruleForm.validate((valid) => { | 660 | this.$refs.ruleForm.validate((valid) => { |
661 | if (valid) { | 661 | if (valid) { |
662 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
663 | if (arr.length > 0) { | ||
664 | this.$message({ | ||
665 | showClose: true, | ||
666 | message: "土地用途不能为空", | ||
667 | type: "error", | ||
668 | }); | ||
669 | return false; | ||
670 | } | ||
662 | if (this.ruleForm.qlrData.length == 0) { | 671 | if (this.ruleForm.qlrData.length == 0) { |
663 | this.$message({ | 672 | this.$message({ |
664 | showClose: true, | 673 | showClose: true, |
... | @@ -667,7 +676,7 @@ | ... | @@ -667,7 +676,7 @@ |
667 | }); | 676 | }); |
668 | return false; | 677 | return false; |
669 | } | 678 | } |
670 | if (this.ruleForm.sldy.gyfs == "0") { | 679 | if (this.ruleForm.qlxx.gyfs == "0") { |
671 | if (this.ruleForm.qlrData.length > 1) { | 680 | if (this.ruleForm.qlrData.length > 1) { |
672 | this.$message({ | 681 | this.$message({ |
673 | showClose: true, | 682 | showClose: true, |
... | @@ -679,7 +688,7 @@ | ... | @@ -679,7 +688,7 @@ |
679 | this.ruleForm.qlrData[0].sfczr = "1"; | 688 | this.ruleForm.qlrData[0].sfczr = "1"; |
680 | } else { | 689 | } else { |
681 | //是否分别持证 | 690 | //是否分别持证 |
682 | if (this.ruleForm.sldy.sqfbcz == "1") { | 691 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
683 | //是 | 692 | //是 |
684 | this.ruleForm.qlrList.forEach((item, index) => { | 693 | this.ruleForm.qlrList.forEach((item, index) => { |
685 | item.sfczr = "1"; | 694 | item.sfczr = "1"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-02 08:40:35 | 4 | * @LastEditTime: 2023-08-04 15:45:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -90,85 +90,84 @@ | ... | @@ -90,85 +90,84 @@ |
90 | 房屋多幢明细 | 90 | 房屋多幢明细 |
91 | <div class="triangle"></div> | 91 | <div class="triangle"></div> |
92 | <fdcqxmTable | 92 | <fdcqxmTable |
93 | :ableOperation="ableOperation" | 93 | :ableOperation="ableOperation" |
94 | :tableData="ruleForm.fdcqxm" | 94 | :tableData="ruleForm.fdcqxm" |
95 | @upDateTdytxxList="upDateTdytxxList" /> | 95 | @upDateTdytxxList="upDateTdytxxList" /> |
96 | <div class="slxx_title title-block"> | 96 | <div class="slxx_title title-block"> |
97 | 土地用途 | 97 | 土地用途 |
98 | <div class="triangle"></div> | 98 | <div class="triangle"></div> |
99 | </div> | 99 | </div> |
100 | <tdytTable | 100 | <tdytTable |
101 | :ableOperation="ableOperation" | 101 | :ableOperation="ableOperation" |
102 | :tableData="ruleForm.tdytqxList" | 102 | :tableData="ruleForm.tdytqxList" |
103 | @upDateTdytxxList="upDateTdytxxList" /> | 103 | @upDateTdytxxList="upDateTdytxxList" /> |
104 | <div class="slxx_title title-block"> | 104 | <div class="slxx_title title-block"> |
105 | 权利人信息 | 105 | 权利人信息 |
106 | <div class="triangle"></div> | 106 | <div class="triangle"></div> |
107 | </div> | 107 | </div> |
108 | <el-row :gutter="10"> | 108 | <el-row :gutter="10"> |
109 | <el-col :span="14" v-if="ruleForm.qlxx"> | 109 | <el-col :span="14" v-if="ruleForm.qlxx"> |
110 | <el-form-item label="共有方式:"> | 110 | <el-form-item label="共有方式:"> |
111 | <el-radio-group :disabled="!ableOperation" @change="showCZInfo" | 111 | <el-radio-group :disabled="!ableOperation" @change="showCZInfo" |
112 | v-model="ruleForm.sldy.gyfs"> | 112 | v-model="ruleForm.sldy.gyfs"> |
113 | <el-radio label="0">单独所有</el-radio> | 113 | <el-radio label="0">单独所有</el-radio> |
114 | <el-radio label="1">共同共有</el-radio> | 114 | <el-radio label="1">共同共有</el-radio> |
115 | <el-radio label="2">按份所有</el-radio> | 115 | <el-radio label="2">按份所有</el-radio> |
116 | <el-radio label="3">其它共有</el-radio> | 116 | <el-radio label="3">其它共有</el-radio> |
117 | </el-radio-group> | 117 | </el-radio-group> |
118 | </el-form-item> | 118 | </el-form-item> |
119 | </el-col> | 119 | </el-col> |
120 | <el-col :span="5"> | 120 | <el-col :span="5"> |
121 | <el-form-item label="发证方式:"> | 121 | <el-form-item label="发证方式:"> |
122 | <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation"> | 122 | <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation"> |
123 | <el-radio label="1">小证</el-radio> | 123 | <el-radio label="1">小证</el-radio> |
124 | <el-radio label="2">大证</el-radio> | 124 | <el-radio label="2">大证</el-radio> |
125 | </el-radio-group> | 125 | </el-radio-group> |
126 | </el-form-item> | 126 | </el-form-item> |
127 | </el-col> | 127 | </el-col> |
128 | |||
129 | 128 | ||
130 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 129 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> |
131 | <el-form-item label="是否分别持证:"> | 130 | <el-form-item label="是否分别持证:"> |
132 | <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> | 131 | <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> |
133 | <el-radio label="1">是</el-radio> | 132 | <el-radio label="1">是</el-radio> |
134 | <el-radio label="0">否</el-radio> | 133 | <el-radio label="0">否</el-radio> |
135 | </el-radio-group> | 134 | </el-radio-group> |
136 | </el-form-item> | 135 | </el-form-item> |
137 | </el-col> | 136 | </el-col> |
138 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 137 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> |
139 | <el-form-item label="持证人:"> | 138 | <el-form-item label="持证人:"> |
140 | <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation"> | 139 | <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation"> |
141 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 140 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
142 | </el-option> | 141 | </el-option> |
143 | </el-select> | 142 | </el-select> |
144 | </el-form-item> | 143 | </el-form-item> |
145 | </el-col> | 144 | </el-col> |
146 | </el-row> | 145 | </el-row> |
147 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 146 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" |
148 | :gyfs="ruleForm.slsq.gyfs" /> | 147 | :gyfs="ruleForm.slsq.gyfs" /> |
149 | 148 | ||
150 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> | 149 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> |
150 | <div class="slxx_title title-block"> | ||
151 | 义务人信息 | ||
152 | <div class="triangle"></div> | ||
153 | </div> | ||
154 | <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | ||
155 | :gyfs="ruleForm.qlxx.gyfs" /> | ||
156 | </div> | ||
151 | <div class="slxx_title title-block"> | 157 | <div class="slxx_title title-block"> |
152 | 义务人信息 | 158 | 登记原因 |
153 | <div class="triangle"></div> | 159 | <div class="triangle"></div> |
154 | </div> | 160 | </div> |
155 | <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | 161 | <el-row :gutter="10"> |
156 | :gyfs="ruleForm.qlxx.gyfs" /> | 162 | <el-col> |
157 | </div> | 163 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
158 | <div class="slxx_title title-block"> | 164 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" |
159 | 登记原因 | 165 | v-model="ruleForm.fdcq1.djyy"> |
160 | <div class="triangle"></div> | 166 | </el-input> |
167 | </el-form-item> | ||
168 | </el-col> | ||
169 | </el-row> | ||
161 | </div> | 170 | </div> |
162 | <el-row :gutter="10"> | ||
163 | <el-col> | ||
164 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | ||
165 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | ||
166 | v-model="ruleForm.fdcq1.djyy"> | ||
167 | </el-input> | ||
168 | </el-form-item> | ||
169 | </el-col> | ||
170 | </el-row> | ||
171 | </div> | ||
172 | </div> | 171 | </div> |
173 | <el-row class="btn" v-if="ableOperation"> | 172 | <el-row class="btn" v-if="ableOperation"> |
174 | <el-form-item> | 173 | <el-form-item> |
... | @@ -205,7 +204,7 @@ | ... | @@ -205,7 +204,7 @@ |
205 | } | 204 | } |
206 | }); | 205 | }); |
207 | }, | 206 | }, |
208 | components: { qlrCommonTable, tdytTable ,fdcqxmTable}, | 207 | components: { qlrCommonTable, tdytTable, fdcqxmTable }, |
209 | computed: { | 208 | computed: { |
210 | ...mapGetters(["dictData", "flag"]), | 209 | ...mapGetters(["dictData", "flag"]), |
211 | }, | 210 | }, |
... | @@ -283,6 +282,15 @@ | ... | @@ -283,6 +282,15 @@ |
283 | * @author: renchao | 282 | * @author: renchao |
284 | */ | 283 | */ |
285 | onSubmit () { | 284 | onSubmit () { |
285 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
286 | if (arr.length > 0) { | ||
287 | this.$message({ | ||
288 | showClose: true, | ||
289 | message: "土地用途不能为空", | ||
290 | type: "error", | ||
291 | }); | ||
292 | return false; | ||
293 | } | ||
286 | saveData(this.ruleForm).then((res) => { | 294 | saveData(this.ruleForm).then((res) => { |
287 | if (res.code === 200) { | 295 | if (res.code === 200) { |
288 | this.$message({ | 296 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 08:46:35 | 4 | * @LastEditTime: 2023-08-04 15:45:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -392,6 +392,15 @@ | ... | @@ -392,6 +392,15 @@ |
392 | * @author: renchao | 392 | * @author: renchao |
393 | */ | 393 | */ |
394 | onSubmit () { | 394 | onSubmit () { |
395 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
396 | if (arr.length > 0) { | ||
397 | this.$message({ | ||
398 | showClose: true, | ||
399 | message: "土地用途不能为空", | ||
400 | type: "error", | ||
401 | }); | ||
402 | return false; | ||
403 | } | ||
395 | saveData(this.ruleForm).then((res) => { | 404 | saveData(this.ruleForm).then((res) => { |
396 | if (res.code === 200) { | 405 | if (res.code === 200) { |
397 | this.$message({ | 406 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-01 18:14:28 | 4 | * @LastEditTime: 2023-08-04 15:45:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -293,6 +293,15 @@ | ... | @@ -293,6 +293,15 @@ |
293 | * @author: renchao | 293 | * @author: renchao |
294 | */ | 294 | */ |
295 | onSubmit () { | 295 | onSubmit () { |
296 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
297 | if (arr.length > 0) { | ||
298 | this.$message({ | ||
299 | showClose: true, | ||
300 | message: "土地用途不能为空", | ||
301 | type: "error", | ||
302 | }); | ||
303 | return false; | ||
304 | } | ||
296 | fristReg(this.ruleForm).then((res) => { | 305 | fristReg(this.ruleForm).then((res) => { |
297 | if (res.code === 200 && res.result) { | 306 | if (res.code === 200 && res.result) { |
298 | console.log(res); | 307 | console.log(res); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:56:39 | 4 | * @LastEditTime: 2023-08-04 15:18:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -276,7 +276,6 @@ | ... | @@ -276,7 +276,6 @@ |
276 | } | 276 | } |
277 | }, | 277 | }, |
278 | methods: { | 278 | methods: { |
279 | // 更新土地用途信息 | ||
280 | /** | 279 | /** |
281 | * @description: 更新土地用途信息 | 280 | * @description: 更新土地用途信息 |
282 | * @param {*} val | 281 | * @param {*} val |
... | @@ -313,6 +312,15 @@ | ... | @@ -313,6 +312,15 @@ |
313 | */ | 312 | */ |
314 | onSubmit () { | 313 | onSubmit () { |
315 | let that = this | 314 | let that = this |
315 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
316 | if (arr.length > 0) { | ||
317 | this.$message({ | ||
318 | showClose: true, | ||
319 | message: "土地用途不能为空", | ||
320 | type: "error", | ||
321 | }); | ||
322 | return false; | ||
323 | } | ||
316 | if (this.ruleForm.qlrList.length == 0) { | 324 | if (this.ruleForm.qlrList.length == 0) { |
317 | this.$message({ | 325 | this.$message({ |
318 | showClose: true, | 326 | showClose: true, | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-02 08:45:44 | 5 | * @LastEditTime: 2023-08-04 15:46:02 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -280,6 +280,15 @@ | ... | @@ -280,6 +280,15 @@ |
280 | * @author: renchao | 280 | * @author: renchao |
281 | */ | 281 | */ |
282 | onSubmit () { | 282 | onSubmit () { |
283 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
284 | if (arr.length > 0) { | ||
285 | this.$message({ | ||
286 | showClose: true, | ||
287 | message: "土地用途不能为空", | ||
288 | type: "error", | ||
289 | }); | ||
290 | return false; | ||
291 | } | ||
283 | saveData(this.ruleForm).then((res) => { | 292 | saveData(this.ruleForm).then((res) => { |
284 | if (res.code === 200) { | 293 | if (res.code === 200) { |
285 | this.$message({ | 294 | this.$message({ | ... | ... |
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:55 | 4 | * @LastEditTime: 2023-08-04 15:46:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -430,6 +430,15 @@ | ... | @@ -430,6 +430,15 @@ |
430 | * @author: renchao | 430 | * @author: renchao |
431 | */ | 431 | */ |
432 | onSubmit () { | 432 | onSubmit () { |
433 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
434 | if (arr.length > 0) { | ||
435 | this.$message({ | ||
436 | showClose: true, | ||
437 | message: "土地用途不能为空", | ||
438 | type: "error", | ||
439 | }); | ||
440 | return false; | ||
441 | } | ||
433 | if (this.ruleForm.qlrList.length == 0) { | 442 | if (this.ruleForm.qlrList.length == 0) { |
434 | this.$message({ | 443 | this.$message({ |
435 | showClose: true, | 444 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment