1a0d79a8 by renchao@pashanhoo.com

style;添加不动产单元

1 parent ad9473f0
......@@ -89,7 +89,7 @@
import { datas, sendThis } from "../javascript/cfdj.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectCfdj } from "@/api/ywsq.js";
import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js";
import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
export default {
props: {
isJump: { type: Boolean, default: false },
......@@ -155,61 +155,86 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
this.loading = true
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
}
}).catch(() => {
this.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: this.$route.query.bsmSlsq,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
store.dispatch("user/refreshPage", true);
} else {
this.$message.error(res.message);
message: '添加成功',
type: 'success'
})
}
this.$popupCacel();
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
that.loading = false
})
} else {
choiceBdcdy({
bsmSlsq: that.$route.query.bsmSlsq,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
store.dispatch("user/refreshPage", true);
} else {
that.$message.error(res.message);
}
that.$popupCacel();
}).catch(() => {
that.loading = false
})
}
}
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:59:59
* @LastEditTime: 2024-02-01 14:53:42
-->
<template>
<div class="from-clues">
......@@ -145,7 +145,7 @@
import { datas, sendThis } from "../javascript/fwsyq.js";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js";
import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -294,66 +294,91 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
this.loading = true
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
this.$message({
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '发起申请成功',
message: '添加成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: this.bdcdysz
}).then(res => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: that.activeName,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
} else {
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: that.bdcdysz
}).then(res => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
that.loading = false
})
}
}
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:59:36
* @LastEditTime: 2024-02-01 14:56:54
-->
<template>
<div class="from-clues">
......@@ -133,7 +133,7 @@
import { datas, sendThis } from "../javascript/fwsyq.js";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js";
import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -264,66 +264,91 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
this.loading = true
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
this.$message({
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '发起申请成功',
message: '添加成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: this.bdcdysz
}).then(res => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: that.activeName,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
} else {
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: that.bdcdysz
}).then(res => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
that.loading = false
})
}
}
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-22 16:30:18
* @LastEditTime: 2024-02-01 14:58:30
-->
<template>
<div class="from-clues">
......@@ -65,7 +65,7 @@
import { datas, sendThis } from "../javascript/nydsyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectZdjbxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -132,38 +132,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 13:45:28
* @LastEditTime: 2024-02-01 15:01:22
-->
<template>
<div class="from-clues">
......@@ -53,7 +53,7 @@
import { datas, sendThis } from "../javascript/selectJsydsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectNydsyqQlxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -121,38 +121,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:04:46
* @LastEditTime: 2024-02-01 14:49:27
-->
<template>
<!-- 主体权利信息查询 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 13:34:13
* @LastEditTime: 2024-02-01 15:53:22
-->
<template>
<div class="from-clues">
......@@ -60,7 +60,7 @@
import store from '@/store/index.js'
import ywsqTable from "@/utils/mixin/ywsqTable";
import { ywPopupDialog } from "@/utils/popup.js";
import { startRepairFlow } from "@/api/workFlow.js";
import { startRepairFlow, againAddSldy } from "@/api/workFlow.js";
import { datas, sendThis } from "../javascript/selectDjbbl.js";
import { selectRepairQlxx } from "@/api/ywsq.js";
import jump from "../components/mixin/djbbljump";
......@@ -137,6 +137,7 @@
item.bsmQlxx +
"&viewtype=1"
);
localStorage.setItem('ywbl', JSON.stringify(item));
window.open(href, `urlname${item.bdcdyid}`);
},
......@@ -145,41 +146,68 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
let from = {
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
}
startRepairFlow(from).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
let from = {
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
}
startRepairFlow(from).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 15:37:02
* @LastEditTime: 2024-02-01 15:57:34
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -71,7 +71,7 @@
import { datas, sendThis } from "../javascript/selectFwsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectFwsyq } from "@/api/ywsq.js";
import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js";
import { startBusinessFlow, startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -138,69 +138,94 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true;
if (this.sqywInfo.sqfl == '1') {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (this.sqywInfo.sqfl == '1') {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
that.$popupCacel()
}
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 16:16:15
* @LastEditTime: 2024-02-01 16:00:47
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -71,7 +71,7 @@
import { datas, sendThis } from "../javascript/selectH.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectHQjdc } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -138,38 +138,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 13:47:01
* @LastEditTime: 2024-02-01 16:02:00
-->
<template>
<div class="from-clues">
......@@ -73,7 +73,7 @@
import { datas, sendThis } from "../javascript/selectJsydsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectJsydQlxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -140,38 +140,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
......@@ -57,7 +57,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import { ywPopupDialog } from "@/utils/popup.js";
import { selectLq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
import { datas, sendThis } from "../javascript/selectQjlqxxQt.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
export default {
......@@ -104,38 +104,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-31 13:27:01
* @LastEditTime: 2024-02-01 16:04:42
-->
<template>
<div class="from-clues">
......@@ -69,7 +69,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import { ywPopupDialog } from "@/utils/popup.js";
import { selectZdjbxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
export default {
......@@ -139,38 +139,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:45:25
* @LastEditTime: 2024-02-01 16:05:52
-->
<template>
<div class="from-clues">
......@@ -71,7 +71,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import { ywPopupDialog } from "@/utils/popup.js";
import { selectZdjbxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
export default {
......@@ -141,38 +141,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-05 13:10:53
* @LastEditTime: 2024-02-01 16:08:02
-->
<template>
<div class="from-clues">
......@@ -57,7 +57,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import { ywPopupDialog } from "@/utils/popup.js";
import { selectLq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
import { datas, sendThis } from "../javascript/selectSllmqt.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
export default {
......@@ -104,38 +104,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:45:28
* @LastEditTime: 2024-02-01 16:10:05
-->
<template>
<div class="from-clues">
......@@ -69,7 +69,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import { ywPopupDialog } from "@/utils/popup.js";
import { selectLqQjdc } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
export default {
......@@ -138,38 +138,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 14:17:21
* @LastEditTime: 2024-02-01 16:11:09
-->
<template>
<div class="from-clues">
......@@ -74,7 +74,7 @@
import { datas, sendThis } from "../javascript/selectTdsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectTdsyqQlxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -118,38 +118,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-31 09:37:23
* @LastEditTime: 2024-02-01 16:13:02
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -58,7 +58,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import jump from "./mixin/jump";
import { selectYgdj200 } from "@/api/ywsq.js";
import { startTogetherFlow } from "@/api/workFlow.js";
import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -102,38 +102,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
that.$popupCacel()
}
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-16 14:14:29
* @LastEditTime: 2024-02-01 16:13:24
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -59,7 +59,7 @@
import { datas, sendThis } from "../javascript/selectFwsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectFwsyq } from "@/api/ywsq.js";
import { startTogetherFlow } from "@/api/workFlow.js";
import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -103,38 +103,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-18 15:11:12
* @LastEditTime: 2024-02-01 16:14:33
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -58,7 +58,7 @@
import { datas, sendThis } from "../javascript/selectH.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectHQjdc } from "@/api/ywsq.js";
import { startTogetherFlow } from "@/api/workFlow.js";
import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -102,38 +102,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:37:38
* @LastEditTime: 2024-02-01 16:15:38
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -71,7 +71,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import jump from "./mixin/jump";
import { selectYgdj200 } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -138,38 +138,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
that.$popupCacel()
}
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-31 14:50:43
* @LastEditTime: 2024-02-01 16:20:18
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -58,7 +58,7 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import jump from "./mixin/jump";
import { selectHListQjdc } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -107,38 +107,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.close()
} else {
if (res.result && res.result.length > 0) {
this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } })
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } })
if (res.result && res.result.length > 0) {
that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } })
} else {
that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } })
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: close
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 13:40:23
* @LastEditTime: 2024-02-01 16:20:35
-->
<template>
<div class="from-clues">
......@@ -65,7 +65,7 @@
import { datas, sendThis } from "../javascript/tdjyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectZdjbxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -132,38 +132,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 13:44:44
* @LastEditTime: 2024-02-01 16:21:39
-->
<template>
<div class="from-clues">
......@@ -65,7 +65,7 @@
import { datas, sendThis } from "../javascript/selectJsydsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectTdcbjyq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -133,38 +133,64 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:57:59
* @LastEditTime: 2024-02-01 16:26:28
-->
<template>
<div class="from-clues">
......@@ -133,7 +133,7 @@
import { datas, sendThis } from "../javascript/fwsyq.js";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js";
import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -264,66 +264,92 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
this.$message({
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '发起申请成功',
message: '添加成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: this.bdcdysz
}).then(res => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
if (!that.isJump) {
that.loading = true
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: that.activeName,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
} else {
that.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: that.bdcdysz
}).then(res => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
this.loading = false
})
}
}
},
/**
......
<!--
* @Description: 选择不动产单元号
* @Autor: renchao
* @LastEditTime: 2024-02-01 13:47:20
* @LastEditTime: 2024-02-01 14:48:14
-->
<template>
<component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false"
......@@ -39,6 +39,7 @@
*/
loadView (view) {
console.log(view, 'viewviewview');
return (r) =>
require.ensure([], () => r(require(`./components/${view}.vue`)));
},
......