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"
...@@ -264,18 +264,18 @@ ...@@ -264,18 +264,18 @@
264 v-model="ruleForm.cfdj.jfjg" 264 v-model="ruleForm.cfdj.jfjg"
265 :disabled="!viewEdit || ableEdit"></el-input> 265 :disabled="!viewEdit || ableEdit"></el-input>
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
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">
...@@ -380,12 +393,12 @@ ...@@ -380,12 +393,12 @@
380 </el-col> 393 </el-col>
381 </el-row> 394 </el-row>
382 <qlrCommonTable 395 <qlrCommonTable
383 :tableData="ruleForm.qlrList" 396 :tableData="ruleForm.qlrList"
384 @upDateQlrxxList="upDateQlrxxList" 397 @upDateQlrxxList="upDateQlrxxList"
385 :disabled="viewEdit" 398 :disabled="viewEdit"
386 :gyfs="ruleForm.sldy.gyfs" /> 399 :gyfs="ruleForm.sldy.gyfs" />
387 400
388 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx==200"> 401 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx==200">
389 <div class="slxx_title title-block"> 402 <div class="slxx_title title-block">
390 义务人信息 403 义务人信息
391 <div class="triangle"></div> 404 <div class="triangle"></div>
...@@ -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
...@@ -686,7 +702,7 @@ ...@@ -686,7 +702,7 @@
686 } 702 }
687 this.$refs['ruleForm'].validate((valid) => { 703 this.$refs['ruleForm'].validate((valid) => {
688 if (valid) { 704 if (valid) {
689 that.$store.dispatch("user/refreshPage", false); 705 that.$store.dispatch("user/refreshPage", false);
690 saveData(that.ruleForm).then((res) => { 706 saveData(that.ruleForm).then((res) => {
691 if (res.code === 200) { 707 if (res.code === 200) {
692 that.$message({ 708 that.$message({
...@@ -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 },
......