style:编辑功能的完善
Showing
3 changed files
with
24 additions
and
20 deletions
| ... | @@ -64,24 +64,20 @@ class data extends filter { | ... | @@ -64,24 +64,20 @@ class data extends filter { |
| 64 | } | 64 | } |
| 65 | }, | 65 | }, |
| 66 | { | 66 | { |
| 67 | prop: 'sfqydjyymb', | 67 | prop: 'djywbm', |
| 68 | label: '是否启用模板', | 68 | label: '登记业务编码', |
| 69 | width: '140', | ||
| 70 | render: (h, scope) => { | 69 | render: (h, scope) => { |
| 71 | return ( | 70 | return ( |
| 72 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}> | 71 | <el-input placeholder="登记业务编码" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> |
| 73 | <el-radio label={'1'}>启用</el-radio> | ||
| 74 | <el-radio label={'0'}>禁用</el-radio> | ||
| 75 | </el-radio-group> | ||
| 76 | ) | 72 | ) |
| 77 | } | 73 | } |
| 78 | }, | 74 | }, |
| 79 | { | 75 | { |
| 80 | prop: 'djyy', | 76 | prop: 'djywmc', |
| 81 | label: '登记原因模板', | 77 | label: '登记业务名称', |
| 82 | render: (h, scope) => { | 78 | render: (h, scope) => { |
| 83 | return ( | 79 | return ( |
| 84 | <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> | 80 | <el-input placeholder="登记业务名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> |
| 85 | ) | 81 | ) |
| 86 | } | 82 | } |
| 87 | }, | 83 | }, |
| ... | @@ -189,7 +185,7 @@ class data extends filter { | ... | @@ -189,7 +185,7 @@ class data extends filter { |
| 189 | { | 185 | { |
| 190 | prop: 'djqxbm', | 186 | prop: 'djqxbm', |
| 191 | label: '登记情形', | 187 | label: '登记情形', |
| 192 | width: '180', | 188 | width: '230', |
| 193 | render: (h, scope) => { | 189 | render: (h, scope) => { |
| 194 | return ( | 190 | return ( |
| 195 | <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]} | 191 | <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]} |
| ... | @@ -197,7 +193,7 @@ class data extends filter { | ... | @@ -197,7 +193,7 @@ class data extends filter { |
| 197 | { | 193 | { |
| 198 | vm.form.djqx.map(option => { | 194 | vm.form.djqx.map(option => { |
| 199 | return ( | 195 | return ( |
| 200 | <el-option label={option.nodename} value={option.nodecode}></el-option> | 196 | <el-option label={option.nodename} value={option.bsmSqyw}></el-option> |
| 201 | ) | 197 | ) |
| 202 | }) | 198 | }) |
| 203 | } | 199 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-17 15:26:20 | 4 | * @LastEditTime: 2023-10-13 09:14:12 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -115,7 +115,7 @@ | ... | @@ -115,7 +115,7 @@ |
| 115 | :pagination="false" :data="form.clxx"> | 115 | :pagination="false" :data="form.clxx"> |
| 116 | </lb-table> | 116 | </lb-table> |
| 117 | </el-collapse-item> | 117 | </el-collapse-item> |
| 118 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.sqdjyw && form.sqdjyw.sfsxql == '1'"> | 118 | <el-collapse-item title="筛选权利设置" name="3" v-if="form.sqdjyw && form.sqdjyw.sfsxql == '1'"> |
| 119 | <div class="dyztsd-title"> | 119 | <div class="dyztsd-title"> |
| 120 | <b>请勾选需要查询的权利信息</b> | 120 | <b>请勾选需要查询的权利信息</b> |
| 121 | <div> | 121 | <div> |
| ... | @@ -262,17 +262,19 @@ | ... | @@ -262,17 +262,19 @@ |
| 262 | this.tn = index; | 262 | this.tn = index; |
| 263 | this.getDetail(this.djlxList[index].bsmSqyw); | 263 | this.getDetail(this.djlxList[index].bsmSqyw); |
| 264 | }, | 264 | }, |
| 265 | //获取业务具体明细内容 | ||
| 266 | /** | 265 | /** |
| 267 | * @description: 获取业务具体明细内容 | 266 | * @description: 获取业务具体明细内容 |
| 268 | * @param {*} bsmSqyw | 267 | * @param {*} bsmSqyw |
| 269 | * @author: renchao | 268 | * @author: renchao |
| 270 | */ | 269 | */ |
| 271 | getDetail (bsmSqyw) { | 270 | getDetail (bsmSqyw) { |
| 272 | let _this = this | 271 | let that = this |
| 273 | getSqdjywDetail(bsmSqyw).then((res) => { | 272 | getSqdjywDetail(bsmSqyw).then((res) => { |
| 274 | if (res.code === 200) { | 273 | if (res.code === 200) { |
| 275 | _this.form = res.result; | 274 | this.form = res.result; |
| 275 | if (that.formData.sqfl == "2") { | ||
| 276 | that.form.djqx = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) | ||
| 277 | } | ||
| 276 | // _this.form.bsmSqyw = res.result.bsmSqyw; | 278 | // _this.form.bsmSqyw = res.result.bsmSqyw; |
| 277 | // _this.form.ywDetail = res.result.ywDetail; | 279 | // _this.form.ywDetail = res.result.ywDetail; |
| 278 | // _this.$set(_this.form, 'djqx', res.result.djqx); | 280 | // _this.$set(_this.form, 'djqx', res.result.djqx); |
| ... | @@ -303,8 +305,17 @@ | ... | @@ -303,8 +305,17 @@ |
| 303 | }); | 305 | }); |
| 304 | this.$popupCacel() | 306 | this.$popupCacel() |
| 305 | } | 307 | } |
| 308 | }).catch(() => { | ||
| 309 | this.loading = false | ||
| 306 | }) | 310 | }) |
| 307 | }, | 311 | }, |
| 312 | // 筛选权利设置 | ||
| 313 | handleSelectall () { | ||
| 314 | this.form.sxql.forEach(item => item.checked = true) | ||
| 315 | }, | ||
| 316 | handleInvert () { | ||
| 317 | this.form.sxql.forEach(item => item.checked = false) | ||
| 318 | }, | ||
| 308 | /** | 319 | /** |
| 309 | * @description: 上移下移 | 320 | * @description: 上移下移 |
| 310 | * @param {*} index | 321 | * @param {*} index | ... | ... |
| ... | @@ -80,7 +80,6 @@ | ... | @@ -80,7 +80,6 @@ |
| 80 | }; | 80 | }; |
| 81 | }, | 81 | }, |
| 82 | methods: { | 82 | methods: { |
| 83 | // 初始化数据 | ||
| 84 | /** | 83 | /** |
| 85 | * @description: 初始化数据 | 84 | * @description: 初始化数据 |
| 86 | * @author: renchao | 85 | * @author: renchao |
| ... | @@ -98,7 +97,6 @@ | ... | @@ -98,7 +97,6 @@ |
| 98 | } | 97 | } |
| 99 | ); | 98 | ); |
| 100 | }, | 99 | }, |
| 101 | // 修改 | ||
| 102 | /** | 100 | /** |
| 103 | * @description: 修改 | 101 | * @description: 修改 |
| 104 | * @param {*} row | 102 | * @param {*} row |
| ... | @@ -106,7 +104,6 @@ | ... | @@ -106,7 +104,6 @@ |
| 106 | */ | 104 | */ |
| 107 | editClick (row) { | 105 | editClick (row) { |
| 108 | this.sqqlRule = row; | 106 | this.sqqlRule = row; |
| 109 | // this.dialogVisible = true; | ||
| 110 | this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%') | 107 | this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%') |
| 111 | } | 108 | } |
| 112 | } | 109 | } | ... | ... |
-
Please register or sign in to post a comment