Merge branch 'dev'
Showing
23 changed files
with
375 additions
and
121 deletions
| ... | @@ -450,4 +450,33 @@ aside { | ... | @@ -450,4 +450,33 @@ aside { |
| 450 | top: 0; | 450 | top: 0; |
| 451 | right: 0; | 451 | right: 0; |
| 452 | transform: rotate(-90deg); | 452 | transform: rotate(-90deg); |
| 453 | } | ||
| 454 | |||
| 455 | // 正在注销 | ||
| 456 | .zhuxiaoIcon { | ||
| 457 | position: relative; | ||
| 458 | |||
| 459 | .icon { | ||
| 460 | position: absolute; | ||
| 461 | top: 9px; | ||
| 462 | right: 5px; | ||
| 463 | transform: rotate(45deg); | ||
| 464 | color: #fff; | ||
| 465 | font-size: 12px; | ||
| 466 | z-index: 10; | ||
| 467 | } | ||
| 468 | } | ||
| 469 | |||
| 470 | .zhuxiaoIcon::after { | ||
| 471 | content: ""; | ||
| 472 | display: block; | ||
| 473 | width: 0; | ||
| 474 | height: 0; | ||
| 475 | border-width: 0px 0px 55px 55px; | ||
| 476 | border-style: none solid solid; | ||
| 477 | border-color: transparent transparent red; | ||
| 478 | position: absolute; | ||
| 479 | top: 0; | ||
| 480 | right: 0; | ||
| 481 | transform: rotate(-90deg); | ||
| 453 | } | 482 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| 8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" | 8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" |
| 9 | :data="tableDataList"> | 9 | :data="tableDataList"> |
| 10 | </lb-table> | 10 | </lb-table> |
| 11 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | 11 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> |
| ... | @@ -219,3 +219,6 @@ | ... | @@ -219,3 +219,6 @@ |
| 219 | } | 219 | } |
| 220 | } | 220 | } |
| 221 | </script> | 221 | </script> |
| 222 | <style scoped lang="scss"> | ||
| 223 | |||
| 224 | </style> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| 8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" | 8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" |
| 9 | :data="tableDataList"> | 9 | :data="tableDataList"> |
| 10 | </lb-table> | 10 | </lb-table> |
| 11 | <addYwr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | 11 | <addYwr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| ... | @@ -13,6 +13,7 @@ | ... | @@ -13,6 +13,7 @@ |
| 13 | ref="ruleForm" | 13 | ref="ruleForm" |
| 14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
| 15 | :inline="flag" | 15 | :inline="flag" |
| 16 | inline-message | ||
| 16 | label-width="145px" | 17 | label-width="145px" |
| 17 | > | 18 | > |
| 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
| ... | @@ -392,7 +393,6 @@ export default { | ... | @@ -392,7 +393,6 @@ export default { |
| 392 | mounted() {}, | 393 | mounted() {}, |
| 393 | methods: { | 394 | methods: { |
| 394 | loadData() { | 395 | loadData() { |
| 395 | console.log("房屋", this.propsParam); | ||
| 396 | this.propsParam.isEdit=this.$parent.isEdit | 396 | this.propsParam.isEdit=this.$parent.isEdit |
| 397 | init(this.propsParam).then((res) => { | 397 | init(this.propsParam).then((res) => { |
| 398 | if (res.code == 200) { | 398 | if (res.code == 200) { | ... | ... |
| ... | @@ -13,6 +13,7 @@ | ... | @@ -13,6 +13,7 @@ |
| 13 | ref="ruleForm" | 13 | ref="ruleForm" |
| 14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
| 15 | :inline="flag" | 15 | :inline="flag" |
| 16 | inline-message | ||
| 16 | label-width="145px" | 17 | label-width="145px" |
| 17 | > | 18 | > |
| 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | ... | ... |
| ... | @@ -2,6 +2,7 @@ | ... | @@ -2,6 +2,7 @@ |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-06-25 15:52:42 |
| 5 | :show-message="false" | ||
| 5 | --> | 6 | --> |
| 6 | <template> | 7 | <template> |
| 7 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
| ... | @@ -13,6 +14,7 @@ | ... | @@ -13,6 +14,7 @@ |
| 13 | ref="ruleForm" | 14 | ref="ruleForm" |
| 14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
| 15 | :inline="flag" | 16 | :inline="flag" |
| 17 | inline-message | ||
| 16 | label-width="145px" | 18 | label-width="145px" |
| 17 | > | 19 | > |
| 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
| ... | @@ -73,7 +75,7 @@ | ... | @@ -73,7 +75,7 @@ |
| 73 | <el-form-item label="登记类型:"> | 75 | <el-form-item label="登记类型:"> |
| 74 | <el-select v-model="ruleForm.qlxx.djlx"> | 76 | <el-select v-model="ruleForm.qlxx.djlx"> |
| 75 | <el-option | 77 | <el-option |
| 76 | v-for="item in dictData['A21']" | 78 | v-for="item in djlxlist" |
| 77 | :key="item.dcode" | 79 | :key="item.dcode" |
| 78 | :label="item.dname" | 80 | :label="item.dname" |
| 79 | :value="item.dcode" | 81 | :value="item.dcode" |
| ... | @@ -88,27 +90,27 @@ | ... | @@ -88,27 +90,27 @@ |
| 88 | </el-form-item> | 90 | </el-form-item> |
| 89 | </el-col> | 91 | </el-col> |
| 90 | <el-col :span="8"> | 92 | <el-col :span="8"> |
| 91 | <el-form-item label="不动产权证号:"> | 93 | <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules"> |
| 92 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 94 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
| 93 | </el-form-item> | 95 | </el-form-item> |
| 94 | </el-col> | 96 | </el-col> |
| 95 | <el-col :span="8"> | 97 | <el-col :span="8"> |
| 96 | <el-form-item label="区县代码:"> | 98 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> |
| 97 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 99 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
| 98 | </el-form-item> | 100 | </el-form-item> |
| 99 | </el-col> | 101 | </el-col> |
| 100 | <el-col :span="8"> | 102 | <el-col :span="8"> |
| 101 | <el-form-item label="登记机构:"> | 103 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> |
| 102 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 104 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
| 103 | </el-form-item> | 105 | </el-form-item> |
| 104 | </el-col> | 106 | </el-col> |
| 105 | <el-col :span="8"> | 107 | <el-col :span="8"> |
| 106 | <el-form-item label="登簿人:"> | 108 | <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules"> |
| 107 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 109 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
| 108 | </el-form-item> | 110 | </el-form-item> |
| 109 | </el-col> | 111 | </el-col> |
| 110 | <el-col :span="8"> | 112 | <el-col :span="8"> |
| 111 | <el-form-item label="登记时间:"> | 113 | <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> |
| 112 | <el-input v-model="ruleForm.qlxx.djsj"></el-input> | 114 | <el-input v-model="ruleForm.qlxx.djsj"></el-input> |
| 113 | </el-form-item> | 115 | </el-form-item> |
| 114 | </el-col> | 116 | </el-col> |
| ... | @@ -277,7 +279,7 @@ | ... | @@ -277,7 +279,7 @@ |
| 277 | :gyfs="ruleForm.qlxx.gyfs" | 279 | :gyfs="ruleForm.qlxx.gyfs" |
| 278 | /> | 280 | /> |
| 279 | 281 | ||
| 280 | <div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0"> | 282 | <div v-if="ruleForm.ywrData"> |
| 281 | <div class="slxx_title title-block"> | 283 | <div class="slxx_title title-block"> |
| 282 | 义务人信息 | 284 | 义务人信息 |
| 283 | <div class="triangle"></div> | 285 | <div class="triangle"></div> |
| ... | @@ -318,6 +320,34 @@ export default { | ... | @@ -318,6 +320,34 @@ export default { |
| 318 | disabled: true, | 320 | disabled: true, |
| 319 | czrOptions: [], | 321 | czrOptions: [], |
| 320 | ruleForm: {}, | 322 | ruleForm: {}, |
| 323 | // 登记类型 | ||
| 324 | djlxlist: [ | ||
| 325 | { | ||
| 326 | dcode: "100", | ||
| 327 | dname: "首次登记", | ||
| 328 | }, | ||
| 329 | { | ||
| 330 | dcode: "200", | ||
| 331 | dname: "转移登记", | ||
| 332 | }, | ||
| 333 | { | ||
| 334 | dcode: "300", | ||
| 335 | dname: "变更登记", | ||
| 336 | }, | ||
| 337 | { | ||
| 338 | dcode: "500", | ||
| 339 | dname: "更正登记", | ||
| 340 | }, | ||
| 341 | |||
| 342 | { | ||
| 343 | dcode: "901", | ||
| 344 | dname: "补证", | ||
| 345 | }, | ||
| 346 | { | ||
| 347 | dcode: "902", | ||
| 348 | dname: "换证", | ||
| 349 | }, | ||
| 350 | ], | ||
| 321 | // 权属状态 | 351 | // 权属状态 |
| 322 | qsztlist: [ | 352 | qsztlist: [ |
| 323 | { | 353 | { |
| ... | @@ -330,7 +360,15 @@ export default { | ... | @@ -330,7 +360,15 @@ export default { |
| 330 | }, | 360 | }, |
| 331 | ], | 361 | ], |
| 332 | //传递参数\ | 362 | //传递参数\ |
| 333 | rules: {}, | 363 | rules: { |
| 364 | bdcqzhrules:[ | ||
| 365 | { required: true, message: "不动产权证号:", trigger: "change" }, | ||
| 366 | ], | ||
| 367 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
| 368 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | ||
| 369 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
| 370 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | ||
| 371 | }, | ||
| 334 | }; | 372 | }; |
| 335 | }, | 373 | }, |
| 336 | created() { | 374 | created() { |
| ... | @@ -339,7 +377,6 @@ export default { | ... | @@ -339,7 +377,6 @@ export default { |
| 339 | mounted() {}, | 377 | mounted() {}, |
| 340 | methods: { | 378 | methods: { |
| 341 | loadData() { | 379 | loadData() { |
| 342 | console.log("预告登记", this.propsParam); | ||
| 343 | this.propsParam.isEdit=this.$parent.isEdit | 380 | this.propsParam.isEdit=this.$parent.isEdit |
| 344 | init(this.propsParam).then((res) => { | 381 | init(this.propsParam).then((res) => { |
| 345 | if (res.code == 200) { | 382 | if (res.code == 200) { |
| ... | @@ -365,6 +402,8 @@ export default { | ... | @@ -365,6 +402,8 @@ export default { |
| 365 | this.key++; | 402 | this.key++; |
| 366 | }, | 403 | }, |
| 367 | onSubmit() { | 404 | onSubmit() { |
| 405 | this.$refs.ruleForm.validate((valid) => { | ||
| 406 | if (valid) { | ||
| 368 | if (this.ruleForm.qlrData.length == 0) { | 407 | if (this.ruleForm.qlrData.length == 0) { |
| 369 | this.$message({ | 408 | this.$message({ |
| 370 | showClose: true, | 409 | showClose: true, |
| ... | @@ -418,6 +457,10 @@ export default { | ... | @@ -418,6 +457,10 @@ export default { |
| 418 | }); | 457 | }); |
| 419 | } | 458 | } |
| 420 | }); | 459 | }); |
| 460 | } else { | ||
| 461 | return false; | ||
| 462 | } | ||
| 463 | }); | ||
| 421 | }, | 464 | }, |
| 422 | }, | 465 | }, |
| 423 | }; | 466 | }; | ... | ... |
| ... | @@ -13,6 +13,7 @@ | ... | @@ -13,6 +13,7 @@ |
| 13 | ref="ruleForm" | 13 | ref="ruleForm" |
| 14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
| 15 | :inline="flag" | 15 | :inline="flag" |
| 16 | inline-message | ||
| 16 | label-width="145px" | 17 | label-width="145px" |
| 17 | > | 18 | > |
| 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
| ... | @@ -69,11 +70,11 @@ | ... | @@ -69,11 +70,11 @@ |
| 69 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 70 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
| 70 | </el-form-item> | 71 | </el-form-item> |
| 71 | </el-col> --> | 72 | </el-col> --> |
| 72 | <!-- <el-col :span="8"> | 73 | <el-col :span="8"> |
| 73 | <el-form-item label="登记类型:"> | 74 | <el-form-item label="登记类型:"> |
| 74 | <el-select v-model="ruleForm.qlxx.djlx"> | 75 | <el-select v-model="ruleForm.qlxx.djlx"> |
| 75 | <el-option | 76 | <el-option |
| 76 | v-for="item in dictData['A21']" | 77 | v-for="item in djlxlist" |
| 77 | :key="item.dcode" | 78 | :key="item.dcode" |
| 78 | :label="item.dname" | 79 | :label="item.dname" |
| 79 | :value="item.dcode" | 80 | :value="item.dcode" |
| ... | @@ -81,34 +82,34 @@ | ... | @@ -81,34 +82,34 @@ |
| 81 | </el-option> | 82 | </el-option> |
| 82 | </el-select> | 83 | </el-select> |
| 83 | </el-form-item> | 84 | </el-form-item> |
| 84 | </el-col> --> | 85 | </el-col> |
| 85 | <!-- <el-col :span="8"> | 86 | <!-- <el-col :span="8"> |
| 86 | <el-form-item label="不动产坐落:"> | 87 | <el-form-item label="不动产坐落:"> |
| 87 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 88 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
| 88 | </el-form-item> | 89 | </el-form-item> |
| 89 | </el-col> --> | 90 | </el-col> --> |
| 90 | <!-- <el-col :span="8"> | 91 | <el-col :span="8"> |
| 91 | <el-form-item label="不动产权证号:"> | 92 | <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules"> |
| 92 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 93 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
| 93 | </el-form-item> | 94 | </el-form-item> |
| 94 | </el-col> --> | 95 | </el-col> |
| 95 | <el-col :span="8"> | 96 | <el-col :span="8"> |
| 96 | <el-form-item label="区县代码:"> | 97 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> |
| 97 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 98 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
| 98 | </el-form-item> | 99 | </el-form-item> |
| 99 | </el-col> | 100 | </el-col> |
| 100 | <el-col :span="8"> | 101 | <el-col :span="8"> |
| 101 | <el-form-item label="登记机构:"> | 102 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> |
| 102 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 103 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
| 103 | </el-form-item> | 104 | </el-form-item> |
| 104 | </el-col> | 105 | </el-col> |
| 105 | <el-col :span="8"> | 106 | <el-col :span="8"> |
| 106 | <el-form-item label="登簿人:"> | 107 | <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules"> |
| 107 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 108 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
| 108 | </el-form-item> | 109 | </el-form-item> |
| 109 | </el-col> | 110 | </el-col> |
| 110 | <el-col :span="8"> | 111 | <el-col :span="8"> |
| 111 | <el-form-item label="登记时间:"> | 112 | <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> |
| 112 | <el-input v-model="ruleForm.qlxx.djsj"></el-input> | 113 | <el-input v-model="ruleForm.qlxx.djsj"></el-input> |
| 113 | </el-form-item> | 114 | </el-form-item> |
| 114 | </el-col> | 115 | </el-col> |
| ... | @@ -189,7 +190,7 @@ | ... | @@ -189,7 +190,7 @@ |
| 189 | :key="key" | 190 | :key="key" |
| 190 | :gyfs="ruleForm.qlxx.gyfs" | 191 | :gyfs="ruleForm.qlxx.gyfs" |
| 191 | /> | 192 | /> |
| 192 | <div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0"> | 193 | <div v-if="ruleForm.ywrData"> |
| 193 | <div class="slxx_title title-block"> | 194 | <div class="slxx_title title-block"> |
| 194 | 义务人信息 | 195 | 义务人信息 |
| 195 | <div class="triangle"></div> | 196 | <div class="triangle"></div> |
| ... | @@ -202,7 +203,8 @@ | ... | @@ -202,7 +203,8 @@ |
| 202 | /> | 203 | /> |
| 203 | </div> | 204 | </div> |
| 204 | </div> | 205 | </div> |
| 205 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> | 206 | <!-- <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> --> |
| 207 | <el-row class="btn"> | ||
| 206 | <el-form-item> | 208 | <el-form-item> |
| 207 | <el-button type="primary" @click="onSubmit">保存</el-button> | 209 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 208 | </el-form-item> | 210 | </el-form-item> |
| ... | @@ -230,6 +232,34 @@ export default { | ... | @@ -230,6 +232,34 @@ export default { |
| 230 | disabled: true, | 232 | disabled: true, |
| 231 | czrOptions: [], | 233 | czrOptions: [], |
| 232 | ruleForm: {}, | 234 | ruleForm: {}, |
| 235 | // 登记类型 | ||
| 236 | djlxlist: [ | ||
| 237 | { | ||
| 238 | dcode: "100", | ||
| 239 | dname: "首次登记", | ||
| 240 | }, | ||
| 241 | { | ||
| 242 | dcode: "200", | ||
| 243 | dname: "转移登记", | ||
| 244 | }, | ||
| 245 | { | ||
| 246 | dcode: "300", | ||
| 247 | dname: "变更登记", | ||
| 248 | }, | ||
| 249 | { | ||
| 250 | dcode: "500", | ||
| 251 | dname: "更正登记", | ||
| 252 | }, | ||
| 253 | |||
| 254 | { | ||
| 255 | dcode: "901", | ||
| 256 | dname: "补证", | ||
| 257 | }, | ||
| 258 | { | ||
| 259 | dcode: "902", | ||
| 260 | dname: "换证", | ||
| 261 | }, | ||
| 262 | ], | ||
| 233 | // 权属状态 | 263 | // 权属状态 |
| 234 | qsztlist: [ | 264 | qsztlist: [ |
| 235 | { | 265 | { |
| ... | @@ -242,7 +272,15 @@ export default { | ... | @@ -242,7 +272,15 @@ export default { |
| 242 | }, | 272 | }, |
| 243 | ], | 273 | ], |
| 244 | //传递参数\ | 274 | //传递参数\ |
| 245 | rules: {}, | 275 | rules: { |
| 276 | bdcqzhrules:[ | ||
| 277 | { required: true, message: "不动产权证号:", trigger: "change" }, | ||
| 278 | ], | ||
| 279 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
| 280 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | ||
| 281 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
| 282 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | ||
| 283 | }, | ||
| 246 | }; | 284 | }; |
| 247 | }, | 285 | }, |
| 248 | created() { | 286 | created() { |
| ... | @@ -251,7 +289,6 @@ export default { | ... | @@ -251,7 +289,6 @@ export default { |
| 251 | mounted() {}, | 289 | mounted() {}, |
| 252 | methods: { | 290 | methods: { |
| 253 | loadData() { | 291 | loadData() { |
| 254 | console.log("异议登记", this.propsParam); | ||
| 255 | this.propsParam.isEdit=this.$parent.isEdit | 292 | this.propsParam.isEdit=this.$parent.isEdit |
| 256 | init(this.propsParam).then((res) => { | 293 | init(this.propsParam).then((res) => { |
| 257 | if (res.code == 200) { | 294 | if (res.code == 200) { |
| ... | @@ -277,6 +314,8 @@ export default { | ... | @@ -277,6 +314,8 @@ export default { |
| 277 | this.key++; | 314 | this.key++; |
| 278 | }, | 315 | }, |
| 279 | onSubmit() { | 316 | onSubmit() { |
| 317 | this.$refs.ruleForm.validate((valid) => { | ||
| 318 | if (valid) { | ||
| 280 | if (this.ruleForm.qlrData.length == 0) { | 319 | if (this.ruleForm.qlrData.length == 0) { |
| 281 | this.$message({ | 320 | this.$message({ |
| 282 | showClose: true, | 321 | showClose: true, |
| ... | @@ -330,6 +369,10 @@ export default { | ... | @@ -330,6 +369,10 @@ export default { |
| 330 | }); | 369 | }); |
| 331 | } | 370 | } |
| 332 | }); | 371 | }); |
| 372 | } else { | ||
| 373 | return false; | ||
| 374 | } | ||
| 375 | }); | ||
| 333 | }, | 376 | }, |
| 334 | }, | 377 | }, |
| 335 | }; | 378 | }; | ... | ... |
| ... | @@ -22,19 +22,32 @@ | ... | @@ -22,19 +22,32 @@ |
| 22 | :class="[ | 22 | :class="[ |
| 23 | row.qszt == '2' ? 'lishi' : '', | 23 | row.qszt == '2' ? 'lishi' : '', |
| 24 | row.qszt == '0' ? 'linshi' : '', | 24 | row.qszt == '0' ? 'linshi' : '', |
| 25 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 25 | |
| 26 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 26 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 27 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', | ||
| 28 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 29 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 27 | ]"> | 31 | ]"> |
| 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 32 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 33 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 34 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 31 | </div> | 35 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 36 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 33 | 正在办理 | 37 | 失效 |
| 34 | </div> | 38 | </div> |
| 35 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 39 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 36 | 有效 | 40 | 有效 |
| 37 | </div> | 41 | </div> |
| 42 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 43 | 正在补录 | ||
| 44 | </div> | ||
| 45 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 46 | 正在申请 | ||
| 47 | </div> | ||
| 48 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 49 | 正在注销 | ||
| 50 | </div> | ||
| 38 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 51 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
| 39 | 52 | ||
| 40 | <span v-else>{{ row[item.prop] }}</span> | 53 | <span v-else>{{ row[item.prop] }}</span> | ... | ... |
| ... | @@ -24,8 +24,11 @@ | ... | @@ -24,8 +24,11 @@ |
| 24 | :class="[ | 24 | :class="[ |
| 25 | row.qszt == '2' ? 'lishi' : '', | 25 | row.qszt == '2' ? 'lishi' : '', |
| 26 | row.qszt == '0' ? 'linshi' : '', | 26 | row.qszt == '0' ? 'linshi' : '', |
| 27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 27 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 28 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 29 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 31 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 29 | ]"> | 32 | ]"> |
| 30 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 33 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 31 | <el-button | 34 | <el-button |
| ... | @@ -37,12 +40,21 @@ | ... | @@ -37,12 +40,21 @@ |
| 37 | icon="el-icon-edit-outline" | 40 | icon="el-icon-edit-outline" |
| 38 | @click="editDialog(row, 'D')">删除</el-button> | 41 | @click="editDialog(row, 'D')">删除</el-button> |
| 39 | </div> | 42 | </div> |
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 41 | 正在办理 | 44 | 失效 |
| 42 | </div> | 45 | </div> |
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 44 | 有效 | 47 | 有效 |
| 45 | </div> | 48 | </div> |
| 49 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 50 | 正在补录 | ||
| 51 | </div> | ||
| 52 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 53 | 正在申请 | ||
| 54 | </div> | ||
| 55 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 56 | 正在注销 | ||
| 57 | </div> | ||
| 46 | <span v-if="item.prop == 'qszt'"> | 58 | <span v-if="item.prop == 'qszt'"> |
| 47 | {{ getQsztName(row[item.prop]) }} | 59 | {{ getQsztName(row[item.prop]) }} |
| 48 | </span> | 60 | </span> | ... | ... |
| ... | @@ -24,19 +24,31 @@ | ... | @@ -24,19 +24,31 @@ |
| 24 | :class="[ | 24 | :class="[ |
| 25 | row.qszt == '2' ? 'lishi' : '', | 25 | row.qszt == '2' ? 'lishi' : '', |
| 26 | row.qszt == '0' ? 'linshi' : '', | 26 | row.qszt == '0' ? 'linshi' : '', |
| 27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 27 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 28 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 29 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 31 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 29 | ]"> | 32 | ]"> |
| 30 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 33 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 31 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 34 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 32 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 35 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 33 | </div> | 36 | </div> |
| 34 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 35 | 正在办理 | 38 | 失效 |
| 36 | </div> | 39 | </div> |
| 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 40 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 38 | 有效 | 41 | 有效 |
| 39 | </div> | 42 | </div> |
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 44 | 正在补录 | ||
| 45 | </div> | ||
| 46 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 47 | 正在申请 | ||
| 48 | </div> | ||
| 49 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 50 | 正在注销 | ||
| 51 | </div> | ||
| 40 | <span v-if="item.prop == 'qszt'"> | 52 | <span v-if="item.prop == 'qszt'"> |
| 41 | {{ getQsztName(row[item.prop]) }} | 53 | {{ getQsztName(row[item.prop]) }} |
| 42 | </span> | 54 | </span> | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -71,11 +83,12 @@ | ... | @@ -71,11 +83,12 @@ |
| 71 | }, | 83 | }, |
| 72 | methods: { | 84 | methods: { |
| 73 | loadData () { | 85 | loadData () { |
| 74 | if(this.$parent.addRepairRecord){ | 86 | if (this.$parent.addRepairRecord) { |
| 75 | this.columns.unshift({prop:"cz", | 87 | this.columns.unshift({ |
| 76 | label:"操作" | 88 | prop: "cz", |
| 77 | }) | 89 | label: "操作" |
| 78 | } | 90 | }) |
| 91 | } | ||
| 79 | getJsydsyqList({ | 92 | getJsydsyqList({ |
| 80 | bdcdyid: this.propsParam.bdcdyid, | 93 | bdcdyid: this.propsParam.bdcdyid, |
| 81 | qllx: this.propsParam.qllx, | 94 | qllx: this.propsParam.qllx, |
| ... | @@ -113,14 +126,14 @@ | ... | @@ -113,14 +126,14 @@ |
| 113 | } | 126 | } |
| 114 | return name; | 127 | return name; |
| 115 | }, | 128 | }, |
| 116 | // 新增一条补录信息 | 129 | // 新增一条补录信息 |
| 117 | editDialog(row,del){ | 130 | editDialog (row, del) { |
| 118 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 131 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 119 | confirmButtonText: '确定', | 132 | confirmButtonText: '确定', |
| 120 | cancelButtonText: '取消', | 133 | cancelButtonText: '取消', |
| 121 | type: 'warning' | 134 | type: 'warning' |
| 122 | }).then(() => { | 135 | }).then(() => { |
| 123 | this.$parent.addRepairRecord(row,del) | 136 | this.$parent.addRepairRecord(row, del) |
| 124 | 137 | ||
| 125 | this.$message({ | 138 | this.$message({ |
| 126 | type: 'success', | 139 | type: 'success', | ... | ... |
| ... | @@ -24,8 +24,11 @@ | ... | @@ -24,8 +24,11 @@ |
| 24 | :class="[ | 24 | :class="[ |
| 25 | row.qszt == '2' ? 'lishi' : '', | 25 | row.qszt == '2' ? 'lishi' : '', |
| 26 | row.qszt == '0' ? 'linshi' : '', | 26 | row.qszt == '0' ? 'linshi' : '', |
| 27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 27 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 28 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 29 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 31 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 29 | ]"> | 32 | ]"> |
| 30 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 33 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 31 | <el-button | 34 | <el-button |
| ... | @@ -37,12 +40,21 @@ | ... | @@ -37,12 +40,21 @@ |
| 37 | icon="el-icon-edit-outline" | 40 | icon="el-icon-edit-outline" |
| 38 | @click="editDialog(row, 'D')">删除</el-button> | 41 | @click="editDialog(row, 'D')">删除</el-button> |
| 39 | </div> | 42 | </div> |
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 41 | 正在办理 | 44 | 失效 |
| 42 | </div> | 45 | </div> |
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 44 | 有效 | 47 | 有效 |
| 45 | </div> | 48 | </div> |
| 49 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 50 | 正在补录 | ||
| 51 | </div> | ||
| 52 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 53 | 正在申请 | ||
| 54 | </div> | ||
| 55 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 56 | 正在注销 | ||
| 57 | </div> | ||
| 46 | <span v-if="item.prop == 'qszt'"> | 58 | <span v-if="item.prop == 'qszt'"> |
| 47 | {{ getQsztName(row[item.prop]) }} | 59 | {{ getQsztName(row[item.prop]) }} |
| 48 | </span> | 60 | </span> | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -72,11 +84,12 @@ | ... | @@ -72,11 +84,12 @@ |
| 72 | methods: { | 84 | methods: { |
| 73 | loadData () { | 85 | loadData () { |
| 74 | 86 | ||
| 75 | if(this.$parent.addRepairRecord){ | 87 | if (this.$parent.addRepairRecord) { |
| 76 | this.columns.unshift({prop:"cz", | 88 | this.columns.unshift({ |
| 77 | label:"操作" | 89 | prop: "cz", |
| 78 | }) | 90 | label: "操作" |
| 79 | } | 91 | }) |
| 92 | } | ||
| 80 | getJsydsyqList({ | 93 | getJsydsyqList({ |
| 81 | bdcdyid: this.propsParam.bdcdyid, | 94 | bdcdyid: this.propsParam.bdcdyid, |
| 82 | qllx: this.propsParam.qllx, | 95 | qllx: this.propsParam.qllx, |
| ... | @@ -114,14 +127,14 @@ | ... | @@ -114,14 +127,14 @@ |
| 114 | } | 127 | } |
| 115 | return name; | 128 | return name; |
| 116 | }, | 129 | }, |
| 117 | // 新增一条补录信息 | 130 | // 新增一条补录信息 |
| 118 | editDialog(row,del){ | 131 | editDialog (row, del) { |
| 119 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 132 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 120 | confirmButtonText: '确定', | 133 | confirmButtonText: '确定', |
| 121 | cancelButtonText: '取消', | 134 | cancelButtonText: '取消', |
| 122 | type: 'warning' | 135 | type: 'warning' |
| 123 | }).then(() => { | 136 | }).then(() => { |
| 124 | this.$parent.addRepairRecord(row,del) | 137 | this.$parent.addRepairRecord(row, del) |
| 125 | 138 | ||
| 126 | this.$message({ | 139 | this.$message({ |
| 127 | type: 'success', | 140 | type: 'success', | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -50,15 +62,27 @@ | ... | @@ -50,15 +62,27 @@ |
| 50 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 62 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 51 | row.qszt == '2' ? 'lishi' : '', | 63 | row.qszt == '2' ? 'lishi' : '', |
| 52 | row.qszt == '0' ? 'linshi' : '', | 64 | row.qszt == '0' ? 'linshi' : '', |
| 53 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 65 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 54 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 66 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 67 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 68 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 69 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 55 | ]"> | 70 | ]"> |
| 56 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 71 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 57 | 正在办理 | 72 | 失效 |
| 58 | </div> | 73 | </div> |
| 59 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 74 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 60 | 有效 | 75 | 有效 |
| 61 | </div> | 76 | </div> |
| 77 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 78 | 正在补录 | ||
| 79 | </div> | ||
| 80 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 81 | 正在申请 | ||
| 82 | </div> | ||
| 83 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 84 | 正在注销 | ||
| 85 | </div> | ||
| 62 | <span v-if="item.prop == 'qszt'"> | 86 | <span v-if="item.prop == 'qszt'"> |
| 63 | {{ getQsztName(row[item.prop]) }} | 87 | {{ getQsztName(row[item.prop]) }} |
| 64 | </span> | 88 | </span> | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -72,11 +84,12 @@ | ... | @@ -72,11 +84,12 @@ |
| 72 | methods: { | 84 | methods: { |
| 73 | loadData () { | 85 | loadData () { |
| 74 | 86 | ||
| 75 | if(this.$parent.addRepairRecord){ | 87 | if (this.$parent.addRepairRecord) { |
| 76 | this.columns.unshift({prop:"cz", | 88 | this.columns.unshift({ |
| 77 | label:"操作" | 89 | prop: "cz", |
| 78 | }) | 90 | label: "操作" |
| 79 | } | 91 | }) |
| 92 | } | ||
| 80 | getTdsyqList({ | 93 | getTdsyqList({ |
| 81 | bdcdyid: this.propsParam.bdcdyid, | 94 | bdcdyid: this.propsParam.bdcdyid, |
| 82 | qllx: this.propsParam.qllx, | 95 | qllx: this.propsParam.qllx, |
| ... | @@ -114,14 +127,14 @@ | ... | @@ -114,14 +127,14 @@ |
| 114 | } | 127 | } |
| 115 | return name; | 128 | return name; |
| 116 | }, | 129 | }, |
| 117 | // 新增一条补录信息 | 130 | // 新增一条补录信息 |
| 118 | editDialog(row,del){ | 131 | editDialog (row, del) { |
| 119 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 132 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 120 | confirmButtonText: '确定', | 133 | confirmButtonText: '确定', |
| 121 | cancelButtonText: '取消', | 134 | cancelButtonText: '取消', |
| 122 | type: 'warning' | 135 | type: 'warning' |
| 123 | }).then(() => { | 136 | }).then(() => { |
| 124 | this.$parent.addRepairRecord(row,del) | 137 | this.$parent.addRepairRecord(row, del) |
| 125 | 138 | ||
| 126 | this.$message({ | 139 | this.$message({ |
| 127 | type: 'success', | 140 | type: 'success', | ... | ... |
| ... | @@ -18,19 +18,31 @@ | ... | @@ -18,19 +18,31 @@ |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 19 | row.qszt == '2' ? 'lishi' : '', | 19 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 20 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 21 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 24 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 23 | ]"> | 26 | ]"> |
| 24 | <div class="setbut" v-if="item.prop == 'cz'"> | 27 | <div class="setbut" v-if="item.prop == 'cz'"> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 28 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 27 | </div> | 30 | </div> |
| 28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 29 | 正在办理 | 32 | 失效 |
| 30 | </div> | 33 | </div> |
| 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 34 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 32 | 有效 | 35 | 有效 |
| 33 | </div> | 36 | </div> |
| 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 38 | 正在补录 | ||
| 39 | </div> | ||
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 41 | 正在申请 | ||
| 42 | </div> | ||
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 44 | 正在注销 | ||
| 45 | </div> | ||
| 34 | <span v-if="item.prop == 'qszt'"> | 46 | <span v-if="item.prop == 'qszt'"> |
| 35 | {{ getQsztName(row[item.prop]) }} | 47 | {{ getQsztName(row[item.prop]) }} |
| 36 | </span> | 48 | </span> | ... | ... |
| ... | @@ -18,19 +18,31 @@ | ... | @@ -18,19 +18,31 @@ |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 19 | row.qszt == '2' ? 'lishi' : '', | 19 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 20 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 21 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 24 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 23 | ]"> | 26 | ]"> |
| 24 | <div class="setbut" v-if="item.prop == 'cz'"> | 27 | <div class="setbut" v-if="item.prop == 'cz'"> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 28 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 27 | </div> | 30 | </div> |
| 28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 29 | 正在办理 | 32 | 失效 |
| 30 | </div> | 33 | </div> |
| 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 34 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 32 | 有效 | 35 | 有效 |
| 33 | </div> | 36 | </div> |
| 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 38 | 正在补录 | ||
| 39 | </div> | ||
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 41 | 正在申请 | ||
| 42 | </div> | ||
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 44 | 正在注销 | ||
| 45 | </div> | ||
| 34 | <span v-if="item.prop == 'qszt'"> | 46 | <span v-if="item.prop == 'qszt'"> |
| 35 | {{ getQsztName(row[item.prop]) }} | 47 | {{ getQsztName(row[item.prop]) }} |
| 36 | </span> | 48 | </span> | ... | ... |
-
Please register or sign in to post a comment