3
0
Fork 0

feat(business): 办理业务走全免逻辑

This commit is contained in:
woody 2025-08-25 13:28:38 +08:00
parent 16b77c9616
commit e6b6fc5a7c
2 changed files with 23 additions and 12 deletions

View File

@ -318,6 +318,7 @@
<div class="footer"> <div class="footer">
<div style="margin: 0 auto"> <div style="margin: 0 auto">
<el-button class="thebtn"> {{ '取消' }}</el-button> <el-button class="thebtn"> {{ '取消' }}</el-button>
<!-- v-hasButtons="['ReviewBusinessExemptAll']" -->
<el-button <el-button
v-hasButtons="['BasicBusinessConfirm']" v-hasButtons="['BasicBusinessConfirm']"
type="primary" type="primary"
@ -417,7 +418,8 @@ import {
getHandleBusinessEnum, getHandleBusinessEnum,
getBusinessList, getBusinessList,
businessCheck, businessCheck,
getCompanyAreaList getCompanyAreaList,
saveHandelBusiness
} from '@/api/business' } from '@/api/business'
import { getAwardsListChiose, getgradeRanglist } from '@/api/level' import { getAwardsListChiose, getgradeRanglist } from '@/api/level'
import { getvertexValue, getmemberTeamList } from '@/api/financialCase' import { getvertexValue, getmemberTeamList } from '@/api/financialCase'
@ -614,11 +616,20 @@ export default {
businessMemberList: this.multipleSelection, businessMemberList: this.multipleSelection,
handleBusinessList: this.handleBusinessList handleBusinessList: this.handleBusinessList
}).then((res) => { }).then((res) => {
if (res.code == 200) { if (res.code === 200) {
this.$message({ // saveHandelBusiness({
message: res.msg, // processType: 3,
type: 'success' // handleBusinessList: res.data.handleBusinessList,
}) // businessMemberList: res.data.businessMemberList
// }).then(res => {
// if (res.code === 200) {
// this.$message({
// message: res.msg || '',
// type: 'success'
// })
// this.reChongzhi()
// }
// })
this.$router.push({ this.$router.push({
path: '/information/business/shyw', path: '/information/business/shyw',
query: { query: {
@ -626,7 +637,7 @@ export default {
handleBusinessList: JSON.stringify(this.handleBusinessList) handleBusinessList: JSON.stringify(this.handleBusinessList)
} }
}) })
} else if (res.code == 504 && res.data) { } else if (res.code === 504 && res.data) {
this.errorShow = true this.errorShow = true
this.errorData = res.data this.errorData = res.data
} }

View File

@ -216,7 +216,7 @@
<el-button class="thebtn0" @click="saveDate(0)"> <el-button class="thebtn0" @click="saveDate(0)">
{{ '取消' }}</el-button> {{ '取消' }}</el-button>
<el-button <!-- <el-button
v-hasButtons="['ReviewBusinessExemptSign']" v-hasButtons="['ReviewBusinessExemptSign']"
class="thebtn1" class="thebtn1"
@click="saveDate(1)" @click="saveDate(1)"
@ -225,18 +225,18 @@
v-hasButtons="['ReviewBusinessExemptPay']" v-hasButtons="['ReviewBusinessExemptPay']"
class="thebtn2" class="thebtn2"
@click="saveDate(2)" @click="saveDate(2)"
>{{ '免付' }}</el-button> >{{ '免付' }}</el-button> -->
<el-button <el-button
v-hasButtons="['ReviewBusinessExemptAll']" v-hasButtons="['ReviewBusinessExemptAll']"
class="thebtn3" class="thebtn3"
@click="saveDate(3)" @click="saveDate(3)"
>{{ '全免' }}</el-button> >{{ '确认' }}</el-button>
<el-button <!-- <el-button
v-hasButtons="['ReviewBusinessConfirm']" v-hasButtons="['ReviewBusinessConfirm']"
class="thebtn4" class="thebtn4"
@click="saveDate(4)" @click="saveDate(4)"
> >
{{ '确认' }}</el-button> {{ '确认' }}</el-button> -->
</div> </div>
</div> </div>
<el-dialog <el-dialog