8f033c9a by renchao@pashanhoo.com

Merge branch 'dev'

2 parents dc43bdec 62acb7b9
...@@ -1011,6 +1011,10 @@ class data extends filter { ...@@ -1011,6 +1011,10 @@ class data extends filter {
1011 label: "坐落", 1011 label: "坐落",
1012 }, 1012 },
1013 { 1013 {
1014 prop: "yg",
1015 label: "原告",
1016 },
1017 {
1014 prop: "cfjg", 1018 prop: "cfjg",
1015 label: "查封机关", 1019 label: "查封机关",
1016 }, 1020 },
......
...@@ -1098,6 +1098,10 @@ class data extends filter { ...@@ -1098,6 +1098,10 @@ class data extends filter {
1098 label: "坐落", 1098 label: "坐落",
1099 }, 1099 },
1100 { 1100 {
1101 prop: "yg",
1102 label: "原告",
1103 },
1104 {
1101 prop: "cfjg", 1105 prop: "cfjg",
1102 label: "查封机关", 1106 label: "查封机关",
1103 }, 1107 },
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
155 </div> 155 </div>
156 <el-row :gutter="10"> 156 <el-row :gutter="10">
157 <el-col :span="8"> 157 <el-col :span="8">
158 <el-form-item :class="flag ? 'marginBot0' : ''" label="原告:" prop="cfdj.cfwh"> 158 <el-form-item :class="flag ? 'marginBot0' : ''" label="原告:">
159 <el-input 159 <el-input
160 v-model="ruleForm.cfdj.yg" 160 v-model="ruleForm.cfdj.yg"
161 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> 161 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
...@@ -178,12 +178,12 @@ ...@@ -178,12 +178,12 @@
178 </el-row> 178 </el-row>
179 <el-row :gutter="10"> 179 <el-row :gutter="10">
180 <el-col :span="8"> 180 <el-col :span="8">
181 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc"> 181 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:">
182 <el-input v-model="ruleForm.cfdj.cflxmc" disabled></el-input> 182 <el-input v-model="ruleForm.cfdj.cflxmc" disabled></el-input>
183 </el-form-item> 183 </el-form-item>
184 </el-col> 184 </el-col>
185 <el-col :span="16"> 185 <el-col :span="16">
186 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 186 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:">
187 <el-input 187 <el-input
188 v-model="ruleForm.cfdj.cfwj" 188 v-model="ruleForm.cfdj.cfwj"
189 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> 189 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
192 </el-row> 192 </el-row>
193 <el-row :gutter="10"> 193 <el-row :gutter="10">
194 <el-col :span="8"> 194 <el-col :span="8">
195 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 195 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:">
196 <el-input 196 <el-input
197 v-model="ruleForm.cfdj.cfqx" 197 v-model="ruleForm.cfdj.cfqx"
198 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> 198 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
224 224
225 <el-row :gutter="10"> 225 <el-row :gutter="10">
226 <el-col :span="24"> 226 <el-col :span="24">
227 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 227 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:">
228 <el-input 228 <el-input
229 v-model="ruleForm.cfdj.cffw" 229 v-model="ruleForm.cfdj.cffw"
230 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> 230 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
233 </el-row> 233 </el-row>
234 <el-row :gutter="10"> 234 <el-row :gutter="10">
235 <el-col :span="24"> 235 <el-col :span="24">
236 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 236 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:">
237 <el-input 237 <el-input
238 v-model="ruleForm.cfdj.fj" 238 v-model="ruleForm.cfdj.fj"
239 type="textarea" 239 type="textarea"
...@@ -266,16 +266,16 @@ ...@@ -266,16 +266,16 @@
266 </el-form-item> 266 </el-form-item>
267 </el-col> 267 </el-col>
268 <el-col :span="8"> 268 <el-col :span="8">
269 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 269 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
270 <el-input 270 <el-input
271 v-model="ruleForm.cfdj.jfwj" 271 v-model="ruleForm.cfdj.jfwh"
272 :disabled="!viewEdit || ableEdit"></el-input> 272 :disabled="!viewEdit || ableEdit"></el-input>
273 </el-form-item> 273 </el-form-item>
274 </el-col> 274 </el-col>
275 <el-col :span="8"> 275 <el-col :span="8">
276 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 276 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
277 <el-input 277 <el-input
278 v-model="ruleForm.cfdj.jfwh" 278 v-model="ruleForm.cfdj.jfwj"
279 :disabled="!viewEdit || ableEdit"></el-input> 279 :disabled="!viewEdit || ableEdit"></el-input>
280 </el-form-item> 280 </el-form-item>
281 </el-col> 281 </el-col>
...@@ -292,6 +292,7 @@ ...@@ -292,6 +292,7 @@
292 </template> 292 </template>
293 <script> 293 <script>
294 import { Init, saveData } from "@/api/workflow/cfdjFlow.js"; 294 import { Init, saveData } from "@/api/workflow/cfdjFlow.js";
295 import { formValidate } from "./slxxValidate";
295 import { mapGetters } from "vuex"; 296 import { mapGetters } from "vuex";
296 export default { 297 export default {
297 data () { 298 data () {
...@@ -311,11 +312,7 @@ ...@@ -311,11 +312,7 @@
311 viewEdit: false, 312 viewEdit: false,
312 disabled: true, 313 disabled: true,
313 flagTop: this.flag ? "top" : "", 314 flagTop: this.flag ? "top" : "",
314 rules: { 315 rules: {},
315 'cfdj.djyy': [
316 { required: true, message: '请输入登记原因', trigger: 'blur' }
317 ]
318 },
319 //传递参数 316 //传递参数
320 propsParam: {}, 317 propsParam: {},
321 //页面数据 318 //页面数据
...@@ -340,6 +337,7 @@ ...@@ -340,6 +337,7 @@
340 Init(formdata).then((res) => { 337 Init(formdata).then((res) => {
341 if (res.code === 200 && res.result) { 338 if (res.code === 200 && res.result) {
342 this.ruleForm = res.result; 339 this.ruleForm = res.result;
340 this.rules = formValidate(this.ruleForm.sldy.djlx);
343 } else { 341 } else {
344 this.$message.error(res.message); 342 this.$message.error(res.message);
345 } 343 }
...@@ -377,7 +375,7 @@ ...@@ -377,7 +375,7 @@
377 } else { 375 } else {
378 this.$message({ 376 this.$message({
379 showClose: true, 377 showClose: true,
380 message: "请输入登记原因", 378 message: "请输入红框内的相关信息!",
381 type: "error" 379 type: "error"
382 }) 380 })
383 return false 381 return false
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 var formRules={
8 'cfdj.djyy': [
9 { required: false, message: '请输入登记原因', trigger: 'blur' }
10 ],
11
12 'cfdj.cfwh': [
13 { required: false, message: '查封文号', trigger: 'blur' }
14 ],
15 'cfdj.cfjg': [
16 { required: false, message: '查封机关:', trigger: 'blur' }
17 ],
18 'cfdj.cfqssj': [
19 { required: false, message: '查封起始时间:', trigger: 'blur' }
20 ],
21 'cfdj.cfjssj': [
22 { required: false, message: '查封结束时间:', trigger: 'blur' }
23 ],
24 'cfdj.jfwh': [
25 { required: false, message: '解封文号:', trigger: 'blur' }
26 ],
27 'cfdj.jfjg': [
28 { required: false, message: '解封机关:', trigger: 'blur' }
29 ]
30 }
31 if (djlx=="400") {
32 formRules["cfdj.jfwh"][0].required=true;
33 formRules["cfdj.jfjg"][0].required=true;
34 }else{
35 formRules["cfdj.cfwh"][0].required=true;
36 formRules["cfdj.cfjg"][0].required=true;
37 formRules["cfdj.cfqssj"][0].required=true;
38 formRules["cfdj.cfjssj"][0].required=true;
39 formRules["cfdj.djyy"][0].required=true;
40 }
41 return formRules;
42 }
43
44 /**
45 * @description: 首次登记效验
46 * @param {*} data
47 * @author: renchao
48 */
49 export function fristValidate () {
50 }
51
52
53 /**
54 * @description: 转移登记效验
55 * @param {*} data
56 * @author: renchao
57 */
58 export function transferValidate (data) {
59
60 }
61
62 /**
63 * @description: 变更登记效验
64 * @param {*} data
65 * @author: renchao
66 */
67 export function changeValidate (data) {
68
69 }
70
71 /**
72 * @description: 注销登记效验
73 * @param {*} data
74 * @author: renchao
75 */
76 export function logoutValidate (data) {
77
78 }
79
80 /**
81 * @description: 更正登记效验
82 * @param {*} data
83 * @author: renchao
84 */
85 export function riviseValidate (data) {
86
87 }
88
89 /**
90 * @description: 补证登记效验
91 * @param {*} data
92 * @author: renchao
93 */
94 export function renewalValidate (data) {
95
96 }
97
98 /**
99 * @description: 换证登记效验
100 * @param {*} data
101 * @author: renchao
102 */
103 export function replaceValidate (data) {
104
105 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 label-width="180px"> 16 label-width="180px"
17 >
17 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 18 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
18 <div class="slxx_title title-block"> 19 <div class="slxx_title title-block">
19 申请业务信息 20 申请业务信息
...@@ -55,10 +56,11 @@ ...@@ -55,10 +56,11 @@
55 </el-row> 56 </el-row>
56 <div class="slxx_title title-block"> 57 <div class="slxx_title title-block">
57 <el-row> 58 <el-row>
58 <el-col :span="16"> 59 <el-col :span="16"> 抵押不动产情况 </el-col>
59 抵押不动产情况 60 <el-col
60 </el-col> 61 :span="4"
61 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> 62 v-if="ruleForm.sldy.djlx == '300' || ruleForm.sldy.djlx == '500'"
63 >
62 <el-button @click="compare">变化情况对比+</el-button> 64 <el-button @click="compare">变化情况对比+</el-button>
63 </el-col> 65 </el-col>
64 </el-row> 66 </el-row>
...@@ -141,13 +143,19 @@ ...@@ -141,13 +143,19 @@
141 <el-input 143 <el-input
142 maxlength="12" 144 maxlength="12"
143 v-model="ruleForm.diyaq.dymj" 145 v-model="ruleForm.diyaq.dymj"
144 disabled></el-input> 146 disabled
145 <el-select disabled v-model="ruleForm.diyaq.mjdw" style="width: 68px"> 147 ></el-input>
148 <el-select
149 disabled
150 v-model="ruleForm.diyaq.mjdw"
151 style="width: 68px"
152 >
146 <el-option 153 <el-option
147 v-for="item in dictData['A7']" 154 v-for="item in dictData['A7']"
148 :key="item.dcode" 155 :key="item.dcode"
149 :label="item.dname" 156 :label="item.dname"
150 :value="item.dcode"> 157 :value="item.dcode"
158 >
151 </el-option> 159 </el-option>
152 </el-select> 160 </el-select>
153 </div> 161 </div>
...@@ -158,18 +166,19 @@ ...@@ -158,18 +166,19 @@
158 <el-col :span="8"> 166 <el-col :span="8">
159 <el-form-item 167 <el-form-item
160 label="是否禁止或者限制转让的约定:" 168 label="是否禁止或者限制转让的约定:"
161 label-width="200px"> 169 label-width="200px"
170 >
162 <el-radio-group 171 <el-radio-group
163 v-model="ruleForm.diyaq.sfczjzhxz" 172 v-model="ruleForm.diyaq.sfczjzhxz"
164 :disabled="!viewEdit || isJfOperation"> 173 :disabled="!viewEdit || isJfOperation"
174 >
165 <el-radio label="1"></el-radio> 175 <el-radio label="1"></el-radio>
166 <el-radio label="0"></el-radio> 176 <el-radio label="0"></el-radio>
167 </el-radio-group> 177 </el-radio-group>
168 </el-form-item> 178 </el-form-item>
169 </el-col> 179 </el-col>
170 <el-col :span="8"> 180 <el-col :span="8">
171 <el-form-item 181 <el-form-item label="是否预告登记:">
172 label="是否预告登记:">
173 <el-radio-group v-model="ruleForm.diyaq.sfygdj" disabled> 182 <el-radio-group v-model="ruleForm.diyaq.sfygdj" disabled>
174 <el-radio label="1"></el-radio> 183 <el-radio label="1"></el-radio>
175 <el-radio label="0"></el-radio> 184 <el-radio label="0"></el-radio>
...@@ -180,27 +189,31 @@ ...@@ -180,27 +189,31 @@
180 <el-form-item label="债务履行期限:"> 189 <el-form-item label="债务履行期限:">
181 <el-input 190 <el-input
182 v-model="ruleForm.diyaq.dyqx" 191 v-model="ruleForm.diyaq.dyqx"
183 :disabled="!viewEdit || isJfOperation"></el-input> 192 :disabled="!viewEdit || isJfOperation"
193 ></el-input>
184 </el-form-item> 194 </el-form-item>
185 </el-col> 195 </el-col>
186 </el-row> 196 </el-row>
187 197
188 <el-row :gutter="10"> 198 <el-row :gutter="10">
189 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> 199 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
190 <el-form-item label="被担保主债权数额:"> 200 <el-form-item label="被担保主债权数额:" prop="diyaq.bdbzzqse">
191 <div style="display: flex"> 201 <div style="display: flex">
192 <el-input 202 <el-input
193 v-model="ruleForm.diyaq.bdbzzqse" 203 v-model="ruleForm.diyaq.bdbzzqse"
194 :disabled="!viewEdit || isJfOperation" 204 :disabled="!viewEdit || isJfOperation"
195 style="width: 500%"></el-input> 205 style="width: 500%"
206 ></el-input>
196 <el-select 207 <el-select
197 v-model="ruleForm.diyaq.jedw" 208 v-model="ruleForm.diyaq.jedw"
198 :disabled="!viewEdit || isJfOperation"> 209 :disabled="!viewEdit || isJfOperation"
210 >
199 <el-option 211 <el-option
200 v-for="item in dictData['A57']" 212 v-for="item in dictData['A57']"
201 :key="item.dcode" 213 :key="item.dcode"
202 :label="item.dname" 214 :label="item.dname"
203 :value="item.dcode"> 215 :value="item.dcode"
216 >
204 </el-option> 217 </el-option>
205 </el-select> 218 </el-select>
206 </div> 219 </div>
...@@ -208,28 +221,47 @@ ...@@ -208,28 +221,47 @@
208 </el-col> 221 </el-col>
209 222
210 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> 223 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
211 <el-form-item label="最高债权额:"> 224 <el-form-item label="最高债权额:" prop="diyaq.zgzqse">
225 <div style="display: flex">
212 <el-input 226 <el-input
213 v-model="ruleForm.diyaq.zgzqse" 227 v-model="ruleForm.diyaq.zgzqse"
214 :disabled="!viewEdit || isJfOperation"></el-input> 228 :disabled="!viewEdit || isJfOperation"
229 style="width: 500%"
230 ></el-input>
231 <el-select
232 v-model="ruleForm.diyaq.jedw"
233 :disabled="!viewEdit || isJfOperation"
234 >
235 <el-option
236 v-for="item in dictData['A57']"
237 :key="item.dcode"
238 :label="item.dname"
239 :value="item.dcode"
240 >
241 </el-option>
242 </el-select>
243 </div>
215 </el-form-item> 244 </el-form-item>
216 </el-col> 245 </el-col>
217 246
218 <el-col :span="8"> 247 <el-col :span="8">
219 <el-form-item label="债务履行起始时间:"> 248 <el-form-item label="债务履行起始时间:" prop="diyaq.zwlxqssj">
220 <el-date-picker 249 <el-date-picker
221 v-model="ruleForm.diyaq.zwlxqssj" 250 v-model="ruleForm.diyaq.zwlxqssj"
222 :disabled="!viewEdit || isJfOperation" 251 :disabled="!viewEdit || isJfOperation"
223 type="date"> 252 type="date"
253 >
224 </el-date-picker> 254 </el-date-picker>
225 </el-form-item> 255 </el-form-item>
226 </el-col> 256 </el-col>
227 <el-col :span="8"> 257 <el-col :span="8">
228 <el-form-item label="债务履行结束时间:"> 258 <el-form-item label="债务履行结束时间:" prop="diyaq.zwlxjssj">
229 <el-date-picker class="width100" 259 <el-date-picker
260 class="width100"
230 v-model="ruleForm.diyaq.zwlxjssj" 261 v-model="ruleForm.diyaq.zwlxjssj"
231 :disabled="!viewEdit || isJfOperation" 262 :disabled="!viewEdit || isJfOperation"
232 type="date"> 263 type="date"
264 >
233 </el-date-picker> 265 </el-date-picker>
234 </el-form-item> 266 </el-form-item>
235 </el-col> 267 </el-col>
...@@ -240,8 +272,9 @@ ...@@ -240,8 +272,9 @@
240 <el-input 272 <el-input
241 v-model="ruleForm.diyaq.dbfw" 273 v-model="ruleForm.diyaq.dbfw"
242 :disabled=" 274 :disabled="
243 (ruleForm.sldy.djlx == '300' || !viewEdit) || isJfOperation 275 ruleForm.sldy.djlx == '300' || !viewEdit || isJfOperation
244 "></el-input> 276 "
277 ></el-input>
245 </el-form-item> 278 </el-form-item>
246 </el-col> 279 </el-col>
247 </el-row> 280 </el-row>
...@@ -250,7 +283,8 @@ ...@@ -250,7 +283,8 @@
250 <el-form-item label="最高债权确定事实和数额:"> 283 <el-form-item label="最高债权确定事实和数额:">
251 <el-input 284 <el-input
252 v-model="ruleForm.diyaq.zgzqqdss" 285 v-model="ruleForm.diyaq.zgzqqdss"
253 :disabled="!viewEdit || isJfOperation"></el-input> 286 :disabled="!viewEdit || isJfOperation"
287 ></el-input>
254 </el-form-item> 288 </el-form-item>
255 </el-col> 289 </el-col>
256 </el-row> 290 </el-row>
...@@ -262,7 +296,8 @@ ...@@ -262,7 +296,8 @@
262 maxlength="500" 296 maxlength="500"
263 show-word-limit 297 show-word-limit
264 v-model="ruleForm.diyaq.fj" 298 v-model="ruleForm.diyaq.fj"
265 :disabled="!viewEdit || isJfOperation"></el-input> 299 :disabled="!viewEdit || isJfOperation"
300 ></el-input>
266 </el-form-item> 301 </el-form-item>
267 </el-col> 302 </el-col>
268 </el-row> 303 </el-row>
...@@ -276,7 +311,8 @@ ...@@ -276,7 +311,8 @@
276 <el-form-item label="共有方式:"> 311 <el-form-item label="共有方式:">
277 <el-radio-group 312 <el-radio-group
278 :disabled="!viewEdit" 313 :disabled="!viewEdit"
279 v-model="ruleForm.sldy.gyfs"> 314 v-model="ruleForm.sldy.gyfs"
315 >
280 <el-radio label="0">单独所有</el-radio> 316 <el-radio label="0">单独所有</el-radio>
281 <el-radio label="1">共同共有</el-radio> 317 <el-radio label="1">共同共有</el-radio>
282 <el-radio label="2">按份所有</el-radio> 318 <el-radio label="2">按份所有</el-radio>
...@@ -289,7 +325,8 @@ ...@@ -289,7 +325,8 @@
289 <el-radio-group 325 <el-radio-group
290 v-model="ruleForm.sldy.sqfbcz" 326 v-model="ruleForm.sldy.sqfbcz"
291 :disabled="!viewEdit" 327 :disabled="!viewEdit"
292 @input="updaterow()"> 328 @input="updaterow()"
329 >
293 <el-radio :label="1"></el-radio> 330 <el-radio :label="1"></el-radio>
294 <el-radio :label="0"></el-radio> 331 <el-radio :label="0"></el-radio>
295 </el-radio-group> 332 </el-radio-group>
...@@ -297,17 +334,20 @@ ...@@ -297,17 +334,20 @@
297 </el-col> 334 </el-col>
298 <el-col 335 <el-col
299 :span="6" 336 :span="6"
300 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 337 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
338 >
301 <el-form-item label="持证人:"> 339 <el-form-item label="持证人:">
302 <el-select 340 <el-select
303 v-model="czr" 341 v-model="czr"
304 placeholder="持证人" 342 placeholder="持证人"
305 :disabled="!viewEdit"> 343 :disabled="!viewEdit"
344 >
306 <el-option 345 <el-option
307 v-for="(item,index) in czrOptions" 346 v-for="(item, index) in czrOptions"
308 :key="index" 347 :key="index"
309 :label="item.sqrmc" 348 :label="item.sqrmc"
310 :value="item.id"> 349 :value="item.id"
350 >
311 </el-option> 351 </el-option>
312 </el-select> 352 </el-select>
313 </el-form-item> 353 </el-form-item>
...@@ -317,7 +357,8 @@ ...@@ -317,7 +357,8 @@
317 :tableData="ruleForm.qlrList" 357 :tableData="ruleForm.qlrList"
318 :disabled="viewEdit" 358 :disabled="viewEdit"
319 @upDateQlrxxList="upDateQlrxxList" 359 @upDateQlrxxList="upDateQlrxxList"
320 :gyfs="ruleForm.sldy.gyfs" /> 360 :gyfs="ruleForm.sldy.gyfs"
361 />
321 <div class="slxx_title title-block"> 362 <div class="slxx_title title-block">
322 抵押人信息 363 抵押人信息
323 <div class="triangle"></div> 364 <div class="triangle"></div>
...@@ -325,7 +366,8 @@ ...@@ -325,7 +366,8 @@
325 <qlrCommonTable 366 <qlrCommonTable
326 :tableData="ruleForm.ywrList" 367 :tableData="ruleForm.ywrList"
327 :disabled="viewEdit" 368 :disabled="viewEdit"
328 @upDateQlrxxList="upDateYwrxxList" /> 369 @upDateQlrxxList="upDateYwrxxList"
370 />
329 371
330 <div class="slxx_title title-block"> 372 <div class="slxx_title title-block">
331 登记原因 373 登记原因
...@@ -336,12 +378,14 @@ ...@@ -336,12 +378,14 @@
336 <el-form-item 378 <el-form-item
337 v-if="ruleForm.sldy.djlx == '400'" 379 v-if="ruleForm.sldy.djlx == '400'"
338 label="注销抵押原因:" 380 label="注销抵押原因:"
339 prop="djyy"> 381 prop="diyaq.zxdyyy"
382 >
340 <el-input 383 <el-input
341 class="textArea" 384 class="textArea"
342 type="textarea" 385 type="textarea"
343 :disabled="!viewEdit" 386 :disabled="!viewEdit"
344 v-model="ruleForm.diyaq.zxdyyy"> 387 v-model="ruleForm.diyaq.zxdyyy"
388 >
345 </el-input> 389 </el-input>
346 </el-form-item> 390 </el-form-item>
347 <el-form-item v-else label="登记原因:" prop="diyaq.djyy"> 391 <el-form-item v-else label="登记原因:" prop="diyaq.djyy">
...@@ -351,7 +395,8 @@ ...@@ -351,7 +395,8 @@
351 maxlength="500" 395 maxlength="500"
352 show-word-limit 396 show-word-limit
353 :disabled="!viewEdit" 397 :disabled="!viewEdit"
354 v-model="ruleForm.diyaq.djyy"> 398 v-model="ruleForm.diyaq.djyy"
399 >
355 </el-input> 400 </el-input>
356 </el-form-item> 401 </el-form-item>
357 </el-col> 402 </el-col>
...@@ -366,58 +411,23 @@ ...@@ -366,58 +411,23 @@
366 </div> 411 </div>
367 </template> 412 </template>
368 <script> 413 <script>
369 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 414 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
370 import { Init, saveData } from "@/api/workflow/diyaqFlow.js"; 415 import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
371 import { mapGetters } from "vuex"; 416 import { formValidate } from "./slxxValidate";
372 export default { 417 import { mapGetters } from "vuex";
373 mounted () { 418 export default {
374 let that = this 419 mounted() {
375 this.loading = true 420 this.initData();
376 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
377 this.propsParam = this.$attrs;
378 var formdata = new FormData();
379 if (this.propsParam.djlx == "400") {
380 this.isJfOperation = true;
381 }
382 formdata.append("bsmSldy", this.propsParam.bsmSldy);
383 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
384 formdata.append("djlx", this.propsParam.djlx);
385 formdata.append("isEdit", this.viewEdit);
386 Init(formdata).then((res) => {
387 setTimeout(() => {
388 this.loading = false
389 }, 200)
390 if (res.code === 200 && res.result) {
391 that.ruleForm = res.result;
392 that.ruleForm.qlrList.forEach((item) => {
393 item.id = item.bsmSqr
394 if (item.sfczr == '1') {
395 that.czr = item.bsmSqr
396 }
397 })
398 that.czrOptions = this.ruleForm.qlrList;
399 that.isSave = that.viewEdit
400 } else {
401 that.isSave = false
402 that.$confirm(res.message, '提示', {
403 cancelButtonText: '取消',
404 showConfirmButton: false,
405 type: 'warning'
406 })
407 }
408 }).catch(() => {
409 this.loading = false
410 })
411 }, 421 },
412 components: { qlrCommonTable }, 422 components: { qlrCommonTable },
413 computed: { 423 computed: {
414 ...mapGetters(["dictData", "flag"]), 424 ...mapGetters(["dictData", "flag"]),
415 }, 425 },
416 data () { 426 data() {
417 return { 427 return {
418 isSave: true, 428 isSave: true,
419 // 键名转换,方法默认是label和children进行树状渲染 429 // 键名转换,方法默认是label和children进行树状渲染
420 normalizer (node) { 430 normalizer(node) {
421 //方法 431 //方法
422 if (node.children == null || node.children == "null") { 432 if (node.children == null || node.children == "null") {
423 delete node.children; 433 delete node.children;
...@@ -442,19 +452,57 @@ ...@@ -442,19 +452,57 @@
442 isJfOperation: false, 452 isJfOperation: false,
443 //传递参数 453 //传递参数
444 propsParam: {}, 454 propsParam: {},
445 rules: { 455 rules: {},
446 'diyaq.djyy': [ 456 };
447 { required: true, message: '请输入登记原因', trigger: 'blur' } 457 },
448 ] 458 methods: {
459 initData() {
460 let that = this;
461 this.loading = true;
462 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
463 this.propsParam = this.$attrs;
464 var formdata = new FormData();
465 if (this.propsParam.djlx == "400") {
466 this.isJfOperation = true;
467 }
468 formdata.append("bsmSldy", this.propsParam.bsmSldy);
469 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
470 formdata.append("djlx", this.propsParam.djlx);
471 formdata.append("isEdit", this.viewEdit);
472 Init(formdata)
473 .then((res) => {
474 setTimeout(() => {
475 this.loading = false;
476 }, 200);
477 if (res.code === 200 && res.result) {
478 that.ruleForm = res.result;
479 that.ruleForm.qlrList.forEach((item) => {
480 item.id = item.bsmSqr;
481 if (item.sfczr == "1") {
482 that.czr = item.bsmSqr;
449 } 483 }
484 });
485 that.czrOptions = this.ruleForm.qlrList;
486 that.isSave = that.viewEdit;
487 that.rules = formValidate(that.ruleForm.sldy.djlx,that.ruleForm.diyaq.dyfs);
488 } else {
489 that.isSave = false;
490 that.$confirm(res.message, "提示", {
491 cancelButtonText: "取消",
492 showConfirmButton: false,
493 type: "warning",
494 });
450 } 495 }
496 })
497 .catch(() => {
498 this.loading = false;
499 });
451 }, 500 },
452 methods: {
453 /** 501 /**
454 * @description: onSubmitClick 502 * @description: onSubmitClick
455 * @author: renchao 503 * @author: renchao
456 */ 504 */
457 onSubmitClick () { 505 onSubmitClick() {
458 let that = this; 506 let that = this;
459 if (this.ruleForm.qlrList.length == 0) { 507 if (this.ruleForm.qlrList.length == 0) {
460 this.$message({ 508 this.$message({
...@@ -491,25 +539,25 @@ ...@@ -491,25 +539,25 @@
491 item.sfczr = "1"; 539 item.sfczr = "1";
492 }); 540 });
493 } else { 541 } else {
494 if (that.czr === '') { 542 if (that.czr === "") {
495 that.$message({ 543 that.$message({
496 showClose: true, 544 showClose: true,
497 message: "请选择持证人", 545 message: "请选择持证人",
498 type: "error" 546 type: "error",
499 }); 547 });
500 return false; 548 return false;
501 } 549 }
502 this.ruleForm.qlrList.forEach((item, index) => { 550 this.ruleForm.qlrList.forEach((item, index) => {
503 if (item.id == that.czr) { 551 if (item.id == that.czr) {
504 item.sfczr = "1" 552 item.sfczr = "1";
505 } else { 553 } else {
506 item.sfczr = "0" 554 item.sfczr = "0";
507 } 555 }
508 }) 556 });
509 } 557 }
510 } 558 }
511 559
512 this.$refs['ruleForm'].validate((valid) => { 560 this.$refs["ruleForm"].validate((valid) => {
513 if (valid) { 561 if (valid) {
514 that.$store.dispatch("user/refreshPage", false); 562 that.$store.dispatch("user/refreshPage", false);
515 saveData(that.ruleForm, that.propsParam.djlx).then((res) => { 563 saveData(that.ruleForm, that.propsParam.djlx).then((res) => {
...@@ -527,44 +575,42 @@ ...@@ -527,44 +575,42 @@
527 type: "error", 575 type: "error",
528 }); 576 });
529 } 577 }
530 }) 578 });
531
532 } else { 579 } else {
533 this.$message({ 580 that.$message({
534 showClose: true, 581 showClose: true,
535 message: "请输入登记原因", 582 message: "请输入红框内的相关信息!",
536 type: "error" 583 type: "error",
537 }) 584 });
538 return false 585 return false;
539 } 586 }
540 }) 587 });
541 }, 588 },
542 /** 589 /**
543 * @description: 更新权利人信息 590 * @description: 更新权利人信息
544 * @param {*} val 591 * @param {*} val
545 * @author: renchao 592 * @author: renchao
546 */ 593 */
547 upDateQlrxxList (val) { 594 upDateQlrxxList(val) {
548 if (!_.isEqual(val, this.ruleForm.qlrList)) { 595 if (!_.isEqual(val, this.ruleForm.qlrList)) {
549 this.ruleForm.qlrList = _.cloneDeep(val); 596 this.ruleForm.qlrList = _.cloneDeep(val);
550 this.czrOptions = this.ruleForm.qlrList; 597 this.czrOptions = this.ruleForm.qlrList;
551 } 598 }
552 this.num = 0 599 this.num = 0;
553 this.ruleForm.qlrList.forEach(item => { 600 this.ruleForm.qlrList.forEach((item) => {
554 if (item.id == this.czr) { 601 if (item.id == this.czr) {
555 this.num++ 602 this.num++;
556 } 603 }
557 }) 604 });
558 if (this.num == 0) { 605 if (this.num == 0) {
559 this.czr = '' 606 this.czr = "";
560 } 607 }
561
562 }, 608 },
563 /** 609 /**
564 * @description: 是否持证人变化 610 * @description: 是否持证人变化
565 * @author: renchao 611 * @author: renchao
566 */ 612 */
567 updaterow () { 613 updaterow() {
568 this.czr = ""; 614 this.czr = "";
569 }, 615 },
570 /** 616 /**
...@@ -572,15 +618,16 @@ ...@@ -572,15 +618,16 @@
572 * @param {*} val 618 * @param {*} val
573 * @author: renchao 619 * @author: renchao
574 */ 620 */
575 upDateYwrxxList (val) { 621 upDateYwrxxList(val) {
576 if (!_.isEqual(val, this.ruleForm.ywrList)) { 622 if (!_.isEqual(val, this.ruleForm.ywrList)) {
577 this.ruleForm.ywrList = _.cloneDeep(val); 623 this.ruleForm.ywrList = _.cloneDeep(val);
578 } 624 }
579 }, /** 625 }
626 /**
580 * @description: compare 627 * @description: compare
581 * @author: renchao 628 * @author: renchao
582 */ 629 */,
583 compare () { 630 compare() {
584 this.$popupDialog( 631 this.$popupDialog(
585 this.ruleForm.qlxx.qllxmc, 632 this.ruleForm.qlxx.qllxmc,
586 "registerBook/comparison", 633 "registerBook/comparison",
...@@ -593,9 +640,10 @@ ...@@ -593,9 +640,10 @@
593 ); 640 );
594 }, 641 },
595 }, 642 },
596 }; 643 };
597 </script> 644 </script>
598 <style scoped lang="scss"> 645 <style scoped lang="scss">
599 @import "~@/styles/public.scss"; 646 @import "~@/styles/public.scss";
600 @import "~@/styles/slxx/slxx.scss"; 647 @import "~@/styles/slxx/slxx.scss";
601 </style> 648 </style>
649 ./slxxValidate
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx,dyfs) {
7 var formRules={
8 'diyaq.djyy': [
9 { required: false, message: '请输入登记原因', trigger: 'blur' }
10 ],
11 'diyaq.zxdyyy': [
12 { required: false, message: '请输入注销登记原因', trigger: 'blur' }
13 ],
14 'diyaq.zwlxqssj': [
15 { required: false, message: '请选择债务履行起始时间', trigger: 'blur' }
16 ],
17 'diyaq.zwlxjssj': [
18 { required: false, message: '请选择债务履行起始时间', trigger: 'blur' }
19 ],
20 'diyaq.bdbzzqse': [
21 { required: false, message: '请输入被担保主债权数额', trigger: 'blur' }
22 ],
23 'diyaq.zgzqse': [
24 { required: false, message: '请输入最高债权额', trigger: 'blur' }
25 ]
26 }
27 if (djlx=="400") {
28 formRules["diyaq.zxdyyy"][0].required=true;
29 }else{
30 if(dyfs=="1"){
31 formRules["diyaq.bdbzzqse"][0].required=true;
32 }else{
33 formRules["diyaq.zgzqse"][0].required=true;
34 }
35 formRules["diyaq.zwlxqssj"][0].required=true;
36 formRules["diyaq.zwlxjssj"][0].required=true;
37 formRules["diyaq.djyy"][0].required=true;
38 }
39 return formRules;
40 }
41
42 /**
43 * @description: 首次登记效验
44 * @param {*} data
45 * @author: renchao
46 */
47 export function fristValidate (formRules,dyfs) {
48
49 return formRules;
50 }
51
52
53 /**
54 * @description: 转移登记效验
55 * @param {*} data
56 * @author: renchao
57 */
58 export function transferValidate (data) {
59
60 }
61
62 /**
63 * @description: 变更登记效验
64 * @param {*} data
65 * @author: renchao
66 */
67 export function changeValidate (data) {
68
69 }
70
71 /**
72 * @description: 注销登记效验
73 * @param {*} data
74 * @author: renchao
75 */
76 export function logoutValidate (data) {
77
78 }
79
80 /**
81 * @description: 更正登记效验
82 * @param {*} data
83 * @author: renchao
84 */
85 export function riviseValidate (data) {
86
87 }
88
89 /**
90 * @description: 补证登记效验
91 * @param {*} data
92 * @author: renchao
93 */
94 export function renewalValidate (data) {
95
96 }
97
98 /**
99 * @description: 换证登记效验
100 * @param {*} data
101 * @author: renchao
102 */
103 export function replaceValidate (data) {
104
105 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -83,16 +83,16 @@ ...@@ -83,16 +83,16 @@
83 </el-form-item> 83 </el-form-item>
84 </el-col> 84 </el-col>
85 <el-col :span="8"> 85 <el-col :span="8">
86 <el-form-item label="坐落:"> 86 <el-form-item label="坐落:" prop="sldy.zl">
87 <el-input maxlength="100" disabled v-model="ruleForm.sldy.zl"></el-input> 87 <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input>
88 </el-form-item> 88 </el-form-item>
89 </el-col> 89 </el-col>
90 </el-row> 90 </el-row>
91 <el-row :gutter="10" v-if="ruleForm.fdcq1"> 91 <el-row :gutter="10" v-if="ruleForm.fdcq1">
92 <el-col :span="8"> 92 <el-col :span="8">
93 <el-form-item label="宗地面积:"> 93 <el-form-item label="宗地面积:" prop="zdjbxx.zdmj">
94 <div class="flex"> 94 <div class="flex">
95 <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> 95 <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input>
96 <el-select 96 <el-select
97 disabled 97 disabled
98 v-model="ruleForm.zdjbxx.mjdw" 98 v-model="ruleForm.zdjbxx.mjdw"
...@@ -107,13 +107,21 @@ ...@@ -107,13 +107,21 @@
107 </el-form-item> 107 </el-form-item>
108 </el-col> 108 </el-col>
109 <el-col :span="8"> 109 <el-col :span="8">
110 <el-form-item label="土地性质:"> 110 <el-form-item label="土地性质:" prop="zdjbxx.qlxz">
111 <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input> 111 <treeselect
112 :disabled="!viewEdit"
113 v-model="ruleForm.zdjbxx.qlxz"
114 noOptionsText="暂无数据"
115 placeholder=""
116 :normalizer="normalizer"
117 :default-expand-level="1"
118 :show-count="true"
119 :options="dictData['A9']" />
112 </el-form-item> 120 </el-form-item>
113 </el-col> 121 </el-col>
114 <el-col :span="8"> 122 <el-col :span="8">
115 <el-form-item label="土地使用权人:"> 123 <el-form-item label="土地使用权人:">
116 <el-input disabled v-model="ruleForm.fdcq1.tdsyqr"></el-input> 124 <el-input :disabled="!viewEdit" v-model="ruleForm.fdcq1.tdsyqr"></el-input>
117 </el-form-item> 125 </el-form-item>
118 </el-col> 126 </el-col>
119 </el-row> 127 </el-row>
...@@ -157,8 +165,7 @@ ...@@ -157,8 +165,7 @@
157 </el-form-item> 165 </el-form-item>
158 </el-col> 166 </el-col>
159 <el-col :span="8"> 167 <el-col :span="8">
160 168 <el-form-item label="房地产交易价格:" prop="fdcq1.fdcjyjg">
161 <el-form-item label="房地产交易价格:">
162 <div class="flex"> 169 <div class="flex">
163 <el-input 170 <el-input
164 maxlength="11" 171 maxlength="11"
...@@ -176,6 +183,18 @@ ...@@ -176,6 +183,18 @@
176 </div> 183 </div>
177 </el-form-item> 184 </el-form-item>
178 </el-col> 185 </el-col>
186 <el-col :span="8">
187 <el-form-item label="产权来源:">
188 <el-select v-model="ruleForm.fdcq1.cqlybm" :disabled="!viewEdit">
189 <el-option
190 v-for="item in dictData['cqly']"
191 :key="item.dcode"
192 :label="item.dname"
193 :value="item.dcode">
194 </el-option>
195 </el-select>
196 </el-form-item>
197 </el-col>
179 </el-row> 198 </el-row>
180 <el-row :gutter="10"> 199 <el-row :gutter="10">
181 <el-col :span="24"> 200 <el-col :span="24">
...@@ -274,7 +293,7 @@ ...@@ -274,7 +293,7 @@
274 </div> 293 </div>
275 <el-row :gutter="10"> 294 <el-row :gutter="10">
276 <el-col> 295 <el-col>
277 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="fdcq1.djyy"> 296 <el-form-item label="登记原因:" prop="fdcq1.djyy">
278 <el-input 297 <el-input
279 class="textArea" 298 class="textArea"
280 type="textarea" 299 type="textarea"
...@@ -303,11 +322,11 @@ ...@@ -303,11 +322,11 @@
303 import tdytTable from "@/views/workflow/components/tdytTable"; 322 import tdytTable from "@/views/workflow/components/tdytTable";
304 import { Init, saveData } from "@/api/workflow/fwsyq1Flow.js"; 323 import { Init, saveData } from "@/api/workflow/fwsyq1Flow.js";
305 import { mapGetters } from "vuex"; 324 import { mapGetters } from "vuex";
325 import { formValidate } from "./slxxValidate";
306 export default { 326 export default {
307 mixins: [ywmix], 327 mixins: [ywmix],
308 mounted () { 328 mounted () {
309 let that = this 329 let that = this;
310 // this.loading = true
311 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 330 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
312 this.propsParam = this.$attrs; 331 this.propsParam = this.$attrs;
313 var formdata = new FormData(); 332 var formdata = new FormData();
...@@ -330,7 +349,8 @@ ...@@ -330,7 +349,8 @@
330 } 349 }
331 }); 350 });
332 that.czrOptions = that.ruleForm.qlrList; 351 that.czrOptions = that.ruleForm.qlrList;
333 that.isSave = this.viewEdit 352 that.isSave = this.viewEdit;
353 this.rules = formValidate(this.ruleForm.sldy.djlx);
334 } else { 354 } else {
335 that.isSave = false 355 that.isSave = false
336 that.$confirm(res.message, '提示', { 356 that.$confirm(res.message, '提示', {
...@@ -349,6 +369,16 @@ ...@@ -349,6 +369,16 @@
349 }, 369 },
350 data () { 370 data () {
351 return { 371 return {
372 normalizer (node) {
373 if (node.children == null || node.children == "null") {
374 delete node.children;
375 }
376 return {
377 id: node.dcode,
378 label: node.dname,
379 children: node.children,
380 };
381 },
352 isSave: true, 382 isSave: true,
353 loading: false, 383 loading: false,
354 disabled: true, 384 disabled: true,
...@@ -379,11 +409,7 @@ ...@@ -379,11 +409,7 @@
379 propsParam: this.$attrs, 409 propsParam: this.$attrs,
380 //表单是否可操作 410 //表单是否可操作
381 viewEdit: false, 411 viewEdit: false,
382 rules: { 412 rules: {}
383 'fdcq1.djyy': [
384 { required: true, message: '请输入登记原因', trigger: 'blur' }
385 ]
386 }
387 } 413 }
388 }, 414 },
389 methods: { 415 methods: {
...@@ -542,7 +568,7 @@ ...@@ -542,7 +568,7 @@
542 } else { 568 } else {
543 that.$message({ 569 that.$message({
544 showClose: true, 570 showClose: true,
545 message: "请输入登记原因", 571 message: "请输入红框内的相关信息!",
546 type: "error" 572 type: "error"
547 }) 573 })
548 return false 574 return false
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 var formRules={
8 'sldy.zl': [
9 { required: true, message: '坐落:', trigger: 'blur' }
10 ],
11 'zdjbxx.zdmj': [
12 { required: true, message: '宗地面积:', trigger: 'blur' }
13 ],
14 'zdjbxx.qlxz': [
15 { required: true, message: '土地性质:', trigger: 'blur' }
16 ],
17 'fdcq1.djyy': [
18 { required: true, message: '登记原因:', trigger: 'blur' }
19 ],
20 'fdcq1.fdcjyjg': [
21 { required: false, message: '房地产交易价格:', trigger: 'blur' }
22 ]
23 }
24 if (djlx=="200") {
25 formRules["fdcq1.fdcjyjg"][0].required=true;
26 }
27 return formRules;
28 }
29
30 /**
31 * @description: 首次登记效验
32 * @param {*} data
33 * @author: renchao
34 */
35 export function fristValidate () {
36 }
37
38
39 /**
40 * @description: 转移登记效验
41 * @param {*} data
42 * @author: renchao
43 */
44 export function transferValidate (data) {
45
46 }
47
48 /**
49 * @description: 变更登记效验
50 * @param {*} data
51 * @author: renchao
52 */
53 export function changeValidate (data) {
54
55 }
56
57 /**
58 * @description: 注销登记效验
59 * @param {*} data
60 * @author: renchao
61 */
62 export function logoutValidate (data) {
63
64 }
65
66 /**
67 * @description: 更正登记效验
68 * @param {*} data
69 * @author: renchao
70 */
71 export function riviseValidate (data) {
72
73 }
74
75 /**
76 * @description: 补证登记效验
77 * @param {*} data
78 * @author: renchao
79 */
80 export function renewalValidate (data) {
81
82 }
83
84 /**
85 * @description: 换证登记效验
86 * @param {*} data
87 * @author: renchao
88 */
89 export function replaceValidate (data) {
90
91 }
...\ No newline at end of file ...\ No newline at end of file
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-03-04 14:16:21 4 * @LastEditTime: 2024-03-26 09:51:36
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -83,14 +83,14 @@ ...@@ -83,14 +83,14 @@
83 </el-form-item> 83 </el-form-item>
84 </el-col> 84 </el-col>
85 <el-col :span="8"> 85 <el-col :span="8">
86 <el-form-item label="坐落:"> 86 <el-form-item label="坐落:" prop="sldy.zl">
87 <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input> 87 <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input>
88 </el-form-item> 88 </el-form-item>
89 </el-col> 89 </el-col>
90 </el-row> 90 </el-row>
91 <el-row :gutter="10" v-if="ruleForm.fdcq2"> 91 <el-row :gutter="10" v-if="ruleForm.fdcq2">
92 <el-col :span="8"> 92 <el-col :span="8">
93 <el-form-item label="宗地面积:"> 93 <el-form-item label="宗地面积:" prop="zdjbxx.zdmj">
94 <div class="flex"> 94 <div class="flex">
95 <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input> 95 <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input>
96 <el-select 96 <el-select
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
113 </el-form-item> 113 </el-form-item>
114 </el-col> 114 </el-col>
115 <el-col :span="8"> 115 <el-col :span="8">
116 <el-form-item label="土地性质:"> 116 <el-form-item label="土地性质:" prop="fdcq2.tdxz">
117 <treeselect 117 <treeselect
118 :disabled="!viewEdit" 118 :disabled="!viewEdit"
119 v-model="ruleForm.fdcq2.tdxz" 119 v-model="ruleForm.fdcq2.tdxz"
...@@ -122,6 +122,7 @@ ...@@ -122,6 +122,7 @@
122 :normalizer="normalizer" 122 :normalizer="normalizer"
123 :default-expand-level="1" 123 :default-expand-level="1"
124 :show-count="true" 124 :show-count="true"
125 @input="addrow(ruleForm.fdcq2.tdxz)"
125 :options="dictData['A9']" /> 126 :options="dictData['A9']" />
126 </el-form-item> 127 </el-form-item>
127 </el-col> 128 </el-col>
...@@ -166,7 +167,7 @@ ...@@ -166,7 +167,7 @@
166 </el-form-item> 167 </el-form-item>
167 </el-col> 168 </el-col>
168 <el-col :span="8"> 169 <el-col :span="8">
169 <el-form-item label="房屋性质:"> 170 <el-form-item label="房屋性质:" prop="fdcq2.fwxz">
170 <el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit"> 171 <el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit">
171 <el-option 172 <el-option
172 v-for="item in dictData['A19']" 173 v-for="item in dictData['A19']"
...@@ -180,7 +181,7 @@ ...@@ -180,7 +181,7 @@
180 </el-row> 181 </el-row>
181 <el-row :gutter="10" v-if="ruleForm.qlxx"> 182 <el-row :gutter="10" v-if="ruleForm.qlxx">
182 <el-col :span="8"> 183 <el-col :span="8">
183 <el-form-item label="房屋用途:"> 184 <el-form-item label="房屋用途:" prop="fdcq2.ghyt">
184 <treeselect 185 <treeselect
185 v-model="ruleForm.fdcq2.ghyt" 186 v-model="ruleForm.fdcq2.ghyt"
186 :disabled="!viewEdit" 187 :disabled="!viewEdit"
...@@ -192,7 +193,7 @@ ...@@ -192,7 +193,7 @@
192 </el-form-item> 193 </el-form-item>
193 </el-col> 194 </el-col>
194 <el-col :span="8"> 195 <el-col :span="8">
195 <el-form-item label="房屋结构:"> 196 <el-form-item label="房屋结构:" prop="fdcq2.fwjg">
196 <el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit"> 197 <el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit">
197 <el-option 198 <el-option
198 v-for="item in dictData['A46']" 199 v-for="item in dictData['A46']"
...@@ -217,7 +218,7 @@ ...@@ -217,7 +218,7 @@
217 </el-row> 218 </el-row>
218 <el-row :gutter="10" v-if="ruleForm.qlxx"> 219 <el-row :gutter="10" v-if="ruleForm.qlxx">
219 <el-col :span="8"> 220 <el-col :span="8">
220 <el-form-item label="所在层:"> 221 <el-form-item label="所在层:" prop="fdcq2.szc">
221 <el-input 222 <el-input
222 maxlength="20" 223 maxlength="20"
223 v-model="ruleForm.fdcq2.szc" 224 v-model="ruleForm.fdcq2.szc"
...@@ -225,7 +226,7 @@ ...@@ -225,7 +226,7 @@
225 </el-form-item> 226 </el-form-item>
226 </el-col> 227 </el-col>
227 <el-col :span="8"> 228 <el-col :span="8">
228 <el-form-item label="总层数:"> 229 <el-form-item label="总层数:" prop="fdcq2.zcs">
229 <el-input 230 <el-input
230 maxlength="4" 231 maxlength="4"
231 :disabled="!viewEdit" 232 :disabled="!viewEdit"
...@@ -234,7 +235,7 @@ ...@@ -234,7 +235,7 @@
234 </el-form-item> 235 </el-form-item>
235 </el-col> 236 </el-col>
236 <el-col :span="8"> 237 <el-col :span="8">
237 <el-form-item label="房地产交易价格:"> 238 <el-form-item label="房地产交易价格:" prop="fdcq2.fdcjyjg">
238 <div class="flex"> 239 <div class="flex">
239 <el-input 240 <el-input
240 maxlength="11" 241 maxlength="11"
...@@ -256,7 +257,7 @@ ...@@ -256,7 +257,7 @@
256 </el-row> 257 </el-row>
257 <el-row :gutter="10" v-if="ruleForm.fdcq2"> 258 <el-row :gutter="10" v-if="ruleForm.fdcq2">
258 <el-col :span="8"> 259 <el-col :span="8">
259 <el-form-item label="建筑面积:"> 260 <el-form-item label="建筑面积:" prop="fdcq2.jzmj">
260 <div class="flex"> 261 <div class="flex">
261 <el-input 262 <el-input
262 maxlength="12" 263 maxlength="12"
...@@ -312,6 +313,18 @@ ...@@ -312,6 +313,18 @@
312 </div> 313 </div>
313 </el-form-item> 314 </el-form-item>
314 </el-col> 315 </el-col>
316 <el-col :span="8">
317 <el-form-item label="产权来源:">
318 <el-select v-model="ruleForm.fdcq2.cqlybm" :disabled="!viewEdit">
319 <el-option
320 v-for="item in dictData['cqly']"
321 :key="item.dcode"
322 :label="item.dname"
323 :value="item.dcode">
324 </el-option>
325 </el-select>
326 </el-form-item>
327 </el-col>
315 </el-row> 328 </el-row>
316 <el-row :gutter="10"> 329 <el-row :gutter="10">
317 <el-col :span="24"> 330 <el-col :span="24">
...@@ -431,6 +444,7 @@ ...@@ -431,6 +444,7 @@
431 import tdytTable from "@/views/workflow/components/tdytTable"; 444 import tdytTable from "@/views/workflow/components/tdytTable";
432 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; 445 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
433 import { mapGetters } from "vuex"; 446 import { mapGetters } from "vuex";
447 import { formValidate } from "./slxxValidate";
434 export default { 448 export default {
435 mixins: [ywmix], 449 mixins: [ywmix],
436 mounted () { 450 mounted () {
...@@ -460,7 +474,8 @@ ...@@ -460,7 +474,8 @@
460 } 474 }
461 }) 475 })
462 that.czrOptions = that.ruleForm.qlrList; 476 that.czrOptions = that.ruleForm.qlrList;
463 that.isSave = that.viewEdit 477 that.isSave = that.viewEdit;
478 this.rules = formValidate(this.ruleForm.sldy.djlx);
464 } else { 479 } else {
465 that.isSave = false 480 that.isSave = false
466 that.$confirm(res.message, '提示', { 481 that.$confirm(res.message, '提示', {
...@@ -474,7 +489,7 @@ ...@@ -474,7 +489,7 @@
474 this.isSave = false 489 this.isSave = false
475 }) 490 })
476 }, 491 },
477 components: { qlrCommonTable, tdytTable, ywrCommonTable}, 492 components: { qlrCommonTable, tdytTable, ywrCommonTable },
478 computed: { 493 computed: {
479 ...mapGetters(["dictData", "flag"]), 494 ...mapGetters(["dictData", "flag"]),
480 }, 495 },
...@@ -547,14 +562,15 @@ ...@@ -547,14 +562,15 @@
547 }, 562 },
548 //传递参数 563 //传递参数
549 propsParam: {}, 564 propsParam: {},
550 rules: { 565 rules: {}
551 'fdcq2.djyy': [
552 { required: true, message: '请输入登记原因', trigger: 'blur' }
553 ]
554 }
555 } 566 }
556 }, 567 },
557 methods: { 568 methods: {
569 addrow (val) {
570 if (typeof (val) == "undefined") {
571 this.ruleForm.fdcq2.tdxz = null
572 }
573 },
558 /** 574 /**
559 * @description: dataSelectClick 575 * @description: dataSelectClick
560 * @author: renchao 576 * @author: renchao
...@@ -707,7 +723,7 @@ ...@@ -707,7 +723,7 @@
707 } else { 723 } else {
708 that.$message({ 724 that.$message({
709 showClose: true, 725 showClose: true,
710 message: "请输入登记原因", 726 message: "请输入红框内的相关信息!",
711 type: "error" 727 type: "error"
712 }) 728 })
713 return false 729 return false
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 var formRules={
8 'sldy.zl': [
9 { required: true, message: '坐落:', trigger: 'blur' }
10 ],
11 'zdjbxx.zdmj': [
12 { required: true, message: '宗地面积:', trigger: 'blur' }
13 ],
14 'fdcq2.tdxz': [
15 { required: false, message: '土地性质:', trigger: 'blur' }
16 ],
17 'fdcq2.fwxz': [
18 { required: true, message: '房屋性质:', trigger: 'blur' }
19 ],
20 'fdcq2.ghyt': [
21 { required: true, message: '房屋用途:', trigger: 'blur' }
22 ],
23 'fdcq2.fwjg': [
24 { required: true, message: '房屋结构:', trigger: 'blur' }
25 ],
26 'fdcq2.szc': [
27 { required: true, message: '所在层:', trigger: 'blur' }
28 ],
29 'fdcq2.zcs': [
30 { required: true, message: '总层数:', trigger: 'blur' }
31 ],
32 'fdcq2.jzmj': [
33 { required: true, message: '建筑面积:', trigger: 'blur' }
34 ],
35 'fdcq2.djyy': [
36 { required: true, message: '登记原因:', trigger: 'blur' }
37 ],
38 'fdcq2.fdcjyjg': [
39 { required: false, message: '房地产交易价格:', trigger: 'blur' }
40 ]
41 }
42 if (djlx=="200") {
43 formRules["fdcq2.fdcjyjg"][0].required=true;
44 }
45 return formRules;
46 }
47
48 /**
49 * @description: 首次登记效验
50 * @param {*} data
51 * @author: renchao
52 */
53 export function fristValidate () {
54 }
55
56
57 /**
58 * @description: 转移登记效验
59 * @param {*} data
60 * @author: renchao
61 */
62 export function transferValidate (data) {
63
64 }
65
66 /**
67 * @description: 变更登记效验
68 * @param {*} data
69 * @author: renchao
70 */
71 export function changeValidate (data) {
72
73 }
74
75 /**
76 * @description: 注销登记效验
77 * @param {*} data
78 * @author: renchao
79 */
80 export function logoutValidate (data) {
81
82 }
83
84 /**
85 * @description: 更正登记效验
86 * @param {*} data
87 * @author: renchao
88 */
89 export function riviseValidate (data) {
90
91 }
92
93 /**
94 * @description: 补证登记效验
95 * @param {*} data
96 * @author: renchao
97 */
98 export function renewalValidate (data) {
99
100 }
101
102 /**
103 * @description: 换证登记效验
104 * @param {*} data
105 * @author: renchao
106 */
107 export function replaceValidate (data) {
108
109 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -302,6 +302,7 @@ ...@@ -302,6 +302,7 @@
302 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; 302 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
303 import tdytTable from "@/views/workflow/components/tdytTable"; 303 import tdytTable from "@/views/workflow/components/tdytTable";
304 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 304 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
305 import { formValidate } from "./slxxValidate";
305 export default { 306 export default {
306 mixins: [ywmix], 307 mixins: [ywmix],
307 mounted () { 308 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -319,6 +319,7 @@ ...@@ -319,6 +319,7 @@
319 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; 319 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
320 import tdytTable from "@/views/workflow/components/tdytTable"; 320 import tdytTable from "@/views/workflow/components/tdytTable";
321 import { Init, saveData } from "@/api/workflow/lqFlow.js"; 321 import { Init, saveData } from "@/api/workflow/lqFlow.js";
322 import { formValidate } from "./slxxValidate";
322 export default { 323 export default {
323 mixins: [ywmix], 324 mixins: [ywmix],
324 mounted () { 325 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -334,6 +334,7 @@ ...@@ -334,6 +334,7 @@
334 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"; 334 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js";
335 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 335 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
336 import JtcyTable from "./JtcyTable"; 336 import JtcyTable from "./JtcyTable";
337 import { formValidate } from "./slxxValidate";
337 export default { 338 export default {
338 mixins: [ywmix], 339 mixins: [ywmix],
339 mounted () { 340 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -333,6 +333,7 @@ ...@@ -333,6 +333,7 @@
333 import tdytTable from "@/views/workflow/components/tdytTable"; 333 import tdytTable from "@/views/workflow/components/tdytTable";
334 import { Init, saveData } from "@/api/workflow/sllmFlow.js"; 334 import { Init, saveData } from "@/api/workflow/sllmFlow.js";
335 import { mapGetters } from "vuex"; 335 import { mapGetters } from "vuex";
336 import { formValidate } from "./slxxValidate";
336 export default { 337 export default {
337 mixins: [ywmix], 338 mixins: [ywmix],
338 mounted () { 339 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -353,6 +353,7 @@ ...@@ -353,6 +353,7 @@
353 import { Init, saveData } from "@/api/workflow/tdcbjyq.js"; 353 import { Init, saveData } from "@/api/workflow/tdcbjyq.js";
354 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 354 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
355 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; 355 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
356 import { formValidate } from "./slxxValidate";
356 export default { 357 export default {
357 mixins: [ywmix], 358 mixins: [ywmix],
358 mounted () { 359 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -367,6 +367,7 @@ ...@@ -367,6 +367,7 @@
367 import tdytTable from "@/views/workflow/components/tdytTable"; 367 import tdytTable from "@/views/workflow/components/tdytTable";
368 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 368 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
369 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; 369 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
370 import { formValidate } from "./slxxValidate";
370 export default { 371 export default {
371 mixins: [ywmix], 372 mixins: [ywmix],
372 components: { qlrCommonTable, tdytTable, ywrCommonTable }, 373 components: { qlrCommonTable, tdytTable, ywrCommonTable },
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -299,6 +299,7 @@ ...@@ -299,6 +299,7 @@
299 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; 299 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
300 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 300 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
301 import { mapGetters } from "vuex"; 301 import { mapGetters } from "vuex";
302 import { formValidate } from "./slxxValidate";
302 export default { 303 export default {
303 mixins: [ywmix], 304 mixins: [ywmix],
304 mounted () { 305 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -324,6 +324,7 @@ ...@@ -324,6 +324,7 @@
324 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; 324 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
325 import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; 325 import { Init, saveData } from "@/api/workflow/ygdyFlow.js";
326 import { mapGetters } from "vuex"; 326 import { mapGetters } from "vuex";
327 import { formValidate } from "./slxxValidate";
327 export default { 328 export default {
328 mixins: [ywmix], 329 mixins: [ywmix],
329 mounted () { 330 mounted () {
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -371,6 +371,7 @@ ...@@ -371,6 +371,7 @@
371 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 371 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
372 import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js"; 372 import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js";
373 import { mapGetters } from "vuex"; 373 import { mapGetters } from "vuex";
374 import { formValidate } from "./slxxValidate";
374 export default { 375 export default {
375 mounted () { 376 mounted () {
376 let that = this 377 let that = this
......
1 /**
2 * @description: 首次登记效验
3 * @param {*} data
4 * @author: renchao
5 */
6 export function formValidate (djlx) {
7 switch (djlx) {
8 case "100":
9 return fristValidate();
10 case "200":
11 return transferValidate();
12 case "300":
13 return changeValidate();
14 case "400":
15 return logoutValidate();
16 case "500":
17 return riviseValidate();
18 case "901":
19 return renewalValidate();
20 case "902":
21 return replaceValidate();
22 }
23 }
24
25 /**
26 * @description: 首次登记效验
27 * @param {*} data
28 * @author: renchao
29 */
30 export function fristValidate () {
31 var formRules={
32 'diyaq.djyy': [
33 { required: true, message: '请输入登记原因', trigger: 'blur' }
34 ]
35 }
36 return formRules;
37 }
38
39
40 /**
41 * @description: 转移登记效验
42 * @param {*} data
43 * @author: renchao
44 */
45 export function transferValidate (data) {
46
47 }
48
49 /**
50 * @description: 变更登记效验
51 * @param {*} data
52 * @author: renchao
53 */
54 export function changeValidate (data) {
55
56 }
57
58 /**
59 * @description: 注销登记效验
60 * @param {*} data
61 * @author: renchao
62 */
63 export function logoutValidate (data) {
64
65 }
66
67 /**
68 * @description: 更正登记效验
69 * @param {*} data
70 * @author: renchao
71 */
72 export function riviseValidate (data) {
73
74 }
75
76 /**
77 * @description: 补证登记效验
78 * @param {*} data
79 * @author: renchao
80 */
81 export function renewalValidate (data) {
82
83 }
84
85 /**
86 * @description: 换证登记效验
87 * @param {*} data
88 * @author: renchao
89 */
90 export function replaceValidate (data) {
91
92 }
...\ No newline at end of file ...\ No newline at end of file
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-18 13:20:32 4 * @LastEditTime: 2024-03-25 13:57:19
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -166,18 +166,8 @@ class data extends filter { ...@@ -166,18 +166,8 @@ class data extends filter {
166 render: (h, scope) => { 166 render: (h, scope) => {
167 return ( 167 return (
168 <div> 168 <div>
169 {/* <a v-on:click="doSomething"></a> */} 169 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
170 <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> 170 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
171 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
172 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
173 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
174 <span v-show={scope.row.cfzt == 1}>,已查封</span>
175 <span v-show={scope.row.diyizt == 1}>,已地役</span>
176 <span v-show={scope.row.yyzt == 1}>,异议中</span>
177 <span v-show={scope.row.xzzt == 1}>,已限制</span>
178 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
179 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
180 <span v-show={scope.row.dyzt == 1}>,已抵押</span>
181 </div> 171 </div>
182 ) 172 )
183 } 173 }
...@@ -193,6 +183,10 @@ class data extends filter { ...@@ -193,6 +183,10 @@ class data extends filter {
193 label: "权利类型", 183 label: "权利类型",
194 }, 184 },
195 { 185 {
186 prop: "bdcdyh",
187 label: "不动产单元号",
188 },
189 {
196 prop: "xmmc", 190 prop: "xmmc",
197 label: "项目名称", 191 label: "项目名称",
198 }, 192 },
......