1a0d79a8 by renchao@pashanhoo.com

style;添加不动产单元

1 parent ad9473f0
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
89 import { datas, sendThis } from "../javascript/cfdj.js"; 89 import { datas, sendThis } from "../javascript/cfdj.js";
90 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 90 import { defaultParameters } from "../javascript/publicDefaultPar.js";
91 import { selectCfdj } from "@/api/ywsq.js"; 91 import { selectCfdj } from "@/api/ywsq.js";
92 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 92 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
93 export default { 93 export default {
94 props: { 94 props: {
95 isJump: { type: Boolean, default: false }, 95 isJump: { type: Boolean, default: false },
...@@ -155,61 +155,86 @@ ...@@ -155,61 +155,86 @@
155 * @author: renchao 155 * @author: renchao
156 */ 156 */
157 submitForm () { 157 submitForm () {
158 let that = this
158 if (this.bdcdysz.length == 0) { 159 if (this.bdcdysz.length == 0) {
159 this.$message.error("请至少选择一条数据"); 160 this.$message.error("请至少选择一条数据");
160 return; 161 return;
161 } 162 }
162 if (!this.isJump) { 163 this.loading = true
163 this.loading = true 164 if (this.sqywInfo.isworkFrame) {
164 startBusinessFlow({ 165 store.dispatch('user/reMenuRefresh', false)
165 bsmSqyw: this.sqywInfo.bsmSqyw, 166 againAddSldy({
166 bdcdysz: this.bdcdysz, 167 bsmSqyw: that.sqywInfo.bsmSqyw,
167 }).then((res) => { 168 bdcdysz: that.bdcdysz,
168 this.loading = false 169 bsmSlsq: that.sqywInfo.bsmSlsq,
170 }).then(res => {
171 that.loading = false
169 if (res.code == 200) { 172 if (res.code == 200) {
170 this.$message({ 173 if (this.sqywInfo.sqywdylx != "1") {
171 showClose: true, 174 that.bdcdysz = []
172 message: "发起申请成功", 175 that.$refs.table.clearSelection()
173 type: "success",
174 });
175 if (!this.isJump) {
176 this.jump(res.result, this.sqywInfo.djywbm);
177 } else {
178 store.dispatch('user/refreshPage', true);
179 }
180 this.$popupCacel()
181
182 } else {
183 if (res.result && res.result.length > 0) {
184 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
185 } else {
186 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
187 } 176 }
188 } 177 store.dispatch('user/reMenuRefresh', true)
189 }).catch(() => { 178 that.$message({
190 this.loading = false
191 })
192 } else {
193 this.loading = true
194 choiceBdcdy({
195 bsmSlsq: this.$route.query.bsmSlsq,
196 bdcdysz: this.bdcdysz,
197 }).then((res) => {
198 this.loading = false
199 if (res.code == 200) {
200 this.$message({
201 showClose: true, 179 showClose: true,
202 message: "发起申请成功", 180 message: '添加成功',
203 type: "success", 181 type: 'success'
204 }); 182 })
205 store.dispatch("user/refreshPage", true);
206 } else {
207 this.$message.error(res.message);
208 } 183 }
209 this.$popupCacel();
210 }).catch(() => { 184 }).catch(() => {
211 this.loading = false 185 that.loading = false
212 }) 186 })
187 } else {
188 if (!that.isJump) {
189 startBusinessFlow({
190 bsmSqyw: that.sqywInfo.bsmSqyw,
191 bdcdysz: that.bdcdysz,
192 }).then((res) => {
193 that.loading = false
194 if (res.code == 200) {
195 that.$message({
196 showClose: true,
197 message: "发起申请成功",
198 type: "success",
199 });
200 if (!that.isJump) {
201 that.jump(res.result, that.sqywInfo.djywbm);
202 } else {
203 store.dispatch('user/refreshPage', true);
204 }
205 that.$popupCacel()
206
207 } else {
208 if (res.result && res.result.length > 0) {
209 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
210 } else {
211 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
212 }
213 }
214 }).catch(() => {
215 that.loading = false
216 })
217 } else {
218 choiceBdcdy({
219 bsmSlsq: that.$route.query.bsmSlsq,
220 bdcdysz: that.bdcdysz,
221 }).then((res) => {
222 that.loading = false
223 if (res.code == 200) {
224 that.$message({
225 showClose: true,
226 message: "发起申请成功",
227 type: "success",
228 });
229 store.dispatch("user/refreshPage", true);
230 } else {
231 that.$message.error(res.message);
232 }
233 that.$popupCacel();
234 }).catch(() => {
235 that.loading = false
236 })
237 }
213 } 238 }
214 }, 239 },
215 /** 240 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:59:59 4 * @LastEditTime: 2024-02-01 14:53:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
145 import { datas, sendThis } from "../javascript/fwsyq.js"; 145 import { datas, sendThis } from "../javascript/fwsyq.js";
146 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 146 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
147 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; 147 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
148 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 148 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
149 export default { 149 export default {
150 mixins: [ywsqTable, jump], 150 mixins: [ywsqTable, jump],
151 props: { 151 props: {
...@@ -294,66 +294,91 @@ ...@@ -294,66 +294,91 @@
294 * @author: renchao 294 * @author: renchao
295 */ 295 */
296 submitForm () { 296 submitForm () {
297 let that = this
297 if (this.bdcdysz.length == 0) { 298 if (this.bdcdysz.length == 0) {
298 this.$message.error("请至少选择一条数据"); 299 this.$message.error("请至少选择一条数据");
299 return; 300 return;
300 } 301 }
301 if (!this.isJump) { 302 this.loading = true
302 this.loading = true 303 if (this.sqywInfo.isworkFrame) {
303 startBusinessFlow({ 304 store.dispatch('user/reMenuRefresh', false)
304 bsmSqyw: this.sqywInfo.bsmSqyw, 305 againAddSldy({
305 //sjlx: 'zrz', 306 bsmSqyw: that.sqywInfo.bsmSqyw,
306 sjlx: this.activeName, 307 bdcdysz: that.bdcdysz,
307 bdcdysz: this.bdcdysz, 308 bsmSlsq: that.sqywInfo.bsmSlsq,
308 }).then((res) => { 309 }).then(res => {
309 this.loading = false 310 that.loading = false
310 if (res.code == 200) { 311 if (res.code == 200) {
311 this.$message({ 312 if (this.sqywInfo.sqywdylx != "1") {
313 that.bdcdysz = []
314 that.$refs.table.clearSelection()
315 }
316 store.dispatch('user/reMenuRefresh', true)
317 that.$message({
312 showClose: true, 318 showClose: true,
313 message: '发起申请成功', 319 message: '添加成功',
314 type: 'success' 320 type: 'success'
315 }) 321 })
316 if (!this.isJump) {
317 this.jump(res.result, this.sqywInfo.djywbm);
318 } else {
319 store.dispatch('user/refreshPage', true);
320 }
321 this.$popupCacel()
322 } else {
323 if (res.result && res.result.length > 0) {
324 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
325 } else {
326 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
327 }
328 } 322 }
329 }).catch(() => { 323 }).catch(() => {
330 this.loading = false 324 that.loading = false
331 }) 325 })
332 } else { 326 } else {
333 this.loading = true 327 if (!that.isJump) {
334 choiceBdcdy({ 328 startBusinessFlow({
335 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, 329 bsmSqyw: that.sqywInfo.bsmSqyw,
336 bdcdysz: this.bdcdysz 330 //sjlx: 'zrz',
337 }).then(res => { 331 sjlx: that.activeName,
338 this.loading = false 332 bdcdysz: that.bdcdysz,
339 if (res.code == 200) { 333 }).then((res) => {
340 this.$message({ 334 that.loading = false
341 showClose: true, 335 if (res.code == 200) {
342 message: '发起申请成功', 336 that.$message({
343 type: 'success' 337 showClose: true,
344 }) 338 message: '发起申请成功',
345 store.dispatch('user/refreshPage', true); 339 type: 'success'
346 this.$popupCacel() 340 })
347 } else { 341 if (!that.isJump) {
348 if (res.result && res.result.length > 0) { 342 that.jump(res.result, that.sqywInfo.djywbm);
349 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 343 } else {
344 store.dispatch('user/refreshPage', true);
345 }
346 that.$popupCacel()
350 } else { 347 } else {
351 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 348 if (res.result && res.result.length > 0) {
349 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
350 } else {
351 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
352 }
352 } 353 }
353 } 354 }).catch(() => {
354 }).catch(() => { 355 that.loading = false
355 this.loading = false 356 })
356 }) 357 } else {
358 choiceBdcdy({
359 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
360 bdcdysz: that.bdcdysz
361 }).then(res => {
362 that.loading = false
363 if (res.code == 200) {
364 that.$message({
365 showClose: true,
366 message: '发起申请成功',
367 type: 'success'
368 })
369 store.dispatch('user/refreshPage', true);
370 that.$popupCacel()
371 } else {
372 if (res.result && res.result.length > 0) {
373 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
374 } else {
375 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
376 }
377 }
378 }).catch(() => {
379 that.loading = false
380 })
381 }
357 } 382 }
358 }, 383 },
359 /** 384 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:59:36 4 * @LastEditTime: 2024-02-01 14:56:54
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 import { datas, sendThis } from "../javascript/fwsyq.js"; 133 import { datas, sendThis } from "../javascript/fwsyq.js";
134 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 134 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; 135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
136 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 136 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
137 export default { 137 export default {
138 mixins: [ywsqTable, jump], 138 mixins: [ywsqTable, jump],
139 props: { 139 props: {
...@@ -264,66 +264,91 @@ ...@@ -264,66 +264,91 @@
264 * @author: renchao 264 * @author: renchao
265 */ 265 */
266 submitForm () { 266 submitForm () {
267 let that = this
267 if (this.bdcdysz.length == 0) { 268 if (this.bdcdysz.length == 0) {
268 this.$message.error("请至少选择一条数据"); 269 this.$message.error("请至少选择一条数据");
269 return; 270 return;
270 } 271 }
271 if (!this.isJump) { 272 this.loading = true
272 this.loading = true 273 if (this.sqywInfo.isworkFrame) {
273 startBusinessFlow({ 274 store.dispatch('user/reMenuRefresh', false)
274 bsmSqyw: this.sqywInfo.bsmSqyw, 275 againAddSldy({
275 //sjlx: 'zrz', 276 bsmSqyw: that.sqywInfo.bsmSqyw,
276 sjlx: this.activeName, 277 bdcdysz: that.bdcdysz,
277 bdcdysz: this.bdcdysz, 278 bsmSlsq: that.sqywInfo.bsmSlsq,
278 }).then((res) => { 279 }).then(res => {
279 this.loading = false 280 that.loading = false
280 if (res.code == 200) { 281 if (res.code == 200) {
281 this.$message({ 282 if (this.sqywInfo.sqywdylx != "1") {
283 that.bdcdysz = []
284 that.$refs.table.clearSelection()
285 }
286 store.dispatch('user/reMenuRefresh', true)
287 that.$message({
282 showClose: true, 288 showClose: true,
283 message: '发起申请成功', 289 message: '添加成功',
284 type: 'success' 290 type: 'success'
285 }) 291 })
286 if (!this.isJump) {
287 this.jump(res.result, this.sqywInfo.djywbm);
288 } else {
289 store.dispatch('user/refreshPage', true);
290 }
291 this.$popupCacel()
292 } else {
293 if (res.result && res.result.length > 0) {
294 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
295 } else {
296 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
297 }
298 } 292 }
299 }).catch(() => { 293 }).catch(() => {
300 this.loading = false 294 that.loading = false
301 }) 295 })
302 } else { 296 } else {
303 this.loading = true 297 if (!that.isJump) {
304 choiceBdcdy({ 298 startBusinessFlow({
305 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, 299 bsmSqyw: that.sqywInfo.bsmSqyw,
306 bdcdysz: this.bdcdysz 300 //sjlx: 'zrz',
307 }).then(res => { 301 sjlx: that.activeName,
308 this.loading = false 302 bdcdysz: that.bdcdysz,
309 if (res.code == 200) { 303 }).then((res) => {
310 this.$message({ 304 that.loading = false
311 showClose: true, 305 if (res.code == 200) {
312 message: '发起申请成功', 306 that.$message({
313 type: 'success' 307 showClose: true,
314 }) 308 message: '发起申请成功',
315 store.dispatch('user/refreshPage', true); 309 type: 'success'
316 this.$popupCacel() 310 })
317 } else { 311 if (!that.isJump) {
318 if (res.result && res.result.length > 0) { 312 that.jump(res.result, that.sqywInfo.djywbm);
319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 313 } else {
314 store.dispatch('user/refreshPage', true);
315 }
316 that.$popupCacel()
320 } else { 317 } else {
321 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 318 if (res.result && res.result.length > 0) {
319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
320 } else {
321 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
322 }
322 } 323 }
323 } 324 }).catch(() => {
324 }).catch(() => { 325 that.loading = false
325 this.loading = false 326 })
326 }) 327 } else {
328 choiceBdcdy({
329 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
330 bdcdysz: that.bdcdysz
331 }).then(res => {
332 that.loading = false
333 if (res.code == 200) {
334 that.$message({
335 showClose: true,
336 message: '发起申请成功',
337 type: 'success'
338 })
339 store.dispatch('user/refreshPage', true);
340 that.$popupCacel()
341 } else {
342 if (res.result && res.result.length > 0) {
343 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
344 } else {
345 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
346 }
347 }
348 }).catch(() => {
349 that.loading = false
350 })
351 }
327 } 352 }
328 }, 353 },
329 /** 354 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 16:30:18 4 * @LastEditTime: 2024-02-01 14:58:30
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 import { datas, sendThis } from "../javascript/nydsyq100.js"; 65 import { datas, sendThis } from "../javascript/nydsyq100.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectZdjbxx } from "@/api/ywsq.js"; 67 import { selectZdjbxx } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js"; 68 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
69 export default { 69 export default {
70 mixins: [ywsqTable, jump], 70 mixins: [ywsqTable, jump],
71 props: { 71 props: {
...@@ -132,38 +132,64 @@ ...@@ -132,38 +132,64 @@
132 * @author: renchao 132 * @author: renchao
133 */ 133 */
134 submitForm () { 134 submitForm () {
135 let that = this
135 if (this.bdcdysz.length == 0) { 136 if (this.bdcdysz.length == 0) {
136 this.$message.error("请至少选择一条数据"); 137 this.$message.error("请至少选择一条数据");
137 return; 138 return;
138 } 139 }
139 this.loading = true 140 this.loading = true
140 startBusinessFlow({ 141 if (this.sqywInfo.isworkFrame) {
141 bsmSqyw: this.sqywInfo.bsmSqyw, 142 store.dispatch('user/reMenuRefresh', false)
142 bdcdysz: this.bdcdysz, 143 againAddSldy({
143 }).then((res) => { 144 bsmSqyw: that.sqywInfo.bsmSqyw,
144 this.loading = false 145 bdcdysz: that.bdcdysz,
145 if (res.code == 200) { 146 bsmSlsq: that.sqywInfo.bsmSlsq,
146 this.$message({ 147 }).then(res => {
147 showClose: true, 148 that.loading = false
148 message: '发起申请成功', 149 if (res.code == 200) {
149 type: 'success' 150 if (this.sqywInfo.sqywdylx != "1") {
150 }) 151 that.bdcdysz = []
151 if (!this.isJump) { 152 that.$refs.table.clearSelection()
152 this.jump(res.result, this.djywbm) 153 }
153 } else { 154 store.dispatch('user/reMenuRefresh', true)
154 store.dispatch('user/refreshPage', true); 155 that.$message({
156 showClose: true,
157 message: '添加成功',
158 type: 'success'
159 })
155 } 160 }
156 this.$popupCacel() 161 }).catch(() => {
157 } else { 162 that.loading = false
158 if (res.result && res.result.length > 0) { 163 })
159 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 164 } else {
165 startBusinessFlow({
166 bsmSqyw: that.sqywInfo.bsmSqyw,
167 bdcdysz: that.bdcdysz,
168 }).then((res) => {
169 that.loading = false
170 if (res.code == 200) {
171 that.$message({
172 showClose: true,
173 message: '发起申请成功',
174 type: 'success'
175 })
176 if (!that.isJump) {
177 that.jump(res.result, that.djywbm)
178 } else {
179 store.dispatch('user/refreshPage', true);
180 }
181 that.$popupCacel()
160 } else { 182 } else {
161 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 183 if (res.result && res.result.length > 0) {
184 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
185 } else {
186 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
187 }
162 } 188 }
163 } 189 }).catch(() => {
164 }).catch(() => { 190 that.loading = false
165 this.loading = false 191 })
166 }) 192 }
167 }, 193 },
168 /** 194 /**
169 * @description: handleSelectionChange 195 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:45:28 4 * @LastEditTime: 2024-02-01 15:01:22
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 53 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
54 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 54 import { defaultParameters } from "../javascript/publicDefaultPar.js";
55 import { selectNydsyqQlxx } from "@/api/ywsq.js"; 55 import { selectNydsyqQlxx } from "@/api/ywsq.js";
56 import { startBusinessFlow } from "@/api/workFlow.js"; 56 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
57 export default { 57 export default {
58 mixins: [ywsqTable, jump], 58 mixins: [ywsqTable, jump],
59 props: { 59 props: {
...@@ -121,38 +121,64 @@ ...@@ -121,38 +121,64 @@
121 * @author: renchao 121 * @author: renchao
122 */ 122 */
123 submitForm () { 123 submitForm () {
124 let that = this
124 if (this.bdcdysz.length == 0) { 125 if (this.bdcdysz.length == 0) {
125 this.$message.error("请至少选择一条数据"); 126 this.$message.error("请至少选择一条数据");
126 return; 127 return;
127 } 128 }
128 this.loading = true 129 this.loading = true
129 startBusinessFlow({ 130 if (this.sqywInfo.isworkFrame) {
130 bsmSqyw: this.sqywInfo.bsmSqyw, 131 store.dispatch('user/reMenuRefresh', false)
131 bdcdysz: this.bdcdysz, 132 againAddSldy({
132 }).then((res) => { 133 bsmSqyw: that.sqywInfo.bsmSqyw,
133 this.loading = false 134 bdcdysz: that.bdcdysz,
134 if (res.code == 200) { 135 bsmSlsq: that.sqywInfo.bsmSlsq,
135 this.$message({ 136 }).then(res => {
136 showClose: true, 137 that.loading = false
137 message: '发起申请成功', 138 if (res.code == 200) {
138 type: 'success' 139 if (this.sqywInfo.sqywdylx != "1") {
139 }) 140 that.bdcdysz = []
140 if (!this.isJump) { 141 that.$refs.table.clearSelection()
141 this.jump(res.result) 142 }
142 } else { 143 store.dispatch('user/reMenuRefresh', true)
143 store.dispatch('user/refreshPage', true); 144 that.$message({
145 showClose: true,
146 message: '添加成功',
147 type: 'success'
148 })
144 } 149 }
145 this.$popupCacel() 150 }).catch(() => {
146 } else { 151 that.loading = false
147 if (res.result && res.result.length > 0) { 152 })
148 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 153 } else {
154 startBusinessFlow({
155 bsmSqyw: that.sqywInfo.bsmSqyw,
156 bdcdysz: that.bdcdysz,
157 }).then((res) => {
158 that.loading = false
159 if (res.code == 200) {
160 that.$message({
161 showClose: true,
162 message: '发起申请成功',
163 type: 'success'
164 })
165 if (!that.isJump) {
166 that.jump(res.result)
167 } else {
168 store.dispatch('user/refreshPage', true);
169 }
170 that.$popupCacel()
149 } else { 171 } else {
150 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 172 if (res.result && res.result.length > 0) {
173 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
174 } else {
175 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
176 }
151 } 177 }
152 } 178 }).catch(() => {
153 }).catch(() => { 179 this.loading = false
154 this.loading = false 180 })
155 }) 181 }
156 }, 182 },
157 /** 183 /**
158 * @description: handleSelectionChange 184 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-02-01 14:04:46 4 * @LastEditTime: 2024-02-01 14:49:27
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-02-01 13:34:13 4 * @LastEditTime: 2024-02-01 15:53:22
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 import store from '@/store/index.js' 60 import store from '@/store/index.js'
61 import ywsqTable from "@/utils/mixin/ywsqTable"; 61 import ywsqTable from "@/utils/mixin/ywsqTable";
62 import { ywPopupDialog } from "@/utils/popup.js"; 62 import { ywPopupDialog } from "@/utils/popup.js";
63 import { startRepairFlow } from "@/api/workFlow.js"; 63 import { startRepairFlow, againAddSldy } from "@/api/workFlow.js";
64 import { datas, sendThis } from "../javascript/selectDjbbl.js"; 64 import { datas, sendThis } from "../javascript/selectDjbbl.js";
65 import { selectRepairQlxx } from "@/api/ywsq.js"; 65 import { selectRepairQlxx } from "@/api/ywsq.js";
66 import jump from "../components/mixin/djbbljump"; 66 import jump from "../components/mixin/djbbljump";
...@@ -137,6 +137,7 @@ ...@@ -137,6 +137,7 @@
137 item.bsmQlxx + 137 item.bsmQlxx +
138 "&viewtype=1" 138 "&viewtype=1"
139 ); 139 );
140 localStorage.setItem('ywbl', JSON.stringify(item));
140 window.open(href, `urlname${item.bdcdyid}`); 141 window.open(href, `urlname${item.bdcdyid}`);
141 142
142 }, 143 },
...@@ -145,41 +146,68 @@ ...@@ -145,41 +146,68 @@
145 * @author: renchao 146 * @author: renchao
146 */ 147 */
147 submitForm () { 148 submitForm () {
149 let that = this
148 if (this.bdcdysz.length == 0) { 150 if (this.bdcdysz.length == 0) {
149 this.$message.error("请至少选择一条数据"); 151 this.$message.error("请至少选择一条数据");
150 return; 152 return;
151 } 153 }
152 this.loading = true 154 this.loading = true
153 let from = { 155 if (this.sqywInfo.isworkFrame) {
154 bsmSqyw: this.bsmSqyw, 156 store.dispatch('user/reMenuRefresh', false)
155 bdcdysz: this.bdcdysz, 157 againAddSldy({
156 djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", 158 bsmSqyw: that.sqywInfo.bsmSqyw,
157 djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", 159 bdcdysz: that.bdcdysz,
158 } 160 bsmSlsq: that.sqywInfo.bsmSlsq,
159 startRepairFlow(from).then((res) => { 161 }).then(res => {
160 this.loading = false 162 that.loading = false
161 if (res.code == 200) { 163 if (res.code == 200) {
162 this.$message({ 164 if (this.sqywInfo.sqywdylx != "1") {
163 showClose: true, 165 that.bdcdysz = []
164 message: '发起申请成功', 166 that.$refs.table.clearSelection()
165 type: 'success' 167 }
166 }) 168 store.dispatch('user/reMenuRefresh', true)
167 if (!this.isJump) { 169 that.$message({
168 this.jump(res.result) 170 showClose: true,
169 } else { 171 message: '添加成功',
170 store.dispatch('user/refreshPage', true); 172 type: 'success'
173 })
171 } 174 }
172 this.$popupCacel() 175 }).catch(() => {
173 } else { 176 that.loading = false
174 if (res.result && res.result.length > 0) { 177 })
175 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 178 } else {
179 let from = {
180 bsmSqyw: this.bsmSqyw,
181 bdcdysz: this.bdcdysz,
182 djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "",
183 djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
184 }
185 startRepairFlow(from).then((res) => {
186 that.loading = false
187 if (res.code == 200) {
188 that.$message({
189 showClose: true,
190 message: '发起申请成功',
191 type: 'success'
192 })
193 if (!that.isJump) {
194 that.jump(res.result)
195 } else {
196 store.dispatch('user/refreshPage', true);
197 }
198 that.$popupCacel()
176 } else { 199 } else {
177 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 200 if (res.result && res.result.length > 0) {
201 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
202 } else {
203 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
204 }
178 } 205 }
179 } 206 }).catch(() => {
180 }).catch(() => { 207 that.loading = false
181 this.loading = false 208 })
182 }) 209 }
210
183 }, 211 },
184 /** 212 /**
185 * @description: handleSelectionChange 213 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 15:37:02 4 * @LastEditTime: 2024-02-01 15:57:34
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { datas, sendThis } from "../javascript/selectFwsyq.js"; 71 import { datas, sendThis } from "../javascript/selectFwsyq.js";
72 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 72 import { defaultParameters } from "../javascript/publicDefaultPar.js";
73 import { selectFwsyq } from "@/api/ywsq.js"; 73 import { selectFwsyq } from "@/api/ywsq.js";
74 import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
...@@ -138,69 +138,94 @@ ...@@ -138,69 +138,94 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$message.error("请至少选择一条数据"); 143 this.$message.error("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true; 146 this.loading = true;
146 if (this.sqywInfo.sqfl == '1') { 147 if (this.sqywInfo.isworkFrame) {
147 startBusinessFlow({ 148 store.dispatch('user/reMenuRefresh', false)
148 bsmSqyw: this.sqywInfo.bsmSqyw, 149 againAddSldy({
149 bdcdysz: this.bdcdysz, 150 bsmSqyw: that.sqywInfo.bsmSqyw,
150 }).then((res) => { 151 bdcdysz: that.bdcdysz,
151 this.loading = false 152 bsmSlsq: that.sqywInfo.bsmSlsq,
153 }).then(res => {
154 that.loading = false
152 if (res.code == 200) { 155 if (res.code == 200) {
153 this.$message({ 156 if (this.sqywInfo.sqywdylx != "1") {
154 showClose: true, 157 that.bdcdysz = []
155 message: "发起申请成功", 158 that.$refs.table.clearSelection()
156 type: "success",
157 });
158 if (!this.isJump) {
159 this.jump(res.result, this.sqywInfo.djywbm);
160 } else {
161 store.dispatch('user/refreshPage', true);
162 }
163 this.$popupCacel()
164 } else {
165 if (res.result && res.result.length > 0) {
166 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
167 } else {
168 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
169 } 159 }
160 store.dispatch('user/reMenuRefresh', true)
161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
170 } 166 }
171 }).catch(() => { 167 }).catch(() => {
172 this.loading = false 168 that.loading = false
173 }) 169 })
174 } else { 170 } else {
175 startTogetherFlow({ 171 if (this.sqywInfo.sqfl == '1') {
176 bsmSqyw: this.sqywInfo.bsmSqyw, 172 startBusinessFlow({
177 bdcdysz: this.bdcdysz, 173 bsmSqyw: that.sqywInfo.bsmSqyw,
178 }).then((res) => { 174 bdcdysz: that.bdcdysz,
179 this.loading = false 175 }).then((res) => {
180 if (res.code == 200) { 176 that.loading = false
181 this.$message({ 177 if (res.code == 200) {
182 showClose: true, 178 that.$message({
183 message: '发起申请成功', 179 showClose: true,
184 type: 'success' 180 message: "发起申请成功",
185 }) 181 type: "success",
186 if (!this.isJump) { 182 });
187 this.jump(res.result, this.sqywInfo.djywbm) 183 if (!that.isJump) {
184 that.jump(res.result, that.sqywInfo.djywbm);
185 } else {
186 store.dispatch('user/refreshPage', true);
187 }
188 that.$popupCacel()
188 } else { 189 } else {
189 store.dispatch('user/refreshPage', true); 190 if (res.result && res.result.length > 0) {
190 this.$popupCacel() 191 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
192 } else {
193 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
194 }
191 } 195 }
192 } else { 196 }).catch(() => {
193 if (res.result && res.result.length > 0) { 197 that.loading = false
194 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 198 })
199 } else {
200 startTogetherFlow({
201 bsmSqyw: that.sqywInfo.bsmSqyw,
202 bdcdysz: that.bdcdysz,
203 }).then((res) => {
204 that.loading = false
205 if (res.code == 200) {
206 that.$message({
207 showClose: true,
208 message: '发起申请成功',
209 type: 'success'
210 })
211 if (!that.isJump) {
212 that.jump(res.result, that.sqywInfo.djywbm)
213 } else {
214 store.dispatch('user/refreshPage', true);
215 that.$popupCacel()
216 }
195 } else { 217 } else {
196 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 218 if (res.result && res.result.length > 0) {
219 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
220 } else {
221 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
222 }
197 } 223 }
198 } 224 }).catch(() => {
199 }).catch(() => { 225 that.loading = false
200 this.loading = false 226 })
201 }) 227 }
202 } 228 }
203
204 }, 229 },
205 /** 230 /**
206 * @description: handleSelectionChange 231 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 16:16:15 4 * @LastEditTime: 2024-02-01 16:00:47
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { datas, sendThis } from "../javascript/selectH.js"; 71 import { datas, sendThis } from "../javascript/selectH.js";
72 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 72 import { defaultParameters } from "../javascript/publicDefaultPar.js";
73 import { selectHQjdc } from "@/api/ywsq.js"; 73 import { selectHQjdc } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
...@@ -138,38 +138,64 @@ ...@@ -138,38 +138,64 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$message.error("请至少选择一条数据"); 143 this.$message.error("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true 146 this.loading = true
146 startBusinessFlow({ 147 if (this.sqywInfo.isworkFrame) {
147 bsmSqyw: this.sqywInfo.bsmSqyw, 148 store.dispatch('user/reMenuRefresh', false)
148 bdcdysz: this.bdcdysz, 149 againAddSldy({
149 }).then((res) => { 150 bsmSqyw: that.sqywInfo.bsmSqyw,
150 this.loading = false 151 bdcdysz: that.bdcdysz,
151 if (res.code == 200) { 152 bsmSlsq: that.sqywInfo.bsmSlsq,
152 this.$message({ 153 }).then(res => {
153 showClose: true, 154 that.loading = false
154 message: '发起申请成功', 155 if (res.code == 200) {
155 type: 'success' 156 if (this.sqywInfo.sqywdylx != "1") {
156 }) 157 that.bdcdysz = []
157 if (!this.isJump) { 158 that.$refs.table.clearSelection()
158 this.jump(res.result, this.sqywInfo.djywbm) 159 }
159 } else { 160 store.dispatch('user/reMenuRefresh', true)
160 store.dispatch('user/refreshPage', true); 161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
161 } 166 }
162 this.$popupCacel() 167 }).catch(() => {
163 } else { 168 that.loading = false
164 if (res.result && res.result.length > 0) { 169 })
165 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 170 } else {
171 startBusinessFlow({
172 bsmSqyw: that.sqywInfo.bsmSqyw,
173 bdcdysz: that.bdcdysz,
174 }).then((res) => {
175 that.loading = false
176 if (res.code == 200) {
177 that.$message({
178 showClose: true,
179 message: '发起申请成功',
180 type: 'success'
181 })
182 if (!that.isJump) {
183 that.jump(res.result, that.sqywInfo.djywbm)
184 } else {
185 store.dispatch('user/refreshPage', true);
186 }
187 that.$popupCacel()
166 } else { 188 } else {
167 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 189 if (res.result && res.result.length > 0) {
190 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
191 } else {
192 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
193 }
168 } 194 }
169 } 195 }).catch(() => {
170 }).catch(() => { 196 that.loading = false
171 this.loading = false 197 })
172 }) 198 }
173 }, 199 },
174 /** 200 /**
175 * @description: handleSelectionChange 201 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:47:01 4 * @LastEditTime: 2024-02-01 16:02:00
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
73 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 73 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
74 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 74 import { defaultParameters } from "../javascript/publicDefaultPar.js";
75 import { selectJsydQlxx } from "@/api/ywsq.js"; 75 import { selectJsydQlxx } from "@/api/ywsq.js";
76 import { startBusinessFlow } from "@/api/workFlow.js"; 76 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
77 export default { 77 export default {
78 mixins: [ywsqTable, jump], 78 mixins: [ywsqTable, jump],
79 props: { 79 props: {
...@@ -140,38 +140,64 @@ ...@@ -140,38 +140,64 @@
140 * @author: renchao 140 * @author: renchao
141 */ 141 */
142 submitForm () { 142 submitForm () {
143 let that = this
143 if (this.bdcdysz.length == 0) { 144 if (this.bdcdysz.length == 0) {
144 this.$message.error("请至少选择一条数据"); 145 this.$message.error("请至少选择一条数据");
145 return; 146 return;
146 } 147 }
147 this.loading = true 148 this.loading = true
148 startBusinessFlow({ 149 if (this.sqywInfo.isworkFrame) {
149 bsmSqyw: this.sqywInfo.bsmSqyw, 150 store.dispatch('user/reMenuRefresh', false)
150 bdcdysz: this.bdcdysz, 151 againAddSldy({
151 }).then((res) => { 152 bsmSqyw: that.sqywInfo.bsmSqyw,
152 this.loading = false 153 bdcdysz: that.bdcdysz,
153 if (res.code == 200) { 154 bsmSlsq: that.sqywInfo.bsmSlsq,
154 this.$message({ 155 }).then(res => {
155 showClose: true, 156 that.loading = false
156 message: "发起申请成功", 157 if (res.code == 200) {
157 type: "success", 158 if (this.sqywInfo.sqywdylx != "1") {
158 }); 159 that.bdcdysz = []
159 if (!this.isJump) { 160 that.$refs.table.clearSelection()
160 this.jump(res.result, this.sqywInfo.djywbm); 161 }
161 } else { 162 store.dispatch('user/reMenuRefresh', true)
162 store.dispatch('user/refreshPage', true); 163 that.$message({
164 showClose: true,
165 message: '添加成功',
166 type: 'success'
167 })
163 } 168 }
164 this.$popupCacel() 169 }).catch(() => {
165 } else { 170 that.loading = false
166 if (res.result && res.result.length > 0) { 171 })
167 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 172 } else {
173 startBusinessFlow({
174 bsmSqyw: that.sqywInfo.bsmSqyw,
175 bdcdysz: that.bdcdysz,
176 }).then((res) => {
177 that.loading = false
178 if (res.code == 200) {
179 that.$message({
180 showClose: true,
181 message: "发起申请成功",
182 type: "success",
183 });
184 if (!that.isJump) {
185 that.jump(res.result, that.sqywInfo.djywbm);
186 } else {
187 store.dispatch('user/refreshPage', true);
188 }
189 that.$popupCacel()
168 } else { 190 } else {
169 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 191 if (res.result && res.result.length > 0) {
192 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
193 } else {
194 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
195 }
170 } 196 }
171 } 197 }).catch(() => {
172 }).catch(() => { 198 this.loading = false
173 this.loading = false 199 })
174 }) 200 }
175 }, 201 },
176 /** 202 /**
177 * @description: handleSelectionChange 203 * @description: handleSelectionChange
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 import ywsqTable from "@/utils/mixin/ywsqTable"; 57 import ywsqTable from "@/utils/mixin/ywsqTable";
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLq } from "@/api/ywsq.js"; 59 import { selectLq } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectQjlqxxQt.js"; 61 import { datas, sendThis } from "../javascript/selectQjlqxxQt.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 export default { 63 export default {
...@@ -104,38 +104,64 @@ ...@@ -104,38 +104,64 @@
104 * @author: renchao 104 * @author: renchao
105 */ 105 */
106 submitForm () { 106 submitForm () {
107 let that = this
107 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
108 this.$alert("请至少选择一条数据"); 109 this.$alert("请至少选择一条数据");
109 return; 110 return;
110 } 111 }
111 this.loading = true 112 this.loading = true
112 startBusinessFlow({ 113 if (this.sqywInfo.isworkFrame) {
113 bsmSqyw: this.sqywInfo.bsmSqyw, 114 store.dispatch('user/reMenuRefresh', false)
114 bdcdysz: this.bdcdysz, 115 againAddSldy({
115 }).then((res) => { 116 bsmSqyw: that.sqywInfo.bsmSqyw,
116 this.loading = false 117 bdcdysz: that.bdcdysz,
117 if (res.code == 200) { 118 bsmSlsq: that.sqywInfo.bsmSlsq,
118 this.$message({ 119 }).then(res => {
119 showClose: true, 120 that.loading = false
120 message: "发起申请成功", 121 if (res.code == 200) {
121 type: "success", 122 if (this.sqywInfo.sqywdylx != "1") {
122 }); 123 that.bdcdysz = []
123 if (!this.isJump) { 124 that.$refs.table.clearSelection()
124 this.jump(res.result, this.djywbm); 125 }
125 } else { 126 store.dispatch('user/reMenuRefresh', true)
126 store.dispatch('user/refreshPage', true); 127 that.$message({
128 showClose: true,
129 message: '添加成功',
130 type: 'success'
131 })
127 } 132 }
128 this.$popupCacel() 133 }).catch(() => {
129 } else { 134 that.loading = false
130 if (res.result && res.result.length > 0) { 135 })
131 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 136 } else {
137 startBusinessFlow({
138 bsmSqyw: that.sqywInfo.bsmSqyw,
139 bdcdysz: that.bdcdysz,
140 }).then((res) => {
141 that.loading = false
142 if (res.code == 200) {
143 that.$message({
144 showClose: true,
145 message: "发起申请成功",
146 type: "success",
147 });
148 if (!that.isJump) {
149 that.jump(res.result, that.djywbm);
150 } else {
151 store.dispatch('user/refreshPage', true);
152 }
153 that.$popupCacel()
132 } else { 154 } else {
133 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 155 if (res.result && res.result.length > 0) {
156 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
157 } else {
158 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
159 }
134 } 160 }
135 } 161 }).catch(() => {
136 }).catch(() => { 162 that.loading = false
137 this.loading = false 163 })
138 }) 164 }
139 }, 165 },
140 /** 166 /**
141 * @description: handleSelectionChange 167 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 13:27:01 4 * @LastEditTime: 2024-02-01 16:04:42
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 import ywsqTable from "@/utils/mixin/ywsqTable"; 69 import ywsqTable from "@/utils/mixin/ywsqTable";
70 import { ywPopupDialog } from "@/utils/popup.js"; 70 import { ywPopupDialog } from "@/utils/popup.js";
71 import { selectZdjbxx } from "@/api/ywsq.js"; 71 import { selectZdjbxx } from "@/api/ywsq.js";
72 import { startBusinessFlow } from "@/api/workFlow.js"; 72 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
74 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 74 import { defaultParameters } from "../javascript/publicDefaultPar.js";
75 export default { 75 export default {
...@@ -139,38 +139,64 @@ ...@@ -139,38 +139,64 @@
139 * @author: renchao 139 * @author: renchao
140 */ 140 */
141 submitForm () { 141 submitForm () {
142 let that = this
142 if (this.bdcdysz.length == 0) { 143 if (this.bdcdysz.length == 0) {
143 this.$alert("请至少选择一条数据"); 144 this.$alert("请至少选择一条数据");
144 return; 145 return;
145 } 146 }
146 this.loading = true 147 this.loading = true
147 startBusinessFlow({ 148 if (this.sqywInfo.isworkFrame) {
148 bsmSqyw: this.sqywInfo.bsmSqyw, 149 store.dispatch('user/reMenuRefresh', false)
149 bdcdysz: this.bdcdysz, 150 againAddSldy({
150 }).then((res) => { 151 bsmSqyw: that.sqywInfo.bsmSqyw,
151 this.loading = false 152 bdcdysz: that.bdcdysz,
152 if (res.code == 200) { 153 bsmSlsq: that.sqywInfo.bsmSlsq,
153 this.$message({ 154 }).then(res => {
154 showClose: true, 155 that.loading = false
155 message: "发起申请成功", 156 if (res.code == 200) {
156 type: "success", 157 if (this.sqywInfo.sqywdylx != "1") {
157 }); 158 that.bdcdysz = []
158 if (!this.isJump) { 159 that.$refs.table.clearSelection()
159 this.jump(res.result, this.djywbm); 160 }
160 } else { 161 store.dispatch('user/reMenuRefresh', true)
161 store.dispatch('user/refreshPage', true); 162 that.$message({
163 showClose: true,
164 message: '添加成功',
165 type: 'success'
166 })
162 } 167 }
163 this.$popupCacel() 168 }).catch(() => {
164 } else { 169 that.loading = false
165 if (res.result && res.result.length > 0) { 170 })
166 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 171 } else {
172 startBusinessFlow({
173 bsmSqyw: that.sqywInfo.bsmSqyw,
174 bdcdysz: that.bdcdysz,
175 }).then((res) => {
176 that.loading = false
177 if (res.code == 200) {
178 that.$message({
179 showClose: true,
180 message: "发起申请成功",
181 type: "success",
182 });
183 if (!that.isJump) {
184 that.jump(res.result, that.djywbm);
185 } else {
186 store.dispatch('user/refreshPage', true);
187 }
188 that.$popupCacel()
167 } else { 189 } else {
168 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 190 if (res.result && res.result.length > 0) {
191 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
192 } else {
193 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
194 }
169 } 195 }
170 } 196 }).catch(() => {
171 }).catch(() => { 197 this.loading = false
172 this.loading = false 198 })
173 }) 199 }
174 }, 200 },
175 /** 201 /**
176 * @description: handleSelectionChange 202 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:45:25 4 * @LastEditTime: 2024-02-01 16:05:52
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import ywsqTable from "@/utils/mixin/ywsqTable"; 71 import ywsqTable from "@/utils/mixin/ywsqTable";
72 import { ywPopupDialog } from "@/utils/popup.js"; 72 import { ywPopupDialog } from "@/utils/popup.js";
73 import { selectZdjbxx } from "@/api/ywsq.js"; 73 import { selectZdjbxx } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 75 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
76 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 76 import { defaultParameters } from "../javascript/publicDefaultPar.js";
77 export default { 77 export default {
...@@ -141,38 +141,64 @@ ...@@ -141,38 +141,64 @@
141 * @author: renchao 141 * @author: renchao
142 */ 142 */
143 submitForm () { 143 submitForm () {
144 let that = this
144 if (this.bdcdysz.length == 0) { 145 if (this.bdcdysz.length == 0) {
145 this.$alert("请至少选择一条数据"); 146 this.$alert("请至少选择一条数据");
146 return; 147 return;
147 } 148 }
148 this.loading = true 149 this.loading = true
149 startBusinessFlow({ 150 if (this.sqywInfo.isworkFrame) {
150 bsmSqyw: this.sqywInfo.bsmSqyw, 151 store.dispatch('user/reMenuRefresh', false)
151 bdcdysz: this.bdcdysz, 152 againAddSldy({
152 }).then((res) => { 153 bsmSqyw: that.sqywInfo.bsmSqyw,
153 this.loading = false 154 bdcdysz: that.bdcdysz,
154 if (res.code == 200) { 155 bsmSlsq: that.sqywInfo.bsmSlsq,
155 this.$message({ 156 }).then(res => {
156 showClose: true, 157 that.loading = false
157 message: "发起申请成功", 158 if (res.code == 200) {
158 type: "success", 159 if (this.sqywInfo.sqywdylx != "1") {
159 }); 160 that.bdcdysz = []
160 if (!this.isJump) { 161 that.$refs.table.clearSelection()
161 this.jump(res.result, this.djywbm); 162 }
162 } else { 163 store.dispatch('user/reMenuRefresh', true)
163 store.dispatch('user/refreshPage', true); 164 that.$message({
165 showClose: true,
166 message: '添加成功',
167 type: 'success'
168 })
164 } 169 }
165 this.$popupCacel() 170 }).catch(() => {
166 } else { 171 that.loading = false
167 if (res.result && res.result.length > 0) { 172 })
168 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 173 } else {
174 startBusinessFlow({
175 bsmSqyw: that.sqywInfo.bsmSqyw,
176 bdcdysz: that.bdcdysz,
177 }).then((res) => {
178 that.loading = false
179 if (res.code == 200) {
180 that.$message({
181 showClose: true,
182 message: "发起申请成功",
183 type: "success",
184 });
185 if (!that.isJump) {
186 that.jump(res.result, that.djywbm);
187 } else {
188 store.dispatch('user/refreshPage', true);
189 }
190 that.$popupCacel()
169 } else { 191 } else {
170 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 192 if (res.result && res.result.length > 0) {
193 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
194 } else {
195 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
196 }
171 } 197 }
172 } 198 }).catch(() => {
173 }).catch(() => { 199 this.loading = false
174 this.loading = false 200 })
175 }) 201 }
176 }, 202 },
177 /** 203 /**
178 * @description: handleSelectionChange 204 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 13:10:53 4 * @LastEditTime: 2024-02-01 16:08:02
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 import ywsqTable from "@/utils/mixin/ywsqTable"; 57 import ywsqTable from "@/utils/mixin/ywsqTable";
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLq } from "@/api/ywsq.js"; 59 import { selectLq } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectSllmqt.js"; 61 import { datas, sendThis } from "../javascript/selectSllmqt.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 export default { 63 export default {
...@@ -104,38 +104,64 @@ ...@@ -104,38 +104,64 @@
104 * @author: renchao 104 * @author: renchao
105 */ 105 */
106 submitForm () { 106 submitForm () {
107 let that = this
107 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
108 this.$alert("请至少选择一条数据"); 109 this.$alert("请至少选择一条数据");
109 return; 110 return;
110 } 111 }
111 this.loading = true 112 this.loading = true
112 startBusinessFlow({ 113 if (this.sqywInfo.isworkFrame) {
113 bsmSqyw: this.sqywInfo.bsmSqyw, 114 store.dispatch('user/reMenuRefresh', false)
114 bdcdysz: this.bdcdysz, 115 againAddSldy({
115 }).then((res) => { 116 bsmSqyw: that.sqywInfo.bsmSqyw,
116 this.loading = false 117 bdcdysz: that.bdcdysz,
117 if (res.code == 200) { 118 bsmSlsq: that.sqywInfo.bsmSlsq,
118 this.$message({ 119 }).then(res => {
119 showClose: true, 120 that.loading = false
120 message: "发起申请成功", 121 if (res.code == 200) {
121 type: "success", 122 if (this.sqywInfo.sqywdylx != "1") {
122 }); 123 that.bdcdysz = []
123 if (!this.isJump) { 124 that.$refs.table.clearSelection()
124 this.jump(res.result, this.djywbm); 125 }
125 } else { 126 store.dispatch('user/reMenuRefresh', true)
126 store.dispatch('user/refreshPage', true); 127 that.$message({
128 showClose: true,
129 message: '添加成功',
130 type: 'success'
131 })
127 } 132 }
128 this.$popupCacel() 133 }).catch(() => {
129 } else { 134 that.loading = false
130 if (res.result && res.result.length > 0) { 135 })
131 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 136 } else {
137 startBusinessFlow({
138 bsmSqyw: that.sqywInfo.bsmSqyw,
139 bdcdysz: that.bdcdysz,
140 }).then((res) => {
141 that.loading = false
142 if (res.code == 200) {
143 that.$message({
144 showClose: true,
145 message: "发起申请成功",
146 type: "success",
147 });
148 if (!that.isJump) {
149 that.jump(res.result, that.djywbm);
150 } else {
151 store.dispatch('user/refreshPage', true);
152 }
153 that.$popupCacel()
132 } else { 154 } else {
133 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 155 if (res.result && res.result.length > 0) {
156 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
157 } else {
158 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
159 }
134 } 160 }
135 } 161 }).catch(() => {
136 }).catch(() => { 162 this.loading = false
137 this.loading = false 163 })
138 }) 164 }
139 }, 165 },
140 /** 166 /**
141 * @description: handleSelectionChange 167 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:45:28 4 * @LastEditTime: 2024-02-01 16:10:05
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 import ywsqTable from "@/utils/mixin/ywsqTable"; 69 import ywsqTable from "@/utils/mixin/ywsqTable";
70 import { ywPopupDialog } from "@/utils/popup.js"; 70 import { ywPopupDialog } from "@/utils/popup.js";
71 import { selectLqQjdc } from "@/api/ywsq.js"; 71 import { selectLqQjdc } from "@/api/ywsq.js";
72 import { startBusinessFlow } from "@/api/workFlow.js"; 72 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
74 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 74 import { defaultParameters } from "../javascript/publicDefaultPar.js";
75 export default { 75 export default {
...@@ -138,38 +138,64 @@ ...@@ -138,38 +138,64 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$alert("请至少选择一条数据"); 143 this.$alert("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true 146 this.loading = true
146 startBusinessFlow({ 147 if (this.sqywInfo.isworkFrame) {
147 bsmSqyw: this.sqywInfo.bsmSqyw, 148 store.dispatch('user/reMenuRefresh', false)
148 bdcdysz: this.bdcdysz, 149 againAddSldy({
149 }).then((res) => { 150 bsmSqyw: that.sqywInfo.bsmSqyw,
150 this.loading = false 151 bdcdysz: that.bdcdysz,
151 if (res.code == 200) { 152 bsmSlsq: that.sqywInfo.bsmSlsq,
152 this.$message({ 153 }).then(res => {
153 showClose: true, 154 that.loading = false
154 message: "发起申请成功", 155 if (res.code == 200) {
155 type: "success", 156 if (this.sqywInfo.sqywdylx != "1") {
156 }); 157 that.bdcdysz = []
157 if (!this.isJump) { 158 that.$refs.table.clearSelection()
158 this.jump(res.result, this.djywbm); 159 }
159 } else { 160 store.dispatch('user/reMenuRefresh', true)
160 store.dispatch('user/refreshPage', true); 161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
161 } 166 }
162 this.$popupCacel() 167 }).catch(() => {
163 } else { 168 that.loading = false
164 if (res.result && res.result.length > 0) { 169 })
165 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 170 } else {
171 startBusinessFlow({
172 bsmSqyw: that.sqywInfo.bsmSqyw,
173 bdcdysz: that.bdcdysz,
174 }).then((res) => {
175 that.loading = false
176 if (res.code == 200) {
177 that.$message({
178 showClose: true,
179 message: "发起申请成功",
180 type: "success",
181 });
182 if (!that.isJump) {
183 that.jump(res.result, that.djywbm);
184 } else {
185 store.dispatch('user/refreshPage', true);
186 }
187 that.$popupCacel()
166 } else { 188 } else {
167 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 189 if (res.result && res.result.length > 0) {
190 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
191 } else {
192 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
193 }
168 } 194 }
169 } 195 }).catch(() => {
170 }).catch(() => { 196 this.loading = false
171 this.loading = false 197 })
172 }) 198 }
173 }, 199 },
174 /** 200 /**
175 * @description: handleSelectionChange 201 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 14:17:21 4 * @LastEditTime: 2024-02-01 16:11:09
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
74 import { datas, sendThis } from "../javascript/selectTdsyq.js"; 74 import { datas, sendThis } from "../javascript/selectTdsyq.js";
75 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 75 import { defaultParameters } from "../javascript/publicDefaultPar.js";
76 import { selectTdsyqQlxx } from "@/api/ywsq.js"; 76 import { selectTdsyqQlxx } from "@/api/ywsq.js";
77 import { startBusinessFlow } from "@/api/workFlow.js"; 77 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
78 export default { 78 export default {
79 mixins: [ywsqTable, jump], 79 mixins: [ywsqTable, jump],
80 props: { 80 props: {
...@@ -118,38 +118,64 @@ ...@@ -118,38 +118,64 @@
118 * @author: renchao 118 * @author: renchao
119 */ 119 */
120 submitForm () { 120 submitForm () {
121 let that = this
121 if (this.bdcdysz.length == 0) { 122 if (this.bdcdysz.length == 0) {
122 this.$message.error("请至少选择一条数据"); 123 this.$message.error("请至少选择一条数据");
123 return; 124 return;
124 } 125 }
125 this.loading = true 126 this.loading = true
126 startBusinessFlow({ 127 if (this.sqywInfo.isworkFrame) {
127 bsmSqyw: this.sqywInfo.bsmSqyw, 128 store.dispatch('user/reMenuRefresh', false)
128 bdcdysz: this.bdcdysz, 129 againAddSldy({
129 }).then((res) => { 130 bsmSqyw: that.sqywInfo.bsmSqyw,
130 this.loading = false 131 bdcdysz: that.bdcdysz,
131 if (res.code == 200) { 132 bsmSlsq: that.sqywInfo.bsmSlsq,
132 this.$message({ 133 }).then(res => {
133 showClose: true, 134 that.loading = false
134 message: "发起申请成功", 135 if (res.code == 200) {
135 type: "success", 136 if (this.sqywInfo.sqywdylx != "1") {
136 }); 137 that.bdcdysz = []
137 if (!this.isJump) { 138 that.$refs.table.clearSelection()
138 this.jump(res.result, this.sqywInfo.djywbm); 139 }
139 } else { 140 store.dispatch('user/reMenuRefresh', true)
140 store.dispatch('user/refreshPage', true); 141 that.$message({
142 showClose: true,
143 message: '添加成功',
144 type: 'success'
145 })
141 } 146 }
142 this.$popupCacel() 147 }).catch(() => {
143 } else { 148 that.loading = false
144 if (res.result && res.result.length > 0) { 149 })
145 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 150 } else {
151 startBusinessFlow({
152 bsmSqyw: that.sqywInfo.bsmSqyw,
153 bdcdysz: that.bdcdysz,
154 }).then((res) => {
155 that.loading = false
156 if (res.code == 200) {
157 that.$message({
158 showClose: true,
159 message: "发起申请成功",
160 type: "success",
161 });
162 if (!that.isJump) {
163 that.jump(res.result, that.sqywInfo.djywbm);
164 } else {
165 store.dispatch('user/refreshPage', true);
166 }
167 that.$popupCacel()
146 } else { 168 } else {
147 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 169 if (res.result && res.result.length > 0) {
170 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
171 } else {
172 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
173 }
148 } 174 }
149 } 175 }).catch(() => {
150 }).catch(() => { 176 this.loading = false
151 this.loading = false 177 })
152 }) 178 }
153 }, 179 },
154 /** 180 /**
155 * @description: handleSelectionChange 181 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-31 09:37:23 4 * @LastEditTime: 2024-02-01 16:13:02
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import ywsqTable from "@/utils/mixin/ywsqTable"; 58 import ywsqTable from "@/utils/mixin/ywsqTable";
59 import jump from "./mixin/jump"; 59 import jump from "./mixin/jump";
60 import { selectYgdj200 } from "@/api/ywsq.js"; 60 import { selectYgdj200 } from "@/api/ywsq.js";
61 import { startTogetherFlow } from "@/api/workFlow.js"; 61 import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
62 export default { 62 export default {
63 mixins: [ywsqTable, jump], 63 mixins: [ywsqTable, jump],
64 props: { 64 props: {
...@@ -102,38 +102,64 @@ ...@@ -102,38 +102,64 @@
102 * @author: renchao 102 * @author: renchao
103 */ 103 */
104 submitForm () { 104 submitForm () {
105 let that = this
105 if (this.bdcdysz.length == 0) { 106 if (this.bdcdysz.length == 0) {
106 this.$message.error("请至少选择一条数据"); 107 this.$message.error("请至少选择一条数据");
107 return; 108 return;
108 } 109 }
109 this.loading = true 110 this.loading = true
110 startTogetherFlow({ 111 if (this.sqywInfo.isworkFrame) {
111 bsmSqyw: this.sqywInfo.bsmSqyw, 112 store.dispatch('user/reMenuRefresh', false)
112 bdcdysz: this.bdcdysz, 113 againAddSldy({
113 }).then((res) => { 114 bsmSqyw: that.sqywInfo.bsmSqyw,
114 this.loading = false 115 bdcdysz: that.bdcdysz,
115 if (res.code == 200) { 116 bsmSlsq: that.sqywInfo.bsmSlsq,
116 this.$message({ 117 }).then(res => {
117 showClose: true, 118 that.loading = false
118 message: '发起申请成功', 119 if (res.code == 200) {
119 type: 'success' 120 if (this.sqywInfo.sqywdylx != "1") {
120 }) 121 that.bdcdysz = []
121 if (!this.isJump) { 122 that.$refs.table.clearSelection()
122 this.jump(res.result, this.sqywInfo.djywbm) 123 }
123 } else { 124 store.dispatch('user/reMenuRefresh', true)
124 store.dispatch('user/refreshPage', true); 125 that.$message({
125 this.$popupCacel() 126 showClose: true,
127 message: '添加成功',
128 type: 'success'
129 })
126 } 130 }
127 } else { 131 }).catch(() => {
128 if (res.result && res.result.length > 0) { 132 that.loading = false
129 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 133 })
134 } else {
135 startTogetherFlow({
136 bsmSqyw: that.sqywInfo.bsmSqyw,
137 bdcdysz: that.bdcdysz,
138 }).then((res) => {
139 that.loading = false
140 if (res.code == 200) {
141 that.$message({
142 showClose: true,
143 message: '发起申请成功',
144 type: 'success'
145 })
146 if (!that.isJump) {
147 that.jump(res.result, that.sqywInfo.djywbm)
148 } else {
149 store.dispatch('user/refreshPage', true);
150 that.$popupCacel()
151 }
130 } else { 152 } else {
131 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 153 if (res.result && res.result.length > 0) {
154 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
155 } else {
156 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
157 }
132 } 158 }
133 } 159 }).catch(() => {
134 }).catch(() => { 160 this.loading = false
135 this.loading = false 161 })
136 }) 162 }
137 }, 163 },
138 /** 164 /**
139 * @description: handleSelectionChange 165 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-16 14:14:29 4 * @LastEditTime: 2024-02-01 16:13:24
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 import { datas, sendThis } from "../javascript/selectFwsyq.js"; 59 import { datas, sendThis } from "../javascript/selectFwsyq.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import { selectFwsyq } from "@/api/ywsq.js"; 61 import { selectFwsyq } from "@/api/ywsq.js";
62 import { startTogetherFlow } from "@/api/workFlow.js"; 62 import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
63 export default { 63 export default {
64 mixins: [ywsqTable, jump], 64 mixins: [ywsqTable, jump],
65 props: { 65 props: {
...@@ -103,38 +103,64 @@ ...@@ -103,38 +103,64 @@
103 * @author: renchao 103 * @author: renchao
104 */ 104 */
105 submitForm () { 105 submitForm () {
106 let that = this
106 if (this.bdcdysz.length == 0) { 107 if (this.bdcdysz.length == 0) {
107 this.$message.error("请至少选择一条数据"); 108 this.$message.error("请至少选择一条数据");
108 return; 109 return;
109 } 110 }
110 this.loading = true 111 this.loading = true
111 startTogetherFlow({ 112 if (this.sqywInfo.isworkFrame) {
112 bsmSqyw: this.sqywInfo.bsmSqyw, 113 store.dispatch('user/reMenuRefresh', false)
113 bdcdysz: this.bdcdysz, 114 againAddSldy({
114 }).then((res) => { 115 bsmSqyw: that.sqywInfo.bsmSqyw,
115 this.loading = false 116 bdcdysz: that.bdcdysz,
116 if (res.code == 200) { 117 bsmSlsq: that.sqywInfo.bsmSlsq,
117 this.$message({ 118 }).then(res => {
118 showClose: true, 119 that.loading = false
119 message: "发起申请成功", 120 if (res.code == 200) {
120 type: "success", 121 if (this.sqywInfo.sqywdylx != "1") {
121 }); 122 that.bdcdysz = []
122 if (!this.isJump) { 123 that.$refs.table.clearSelection()
123 this.jump(res.result, this.sqywInfo.djywbm); 124 }
124 } else { 125 store.dispatch('user/reMenuRefresh', true)
125 store.dispatch('user/refreshPage', true); 126 that.$message({
127 showClose: true,
128 message: '添加成功',
129 type: 'success'
130 })
126 } 131 }
127 this.$popupCacel() 132 }).catch(() => {
128 } else { 133 that.loading = false
129 if (res.result && res.result.length > 0) { 134 })
130 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 135 } else {
136 startTogetherFlow({
137 bsmSqyw: that.sqywInfo.bsmSqyw,
138 bdcdysz: that.bdcdysz,
139 }).then((res) => {
140 that.loading = false
141 if (res.code == 200) {
142 that.$message({
143 showClose: true,
144 message: "发起申请成功",
145 type: "success",
146 });
147 if (!that.isJump) {
148 that.jump(res.result, that.sqywInfo.djywbm);
149 } else {
150 store.dispatch('user/refreshPage', true);
151 }
152 that.$popupCacel()
131 } else { 153 } else {
132 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 154 if (res.result && res.result.length > 0) {
155 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
156 } else {
157 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
158 }
133 } 159 }
134 } 160 }).catch(() => {
135 }).catch(() => { 161 this.loading = false
136 this.loading = false 162 })
137 }) 163 }
138 }, 164 },
139 /** 165 /**
140 * @description: handleSelectionChange 166 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-18 15:11:12 4 * @LastEditTime: 2024-02-01 16:14:33
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import { datas, sendThis } from "../javascript/selectH.js"; 58 import { datas, sendThis } from "../javascript/selectH.js";
59 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 59 import { defaultParameters } from "../javascript/publicDefaultPar.js";
60 import { selectHQjdc } from "@/api/ywsq.js"; 60 import { selectHQjdc } from "@/api/ywsq.js";
61 import { startTogetherFlow } from "@/api/workFlow.js"; 61 import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
62 export default { 62 export default {
63 mixins: [ywsqTable, jump], 63 mixins: [ywsqTable, jump],
64 props: { 64 props: {
...@@ -102,38 +102,64 @@ ...@@ -102,38 +102,64 @@
102 * @author: renchao 102 * @author: renchao
103 */ 103 */
104 submitForm () { 104 submitForm () {
105 let that = this
105 if (this.bdcdysz.length == 0) { 106 if (this.bdcdysz.length == 0) {
106 this.$message.error("请至少选择一条数据"); 107 this.$message.error("请至少选择一条数据");
107 return; 108 return;
108 } 109 }
109 this.loading = true 110 this.loading = true
110 startTogetherFlow({ 111 if (this.sqywInfo.isworkFrame) {
111 bsmSqyw: this.sqywInfo.bsmSqyw, 112 store.dispatch('user/reMenuRefresh', false)
112 bdcdysz: this.bdcdysz 113 againAddSldy({
113 }).then((res) => { 114 bsmSqyw: that.sqywInfo.bsmSqyw,
114 this.loading = false 115 bdcdysz: that.bdcdysz,
115 if (res.code == 200) { 116 bsmSlsq: that.sqywInfo.bsmSlsq,
116 this.$message({ 117 }).then(res => {
117 showClose: true, 118 that.loading = false
118 message: '发起申请成功', 119 if (res.code == 200) {
119 type: 'success' 120 if (this.sqywInfo.sqywdylx != "1") {
120 }) 121 that.bdcdysz = []
121 if (!this.isJump) { 122 that.$refs.table.clearSelection()
122 this.jump(res.result, this.sqywInfo.djywbm) 123 }
123 } else { 124 store.dispatch('user/reMenuRefresh', true)
124 store.dispatch('user/refreshPage', true); 125 that.$message({
126 showClose: true,
127 message: '添加成功',
128 type: 'success'
129 })
125 } 130 }
126 this.$popupCacel() 131 }).catch(() => {
127 } else { 132 that.loading = false
128 if (res.result && res.result.length > 0) { 133 })
129 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 134 } else {
135 startTogetherFlow({
136 bsmSqyw: that.sqywInfo.bsmSqyw,
137 bdcdysz: that.bdcdysz
138 }).then((res) => {
139 that.loading = false
140 if (res.code == 200) {
141 that.$message({
142 showClose: true,
143 message: '发起申请成功',
144 type: 'success'
145 })
146 if (!that.isJump) {
147 that.jump(res.result, that.sqywInfo.djywbm)
148 } else {
149 store.dispatch('user/refreshPage', true);
150 }
151 that.$popupCacel()
130 } else { 152 } else {
131 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 153 if (res.result && res.result.length > 0) {
154 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
155 } else {
156 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
157 }
132 } 158 }
133 } 159 }).catch(() => {
134 }).catch(() => { 160 this.loading = false
135 this.loading = false 161 })
136 }) 162 }
137 }, 163 },
138 /** 164 /**
139 * @description: handleSelectionChange 165 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:37:38 4 * @LastEditTime: 2024-02-01 16:15:38
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import ywsqTable from "@/utils/mixin/ywsqTable"; 71 import ywsqTable from "@/utils/mixin/ywsqTable";
72 import jump from "./mixin/jump"; 72 import jump from "./mixin/jump";
73 import { selectYgdj200 } from "@/api/ywsq.js"; 73 import { selectYgdj200 } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
...@@ -138,38 +138,64 @@ ...@@ -138,38 +138,64 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$message.error("请至少选择一条数据"); 143 this.$message.error("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true 146 this.loading = true
146 startBusinessFlow({ 147 if (this.sqywInfo.isworkFrame) {
147 bsmSqyw: this.sqywInfo.bsmSqyw, 148 store.dispatch('user/reMenuRefresh', false)
148 bdcdysz: this.bdcdysz, 149 againAddSldy({
149 }).then((res) => { 150 bsmSqyw: that.sqywInfo.bsmSqyw,
150 this.loading = false 151 bdcdysz: that.bdcdysz,
151 if (res.code == 200) { 152 bsmSlsq: that.sqywInfo.bsmSlsq,
152 this.$message({ 153 }).then(res => {
153 showClose: true, 154 that.loading = false
154 message: '发起申请成功', 155 if (res.code == 200) {
155 type: 'success' 156 if (this.sqywInfo.sqywdylx != "1") {
156 }) 157 that.bdcdysz = []
157 if (!this.isJump) { 158 that.$refs.table.clearSelection()
158 this.jump(res.result, this.sqywInfo.djywbm) 159 }
159 } else { 160 store.dispatch('user/reMenuRefresh', true)
160 store.dispatch('user/refreshPage', true); 161 that.$message({
161 this.$popupCacel() 162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
162 } 166 }
163 } else { 167 }).catch(() => {
164 if (res.result && res.result.length > 0) { 168 that.loading = false
165 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 169 })
170 } else {
171 startBusinessFlow({
172 bsmSqyw: that.sqywInfo.bsmSqyw,
173 bdcdysz: that.bdcdysz,
174 }).then((res) => {
175 that.loading = false
176 if (res.code == 200) {
177 that.$message({
178 showClose: true,
179 message: '发起申请成功',
180 type: 'success'
181 })
182 if (!that.isJump) {
183 that.jump(res.result, that.sqywInfo.djywbm)
184 } else {
185 store.dispatch('user/refreshPage', true);
186 that.$popupCacel()
187 }
166 } else { 188 } else {
167 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 189 if (res.result && res.result.length > 0) {
190 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
191 } else {
192 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
193 }
168 } 194 }
169 } 195 }).catch(() => {
170 }).catch(() => { 196 this.loading = false
171 this.loading = false 197 })
172 }) 198 }
173 }, 199 },
174 /** 200 /**
175 * @description: handleSelectionChange 201 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 14:50:43 4 * @LastEditTime: 2024-02-01 16:20:18
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import ywsqTable from "@/utils/mixin/ywsqTable"; 58 import ywsqTable from "@/utils/mixin/ywsqTable";
59 import jump from "./mixin/jump"; 59 import jump from "./mixin/jump";
60 import { selectHListQjdc } from "@/api/ywsq.js"; 60 import { selectHListQjdc } from "@/api/ywsq.js";
61 import { startBusinessFlow } from "@/api/workFlow.js"; 61 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
62 export default { 62 export default {
63 mixins: [ywsqTable, jump], 63 mixins: [ywsqTable, jump],
64 props: { 64 props: {
...@@ -107,38 +107,64 @@ ...@@ -107,38 +107,64 @@
107 * @author: renchao 107 * @author: renchao
108 */ 108 */
109 submitForm () { 109 submitForm () {
110 let that = this
110 if (this.bdcdysz.length == 0) { 111 if (this.bdcdysz.length == 0) {
111 this.$message.error("请至少选择一条数据"); 112 this.$message.error("请至少选择一条数据");
112 return; 113 return;
113 } 114 }
114 this.loading = true 115 this.loading = true
115 startBusinessFlow({ 116 if (this.sqywInfo.isworkFrame) {
116 bsmSqyw: this.sqywInfo.bsmSqyw, 117 store.dispatch('user/reMenuRefresh', false)
117 bdcdysz: this.bdcdysz, 118 againAddSldy({
118 }).then((res) => { 119 bsmSqyw: that.sqywInfo.bsmSqyw,
119 this.loading = false 120 bdcdysz: that.bdcdysz,
120 if (res.code == 200) { 121 bsmSlsq: that.sqywInfo.bsmSlsq,
121 this.$message({ 122 }).then(res => {
122 showClose: true, 123 that.loading = false
123 message: '发起申请成功', 124 if (res.code == 200) {
124 type: 'success' 125 if (this.sqywInfo.sqywdylx != "1") {
125 }) 126 that.bdcdysz = []
126 if (!this.isJump) { 127 that.$refs.table.clearSelection()
127 this.jump(res.result, this.sqywInfo.djywbm) 128 }
128 } else { 129 store.dispatch('user/reMenuRefresh', true)
129 store.dispatch('user/refreshPage', true); 130 that.$message({
131 showClose: true,
132 message: '添加成功',
133 type: 'success'
134 })
130 } 135 }
131 this.close() 136 }).catch(() => {
132 } else { 137 that.loading = false
133 if (res.result && res.result.length > 0) { 138 })
134 this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) 139 } else {
140 startBusinessFlow({
141 bsmSqyw: that.sqywInfo.bsmSqyw,
142 bdcdysz: that.bdcdysz,
143 }).then((res) => {
144 that.loading = false
145 if (res.code == 200) {
146 that.$message({
147 showClose: true,
148 message: '发起申请成功',
149 type: 'success'
150 })
151 if (!that.isJump) {
152 that.jump(res.result, that.sqywInfo.djywbm)
153 } else {
154 store.dispatch('user/refreshPage', true);
155 }
156 that.$popupCacel()
135 } else { 157 } else {
136 this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) 158 if (res.result && res.result.length > 0) {
159 that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } })
160 } else {
161 that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } })
162 }
137 } 163 }
138 } 164 }).catch(() => {
139 }).catch(() => { 165 this.loading = false
140 this.loading = false 166 })
141 }) 167 }
142 }, 168 },
143 /** 169 /**
144 * @description: close 170 * @description: close
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:40:23 4 * @LastEditTime: 2024-02-01 16:20:35
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 import { datas, sendThis } from "../javascript/tdjyq100.js"; 65 import { datas, sendThis } from "../javascript/tdjyq100.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectZdjbxx } from "@/api/ywsq.js"; 67 import { selectZdjbxx } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js"; 68 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
69 export default { 69 export default {
70 mixins: [ywsqTable, jump], 70 mixins: [ywsqTable, jump],
71 props: { 71 props: {
...@@ -132,38 +132,64 @@ ...@@ -132,38 +132,64 @@
132 * @author: renchao 132 * @author: renchao
133 */ 133 */
134 submitForm () { 134 submitForm () {
135 let that = this
135 if (this.bdcdysz.length == 0) { 136 if (this.bdcdysz.length == 0) {
136 this.$message.error("请至少选择一条数据"); 137 this.$message.error("请至少选择一条数据");
137 return; 138 return;
138 } 139 }
139 this.loading = true 140 this.loading = true
140 startBusinessFlow({ 141 if (this.sqywInfo.isworkFrame) {
141 bsmSqyw: this.sqywInfo.bsmSqyw, 142 store.dispatch('user/reMenuRefresh', false)
142 bdcdysz: this.bdcdysz, 143 againAddSldy({
143 }).then((res) => { 144 bsmSqyw: that.sqywInfo.bsmSqyw,
144 this.loading = false 145 bdcdysz: that.bdcdysz,
145 if (res.code == 200) { 146 bsmSlsq: that.sqywInfo.bsmSlsq,
146 this.$message({ 147 }).then(res => {
147 showClose: true, 148 that.loading = false
148 message: '发起申请成功', 149 if (res.code == 200) {
149 type: 'success' 150 if (this.sqywInfo.sqywdylx != "1") {
150 }) 151 that.bdcdysz = []
151 if (!this.isJump) { 152 that.$refs.table.clearSelection()
152 this.jump(res.result, this.djywbm) 153 }
153 } else { 154 store.dispatch('user/reMenuRefresh', true)
154 store.dispatch('user/refreshPage', true); 155 that.$message({
156 showClose: true,
157 message: '添加成功',
158 type: 'success'
159 })
155 } 160 }
156 this.$popupCacel() 161 }).catch(() => {
157 } else { 162 that.loading = false
158 if (res.result && res.result.length > 0) { 163 })
159 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 164 } else {
165 startBusinessFlow({
166 bsmSqyw: that.sqywInfo.bsmSqyw,
167 bdcdysz: that.bdcdysz,
168 }).then((res) => {
169 that.loading = false
170 if (res.code == 200) {
171 that.$message({
172 showClose: true,
173 message: '发起申请成功',
174 type: 'success'
175 })
176 if (!that.isJump) {
177 that.jump(res.result, that.djywbm)
178 } else {
179 store.dispatch('user/refreshPage', true);
180 }
181 this.$popupCacel()
160 } else { 182 } else {
161 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 183 if (res.result && res.result.length > 0) {
184 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
185 } else {
186 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
187 }
162 } 188 }
163 } 189 }).catch(() => {
164 }).catch(() => { 190 this.loading = false
165 this.loading = false 191 })
166 }) 192 }
167 }, 193 },
168 /** 194 /**
169 * @description: handleSelectionChange 195 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:44:44 4 * @LastEditTime: 2024-02-01 16:21:39
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 65 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectTdcbjyq } from "@/api/ywsq.js"; 67 import { selectTdcbjyq } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js"; 68 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
69 export default { 69 export default {
70 mixins: [ywsqTable, jump], 70 mixins: [ywsqTable, jump],
71 props: { 71 props: {
...@@ -133,38 +133,64 @@ ...@@ -133,38 +133,64 @@
133 * @author: renchao 133 * @author: renchao
134 */ 134 */
135 submitForm () { 135 submitForm () {
136 let that = this
136 if (this.bdcdysz.length == 0) { 137 if (this.bdcdysz.length == 0) {
137 this.$message.error("请至少选择一条数据"); 138 this.$message.error("请至少选择一条数据");
138 return; 139 return;
139 } 140 }
140 this.loading = true 141 this.loading = true
141 startBusinessFlow({ 142 if (this.sqywInfo.isworkFrame) {
142 bsmSqyw: this.sqywInfo.bsmSqyw, 143 store.dispatch('user/reMenuRefresh', false)
143 bdcdysz: this.bdcdysz, 144 againAddSldy({
144 }).then((res) => { 145 bsmSqyw: that.sqywInfo.bsmSqyw,
145 this.loading = false 146 bdcdysz: that.bdcdysz,
146 if (res.code == 200) { 147 bsmSlsq: that.sqywInfo.bsmSlsq,
147 this.$message({ 148 }).then(res => {
148 showClose: true, 149 that.loading = false
149 message: '发起申请成功', 150 if (res.code == 200) {
150 type: 'success' 151 if (this.sqywInfo.sqywdylx != "1") {
151 }) 152 that.bdcdysz = []
152 if (!this.isJump) { 153 that.$refs.table.clearSelection()
153 this.jump(res.result) 154 }
154 } else { 155 store.dispatch('user/reMenuRefresh', true)
155 store.dispatch('user/refreshPage', true); 156 that.$message({
157 showClose: true,
158 message: '添加成功',
159 type: 'success'
160 })
156 } 161 }
157 this.$popupCacel() 162 }).catch(() => {
158 } else { 163 that.loading = false
159 if (res.result && res.result.length > 0) { 164 })
160 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 165 } else {
166 startBusinessFlow({
167 bsmSqyw: that.sqywInfo.bsmSqyw,
168 bdcdysz: that.bdcdysz,
169 }).then((res) => {
170 that.loading = false
171 if (res.code == 200) {
172 that.$message({
173 showClose: true,
174 message: '发起申请成功',
175 type: 'success'
176 })
177 if (!that.isJump) {
178 that.jump(res.result)
179 } else {
180 store.dispatch('user/refreshPage', true);
181 }
182 that.$popupCacel()
161 } else { 183 } else {
162 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 184 if (res.result && res.result.length > 0) {
185 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
186 } else {
187 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
188 }
163 } 189 }
164 } 190 }).catch(() => {
165 }).catch(() => { 191 this.loading = false
166 this.loading = false 192 })
167 }) 193 }
168 }, 194 },
169 /** 195 /**
170 * @description: handleSelectionChange 196 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:57:59 4 * @LastEditTime: 2024-02-01 16:26:28
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 import { datas, sendThis } from "../javascript/fwsyq.js"; 133 import { datas, sendThis } from "../javascript/fwsyq.js";
134 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 134 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; 135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
136 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 136 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
137 export default { 137 export default {
138 mixins: [ywsqTable, jump], 138 mixins: [ywsqTable, jump],
139 props: { 139 props: {
...@@ -264,66 +264,92 @@ ...@@ -264,66 +264,92 @@
264 * @author: renchao 264 * @author: renchao
265 */ 265 */
266 submitForm () { 266 submitForm () {
267 let that = this
267 if (this.bdcdysz.length == 0) { 268 if (this.bdcdysz.length == 0) {
268 this.$message.error("请至少选择一条数据"); 269 this.$message.error("请至少选择一条数据");
269 return; 270 return;
270 } 271 }
271 if (!this.isJump) { 272 if (this.sqywInfo.isworkFrame) {
272 this.loading = true 273 store.dispatch('user/reMenuRefresh', false)
273 startBusinessFlow({ 274 againAddSldy({
274 bsmSqyw: this.sqywInfo.bsmSqyw, 275 bsmSqyw: that.sqywInfo.bsmSqyw,
275 //sjlx: 'zrz', 276 bdcdysz: that.bdcdysz,
276 sjlx: this.activeName, 277 bsmSlsq: that.sqywInfo.bsmSlsq,
277 bdcdysz: this.bdcdysz, 278 }).then(res => {
278 }).then((res) => { 279 that.loading = false
279 this.loading = false
280 if (res.code == 200) { 280 if (res.code == 200) {
281 this.$message({ 281 if (this.sqywInfo.sqywdylx != "1") {
282 that.bdcdysz = []
283 that.$refs.table.clearSelection()
284 }
285 store.dispatch('user/reMenuRefresh', true)
286 that.$message({
282 showClose: true, 287 showClose: true,
283 message: '发起申请成功', 288 message: '添加成功',
284 type: 'success' 289 type: 'success'
285 }) 290 })
286 if (!this.isJump) {
287 this.jump(res.result, this.sqywInfo.djywbm);
288 } else {
289 store.dispatch('user/refreshPage', true);
290 }
291 this.$popupCacel()
292 } else {
293 if (res.result && res.result.length > 0) {
294 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
295 } else {
296 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
297 }
298 } 291 }
299 }).catch(() => { 292 }).catch(() => {
300 this.loading = false 293 that.loading = false
301 }) 294 })
302 } else { 295 } else {
303 this.loading = true 296 if (!that.isJump) {
304 choiceBdcdy({ 297 that.loading = true
305 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, 298 startBusinessFlow({
306 bdcdysz: this.bdcdysz 299 bsmSqyw: that.sqywInfo.bsmSqyw,
307 }).then(res => { 300 //sjlx: 'zrz',
308 this.loading = false 301 sjlx: that.activeName,
309 if (res.code == 200) { 302 bdcdysz: that.bdcdysz,
310 this.$message({ 303 }).then((res) => {
311 showClose: true, 304 that.loading = false
312 message: '发起申请成功', 305 if (res.code == 200) {
313 type: 'success' 306 that.$message({
314 }) 307 showClose: true,
315 store.dispatch('user/refreshPage', true); 308 message: '发起申请成功',
316 this.$popupCacel() 309 type: 'success'
317 } else { 310 })
318 if (res.result && res.result.length > 0) { 311 if (!that.isJump) {
319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 312 that.jump(res.result, that.sqywInfo.djywbm);
313 } else {
314 store.dispatch('user/refreshPage', true);
315 }
316 that.$popupCacel()
320 } else { 317 } else {
321 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 318 if (res.result && res.result.length > 0) {
319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
320 } else {
321 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
322 }
322 } 323 }
323 } 324 }).catch(() => {
324 }).catch(() => { 325 that.loading = false
325 this.loading = false 326 })
326 }) 327 } else {
328 that.loading = true
329 choiceBdcdy({
330 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
331 bdcdysz: that.bdcdysz
332 }).then(res => {
333 that.loading = false
334 if (res.code == 200) {
335 that.$message({
336 showClose: true,
337 message: '发起申请成功',
338 type: 'success'
339 })
340 store.dispatch('user/refreshPage', true);
341 that.$popupCacel()
342 } else {
343 if (res.result && res.result.length > 0) {
344 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
345 } else {
346 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
347 }
348 }
349 }).catch(() => {
350 this.loading = false
351 })
352 }
327 } 353 }
328 }, 354 },
329 /** 355 /**
......
1 <!-- 1 <!--
2 * @Description: 选择不动产单元号 2 * @Description: 选择不动产单元号
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-02-01 13:47:20 4 * @LastEditTime: 2024-02-01 14:48:14
5 --> 5 -->
6 <template> 6 <template>
7 <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false" 7 <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false"
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
39 */ 39 */
40 40
41 loadView (view) { 41 loadView (view) {
42 console.log(view, 'viewviewview');
42 return (r) => 43 return (r) =>
43 require.ensure([], () => r(require(`./components/${view}.vue`))); 44 require.ensure([], () => r(require(`./components/${view}.vue`)));
44 }, 45 },
......