style:受理申请增加loading
Showing
19 changed files
with
114 additions
and
59 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:17:58 | 4 | * @LastEditTime: 2023-07-31 09:11:52 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -41,7 +41,6 @@ | ... | @@ -41,7 +41,6 @@ |
| 41 | <el-col :span="3" class="btnColRight"> | 41 | <el-col :span="3" class="btnColRight"> |
| 42 | <el-form-item> | 42 | <el-form-item> |
| 43 | <el-button type="primary" @click="queryClick">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
| 44 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
| 45 | </el-form-item> | 44 | </el-form-item> |
| 46 | </el-col> | 45 | </el-col> |
| 47 | </el-row> | 46 | </el-row> |
| ... | @@ -65,7 +64,7 @@ | ... | @@ -65,7 +64,7 @@ |
| 65 | </div> | 64 | </div> |
| 66 | <div class="submit_button"> | 65 | <div class="submit_button"> |
| 67 | <el-button @click="$popupCacel">取消</el-button> | 66 | <el-button @click="$popupCacel">取消</el-button> |
| 68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 67 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 69 | </div> | 68 | </div> |
| 70 | </div> | 69 | </div> |
| 71 | </template> | 70 | </template> |
| ... | @@ -87,6 +86,7 @@ | ... | @@ -87,6 +86,7 @@ |
| 87 | mixins: [table, jump], | 86 | mixins: [table, jump], |
| 88 | data () { | 87 | data () { |
| 89 | return { | 88 | return { |
| 89 | loading: false, | ||
| 90 | queryForm: defaultParameters.defaultParameters(), | 90 | queryForm: defaultParameters.defaultParameters(), |
| 91 | tableData: { | 91 | tableData: { |
| 92 | total: 0, | 92 | total: 0, |
| ... | @@ -129,6 +129,7 @@ | ... | @@ -129,6 +129,7 @@ |
| 129 | return; | 129 | return; |
| 130 | } | 130 | } |
| 131 | if (!this.isJump) { | 131 | if (!this.isJump) { |
| 132 | this.loading = true | ||
| 132 | startBusinessFlow({ | 133 | startBusinessFlow({ |
| 133 | bsmSqyw: this.bsmSqyw, | 134 | bsmSqyw: this.bsmSqyw, |
| 134 | bdcdysz: this.bdcdysz, | 135 | bdcdysz: this.bdcdysz, |
| ... | @@ -137,6 +138,7 @@ | ... | @@ -137,6 +138,7 @@ |
| 137 | djqxmc: | 138 | djqxmc: |
| 138 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 139 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 139 | }).then((res) => { | 140 | }).then((res) => { |
| 141 | this.loading = false | ||
| 140 | if (res.code == 200) { | 142 | if (res.code == 200) { |
| 141 | this.$message({ | 143 | this.$message({ |
| 142 | showClose: true, | 144 | showClose: true, |
| ... | @@ -155,10 +157,12 @@ | ... | @@ -155,10 +157,12 @@ |
| 155 | } | 157 | } |
| 156 | }) | 158 | }) |
| 157 | } else { | 159 | } else { |
| 160 | this.loading = true | ||
| 158 | choiceBdcdy({ | 161 | choiceBdcdy({ |
| 159 | bsmSlsq: this.$route.query.bsmSlsq, | 162 | bsmSlsq: this.$route.query.bsmSlsq, |
| 160 | bdcdysz: this.bdcdysz, | 163 | bdcdysz: this.bdcdysz, |
| 161 | }).then((res) => { | 164 | }).then((res) => { |
| 165 | this.loading = false | ||
| 162 | if (res.code == 200) { | 166 | if (res.code == 200) { |
| 163 | this.$message({ | 167 | this.$message({ |
| 164 | showClose: true, | 168 | showClose: true, |
| ... | @@ -233,11 +237,11 @@ | ... | @@ -233,11 +237,11 @@ |
| 233 | this.$refs.table.toggleRowSelection(row); | 237 | this.$refs.table.toggleRowSelection(row); |
| 234 | } | 238 | } |
| 235 | }, | 239 | }, |
| 236 | /** | 240 | /** |
| 237 | * @description: openBook | 241 | * @description: openBook |
| 238 | * @param {*} row | 242 | * @param {*} row |
| 239 | * @author: miaofang | 243 | * @author: miaofang |
| 240 | */ | 244 | */ |
| 241 | openBook (row) { | 245 | openBook (row) { |
| 242 | console.log("的急急急急急急"); | 246 | console.log("的急急急急急急"); |
| 243 | var param = { | 247 | var param = { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:03 | 4 | * @LastEditTime: 2023-07-31 09:15:01 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
| ... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
| 38 | </el-col> | 38 | </el-col> |
| 39 | <el-col :span="2" class="btnColRight"> | 39 | <el-col :span="2" class="btnColRight"> |
| 40 | <el-form-item> | 40 | <el-form-item> |
| 41 | <el-button type="primary" @click="handleSearch">查询</el-button> | 41 | <el-button type="primary" @click="handleSearch" :loading="loading">查询</el-button> |
| 42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> |
| 43 | </el-form-item> | 43 | </el-form-item> |
| 44 | </el-col> | 44 | </el-col> |
| ... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
| 55 | </div> | 55 | </div> |
| 56 | <div class="submit_button"> | 56 | <div class="submit_button"> |
| 57 | <el-button @click="$popupCacel">取消</el-button> | 57 | <el-button @click="$popupCacel">取消</el-button> |
| 58 | <el-button type="primary" plain @click="submitFormClick()">发起申请</el-button> | 58 | <el-button type="primary" plain @click="submitFormClick()" :loading="loading">发起申请</el-button> |
| 59 | </div> | 59 | </div> |
| 60 | </div> | 60 | </div> |
| 61 | </template> | 61 | </template> |
| ... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
| 76 | }, | 76 | }, |
| 77 | data () { | 77 | data () { |
| 78 | return { | 78 | return { |
| 79 | loading: false, | ||
| 79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
| 80 | qllxs: [], | 81 | qllxs: [], |
| 81 | tableData: { | 82 | tableData: { |
| ... | @@ -115,12 +116,14 @@ | ... | @@ -115,12 +116,14 @@ |
| 115 | this.$message.error("请至少选择一条数据"); | 116 | this.$message.error("请至少选择一条数据"); |
| 116 | return; | 117 | return; |
| 117 | } | 118 | } |
| 119 | this.loading = true | ||
| 118 | startBusinessFlow({ | 120 | startBusinessFlow({ |
| 119 | bsmSqyw: this.sqywInfo.parentid, | 121 | bsmSqyw: this.sqywInfo.parentid, |
| 120 | bdcdysz: this.bdcdysz, | 122 | bdcdysz: this.bdcdysz, |
| 121 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 123 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 122 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 124 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 123 | }).then((res) => { | 125 | }).then((res) => { |
| 126 | this.loading = false | ||
| 124 | if (res.code == 200) { | 127 | if (res.code == 200) { |
| 125 | this.$message({ | 128 | this.$message({ |
| 126 | showClose: true, | 129 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 13:56:38 | 4 | * @LastEditTime: 2023-07-31 09:16:13 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
| 69 | </div> | 69 | </div> |
| 70 | <div class="submit_button"> | 70 | <div class="submit_button"> |
| 71 | <el-button @click="$popupCacel">取消</el-button> | 71 | <el-button @click="$popupCacel">取消</el-button> |
| 72 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 72 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 73 | </div> | 73 | </div> |
| 74 | </div> | 74 | </div> |
| 75 | <div v-if="activeName == 'dz'"> | 75 | <div v-if="activeName == 'dz'"> |
| ... | @@ -120,7 +120,7 @@ | ... | @@ -120,7 +120,7 @@ |
| 120 | </div> | 120 | </div> |
| 121 | <div class="submit_button"> | 121 | <div class="submit_button"> |
| 122 | <el-button @click="$popupCacel">取消</el-button> | 122 | <el-button @click="$popupCacel">取消</el-button> |
| 123 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 123 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 124 | </div> | 124 | </div> |
| 125 | </div> | 125 | </div> |
| 126 | </div> | 126 | </div> |
| ... | @@ -143,6 +143,7 @@ | ... | @@ -143,6 +143,7 @@ |
| 143 | }, | 143 | }, |
| 144 | data () { | 144 | data () { |
| 145 | return { | 145 | return { |
| 146 | loading: false, | ||
| 146 | activeName: 'zrz', | 147 | activeName: 'zrz', |
| 147 | queryzrzForm: { | 148 | queryzrzForm: { |
| 148 | qllx: '', | 149 | qllx: '', |
| ... | @@ -240,6 +241,7 @@ | ... | @@ -240,6 +241,7 @@ |
| 240 | return; | 241 | return; |
| 241 | } | 242 | } |
| 242 | if (!this.isJump) { | 243 | if (!this.isJump) { |
| 244 | this.loading = true | ||
| 243 | startBusinessFlow({ | 245 | startBusinessFlow({ |
| 244 | bsmSqyw: this.bsmSqyw, | 246 | bsmSqyw: this.bsmSqyw, |
| 245 | //sjlx: 'zrz', | 247 | //sjlx: 'zrz', |
| ... | @@ -248,6 +250,7 @@ | ... | @@ -248,6 +250,7 @@ |
| 248 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 250 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 249 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 251 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 250 | }).then((res) => { | 252 | }).then((res) => { |
| 253 | this.loading = false | ||
| 251 | if (res.code == 200) { | 254 | if (res.code == 200) { |
| 252 | this.$message({ | 255 | this.$message({ |
| 253 | showClose: true, | 256 | showClose: true, |
| ... | @@ -265,10 +268,12 @@ | ... | @@ -265,10 +268,12 @@ |
| 265 | } | 268 | } |
| 266 | }) | 269 | }) |
| 267 | } else { | 270 | } else { |
| 271 | this.loading = true | ||
| 268 | choiceBdcdy({ | 272 | choiceBdcdy({ |
| 269 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 273 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, |
| 270 | bdcdysz: this.bdcdysz | 274 | bdcdysz: this.bdcdysz |
| 271 | }).then(res => { | 275 | }).then(res => { |
| 276 | this.loading = false | ||
| 272 | if (res.code == 200) { | 277 | if (res.code == 200) { |
| 273 | this.$message({ | 278 | this.$message({ |
| 274 | showClose: true, | 279 | showClose: true, |
| ... | @@ -374,7 +379,6 @@ | ... | @@ -374,7 +379,6 @@ |
| 374 | * @author: miaofang | 379 | * @author: miaofang |
| 375 | */ | 380 | */ |
| 376 | openBook (row) { | 381 | openBook (row) { |
| 377 | console.log("的急急急急急急"); | ||
| 378 | var param = { | 382 | var param = { |
| 379 | bdcdyid: row.bdcdyid, | 383 | bdcdyid: row.bdcdyid, |
| 380 | qllx: row.qllx, | 384 | qllx: row.qllx, |
| ... | @@ -384,7 +388,7 @@ | ... | @@ -384,7 +388,7 @@ |
| 384 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 388 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
| 385 | formData: param | 389 | formData: param |
| 386 | }) | 390 | }) |
| 387 | }, | 391 | } |
| 388 | } | 392 | } |
| 389 | } | 393 | } |
| 390 | </script> | 394 | </script> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:14 | 4 | * @LastEditTime: 2023-07-31 09:16:53 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | </div> | 40 | </div> |
| 41 | <div class="submit_button"> | 41 | <div class="submit_button"> |
| 42 | <el-button @click="$popupCacel">取消</el-button> | 42 | <el-button @click="$popupCacel">取消</el-button> |
| 43 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 43 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 44 | </div> | 44 | </div> |
| 45 | </div> | 45 | </div> |
| 46 | </template> | 46 | </template> |
| ... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
| 62 | }, | 62 | }, |
| 63 | data () { | 63 | data () { |
| 64 | return { | 64 | return { |
| 65 | loading: false, | ||
| 65 | queryForm: defaultParameters.defaultParameters(), | 66 | queryForm: defaultParameters.defaultParameters(), |
| 66 | tableData: { | 67 | tableData: { |
| 67 | total: 0, | 68 | total: 0, |
| ... | @@ -104,12 +105,14 @@ | ... | @@ -104,12 +105,14 @@ |
| 104 | this.$message.error("请至少选择一条数据"); | 105 | this.$message.error("请至少选择一条数据"); |
| 105 | return; | 106 | return; |
| 106 | } | 107 | } |
| 108 | this.loading = true | ||
| 107 | startBusinessFlow({ | 109 | startBusinessFlow({ |
| 108 | bsmSqyw: this.bsmSqyw, | 110 | bsmSqyw: this.bsmSqyw, |
| 109 | bdcdysz: this.bdcdysz, | 111 | bdcdysz: this.bdcdysz, |
| 110 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 111 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 112 | }).then((res) => { | 114 | }).then((res) => { |
| 115 | this.loading = false | ||
| 113 | if (res.code == 200) { | 116 | if (res.code == 200) { |
| 114 | this.$message({ | 117 | this.$message({ |
| 115 | showClose: true, | 118 | showClose: true, |
| ... | @@ -203,7 +206,7 @@ | ... | @@ -203,7 +206,7 @@ |
| 203 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 206 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
| 204 | formData: param | 207 | formData: param |
| 205 | }) | 208 | }) |
| 206 | }, | 209 | } |
| 207 | } | 210 | } |
| 208 | } | 211 | } |
| 209 | </script> | 212 | </script> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:22 | 4 | * @LastEditTime: 2023-07-31 09:17:54 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | </div> | 40 | </div> |
| 41 | <div class="submit_button"> | 41 | <div class="submit_button"> |
| 42 | <el-button @click="$popupCacel">取消</el-button> | 42 | <el-button @click="$popupCacel">取消</el-button> |
| 43 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 43 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 44 | </div> | 44 | </div> |
| 45 | </div> | 45 | </div> |
| 46 | </template> | 46 | </template> |
| ... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
| 62 | }, | 62 | }, |
| 63 | data () { | 63 | data () { |
| 64 | return { | 64 | return { |
| 65 | loading: false, | ||
| 65 | queryForm: defaultParameters.defaultParameters(), | 66 | queryForm: defaultParameters.defaultParameters(), |
| 66 | qllxs: [], | 67 | qllxs: [], |
| 67 | tableData: { | 68 | tableData: { |
| ... | @@ -101,12 +102,14 @@ | ... | @@ -101,12 +102,14 @@ |
| 101 | this.$message.error("请至少选择一条数据"); | 102 | this.$message.error("请至少选择一条数据"); |
| 102 | return; | 103 | return; |
| 103 | } | 104 | } |
| 105 | this.loading = true | ||
| 104 | startBusinessFlow({ | 106 | startBusinessFlow({ |
| 105 | bsmSqyw: this.sqywInfo.parentid, | 107 | bsmSqyw: this.sqywInfo.parentid, |
| 106 | bdcdysz: this.bdcdysz, | 108 | bdcdysz: this.bdcdysz, |
| 107 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 109 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 108 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 110 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 109 | }).then((res) => { | 111 | }).then((res) => { |
| 112 | this.loading = false | ||
| 110 | if (res.code == 200) { | 113 | if (res.code == 200) { |
| 111 | this.$message({ | 114 | this.$message({ |
| 112 | showClose: true, | 115 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:26 | 4 | * @LastEditTime: 2023-07-31 09:18:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
| 55 | </div> | 55 | </div> |
| 56 | <div class="submit_button"> | 56 | <div class="submit_button"> |
| 57 | <el-button @click="$popupCacel">取消</el-button> | 57 | <el-button @click="$popupCacel">取消</el-button> |
| 58 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 58 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 59 | </div> | 59 | </div> |
| 60 | </div> | 60 | </div> |
| 61 | </template> | 61 | </template> |
| ... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
| 77 | }, | 77 | }, |
| 78 | data () { | 78 | data () { |
| 79 | return { | 79 | return { |
| 80 | loading: false, | ||
| 80 | queryForm: defaultParameters.defaultParameters(), | 81 | queryForm: defaultParameters.defaultParameters(), |
| 81 | qllxData: [], | 82 | qllxData: [], |
| 82 | tableData: { | 83 | tableData: { |
| ... | @@ -129,12 +130,14 @@ | ... | @@ -129,12 +130,14 @@ |
| 129 | this.$alert("请至少选择一条数据"); | 130 | this.$alert("请至少选择一条数据"); |
| 130 | return; | 131 | return; |
| 131 | } | 132 | } |
| 133 | this.loading = true | ||
| 132 | startBusinessFlow({ | 134 | startBusinessFlow({ |
| 133 | bsmSqyw: this.bsmSqyw, | 135 | bsmSqyw: this.bsmSqyw, |
| 134 | bdcdysz: this.bdcdysz, | 136 | bdcdysz: this.bdcdysz, |
| 135 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 137 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 136 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 138 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 137 | }).then((res) => { | 139 | }).then((res) => { |
| 140 | this.loading = false | ||
| 138 | if (res.code == 200) { | 141 | if (res.code == 200) { |
| 139 | this.$message({ | 142 | this.$message({ |
| 140 | showClose: true, | 143 | showClose: true, |
| ... | @@ -213,11 +216,11 @@ | ... | @@ -213,11 +216,11 @@ |
| 213 | this.$refs.table.toggleRowSelection(row); | 216 | this.$refs.table.toggleRowSelection(row); |
| 214 | } | 217 | } |
| 215 | }, | 218 | }, |
| 216 | /** | 219 | /** |
| 217 | * @description: openBook | 220 | * @description: openBook |
| 218 | * @param {*} row | 221 | * @param {*} row |
| 219 | * @author: miaofang | 222 | * @author: miaofang |
| 220 | */ | 223 | */ |
| 221 | openBook (row) { | 224 | openBook (row) { |
| 222 | console.log("的急急急急急急"); | 225 | console.log("的急急急急急急"); |
| 223 | var param = { | 226 | var param = { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:32 | 4 | * @LastEditTime: 2023-07-31 09:19:26 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
| 51 | </div> | 51 | </div> |
| 52 | <div class="submit_button"> | 52 | <div class="submit_button"> |
| 53 | <el-button @click="$popupCacel">取消</el-button> | 53 | <el-button @click="$popupCacel">取消</el-button> |
| 54 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 54 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 55 | </div> | 55 | </div> |
| 56 | </div> | 56 | </div> |
| 57 | </template> | 57 | </template> |
| ... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
| 77 | }, | 77 | }, |
| 78 | data () { | 78 | data () { |
| 79 | return { | 79 | return { |
| 80 | loading: false, | ||
| 80 | bdcdysz: [], | 81 | bdcdysz: [], |
| 81 | queryForm: { | 82 | queryForm: { |
| 82 | zl: "", | 83 | zl: "", |
| ... | @@ -159,14 +160,15 @@ | ... | @@ -159,14 +160,15 @@ |
| 159 | this.$message.error("请至少选择一条数据"); | 160 | this.$message.error("请至少选择一条数据"); |
| 160 | return; | 161 | return; |
| 161 | } | 162 | } |
| 163 | this.loading = true | ||
| 162 | let from = { | 164 | let from = { |
| 163 | bsmSqyw: this.bsmSqyw, | 165 | bsmSqyw: this.bsmSqyw, |
| 164 | bdcdysz: this.bdcdysz, | 166 | bdcdysz: this.bdcdysz, |
| 165 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", | 167 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", |
| 166 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | 168 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", |
| 167 | } | 169 | } |
| 168 | console.log("发起申请传参", from, this.sqywInfo); | ||
| 169 | startRepairFlow(from).then((res) => { | 170 | startRepairFlow(from).then((res) => { |
| 171 | this.loading = false | ||
| 170 | if (res.code == 200) { | 172 | if (res.code == 200) { |
| 171 | this.$message({ | 173 | this.$message({ |
| 172 | showClose: true, | 174 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:36 | 4 | * @LastEditTime: 2023-07-31 09:20:26 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | </div> | 47 | </div> |
| 48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
| 49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
| 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 51 | </div> | 51 | </div> |
| 52 | </div> | 52 | </div> |
| 53 | </template> | 53 | </template> |
| ... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
| 68 | }, | 68 | }, |
| 69 | data () { | 69 | data () { |
| 70 | return { | 70 | return { |
| 71 | loading: false, | ||
| 71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
| 72 | tableData: { | 73 | tableData: { |
| 73 | total: 0, | 74 | total: 0, |
| ... | @@ -106,12 +107,14 @@ | ... | @@ -106,12 +107,14 @@ |
| 106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
| 107 | return; | 108 | return; |
| 108 | } | 109 | } |
| 110 | this.loading = true | ||
| 109 | startBusinessFlow({ | 111 | startBusinessFlow({ |
| 110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
| 112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 114 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 115 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 114 | }).then((res) => { | 116 | }).then((res) => { |
| 117 | this.loading = false | ||
| 115 | if (res.code == 200) { | 118 | if (res.code == 200) { |
| 116 | this.$message({ | 119 | this.$message({ |
| 117 | showClose: true, | 120 | showClose: true, |
| ... | @@ -205,9 +208,9 @@ | ... | @@ -205,9 +208,9 @@ |
| 205 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 208 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
| 206 | formData: param | 209 | formData: param |
| 207 | }) | 210 | }) |
| 208 | }, | 211 | } |
| 209 | }, | 212 | } |
| 210 | }; | 213 | } |
| 211 | </script> | 214 | </script> |
| 212 | <style scoped lang="scss"> | 215 | <style scoped lang="scss"> |
| 213 | @import "~@/styles/mixin.scss"; | 216 | @import "~@/styles/mixin.scss"; | ... | ... |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | </div> | 46 | </div> |
| 47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
| 48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
| 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </template> | 52 | </template> |
| ... | @@ -67,14 +67,15 @@ | ... | @@ -67,14 +67,15 @@ |
| 67 | }, | 67 | }, |
| 68 | data () { | 68 | data () { |
| 69 | return { | 69 | return { |
| 70 | loading: false, | ||
| 70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
| 71 | tableData: { | 72 | tableData: { |
| 72 | total: 0, | 73 | total: 0, |
| 73 | columns: datas.columns(), | 74 | columns: datas.columns(), |
| 74 | data: [], | 75 | data: [], |
| 75 | }, | 76 | }, |
| 76 | bdcdysz: [], | 77 | bdcdysz: [] |
| 77 | }; | 78 | } |
| 78 | }, | 79 | }, |
| 79 | mounted () { | 80 | mounted () { |
| 80 | sendThis(this); | 81 | sendThis(this); |
| ... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
| 105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| 106 | return; | 107 | return; |
| 107 | } | 108 | } |
| 109 | this.loading = true | ||
| 108 | startBusinessFlow({ | 110 | startBusinessFlow({ |
| 109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
| 111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 113 | }).then((res) => { | 115 | }).then((res) => { |
| 116 | this.loading = false | ||
| 114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
| 115 | this.$message({ | 118 | this.$message({ |
| 116 | showClose: true, | 119 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:45 | 4 | * @LastEditTime: 2023-07-31 09:22:11 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
| 54 | </div> | 54 | </div> |
| 55 | <div class="submit_button"> | 55 | <div class="submit_button"> |
| 56 | <el-button @click="$popupCacel">取消</el-button> | 56 | <el-button @click="$popupCacel">取消</el-button> |
| 57 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 57 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 58 | </div> | 58 | </div> |
| 59 | </div> | 59 | </div> |
| 60 | </template> | 60 | </template> |
| ... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
| 76 | }, | 76 | }, |
| 77 | data () { | 77 | data () { |
| 78 | return { | 78 | return { |
| 79 | loading: false, | ||
| 79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
| 80 | tableData: { | 81 | tableData: { |
| 81 | total: 0, | 82 | total: 0, |
| ... | @@ -114,12 +115,14 @@ | ... | @@ -114,12 +115,14 @@ |
| 114 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
| 115 | return; | 116 | return; |
| 116 | } | 117 | } |
| 118 | this.loading = true | ||
| 117 | startBusinessFlow({ | 119 | startBusinessFlow({ |
| 118 | bsmSqyw: this.sqywInfo.parentid, | 120 | bsmSqyw: this.sqywInfo.parentid, |
| 119 | bdcdysz: this.bdcdysz, | 121 | bdcdysz: this.bdcdysz, |
| 120 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 122 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 121 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 123 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 122 | }).then((res) => { | 124 | }).then((res) => { |
| 125 | this.loading = false | ||
| 123 | if (res.code == 200) { | 126 | if (res.code == 200) { |
| 124 | this.$message({ | 127 | this.$message({ |
| 125 | showClose: true, | 128 | showClose: true, |
| ... | @@ -213,7 +216,7 @@ | ... | @@ -213,7 +216,7 @@ |
| 213 | } else { | 216 | } else { |
| 214 | this.$refs.table.toggleRowSelection(row); | 217 | this.$refs.table.toggleRowSelection(row); |
| 215 | } | 218 | } |
| 216 | }, | 219 | } |
| 217 | } | 220 | } |
| 218 | } | 221 | } |
| 219 | </script> | 222 | </script> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:17 | 4 | * @LastEditTime: 2023-07-31 09:34:30 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
| 132 | </div> | 132 | </div> |
| 133 | <div class="submit_button"> | 133 | <div class="submit_button"> |
| 134 | <el-button @click="$popupCacel">取消</el-button> | 134 | <el-button @click="$popupCacel">取消</el-button> |
| 135 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 135 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 136 | </div> | 136 | </div> |
| 137 | </div> | 137 | </div> |
| 138 | </template> | 138 | </template> |
| ... | @@ -154,6 +154,7 @@ | ... | @@ -154,6 +154,7 @@ |
| 154 | }, | 154 | }, |
| 155 | data () { | 155 | data () { |
| 156 | return { | 156 | return { |
| 157 | loading: false, | ||
| 157 | queryForm: defaultParameters.defaultParameters(), | 158 | queryForm: defaultParameters.defaultParameters(), |
| 158 | // 表格数据 | 159 | // 表格数据 |
| 159 | tableData: { | 160 | tableData: { |
| ... | @@ -234,12 +235,14 @@ | ... | @@ -234,12 +235,14 @@ |
| 234 | * @author: renchao | 235 | * @author: renchao |
| 235 | */ | 236 | */ |
| 236 | submitForm () { | 237 | submitForm () { |
| 238 | this.loading = true | ||
| 237 | startBusinessFlow({ | 239 | startBusinessFlow({ |
| 238 | bsmSqyw: this.sqywInfo.parentid, | 240 | bsmSqyw: this.sqywInfo.parentid, |
| 239 | bdcdysz: this.bdcdysz, | 241 | bdcdysz: this.bdcdysz, |
| 240 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 242 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 241 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 243 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 242 | }).then((res) => { | 244 | }).then((res) => { |
| 245 | this.loading = false | ||
| 243 | if (res.code == 200) { | 246 | if (res.code == 200) { |
| 244 | this.$message({ | 247 | this.$message({ |
| 245 | showClose: true, | 248 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:19:04 | 4 | * @LastEditTime: 2023-07-31 09:35:29 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | </div> | 46 | </div> |
| 47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
| 48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
| 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </template> | 52 | </template> |
| ... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
| 68 | }, | 68 | }, |
| 69 | data () { | 69 | data () { |
| 70 | return { | 70 | return { |
| 71 | loading: false, | ||
| 71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
| 72 | tableData: { | 73 | tableData: { |
| 73 | total: 0, | 74 | total: 0, |
| ... | @@ -111,12 +112,14 @@ | ... | @@ -111,12 +112,14 @@ |
| 111 | this.$alert("请至少选择一条数据"); | 112 | this.$alert("请至少选择一条数据"); |
| 112 | return; | 113 | return; |
| 113 | } | 114 | } |
| 115 | this.loading = true | ||
| 114 | startBusinessFlow({ | 116 | startBusinessFlow({ |
| 115 | bsmSqyw: this.bsmSqyw, | 117 | bsmSqyw: this.bsmSqyw, |
| 116 | bdcdysz: this.bdcdysz, | 118 | bdcdysz: this.bdcdysz, |
| 117 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 119 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 118 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 120 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 119 | }).then((res) => { | 121 | }).then((res) => { |
| 122 | this.loading = false | ||
| 120 | if (res.code == 200) { | 123 | if (res.code == 200) { |
| 121 | this.$message({ | 124 | this.$message({ |
| 122 | showClose: true, | 125 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:19:09 | 4 | * @LastEditTime: 2023-07-31 09:36:26 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
| 54 | </div> | 54 | </div> |
| 55 | <div class="submit_button"> | 55 | <div class="submit_button"> |
| 56 | <el-button @click="$popupCacel">取消</el-button> | 56 | <el-button @click="$popupCacel">取消</el-button> |
| 57 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 57 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 58 | </div> | 58 | </div> |
| 59 | </div> | 59 | </div> |
| 60 | </template> | 60 | </template> |
| ... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
| 76 | }, | 76 | }, |
| 77 | data () { | 77 | data () { |
| 78 | return { | 78 | return { |
| 79 | loading: false, | ||
| 79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
| 80 | tableData: { | 81 | tableData: { |
| 81 | total: 0, | 82 | total: 0, |
| ... | @@ -114,12 +115,14 @@ | ... | @@ -114,12 +115,14 @@ |
| 114 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
| 115 | return; | 116 | return; |
| 116 | } | 117 | } |
| 118 | this.loading = true | ||
| 117 | startBusinessFlow({ | 119 | startBusinessFlow({ |
| 118 | bsmSqyw: this.sqywInfo.parentid, | 120 | bsmSqyw: this.sqywInfo.parentid, |
| 119 | bdcdysz: this.bdcdysz, | 121 | bdcdysz: this.bdcdysz, |
| 120 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 122 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 121 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 123 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 122 | }).then((res) => { | 124 | }).then((res) => { |
| 125 | this.loading = false | ||
| 123 | if (res.code == 200) { | 126 | if (res.code == 200) { |
| 124 | this.$message({ | 127 | this.$message({ |
| 125 | showClose: true, | 128 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-27 10:04:09 | 4 | * @LastEditTime: 2023-07-31 09:37:23 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | </div> | 46 | </div> |
| 47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
| 48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
| 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </template> | 52 | </template> |
| ... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
| 67 | }, | 67 | }, |
| 68 | data () { | 68 | data () { |
| 69 | return { | 69 | return { |
| 70 | loading: false, | ||
| 70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
| 71 | tableData: { | 72 | tableData: { |
| 72 | total: 0, | 73 | total: 0, |
| ... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
| 105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| 106 | return; | 107 | return; |
| 107 | } | 108 | } |
| 109 | this.loading = true | ||
| 108 | startTogetherFlow({ | 110 | startTogetherFlow({ |
| 109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
| 111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 113 | }).then((res) => { | 115 | }).then((res) => { |
| 116 | this.loading = false | ||
| 114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
| 115 | this.$message({ | 118 | this.$message({ |
| 116 | showClose: true, | 119 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:18:36 | 4 | * @LastEditTime: 2023-07-31 09:38:00 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | </div> | 47 | </div> |
| 48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
| 49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
| 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 51 | </div> | 51 | </div> |
| 52 | </div> | 52 | </div> |
| 53 | </template> | 53 | </template> | ... | ... |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | </div> | 46 | </div> |
| 47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
| 48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
| 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </template> | 52 | </template> |
| ... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
| 67 | }, | 67 | }, |
| 68 | data () { | 68 | data () { |
| 69 | return { | 69 | return { |
| 70 | loading: false, | ||
| 70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
| 71 | tableData: { | 72 | tableData: { |
| 72 | total: 0, | 73 | total: 0, |
| ... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
| 105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| 106 | return; | 107 | return; |
| 107 | } | 108 | } |
| 109 | this.loading = true | ||
| 108 | startTogetherFlow({ | 110 | startTogetherFlow({ |
| 109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
| 111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 113 | }).then((res) => { | 115 | }).then((res) => { |
| 116 | this.loading = false | ||
| 114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
| 115 | this.$message({ | 118 | this.$message({ |
| 116 | showClose: true, | 119 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-27 09:46:21 | 4 | * @LastEditTime: 2023-07-31 09:39:40 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | </div> | 46 | </div> |
| 47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
| 48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
| 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </template> | 52 | </template> |
| ... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
| 67 | }, | 67 | }, |
| 68 | data () { | 68 | data () { |
| 69 | return { | 69 | return { |
| 70 | loading: false, | ||
| 70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
| 71 | tableData: { | 72 | tableData: { |
| 72 | total: 0, | 73 | total: 0, |
| ... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
| 105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| 106 | return; | 107 | return; |
| 107 | } | 108 | } |
| 109 | this.loading = true | ||
| 108 | startBusinessFlow({ | 110 | startBusinessFlow({ |
| 109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
| 111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 113 | }).then((res) => { | 115 | }).then((res) => { |
| 116 | this.loading = false | ||
| 114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
| 115 | this.$message({ | 118 | this.$message({ |
| 116 | showClose: true, | 119 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:19:18 | 4 | * @LastEditTime: 2023-07-31 09:40:25 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | </div> | 47 | </div> |
| 48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
| 49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
| 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 51 | </div> | 51 | </div> |
| 52 | </div> | 52 | </div> |
| 53 | </template> | 53 | </template> |
| ... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
| 68 | }, | 68 | }, |
| 69 | data () { | 69 | data () { |
| 70 | return { | 70 | return { |
| 71 | loading: false, | ||
| 71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
| 72 | tableData: { | 73 | tableData: { |
| 73 | total: 0, | 74 | total: 0, |
| ... | @@ -106,12 +107,14 @@ | ... | @@ -106,12 +107,14 @@ |
| 106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
| 107 | return; | 108 | return; |
| 108 | } | 109 | } |
| 110 | this.loading = true | ||
| 109 | startBusinessFlow({ | 111 | startBusinessFlow({ |
| 110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
| 112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 114 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 115 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 114 | }).then((res) => { | 116 | }).then((res) => { |
| 117 | this.loading = false | ||
| 115 | if (res.code == 200) { | 118 | if (res.code == 200) { |
| 116 | this.$message({ | 119 | this.$message({ |
| 117 | showClose: true, | 120 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-21 11:19:23 | 4 | * @LastEditTime: 2023-07-31 09:40:53 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | </div> | 47 | </div> |
| 48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
| 49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
| 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
| 51 | </div> | 51 | </div> |
| 52 | </div> | 52 | </div> |
| 53 | </template> | 53 | </template> |
| ... | @@ -69,6 +69,7 @@ | ... | @@ -69,6 +69,7 @@ |
| 69 | }, | 69 | }, |
| 70 | data () { | 70 | data () { |
| 71 | return { | 71 | return { |
| 72 | loading: false, | ||
| 72 | queryForm: defaultParameters.defaultParameters(), | 73 | queryForm: defaultParameters.defaultParameters(), |
| 73 | tableData: { | 74 | tableData: { |
| 74 | total: 0, | 75 | total: 0, |
| ... | @@ -107,12 +108,14 @@ | ... | @@ -107,12 +108,14 @@ |
| 107 | this.$message.error("请至少选择一条数据"); | 108 | this.$message.error("请至少选择一条数据"); |
| 108 | return; | 109 | return; |
| 109 | } | 110 | } |
| 111 | this.loading = true | ||
| 110 | startBusinessFlow({ | 112 | startBusinessFlow({ |
| 111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 113 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 112 | bdcdysz: this.bdcdysz, | 114 | bdcdysz: this.bdcdysz, |
| 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 115 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 116 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 115 | }).then((res) => { | 117 | }).then((res) => { |
| 118 | this.loading = false | ||
| 116 | if (res.code == 200) { | 119 | if (res.code == 200) { |
| 117 | this.$message({ | 120 | this.$message({ |
| 118 | showClose: true, | 121 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment