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,29 +155,54 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
......@@ -187,30 +212,30 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: this.$route.query.bsmSlsq,
bdcdysz: this.bdcdysz,
bsmSlsq: that.$route.query.bsmSlsq,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
store.dispatch("user/refreshPage", true);
} else {
this.$message.error(res.message);
that.$message.error(res.message);
}
this.$popupCacel();
that.$popupCacel();
}).catch(() => {
this.loading = false
that.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @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,31 +294,56 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bsmSqyw: that.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
sjlx: that.activeName,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -327,23 +352,22 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: this.bdcdysz
bdcdysz: that.bdcdysz
}).then(res => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -352,9 +376,10 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @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,31 +264,56 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bsmSqyw: that.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
sjlx: that.activeName,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -297,23 +322,22 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: this.bdcdysz
bdcdysz: that.bdcdysz
}).then(res => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -322,9 +346,10 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @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,28 +132,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
if (!that.isJump) {
that.jump(res.result, that.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -162,8 +187,9 @@
}
}
}).catch(() => {
this.loading = false
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,28 +121,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
if (!that.isJump) {
that.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -153,6 +178,7 @@
}).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,11 +146,36 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
let from = {
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
......@@ -157,19 +183,19 @@
djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
}
startRepairFlow(from).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
if (!that.isJump) {
that.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -178,8 +204,10 @@
}
}
}).catch(() => {
this.loading = false
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,29 +138,54 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
if (this.sqywInfo.sqfl == '1') {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -169,25 +194,25 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
that.$popupCacel()
}
} else {
if (res.result && res.result.length > 0) {
......@@ -197,10 +222,10 @@
}
}
}).catch(() => {
this.loading = false
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,28 +138,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -168,8 +193,9 @@
}
}
}).catch(() => {
this.loading = false
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,28 +140,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -172,6 +197,7 @@
}).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,28 +104,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -134,8 +159,9 @@
}
}
}).catch(() => {
this.loading = false
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,28 +139,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -171,6 +196,7 @@
}).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,28 +141,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -173,6 +198,7 @@
}).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,28 +104,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -136,6 +161,7 @@
}).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,28 +138,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.djywbm);
if (!that.isJump) {
that.jump(res.result, that.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -170,6 +195,7 @@
}).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,28 +118,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -150,6 +175,7 @@
}).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,27 +102,52 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
that.$popupCacel()
}
} else {
if (res.result && res.result.length > 0) {
......@@ -134,6 +159,7 @@
}).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,28 +103,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -135,6 +160,7 @@
}).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,28 +102,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -134,6 +159,7 @@
}).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,27 +138,52 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
that.$popupCacel()
}
} else {
if (res.result && res.result.length > 0) {
......@@ -170,6 +195,7 @@
}).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
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'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
this.close()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } })
that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } })
} else {
this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } })
that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } })
}
}
}).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,24 +132,49 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
if (!that.isJump) {
that.jump(res.result, that.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
......@@ -164,6 +189,7 @@
}).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,28 +133,53 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
if (!that.isJump) {
that.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -165,6 +190,7 @@
}).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,31 +264,56 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
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) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
that.loading = false
})
} else {
if (!that.isJump) {
that.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bsmSqyw: that.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
sjlx: that.activeName,
bdcdysz: that.bdcdysz,
}).then((res) => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -297,23 +322,23 @@
}
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
this.loading = true
that.loading = true
choiceBdcdy({
bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
bdcdysz: this.bdcdysz
bdcdysz: that.bdcdysz
}).then(res => {
this.loading = false
that.loading = false
if (res.code == 200) {
this.$message({
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
store.dispatch('user/refreshPage', true);
this.$popupCacel()
that.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
......@@ -325,6 +350,7 @@
this.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @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`)));
},
......