|
@@ -648,26 +648,32 @@ export default {
|
|
|
type: "warning",
|
|
|
}).then(()=>{
|
|
|
this.buttonLoading = true
|
|
|
+
|
|
|
+ data.checkType = 'ffsq'
|
|
|
+ data.url = '/financialManagement/paymentRequest/index'
|
|
|
+ data.pageStatus = 'this.$store.getters.pqStatus'
|
|
|
+ data.pageLabel = '付费申请'
|
|
|
+
|
|
|
applyLoan(data).then(res=>{
|
|
|
if(res.data.success){
|
|
|
this.$message.success("操作成功!")
|
|
|
this.$emit("afterFinance")
|
|
|
//跳转付费申请页面
|
|
|
- if(this.$store.getters.pqStatus){
|
|
|
- this.$alert("无法自动跳,因为付费申请页面已存在!", "温馨提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- type: 'warning',
|
|
|
- callback: action => {
|
|
|
- }
|
|
|
- });
|
|
|
- }else{
|
|
|
- //关闭一下存在的列表页 跳转
|
|
|
- this.$router.$avueRouter.closeTag('/financialManagement/paymentRequest/index');
|
|
|
- this.$router.push({
|
|
|
- path: "/financialManagement/paymentRequest/index",
|
|
|
- query: {params: res.data.data.id},
|
|
|
- });
|
|
|
- }
|
|
|
+ // if(this.$store.getters.pqStatus){
|
|
|
+ // this.$alert("无法自动跳转,因为付费申请页面已存在!", "温馨提示", {
|
|
|
+ // confirmButtonText: "确定",
|
|
|
+ // type: 'warning',
|
|
|
+ // callback: action => {
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // }else{
|
|
|
+ // //关闭一下存在的列表页 跳转
|
|
|
+ // this.$router.$avueRouter.closeTag('/financialManagement/paymentRequest/index');
|
|
|
+ // this.$router.push({
|
|
|
+ // path: "/financialManagement/paymentRequest/index",
|
|
|
+ // query: {params: res.data.data.id},
|
|
|
+ // });
|
|
|
+ // }
|
|
|
}
|
|
|
}).finally(()=>{
|
|
|
this.buttonLoading = false
|