11111
Showing
1 changed file
with
72 additions
and
16 deletions
| ... | @@ -103,9 +103,8 @@ | ... | @@ -103,9 +103,8 @@ |
| 103 | <lb-table :column="clxxCol" border heightNumSetting :pagination="false" :data="form.clxx"> | 103 | <lb-table :column="clxxCol" border heightNumSetting :pagination="false" :data="form.clxx"> |
| 104 | </lb-table> | 104 | </lb-table> |
| 105 | </el-collapse-item> | 105 | </el-collapse-item> |
| 106 | <el-collapse-item title="刷选条件设置" name="3"> | 106 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'"> |
| 107 | <div v-if="form.ywDetail.sfsxql != '0'"> | 107 | <div class="dyztsd-title"> |
| 108 | <div class="dyztsd-title"> | ||
| 109 | <b>请勾选需要查询的权利信息</b> | 108 | <b>请勾选需要查询的权利信息</b> |
| 110 | <div> | 109 | <div> |
| 111 | <el-button type="text" @click="handleSelectall">选择全部 </el-button> | 110 | <el-button type="text" @click="handleSelectall">选择全部 </el-button> |
| ... | @@ -118,32 +117,31 @@ | ... | @@ -118,32 +117,31 @@ |
| 118 | <el-checkbox v-model="item.checked">{{ item.sxzdmc }}</el-checkbox> | 117 | <el-checkbox v-model="item.checked">{{ item.sxzdmc }}</el-checkbox> |
| 119 | </li> | 118 | </li> |
| 120 | </ul> | 119 | </ul> |
| 121 | </div> | 120 | </el-collapse-item> |
| 122 | <b>限制办理状态</b> | 121 | <el-collapse-item title="办理状态设置" name="4"> |
| 123 | <ul class="screen-list"> | 122 | <ul class="screen-list"> |
| 124 | <li v-for="(item, index) in form.sxzt" :key="index"> | 123 | <li v-for="(item, index) in form.sxzt" :key="index"> |
| 125 | <div class="screen-list-left"> | 124 | <div class="screen-list-left"> |
| 126 | <el-switch v-model="item.checked" @change="handleSelect(item)"> | 125 | {{ item.sxzdmc }} : |
| 127 | </el-switch> | 126 | <el-radio-group v-model="item.selected" > |
| 128 | {{ item.sxzdmc }} | 127 | <el-radio label="1">禁止办理</el-radio> |
| 129 | </div> | 128 | <el-radio label="0">忽略</el-radio> |
| 130 | <el-radio-group v-model="item.selected" :disabled="!item.checked"> | 129 | </el-radio-group> |
| 131 | <el-radio :label="obj.sxzdz" v-for="(obj, index) in item.children" :key="index">{{ obj.sxzdmc }}</el-radio> | 130 | </div> |
| 132 | </el-radio-group> | ||
| 133 | </li> | 131 | </li> |
| 134 | </ul> | 132 | </ul> |
| 135 | </el-collapse-item> | 133 | </el-collapse-item> |
| 136 | </el-collapse> | 134 | </el-collapse> |
| 137 | <div slot="footer" class="dialog-footer"> | 135 | <div slot="footer" class="dialog-footer"> |
| 138 | <el-button @click="cancelDialog">取 消</el-button> | 136 | <el-button type="primary" @click="submit">提 交</el-button> |
| 139 | <el-button type="primary" @click="cancelDialog">确 定</el-button> | 137 | <el-button @click="cancelDialog">取 消</el-button> |
| 140 | </div> | 138 | </div> |
| 141 | </el-dialog> | 139 | </el-dialog> |
| 142 | </template> | 140 | </template> |
| 143 | <script> | 141 | <script> |
| 144 | import { mapGetters } from 'vuex'; | 142 | import { mapGetters } from 'vuex'; |
| 145 | import { upward, down } from '@/utils/operation' | 143 | import { upward, down } from '@/utils/operation' |
| 146 | import { getDjlxInfo, getSqdjywDetail } from "@/api/system.js"; | 144 | import { getDjlxInfo, getSqdjywDetail,saveSqdjyw } from "@/api/system.js"; |
| 147 | export default { | 145 | export default { |
| 148 | //父组件 传 过来的 值 | 146 | //父组件 传 过来的 值 |
| 149 | props: { | 147 | props: { |
| ... | @@ -401,6 +399,7 @@ export default { | ... | @@ -401,6 +399,7 @@ export default { |
| 401 | this.tn = index; | 399 | this.tn = index; |
| 402 | this.getDetail(this.djlxList[index].bsmSqyw); | 400 | this.getDetail(this.djlxList[index].bsmSqyw); |
| 403 | }, | 401 | }, |
| 402 | //获取业务具体明细内容 | ||
| 404 | getDetail(bsmSqyw) { | 403 | getDetail(bsmSqyw) { |
| 405 | getSqdjywDetail(bsmSqyw).then((res) => { | 404 | getSqdjywDetail(bsmSqyw).then((res) => { |
| 406 | if (res.code === 200) { | 405 | if (res.code === 200) { |
| ... | @@ -410,6 +409,19 @@ export default { | ... | @@ -410,6 +409,19 @@ export default { |
| 410 | } | 409 | } |
| 411 | }); | 410 | }); |
| 412 | }, | 411 | }, |
| 412 | //提交保存数据 | ||
| 413 | submit(){ | ||
| 414 | let that = this; | ||
| 415 | saveSqdjyw(this.form).then(res => { | ||
| 416 | if (res.code == 200) { | ||
| 417 | that.$message({ | ||
| 418 | message: '修改成功', | ||
| 419 | type: 'success' | ||
| 420 | }) | ||
| 421 | // that.$emit('input', false) | ||
| 422 | } | ||
| 423 | }) | ||
| 424 | }, | ||
| 413 | //修改父组件传过来的值 | 425 | //修改父组件传过来的值 |
| 414 | cancelDialog() { | 426 | cancelDialog() { |
| 415 | this.$emit("update:dialogVisible", false); | 427 | this.$emit("update:dialogVisible", false); |
| ... | @@ -453,4 +465,48 @@ export default { | ... | @@ -453,4 +465,48 @@ export default { |
| 453 | background: $light-blue !important; | 465 | background: $light-blue !important; |
| 454 | color: #fff; | 466 | color: #fff; |
| 455 | } | 467 | } |
| 468 | .dyztsd-title { | ||
| 469 | @include flex; | ||
| 470 | align-items: center; | ||
| 471 | justify-content: space-between; | ||
| 472 | padding-left: 20px; | ||
| 473 | } | ||
| 474 | |||
| 475 | .qlxx-list { | ||
| 476 | @include flex; | ||
| 477 | flex-wrap: wrap; | ||
| 478 | padding-left: 20px; | ||
| 479 | |||
| 480 | li { | ||
| 481 | width: 25%; | ||
| 482 | margin-bottom: 15px; | ||
| 483 | } | ||
| 484 | } | ||
| 485 | |||
| 486 | .screen-list { | ||
| 487 | @include flex; | ||
| 488 | align-items: center; | ||
| 489 | flex-wrap: wrap; | ||
| 490 | border: 1px solid $borderColor; | ||
| 491 | border-bottom: none; | ||
| 492 | |||
| 493 | li { | ||
| 494 | @include flex; | ||
| 495 | align-items: center; | ||
| 496 | width: 25%; | ||
| 497 | line-height: 50px; | ||
| 498 | border-bottom: 1px solid $borderColor; | ||
| 499 | padding-left: 20px; | ||
| 500 | } | ||
| 501 | |||
| 502 | &-left { | ||
| 503 | margin-right: 20px; | ||
| 504 | width: 160px; | ||
| 505 | white-space: nowrap; | ||
| 506 | } | ||
| 507 | |||
| 508 | li:nth-child(odd) { | ||
| 509 | border-right: 1px solid $borderColor; | ||
| 510 | } | ||
| 511 | } | ||
| 456 | </style> | 512 | </style> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment