1e88e991 by renchao@pashanhoo.com

受理申请

1 parent 7a4e9519
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-02 14:56:22
* @LastEditTime: 2024-02-06 14:43:33
-->
<template>
<div class="from-clues">
......@@ -76,7 +76,7 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="handleAdd" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
......@@ -155,14 +155,9 @@
* @description: submitForm
* @author: renchao
*/
submitForm () {
handleAdd () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
if (this.sqywInfo.isworkFrame) {
this.loading = true;
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
......@@ -188,7 +183,14 @@
}).catch(() => {
that.loading = false
})
} else {
},
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
if (!that.isJump) {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
......@@ -239,7 +241,6 @@
that.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-02 16:35:05
* @LastEditTime: 2024-02-06 14:43:44
-->
<template>
<!-- 抵押权利信息查询 -->
......@@ -67,7 +67,7 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="handleAdd" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
......@@ -147,14 +147,9 @@
* @description: submitFormClick
* @author: renchao
*/
submitFormClick () {
handleAdd () {
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,
......@@ -180,7 +175,14 @@
}).catch(() => {
that.loading = false
})
} else {
},
submitFormClick () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true;
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
......@@ -210,7 +212,6 @@
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......