Merge branch 'dev'
Showing
12 changed files
with
249 additions
and
38 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-12 09:54:01 | 4 | * @LastEditTime: 2023-10-12 10:00:08 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
| ... | @@ -87,7 +87,7 @@ | ... | @@ -87,7 +87,7 @@ |
| 87 | // 缩略图 | 87 | // 缩略图 |
| 88 | thumbnailImages: [], | 88 | thumbnailImages: [], |
| 89 | showViewer: false, | 89 | showViewer: false, |
| 90 | initialIndex: undefined, | 90 | initialIndex: 0, |
| 91 | allLi: [], | 91 | allLi: [], |
| 92 | } | 92 | } |
| 93 | }, | 93 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-08 08:35:11 | 4 | * @LastEditTime: 2023-10-12 09:59:39 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -281,6 +281,9 @@ | ... | @@ -281,6 +281,9 @@ |
| 281 | this.previewImg.imgList = res.result ? res.result : [] | 281 | this.previewImg.imgList = res.result ? res.result : [] |
| 282 | }) | 282 | }) |
| 283 | this.previewImg.bsmSj = item?.bsmSj; | 283 | this.previewImg.bsmSj = item?.bsmSj; |
| 284 | if (this.$refs.imageRef) { | ||
| 285 | this.$refs.imageRef.initialIndex = 0 | ||
| 286 | } | ||
| 284 | }, | 287 | }, |
| 285 | /** | 288 | /** |
| 286 | * @description: 小图片点击 | 289 | * @description: 小图片点击 | ... | ... |
| ... | @@ -99,7 +99,69 @@ class data extends filter { | ... | @@ -99,7 +99,69 @@ class data extends filter { |
| 99 | } | 99 | } |
| 100 | ] | 100 | ] |
| 101 | } | 101 | } |
| 102 | 102 | qlxxCol () { | |
| 103 | return [ | ||
| 104 | { | ||
| 105 | width: '60', | ||
| 106 | label: '序号', | ||
| 107 | type: 'index' | ||
| 108 | }, | ||
| 109 | { | ||
| 110 | prop: 'nodecode', | ||
| 111 | width: '105', | ||
| 112 | label: '登记情形编码', | ||
| 113 | render: (h, scope) => { | ||
| 114 | return ( | ||
| 115 | <el-input placeholder="登记情形编码" value={scope.row[scope.column.property]} | ||
| 116 | onInput={(val) => { scope.row[scope.column.property] = val; vm.orderNoChange() }} maxlength="8"> | ||
| 117 | </el-input> | ||
| 118 | ) | ||
| 119 | } | ||
| 120 | }, | ||
| 121 | { | ||
| 122 | prop: 'nodename', | ||
| 123 | label: '登记情形名称', | ||
| 124 | render: (h, scope) => { | ||
| 125 | return ( | ||
| 126 | <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]} | ||
| 127 | onInput={(val) => { scope.row[scope.column.property] = val; vm.orderNoChange() }}> | ||
| 128 | </el-input> | ||
| 129 | ) | ||
| 130 | } | ||
| 131 | }, | ||
| 132 | { | ||
| 133 | prop: 'djywbm', | ||
| 134 | label: '登记业务编码', | ||
| 135 | width: '105', | ||
| 136 | render: (h, scope) => { | ||
| 137 | return ( | ||
| 138 | <el-input placeholder="登记业务编码" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> | ||
| 139 | ) | ||
| 140 | } | ||
| 141 | }, | ||
| 142 | { | ||
| 143 | prop: 'djywmc', | ||
| 144 | label: '登记业务名称', | ||
| 145 | render: (h, scope) => { | ||
| 146 | return ( | ||
| 147 | <el-input placeholder="登记业务名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> | ||
| 148 | ) | ||
| 149 | } | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | label: '移动', | ||
| 153 | width: '100', | ||
| 154 | render: (h, scope) => { | ||
| 155 | return ( | ||
| 156 | <div> | ||
| 157 | <el-button type='text' disabled={scope.$index == 0} onClick={() => { vm.moveUpward(scope.$index, scope.row, 'djqx') }}>上移</el-button> | ||
| 158 | <el-button type='text' disabled={(scope.$index + 1) == vm.form.djlx.length} onClick={() => { vm.moveDown(scope.$index, scope.row, 'djqx') }}>下移</el-button > | ||
| 159 | </div> | ||
| 160 | ) | ||
| 161 | } | ||
| 162 | } | ||
| 163 | ] | ||
| 164 | } | ||
| 103 | clxxCol () { | 165 | clxxCol () { |
| 104 | return [ | 166 | return [ |
| 105 | { | 167 | { |
| ... | @@ -188,7 +250,7 @@ class data extends filter { | ... | @@ -188,7 +250,7 @@ class data extends filter { |
| 188 | }, | 250 | }, |
| 189 | { | 251 | { |
| 190 | prop: 'djqxbm', | 252 | prop: 'djqxbm', |
| 191 | label: '登记情形', | 253 | label: '登记情形名称', |
| 192 | width: '180', | 254 | width: '180', |
| 193 | render: (h, scope) => { | 255 | render: (h, scope) => { |
| 194 | return ( | 256 | return ( |
| ... | @@ -197,7 +259,126 @@ class data extends filter { | ... | @@ -197,7 +259,126 @@ class data extends filter { |
| 197 | { | 259 | { |
| 198 | vm.form.djqx.map(option => { | 260 | vm.form.djqx.map(option => { |
| 199 | return ( | 261 | return ( |
| 200 | <el-option label={option.nodename} value={option.nodecode}></el-option> | 262 | <el-option label={option.nodename} value={option.bsmSqyw}></el-option> |
| 263 | ) | ||
| 264 | }) | ||
| 265 | } | ||
| 266 | </el-select> | ||
| 267 | ) | ||
| 268 | } | ||
| 269 | }, | ||
| 270 | { | ||
| 271 | label: '移动', | ||
| 272 | width: '90', | ||
| 273 | render: (h, scope) => { | ||
| 274 | return ( | ||
| 275 | <div> | ||
| 276 | <el-button type='text' disabled={scope.$index == 0} onClick={() => { vm.moveUpward(scope.$index, scope.row, 'clxx') }}>上移</el-button> | ||
| 277 | <el-button type='text' disabled={(scope.$index + 1) == vm.form.clxx.length} onClick={() => { vm.moveDown(scope.$index, scope.row, 'clxx') }}>下移</el-button > | ||
| 278 | </div> | ||
| 279 | ) | ||
| 280 | } | ||
| 281 | } | ||
| 282 | ] | ||
| 283 | } | ||
| 284 | ybsqClxxCol () { | ||
| 285 | return [ | ||
| 286 | { | ||
| 287 | width: '60', | ||
| 288 | renderHeader: (h, scope) => { | ||
| 289 | return <i class="el-icon-plus pointer" onClick={() => { vm.addClxx() }} style="color:#409EFF"></i> | ||
| 290 | }, | ||
| 291 | render: (h, scope) => { | ||
| 292 | return ( | ||
| 293 | <i class="el-icon-minus pointer" onClick={() => { vm.removeClxx(scope.$index, scope.row) }}></i> | ||
| 294 | ) | ||
| 295 | } | ||
| 296 | }, | ||
| 297 | { | ||
| 298 | width: '60', | ||
| 299 | label: '序号', | ||
| 300 | type: 'index' | ||
| 301 | }, | ||
| 302 | { | ||
| 303 | label: '是否必填', | ||
| 304 | prop: 'isrequired', | ||
| 305 | width: '110', | ||
| 306 | render: (h, scope) => { | ||
| 307 | return ( | ||
| 308 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { | ||
| 309 | scope.row[scope.column.property] = val | ||
| 310 | }}> | ||
| 311 | <el-radio label={'0'}>否</el-radio> | ||
| 312 | <el-radio label={'1'}>是</el-radio> | ||
| 313 | </el-radio-group> | ||
| 314 | ) | ||
| 315 | } | ||
| 316 | }, | ||
| 317 | { | ||
| 318 | prop: 'clbm', | ||
| 319 | label: '材料编码', | ||
| 320 | width: '100', | ||
| 321 | render: (h, scope) => { | ||
| 322 | return ( | ||
| 323 | <el-input placeholder="材料编码" value={scope.row[scope.column.property]} | ||
| 324 | onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8"></el-input> | ||
| 325 | ) | ||
| 326 | } | ||
| 327 | }, | ||
| 328 | { | ||
| 329 | prop: 'clmc', | ||
| 330 | label: '材料名称', | ||
| 331 | render: (h, scope) => { | ||
| 332 | return ( | ||
| 333 | <el-input placeholder="材料名称" value={scope.row[scope.column.property]} | ||
| 334 | onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> | ||
| 335 | ) | ||
| 336 | } | ||
| 337 | }, | ||
| 338 | { | ||
| 339 | prop: 'cllx', | ||
| 340 | label: '材料类型', | ||
| 341 | width: '115', | ||
| 342 | render: (h, scope) => { | ||
| 343 | return ( | ||
| 344 | <el-select value={scope.row[scope.column.property]} | ||
| 345 | onChange={(val) => { scope.row[scope.column.property] = val }} clearable> | ||
| 346 | { | ||
| 347 | store.getters.dictData['A40'].map(option => { | ||
| 348 | return ( | ||
| 349 | <el-option label={option.dname} value={option.dcode}></el-option> | ||
| 350 | ) | ||
| 351 | }) | ||
| 352 | } | ||
| 353 | </el-select> | ||
| 354 | ) | ||
| 355 | } | ||
| 356 | }, | ||
| 357 | { | ||
| 358 | label: '是否公共材料', | ||
| 359 | prop: 'sfggcl', | ||
| 360 | width: '110', | ||
| 361 | render: (h, scope) => { | ||
| 362 | return ( | ||
| 363 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}> | ||
| 364 | <el-radio label={'1'}>是</el-radio> | ||
| 365 | <el-radio label={'0'}>否</el-radio> | ||
| 366 | </el-radio-group> | ||
| 367 | ) | ||
| 368 | } | ||
| 369 | }, | ||
| 370 | { | ||
| 371 | prop: 'djqxbm', | ||
| 372 | label: '业务名称', | ||
| 373 | width: '180', | ||
| 374 | render: (h, scope) => { | ||
| 375 | return ( | ||
| 376 | <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]} | ||
| 377 | onChange={(val) => { scope.row[scope.column.property] = val }} clearable> | ||
| 378 | { | ||
| 379 | vm.form.ywmcList.map(option => { | ||
| 380 | return ( | ||
| 381 | <el-option label={option.nodename} value={option.bsmSqyw}></el-option> | ||
| 201 | ) | 382 | ) |
| 202 | }) | 383 | }) |
| 203 | } | 384 | } |
| ... | @@ -219,7 +400,6 @@ class data extends filter { | ... | @@ -219,7 +400,6 @@ class data extends filter { |
| 219 | } | 400 | } |
| 220 | ] | 401 | ] |
| 221 | } | 402 | } |
| 222 | |||
| 223 | } | 403 | } |
| 224 | let datas = new data() | 404 | let datas = new data() |
| 225 | export { | 405 | export { | ... | ... |
| 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 10:37:29 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -103,7 +103,7 @@ | ... | @@ -103,7 +103,7 @@ |
| 103 | </el-form> | 103 | </el-form> |
| 104 | <el-collapse class="modifycollapse" accordion> | 104 | <el-collapse class="modifycollapse" accordion> |
| 105 | <el-collapse-item title="权利信息" name="0" v-if="form.sqdjyw.sqfl=='2'"> | 105 | <el-collapse-item title="权利信息" name="0" v-if="form.sqdjyw.sqfl=='2'"> |
| 106 | <lb-table :column="djqxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djlx"> | 106 | <lb-table :column="qlxxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djlx"> |
| 107 | </lb-table> | 107 | </lb-table> |
| 108 | </el-collapse-item> | 108 | </el-collapse-item> |
| 109 | <el-collapse-item title="登记情形设置" name="1" v-if="form.sqdjyw.sqfl=='1'"> | 109 | <el-collapse-item title="登记情形设置" name="1" v-if="form.sqdjyw.sqfl=='1'"> |
| ... | @@ -111,11 +111,11 @@ | ... | @@ -111,11 +111,11 @@ |
| 111 | </lb-table> | 111 | </lb-table> |
| 112 | </el-collapse-item> | 112 | </el-collapse-item> |
| 113 | <el-collapse-item title="材料信息设置" name="2"> | 113 | <el-collapse-item title="材料信息设置" name="2"> |
| 114 | <lb-table :column="clxxCol" :heightNumSetting="true" :minHeight="160" | 114 | <lb-table :column="clxxList" :heightNumSetting="true" :minHeight="160" |
| 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> |
| ... | @@ -153,9 +153,11 @@ | ... | @@ -153,9 +153,11 @@ |
| 153 | </template> | 153 | </template> |
| 154 | <script> | 154 | <script> |
| 155 | import { uploadUrl } from '@/api/file' | 155 | import { uploadUrl } from '@/api/file' |
| 156 | import { getUuid } from "@/utils/operation.js" | ||
| 157 | import { datas, sendThis } from "./sqywDetail"; | ||
| 156 | import { upward, down } from "@/utils/operation"; | 158 | import { upward, down } from "@/utils/operation"; |
| 157 | import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/sysSqdjyw.js"; | 159 | import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/sysSqdjyw.js"; |
| 158 | import { datas, sendThis } from "./sqywDetail"; | 160 | |
| 159 | import store from '@/store/index.js' | 161 | import store from '@/store/index.js' |
| 160 | export default { | 162 | export default { |
| 161 | name: "componentDialog", | 163 | name: "componentDialog", |
| ... | @@ -188,13 +190,26 @@ | ... | @@ -188,13 +190,26 @@ |
| 188 | // clxx: [] | 190 | // clxx: [] |
| 189 | }, | 191 | }, |
| 190 | djqxCol: datas.djqxCol(), | 192 | djqxCol: datas.djqxCol(), |
| 193 | clxxList: [], | ||
| 191 | clxxCol: datas.clxxCol(), | 194 | clxxCol: datas.clxxCol(), |
| 195 | ybsqClxxCol: datas.ybsqClxxCol(), | ||
| 196 | qlxxCol: datas.qlxxCol(), | ||
| 192 | }; | 197 | }; |
| 193 | }, | 198 | }, |
| 194 | mounted () { | 199 | mounted () { |
| 195 | sendThis(this) | 200 | sendThis(this) |
| 196 | this.init() | 201 | this.init() |
| 197 | }, | 202 | }, |
| 203 | watch: { | ||
| 204 | 'form.djlx': { | ||
| 205 | handler (newName, oldName) { | ||
| 206 | this.form.ywmcList = this.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) | ||
| 207 | }, | ||
| 208 | // 代表在wacth里声明了firstName这个方法之后立即先去执行handler方法 | ||
| 209 | immediate: true, | ||
| 210 | deep: true | ||
| 211 | } | ||
| 212 | }, | ||
| 198 | methods: { | 213 | methods: { |
| 199 | //页面初始化 | 214 | //页面初始化 |
| 200 | /** | 215 | /** |
| ... | @@ -205,7 +220,9 @@ | ... | @@ -205,7 +220,9 @@ |
| 205 | this.tn = 0; | 220 | this.tn = 0; |
| 206 | if (this.formData.sqfl == "2") { | 221 | if (this.formData.sqfl == "2") { |
| 207 | this.getDetail(this.formData.bsmSqyw); | 222 | this.getDetail(this.formData.bsmSqyw); |
| 223 | this.clxxList = this.ybsqClxxCol | ||
| 208 | } else { | 224 | } else { |
| 225 | this.clxxList = this.clxxCol | ||
| 209 | getDjlxInfo(this.formData.bsmSqyw).then((res) => { | 226 | getDjlxInfo(this.formData.bsmSqyw).then((res) => { |
| 210 | let { result } = res; | 227 | let { result } = res; |
| 211 | this.djlxList = result ? result : []; | 228 | this.djlxList = result ? result : []; |
| ... | @@ -262,17 +279,20 @@ | ... | @@ -262,17 +279,20 @@ |
| 262 | this.tn = index; | 279 | this.tn = index; |
| 263 | this.getDetail(this.djlxList[index].bsmSqyw); | 280 | this.getDetail(this.djlxList[index].bsmSqyw); |
| 264 | }, | 281 | }, |
| 265 | //获取业务具体明细内容 | ||
| 266 | /** | 282 | /** |
| 267 | * @description: 获取业务具体明细内容 | 283 | * @description: 获取业务具体明细内容 |
| 268 | * @param {*} bsmSqyw | 284 | * @param {*} bsmSqyw |
| 269 | * @author: renchao | 285 | * @author: renchao |
| 270 | */ | 286 | */ |
| 271 | getDetail (bsmSqyw) { | 287 | getDetail (bsmSqyw) { |
| 272 | let _this = this | 288 | let that = this |
| 273 | getSqdjywDetail(bsmSqyw).then((res) => { | 289 | getSqdjywDetail(bsmSqyw).then((res) => { |
| 274 | if (res.code === 200) { | 290 | if (res.code === 200) { |
| 275 | _this.form = res.result; | 291 | this.form = res.result; |
| 292 | console.log(this.form.clxx); | ||
| 293 | if (that.formData.sqfl == "2") { | ||
| 294 | that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) | ||
| 295 | } | ||
| 276 | // _this.form.bsmSqyw = res.result.bsmSqyw; | 296 | // _this.form.bsmSqyw = res.result.bsmSqyw; |
| 277 | // _this.form.ywDetail = res.result.ywDetail; | 297 | // _this.form.ywDetail = res.result.ywDetail; |
| 278 | // _this.$set(_this.form, 'djqx', res.result.djqx); | 298 | // _this.$set(_this.form, 'djqx', res.result.djqx); |
| ... | @@ -303,8 +323,17 @@ | ... | @@ -303,8 +323,17 @@ |
| 303 | }); | 323 | }); |
| 304 | this.$popupCacel() | 324 | this.$popupCacel() |
| 305 | } | 325 | } |
| 326 | }).catch(() => { | ||
| 327 | this.loading = false | ||
| 306 | }) | 328 | }) |
| 307 | }, | 329 | }, |
| 330 | // 筛选权利设置 | ||
| 331 | handleSelectall () { | ||
| 332 | this.form.sxql.forEach(item => item.checked = true) | ||
| 333 | }, | ||
| 334 | handleInvert () { | ||
| 335 | this.form.sxql.forEach(item => item.checked = false) | ||
| 336 | }, | ||
| 308 | /** | 337 | /** |
| 309 | * @description: 上移下移 | 338 | * @description: 上移下移 |
| 310 | * @param {*} index | 339 | * @param {*} index |
| ... | @@ -316,7 +345,7 @@ | ... | @@ -316,7 +345,7 @@ |
| 316 | if (type == "clxx") { | 345 | if (type == "clxx") { |
| 317 | upward(index, this.form.clxx); | 346 | upward(index, this.form.clxx); |
| 318 | } else { | 347 | } else { |
| 319 | upward(index, this.form.djqx); | 348 | upward(index, this.form.djlx); |
| 320 | } | 349 | } |
| 321 | }, | 350 | }, |
| 322 | /** | 351 | /** |
| ... | @@ -330,7 +359,7 @@ | ... | @@ -330,7 +359,7 @@ |
| 330 | if (type == "clxx") { | 359 | if (type == "clxx") { |
| 331 | down(index, this.form.clxx); | 360 | down(index, this.form.clxx); |
| 332 | } else { | 361 | } else { |
| 333 | down(index, this.form.djqx); | 362 | down(index, this.form.djlx); |
| 334 | } | 363 | } |
| 335 | }, | 364 | }, |
| 336 | /** | 365 | /** |
| ... | @@ -339,6 +368,7 @@ | ... | @@ -339,6 +368,7 @@ |
| 339 | */ | 368 | */ |
| 340 | addDjqx () { | 369 | addDjqx () { |
| 341 | this.form.djqx.push({ | 370 | this.form.djqx.push({ |
| 371 | bsmSqyw: getUuid(32), | ||
| 342 | nodecode: "", | 372 | nodecode: "", |
| 343 | nodename: "", | 373 | nodename: "", |
| 344 | enabled: "1", | 374 | enabled: "1", | ... | ... |
| ... | @@ -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 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-22 10:12:37 | 4 | * @LastEditTime: 2023-10-13 10:52:12 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -104,10 +104,11 @@ | ... | @@ -104,10 +104,11 @@ |
| 104 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { | 104 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
| 105 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | 105 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
| 106 | } else { | 106 | } else { |
| 107 | that.unitClick(0) | ||
| 108 | if (that.showBatch) { | 107 | if (that.showBatch) { |
| 109 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 | 108 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 |
| 110 | that.batchUnitClick(); | 109 | that.batchUnitClick(); |
| 110 | } else { | ||
| 111 | that.unitClick(0) | ||
| 111 | } | 112 | } |
| 112 | } | 113 | } |
| 113 | } | 114 | } |
| ... | @@ -125,10 +126,11 @@ | ... | @@ -125,10 +126,11 @@ |
| 125 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { | 126 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
| 126 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | 127 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
| 127 | } else { | 128 | } else { |
| 128 | that.unitClick(0) | ||
| 129 | if (that.showBatch) { | 129 | if (that.showBatch) { |
| 130 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 | 130 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 |
| 131 | that.batchUnitClick(); | 131 | that.batchUnitClick(); |
| 132 | } else { | ||
| 133 | that.unitClick(0) | ||
| 132 | } | 134 | } |
| 133 | } | 135 | } |
| 134 | } | 136 | } |
| ... | @@ -143,7 +145,7 @@ | ... | @@ -143,7 +145,7 @@ |
| 143 | judgeBatchShow () { | 145 | judgeBatchShow () { |
| 144 | this.showBatch = false; | 146 | this.showBatch = false; |
| 145 | if (this.unitData.length > 1) { | 147 | if (this.unitData.length > 1) { |
| 146 | let qllx = this.$route.query?.sqywbm?.substring(0, 3); | 148 | let qllx = this.$route.query?.djywbm?.substring(0, 3); |
| 147 | switch (qllx) { | 149 | switch (qllx) { |
| 148 | case 'A04': | 150 | case 'A04': |
| 149 | this.showBatch = true; | 151 | this.showBatch = true; |
| ... | @@ -178,12 +180,10 @@ | ... | @@ -178,12 +180,10 @@ |
| 178 | .then(() => { | 180 | .then(() => { |
| 179 | var formdata = new FormData(); | 181 | var formdata = new FormData(); |
| 180 | formdata.append("bsmSldyList", item.bsmSldy.split(",")); | 182 | formdata.append("bsmSldyList", item.bsmSldy.split(",")); |
| 181 | // formdata.append("bsmSlsq", this.bsmSlsq); | ||
| 182 | deleteSlbdcdy(formdata).then((res) => { | 183 | deleteSlbdcdy(formdata).then((res) => { |
| 183 | if (res.code == 200) { | 184 | if (res.code == 200) { |
| 184 | this.$message.success("删除成功"); | 185 | this.$message.success("删除成功"); |
| 185 | this.loadBdcdylist() | 186 | this.loadBdcdylist() |
| 186 | // this.$parent.updateDialog(); | ||
| 187 | } else { | 187 | } else { |
| 188 | this.$message.error(res.message); | 188 | this.$message.error(res.message); |
| 189 | } | 189 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-21 14:44:34 | 4 | * @LastEditTime: 2023-10-12 17:12:42 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -159,7 +159,7 @@ | ... | @@ -159,7 +159,7 @@ |
| 159 | judgeBatchShow () { | 159 | judgeBatchShow () { |
| 160 | this.showBatch = false; | 160 | this.showBatch = false; |
| 161 | if (this.afterUnitData.length > 1) { | 161 | if (this.afterUnitData.length > 1) { |
| 162 | let qllx = this.$route.query?.sqywbm?.substring(0, 3); | 162 | let qllx = this.$route.query?.djywbm?.substring(0, 3); |
| 163 | switch (qllx) { | 163 | switch (qllx) { |
| 164 | case 'B39': | 164 | case 'B39': |
| 165 | this.showBatch = true; | 165 | this.showBatch = true; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-15 15:54:13 | 4 | * @LastEditTime: 2023-10-12 09:58:32 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -272,6 +272,9 @@ | ... | @@ -272,6 +272,9 @@ |
| 272 | this.previewImg.imgList = res.result ? res.result : [] | 272 | this.previewImg.imgList = res.result ? res.result : [] |
| 273 | }) | 273 | }) |
| 274 | this.previewImg.bsmMaterial = item?.bsmMaterial; | 274 | this.previewImg.bsmMaterial = item?.bsmMaterial; |
| 275 | if (this.$refs.imageRef) { | ||
| 276 | this.$refs.imageRef.initialIndex = 0 | ||
| 277 | } | ||
| 275 | }, | 278 | }, |
| 276 | /** | 279 | /** |
| 277 | * @description: 小图片点击 | 280 | * @description: 小图片点击 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-25 10:33:39 | 4 | * @LastEditTime: 2023-10-12 17:05:40 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -315,7 +315,7 @@ | ... | @@ -315,7 +315,7 @@ |
| 315 | } else { | 315 | } else { |
| 316 | const { href } = this.$router.resolve( | 316 | const { href } = this.$router.resolve( |
| 317 | "/workFrame?bsmSlsq=" + item.bsmSlsq + | 317 | "/workFrame?bsmSlsq=" + item.bsmSlsq + |
| 318 | "&bestepid=" + item.bestepid + | 318 | "&bestepid=" + item.bestepid + "&djywbm=" + item.djywbm + |
| 319 | "&zbhj=" + item.zbhj | 319 | "&zbhj=" + item.zbhj |
| 320 | ) | 320 | ) |
| 321 | window.open(href, `workFrame${item.bsmSlsq}`) | 321 | window.open(href, `workFrame${item.bsmSlsq}`) | ... | ... |
| ... | @@ -115,7 +115,7 @@ | ... | @@ -115,7 +115,7 @@ |
| 115 | v-model="ruleForm.jsydsyq.qdjg" | 115 | v-model="ruleForm.jsydsyq.qdjg" |
| 116 | style="width: 500%" | 116 | style="width: 500%" |
| 117 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 117 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
| 118 | <el-select v-model="ruleForm.jsydsyq.jedw"> | 118 | <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="!viewEdit"> |
| 119 | <el-option | 119 | <el-option |
| 120 | v-for="item in dictData['A57']" | 120 | v-for="item in dictData['A57']" |
| 121 | :key="item.dcode" | 121 | :key="item.dcode" | ... | ... |
| ... | @@ -143,7 +143,7 @@ | ... | @@ -143,7 +143,7 @@ |
| 143 | v-model="ruleForm.ygdj.jzmj" | 143 | v-model="ruleForm.ygdj.jzmj" |
| 144 | :disabled="!viewEdit" | 144 | :disabled="!viewEdit" |
| 145 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 145 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
| 146 | <el-select disabled v-model="mjdw" style="width: 68px"> | 146 | <el-select :disabled="!viewEdit" v-model="mjdw" style="width: 68px"> |
| 147 | <el-option | 147 | <el-option |
| 148 | v-for="item in dictData['A7']" | 148 | v-for="item in dictData['A7']" |
| 149 | :key="item.dcode" | 149 | :key="item.dcode" |
| ... | @@ -161,7 +161,6 @@ | ... | @@ -161,7 +161,6 @@ |
| 161 | :disabled="!viewEdit" | 161 | :disabled="!viewEdit" |
| 162 | maxlength="11" | 162 | maxlength="11" |
| 163 | v-model="ruleForm.ygdj.qdjg" | 163 | v-model="ruleForm.ygdj.qdjg" |
| 164 | style="width: 500%" | ||
| 165 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 164 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
| 166 | <el-select | 165 | <el-select |
| 167 | v-model="ruleForm.ygdj.jedw" | 166 | v-model="ruleForm.ygdj.jedw" |
| ... | @@ -182,7 +181,7 @@ | ... | @@ -182,7 +181,7 @@ |
| 182 | <el-col :span="24"> | 181 | <el-col :span="24"> |
| 183 | <el-form-item label="附记:"> | 182 | <el-form-item label="附记:"> |
| 184 | <el-input | 183 | <el-input |
| 185 | :disabled="!viewEdit" | 184 | :disabled="!viewEdit" |
| 186 | v-model="ruleForm.ygdj.fj" | 185 | v-model="ruleForm.ygdj.fj" |
| 187 | type="textarea" | 186 | type="textarea" |
| 188 | maxlength="500" | 187 | maxlength="500" | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-21 14:59:02 | 4 | * @LastEditTime: 2023-10-12 17:26:24 |
| 5 | */ | 5 | */ |
| 6 | import Router from '@/router' | 6 | import Router from '@/router' |
| 7 | export default { | 7 | export default { |
| 8 | methods: { | 8 | methods: { |
| 9 | //点击行选中或取消复选框 | ||
| 10 | /** | 9 | /** |
| 11 | * @description: 点击行选中或取消复选框 | 10 | * @description: 点击行选中或取消复选框 |
| 12 | * @param {*} row | 11 | * @param {*} row |
| ... | @@ -24,7 +23,7 @@ export default { | ... | @@ -24,7 +23,7 @@ export default { |
| 24 | jump (data, type) { | 23 | jump (data, type) { |
| 25 | const { href } = Router.resolve( | 24 | const { href } = Router.resolve( |
| 26 | "/workFrame?bsmSlsq=" + data.bsmSlsq + | 25 | "/workFrame?bsmSlsq=" + data.bsmSlsq + |
| 27 | "&bestepid=" + data.bestepid + "&zbhj=受理" | 26 | "&bestepid=" + data.bestepid + "&djywbm=" + data.djywbm + "&zbhj=受理" |
| 28 | ) | 27 | ) |
| 29 | window.open(href, "_blank") | 28 | window.open(href, "_blank") |
| 30 | this.$popupCacel() | 29 | this.$popupCacel() | ... | ... |
-
Please register or sign in to post a comment