abf30aa5 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 2a59acb8 dfa6cc11
...@@ -74,7 +74,6 @@ ...@@ -74,7 +74,6 @@
74 text-align: center; 74 text-align: center;
75 padding-top: 10px; 75 padding-top: 10px;
76 height: 36px; 76 height: 36px;
77 background-color: #ffffff;
78 padding: 5px 0; 77 padding: 5px 0;
79 } 78 }
80 79
...@@ -93,7 +92,9 @@ ...@@ -93,7 +92,9 @@
93 /deep/.el-form-item__label { 92 /deep/.el-form-item__label {
94 padding-bottom: 0px; 93 padding-bottom: 0px;
95 } 94 }
96 95 /deep/.el-form-item__error {
96 display: none;
97 }
97 // 控制表单是否只读 98 // 控制表单是否只读
98 .readonly { 99 .readonly {
99 /deep/.el-form-item__content { 100 /deep/.el-form-item__content {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-15 10:24:42 4 * @LastEditTime: 2024-01-30 15:46:45
5 --> 5 -->
6 <template> 6 <template>
7 <div class="szxx"> 7 <div class="szxx">
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
223 color: #8b4534; 223 color: #8b4534;
224 } 224 }
225 .szxx_body { 225 .szxx_body {
226 min-height: 280px; 226 height: 330px;
227 } 227 }
228 } 228 }
229 .zs-card { 229 .zs-card {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-19 15:24:14 4 * @LastEditTime: 2024-01-30 15:03:32
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -72,13 +72,13 @@ ...@@ -72,13 +72,13 @@
72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input> 72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 </el-row>
76 <el-row :gutter="10">
77 <el-col :span="8"> 75 <el-col :span="8">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 76 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
79 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input> 77 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input>
80 </el-form-item> 78 </el-form-item>
81 </el-col> 79 </el-col>
80 </el-row>
81 <el-row :gutter="10">
82 <el-col :span="8"> 82 <el-col :span="8">
83 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 83 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
84 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期" 84 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期"
...@@ -92,30 +92,28 @@ ...@@ -92,30 +92,28 @@
92 value-format="yyyy-MM-dd"></el-date-picker> 92 value-format="yyyy-MM-dd"></el-date-picker>
93 </el-form-item> 93 </el-form-item>
94 </el-col> 94 </el-col>
95 </el-row>
96 <el-row :gutter="10">
97 <el-col :span="8"> 95 <el-col :span="8">
98 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 96 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
99 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input> 97 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input>
100 </el-form-item> 98 </el-form-item>
101 </el-col> 99 </el-col>
102 <el-col :span="16"> 100 </el-row>
101 <el-row :gutter="10">
102 <el-col :span="8">
103 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 103 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
104 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input> 104 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input>
105 </el-form-item> 105 </el-form-item>
106 </el-col> 106 </el-col>
107 </el-row> 107 <el-col :span="16">
108 <el-row :gutter="10">
109 <el-col :span="24">
110 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 108 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
111 <el-input v-model="ruleForm.cfdjList[0].fj" type="textarea" :disabled="!ableOperation|| isJfOperation"> 109 <el-input v-model="ruleForm.cfdjList[0].fj" :disabled="!ableOperation|| isJfOperation">
112 </el-input> 110 </el-input>
113 </el-form-item> 111 </el-form-item>
114 </el-col> 112 </el-col>
115 </el-row> 113 </el-row>
116 <el-row :gutter="10"> 114 <el-row :gutter="10">
117 <el-col> 115 <el-col>
118 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 116 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdjList[0].djyy">
119 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdjList[0].djyy" 117 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdjList[0].djyy"
120 :disabled="!ableOperation|| isJfOperation"></el-input> 118 :disabled="!ableOperation|| isJfOperation"></el-input>
121 </el-form-item> 119 </el-form-item>
...@@ -146,9 +144,7 @@ ...@@ -146,9 +144,7 @@
146 </div> 144 </div>
147 </div> 145 </div>
148 <el-row class="btn" v-if="ableOperation"> 146 <el-row class="btn" v-if="ableOperation">
149 <el-form-item :class="flag ? 'marginBot0' : ''"> 147 <el-button type="primary" @click="onSubmit">保存</el-button>
150 <el-button type="primary" @click="onSubmit">保存</el-button>
151 </el-form-item>
152 </el-row> 148 </el-row>
153 </el-form> 149 </el-form>
154 </div> 150 </div>
...@@ -164,7 +160,11 @@ ...@@ -164,7 +160,11 @@
164 ableOperation: true, 160 ableOperation: true,
165 disabled: true, 161 disabled: true,
166 flagTop: this.flag ? "top" : "", 162 flagTop: this.flag ? "top" : "",
167 rules: {}, 163 rules: {
164 'cfdjList[0].djyy': [
165 { required: true, message: '请输入登记原因', trigger: 'blur' }
166 ]
167 },
168 //传递参数 168 //传递参数
169 propsParam: {}, 169 propsParam: {},
170 //页面数据 170 //页面数据
...@@ -213,12 +213,24 @@ ...@@ -213,12 +213,24 @@
213 * @author: renchao 213 * @author: renchao
214 */ 214 */
215 onSubmit () { 215 onSubmit () {
216 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 216 this.$refs['ruleForm'].validate((valid) => {
217 batchSaveData(this.ruleForm).then((res) => { 217 if (valid) {
218 if (res.code === 200) { 218 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
219 this.$message.success('保存成功'); 219 batchSaveData(this.ruleForm).then((res) => {
220 if (res.code === 200) {
221 this.$message.success('保存成功');
222 }
223 })
224 } else {
225 this.$message({
226 showClose: true,
227 message: "请输入登记原因",
228 type: "error"
229 })
230 return false;
220 } 231 }
221 }); 232 });
233
222 }, 234 },
223 /** 235 /**
224 * @description: changeCflx 236 * @description: changeCflx
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-18 13:12:00 4 * @LastEditTime: 2024-01-30 15:08:38
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -296,7 +296,11 @@ ...@@ -296,7 +296,11 @@
296 viewEdit: false, 296 viewEdit: false,
297 disabled: true, 297 disabled: true,
298 flagTop: this.flag ? "top" : "", 298 flagTop: this.flag ? "top" : "",
299 rules: {}, 299 rules: {
300 'cfdj.djyy': [
301 { required: true, message: '请输入登记原因', trigger: 'blur' }
302 ]
303 },
300 //传递参数 304 //传递参数
301 propsParam: {}, 305 propsParam: {},
302 //页面数据 306 //页面数据
...@@ -339,7 +343,7 @@ ...@@ -339,7 +343,7 @@
339 }, 343 },
340 }, 344 },
341 computed: { 345 computed: {
342 ...mapGetters(["dictData"]), 346 ...mapGetters(["dictData"])
343 }, 347 },
344 348
345 methods: { 349 methods: {
...@@ -348,11 +352,22 @@ ...@@ -348,11 +352,22 @@
348 * @author: renchao 352 * @author: renchao
349 */ 353 */
350 onSubmit () { 354 onSubmit () {
351 saveData(this.ruleForm).then((res) => { 355 this.$refs['ruleForm'].validate((valid) => {
352 if (res.code === 200) { 356 if (valid) {
353 this.$message.success("保存成功"); 357 saveData(this.ruleForm).then((res) => {
358 if (res.code === 200) {
359 this.$message.success("保存成功");
360 }
361 })
362 } else {
363 this.$message({
364 showClose: true,
365 message: "请输入登记原因",
366 type: "error"
367 })
368 return false
354 } 369 }
355 }); 370 })
356 }, 371 },
357 /** 372 /**
358 * @description: changeCflx 373 * @description: changeCflx
...@@ -364,10 +379,10 @@ ...@@ -364,10 +379,10 @@
364 cflxItem = this.dictData["A32"].find((item) => { 379 cflxItem = this.dictData["A32"].find((item) => {
365 return item.dcode == e; 380 return item.dcode == e;
366 }); 381 });
367 this.ruleForm.cfdj.cflxmc = cflxItem.dname; 382 this.ruleForm.cfdj.cflxmc = cflxItem.dname
368 }, 383 }
369 }, 384 }
370 }; 385 }
371 </script> 386 </script>
372 <style scoped lang='scss'> 387 <style scoped lang='scss'>
373 @import "~@/styles/public.scss"; 388 @import "~@/styles/public.scss";
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2024-01-26 14:35:46 4 * @LastEditTime: 2024-01-30 14:25:43
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
259 </div> 259 </div>
260 <el-row :gutter="10"> 260 <el-row :gutter="10">
261 <el-col> 261 <el-col>
262 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> 262 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="fdcq1.djyy">
263 <el-input 263 <el-input
264 class="textArea" 264 class="textArea"
265 type="textarea" 265 type="textarea"
...@@ -364,8 +364,12 @@ ...@@ -364,8 +364,12 @@
364 propsParam: this.$attrs, 364 propsParam: this.$attrs,
365 //表单是否可操作 365 //表单是否可操作
366 viewEdit: false, 366 viewEdit: false,
367 rules: {}, 367 rules: {
368 }; 368 'fdcq1.djyy': [
369 { required: true, message: '请输入登记原因', trigger: 'blur' }
370 ]
371 }
372 }
369 }, 373 },
370 methods: { 374 methods: {
371 /** 375 /**
...@@ -500,20 +504,33 @@ ...@@ -500,20 +504,33 @@
500 }) 504 })
501 } 505 }
502 } 506 }
503 saveData(this.ruleForm).then((res) => { 507
504 if (res.code === 200) { 508 this.$refs['ruleForm'].validate((valid) => {
505 this.$message({ 509 if (valid) {
506 showClose: true, 510 that.$store.dispatch("user/refreshPage", false);
507 message: "保存成功!", 511 saveData(this.ruleForm).then((res) => {
508 type: "success", 512 if (res.code === 200) {
509 }); 513 this.$message({
510 this.$store.dispatch("user/refreshPage", true); 514 showClose: true,
515 message: "保存成功!",
516 type: "success",
517 });
518 that.$store.dispatch("user/refreshPage", true);
519 } else {
520 that.$message({
521 showClose: true,
522 message: res.message,
523 type: "error"
524 })
525 }
526 })
511 } else { 527 } else {
512 this.$message({ 528 that.$message({
513 showClose: true, 529 showClose: true,
514 message: res.message, 530 message: "请输入登记原因",
515 type: "error" 531 type: "error"
516 }) 532 })
533 return false
517 } 534 }
518 }) 535 })
519 } 536 }
...@@ -522,65 +539,5 @@ ...@@ -522,65 +539,5 @@
522 </script> 539 </script>
523 <style scoped lang="scss"> 540 <style scoped lang="scss">
524 @import "~@/styles/public.scss"; 541 @import "~@/styles/public.scss";
525 542 @import "~@/styles/slxx/slxx.scss";
526 /deep/.el-form {
527 display: flex;
528 flex-direction: column;
529 height: calc(100vh - 130px);
530 }
531
532 /deep/.el-form-item__label {
533 padding: 0;
534 }
535
536 /deep/.el-radio {
537 margin-right: 10px;
538 }
539
540 /deep/.el-select {
541 width: 100%;
542 }
543
544 /deep/.el-form-item {
545 margin-bottom: 3px;
546 }
547
548 .marginBot0 {
549 margin-bottom: 0 !important;
550 }
551
552 .slxx {
553 box-sizing: border-box;
554 }
555
556 .slxx_con {
557 flex: 1;
558 height: 100%;
559 background-color: #ffffff;
560 overflow-y: auto;
561 padding-right: 3px;
562 overflow-x: hidden;
563 }
564
565 .submit_btn {
566 height: 50px;
567 }
568
569 .btn {
570 text-align: center;
571 padding-top: 10px;
572 height: 36px;
573 background-color: #ffffff;
574 padding: 5px 0;
575 }
576
577 .textArea {
578 /deep/.el-textarea__inner {
579 min-height: 90px !important;
580 }
581 }
582
583 /deep/.el-form-item__label {
584 padding-bottom: 0px;
585 }
586 </style> 543 </style>
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-26 17:01:19 4 * @LastEditTime: 2024-01-30 15:17:03
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -387,7 +387,7 @@ ...@@ -387,7 +387,7 @@
387 </div> 387 </div>
388 <el-row :gutter="10"> 388 <el-row :gutter="10">
389 <el-col> 389 <el-col>
390 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> 390 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="fdcq2.djyy">
391 <el-input 391 <el-input
392 class="textArea" 392 class="textArea"
393 type="textarea" 393 type="textarea"
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 15:14:11 4 * @LastEditTime: 2024-01-30 14:20:09
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
234 </div> 234 </div>
235 <el-row :gutter="10"> 235 <el-row :gutter="10">
236 <el-col> 236 <el-col>
237 <el-form-item label="登记原因:" prop="djyy"> 237 <el-form-item label="登记原因:" prop="jsydsyq.djyy">
238 <el-input 238 <el-input
239 class="textArea" 239 class="textArea"
240 type="textarea" 240 type="textarea"
...@@ -337,8 +337,12 @@ ...@@ -337,8 +337,12 @@
337 ruleForm: {}, 337 ruleForm: {},
338 //传递参数 338 //传递参数
339 propsParam: {}, 339 propsParam: {},
340 rules: {}, 340 rules: {
341 }; 341 'jsydsyq.djyy': [
342 { required: true, message: '请输入登记原因', trigger: 'blur' }
343 ]
344 }
345 }
342 }, 346 },
343 methods: { 347 methods: {
344 /** 348 /**
...@@ -456,21 +460,32 @@ ...@@ -456,21 +460,32 @@
456 * @description: saveData 460 * @description: saveData
457 * @author: renchao 461 * @author: renchao
458 */ 462 */
459 this.$store.dispatch("user/refreshPage", false); 463 this.$refs['ruleForm'].validate((valid) => {
460 saveData(this.ruleForm).then((res) => { 464 if (valid) {
461 if (res.code === 200) { 465 that.$store.dispatch("user/refreshPage", false);
462 this.$message({ 466 saveData(that.ruleForm).then((res) => {
463 showClose: true, 467 if (res.code === 200) {
464 message: "保存成功!", 468 that.$message({
465 type: "success", 469 showClose: true,
466 }); 470 message: "保存成功!",
467 this.$store.dispatch("user/refreshPage", true); 471 type: "success"
472 })
473 that.$store.dispatch("user/refreshPage", true);
474 } else {
475 that.$message({
476 showClose: true,
477 message: res.message,
478 type: "error"
479 })
480 }
481 })
468 } else { 482 } else {
469 this.$message({ 483 this.$message({
470 showClose: true, 484 showClose: true,
471 message: res.message, 485 message: "请输入登记原因",
472 type: "error" 486 type: "error"
473 }) 487 })
488 return false
474 } 489 }
475 }) 490 })
476 } 491 }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 2 <!--
3 * @Description: 3 * @Description:
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2024-01-22 10:43:54 5 * @LastEditTime: 2024-01-30 14:19:35
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
260 </div> 260 </div>
261 <el-row :gutter="10"> 261 <el-row :gutter="10">
262 <el-col> 262 <el-col>
263 <el-form-item label="登记原因:" prop="djyy"> 263 <el-form-item label="登记原因:" prop="jsydsyq.djyy">
264 <el-input 264 <el-input
265 class="textArea" 265 class="textArea"
266 type="textarea" 266 type="textarea"
...@@ -359,7 +359,11 @@ ...@@ -359,7 +359,11 @@
359 }, 359 },
360 //传递参数 360 //传递参数
361 propsParam: {}, 361 propsParam: {},
362 rules: {}, 362 rules: {
363 'jsydsyq.djyy': [
364 { required: true, message: '请输入登记原因', trigger: 'blur' }
365 ]
366 }
363 }; 367 };
364 }, 368 },
365 methods: { 369 methods: {
...@@ -468,29 +472,40 @@ ...@@ -468,29 +472,40 @@
468 }) 472 })
469 } 473 }
470 } 474 }
471 saveData(this.ruleForm).then((res) => { 475 this.$refs['ruleForm'].validate((valid) => {
472 if (res.code === 200) { 476 if (valid) {
473 this.$message({ 477 that.$store.dispatch("user/refreshPage", false)
474 showClose: true, 478 saveData(this.ruleForm).then((res) => {
475 message: "保存成功!", 479 if (res.code === 200) {
476 type: "success", 480 that.$message({
477 }); 481 showClose: true,
478 this.$store.dispatch("user/refreshPage", true); 482 message: "保存成功!",
483 type: "success"
484 })
485 that.$store.dispatch("user/refreshPage", true)
486 } else {
487 that.$message({
488 showClose: true,
489 message: res.message,
490 type: "error"
491 })
492 }
493 })
479 } else { 494 } else {
480 this.$message({ 495 this.$message({
481 showClose: true, 496 showClose: true,
482 message: res.message, 497 message: "请输入登记原因",
483 type: "error", 498 type: "error"
484 }); 499 })
500 return false
485 } 501 }
486 }); 502 })
487 }, 503 },
488 /** 504 /**
489 * @description: compare 505 * @description: compare
490 * @author: renchao 506 * @author: renchao
491 */ 507 */
492 compare () { 508 compare () {
493 console.log("this.ruleForm", this.ruleForm);
494 this.$popupDialog( 509 this.$popupDialog(
495 this.ruleForm.qlxx.qllxmc, 510 this.ruleForm.qlxx.qllxmc,
496 "registerBook/comparison", 511 "registerBook/comparison",
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-10 14:32:11 4 * @LastEditTime: 2024-01-30 14:07:15
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
324 </div> 324 </div>
325 <el-row :gutter="10"> 325 <el-row :gutter="10">
326 <el-col> 326 <el-col>
327 <el-form-item label="登记原因:" prop="djyy"> 327 <el-form-item label="登记原因:" prop="tdsyq.djyy">
328 <el-input 328 <el-input
329 class="textArea" 329 class="textArea"
330 maxlength="500" 330 maxlength="500"
...@@ -427,8 +427,12 @@ ...@@ -427,8 +427,12 @@
427 ruleForm: {}, 427 ruleForm: {},
428 //传递参数 428 //传递参数
429 propsParam: {}, 429 propsParam: {},
430 rules: {}, 430 rules: {
431 }; 431 'tdsyq.djyy': [
432 { required: true, message: '请输入登记原因', trigger: 'blur' }
433 ]
434 }
435 }
432 }, 436 },
433 methods: { 437 methods: {
434 /** 438 /**
...@@ -547,25 +551,37 @@ ...@@ -547,25 +551,37 @@
547 * @description: saveData 551 * @description: saveData
548 * @author: renchao 552 * @author: renchao
549 */ 553 */
550 saveData(this.ruleForm).then((res) => { 554
551 if (res.code === 200) { 555 this.$refs['ruleForm'].validate((valid) => {
552 this.$message({ 556 if (valid) {
553 showClose: true, 557 saveData(this.ruleForm).then((res) => {
554 message: "保存成功!", 558 if (res.code === 200) {
555 type: "success", 559 that.$message({
556 }); 560 showClose: true,
557 this.$store.dispatch("user/refreshPage", true); 561 message: "保存成功!",
562 type: "success",
563 });
564 that.$store.dispatch("user/refreshPage", true);
565 } else {
566 that.$message({
567 showClose: true,
568 message: res.message,
569 type: "error"
570 })
571 }
572 })
558 } else { 573 } else {
559 this.$message({ 574 this.$message({
560 showClose: true, 575 showClose: true,
561 message: res.message, 576 message: "请输入登记原因",
562 type: "error", 577 type: "error"
563 }); 578 });
579 return false;
564 } 580 }
565 }); 581 });
566 }, 582 }
567 }, 583 }
568 }; 584 }
569 </script> 585 </script>
570 <style scoped lang="scss"> 586 <style scoped lang="scss">
571 @import "~@/styles/public.scss"; 587 @import "~@/styles/public.scss";
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-29 13:06:12 4 * @LastEditTime: 2024-01-30 14:53:53
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -110,9 +110,15 @@ class data extends filter { ...@@ -110,9 +110,15 @@ class data extends filter {
110 minWidth: '150' 110 minWidth: '150'
111 }, 111 },
112 { 112 {
113 prop: "ywrmc",
114 label: "义务人", 113 label: "义务人",
115 width: '100', 114 width: '120',
115 render: (h, scope) => {
116 return (
117 <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width">
118 <span class="ellipsis-table"> {scope.row.ywrmc}</span>
119 </el-tooltip>
120 )
121 }
116 }, 122 },
117 { 123 {
118 prop: "ywrzjhm", 124 prop: "ywrzjhm",
......