@@ -79,7 +79,6 @@ router.beforeEach((to, from, next) => { | |||||
next() | next() | ||||
// 判断当前用户是否已拉取完user_info信息 | // 判断当前用户是否已拉取完user_info信息 | ||||
store.dispatch('GetInfo').then(res => { | store.dispatch('GetInfo').then(res => { | ||||
console.log(to.path) | |||||
// 拉取user_info | // 拉取user_info | ||||
const roles = res.roles | const roles = res.roles | ||||
// store.dispatch('GenerateRoutes', { roles }).then(accessRoutes => { | // store.dispatch('GenerateRoutes', { roles }).then(accessRoutes => { | ||||
@@ -90,7 +89,6 @@ router.beforeEach((to, from, next) => { | |||||
next() | next() | ||||
}).catch(err => { | }).catch(err => { | ||||
store.dispatch('LogOut').then(() => { | store.dispatch('LogOut').then(() => { | ||||
console.log(to.path) | |||||
// Message.error(err) | // Message.error(err) | ||||
if ('/authenticRight/index'.indexOf(to.path) !== -1) { | if ('/authenticRight/index'.indexOf(to.path) !== -1) { | ||||
next({ path: '/authenticRight/login' }) | next({ path: '/authenticRight/login' }) | ||||
@@ -1081,7 +1081,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalList', | // path: '/onlineHome/approvalList', | ||||
// name: 'approvalList', | // name: 'approvalList', | ||||
// meta: { | // meta: { | ||||
// title: '村户转账列表', | |||||
// title: '银行卡转账列表', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalList'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalList'], resolve) | ||||
@@ -1090,7 +1090,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalList2', | // path: '/onlineHome/approvalList2', | ||||
// name: 'approvalList2', | // name: 'approvalList2', | ||||
// meta: { | // meta: { | ||||
// title: '公务卡转账列表', | |||||
// title: '信用卡还款列表', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalList2'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalList2'], resolve) | ||||
@@ -1135,7 +1135,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalList11', | // path: '/onlineHome/approvalList11', | ||||
// name: 'approvalList11', | // name: 'approvalList11', | ||||
// meta: { | // meta: { | ||||
// title: '现金使用列表', | |||||
// title: '备服金支出列表', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalList11'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalList11'], resolve) | ||||
@@ -1153,7 +1153,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalDetail', | // path: '/onlineHome/approvalDetail', | ||||
// name: 'approvalDetail', | // name: 'approvalDetail', | ||||
// meta: { | // meta: { | ||||
// title: '银农村户转账申请', | |||||
// title: '银农银行卡转账申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalDetail'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalDetail'], resolve) | ||||
@@ -1162,7 +1162,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalDetail2', | // path: '/onlineHome/approvalDetail2', | ||||
// name: 'approvalDetail2', | // name: 'approvalDetail2', | ||||
// meta: { | // meta: { | ||||
// title: '银农公务卡转账申请', | |||||
// title: '银农信用卡还款申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalDetail2'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalDetail2'], resolve) | ||||
@@ -1207,7 +1207,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalDetail11', | // path: '/onlineHome/approvalDetail11', | ||||
// name: 'approvalDetail11', | // name: 'approvalDetail11', | ||||
// meta: { | // meta: { | ||||
// title: '银农现金使用申请', | |||||
// title: '银农备服金支出申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalDetail11'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalDetail11'], resolve) | ||||
@@ -1225,7 +1225,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalAdd', | // path: '/onlineHome/approvalAdd', | ||||
// name: 'approvalAdd', | // name: 'approvalAdd', | ||||
// meta: { | // meta: { | ||||
// title: '添加村户转账申请', | |||||
// title: '添加银行卡转账申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd'], resolve) | ||||
@@ -1234,7 +1234,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalAdd2', | // path: '/onlineHome/approvalAdd2', | ||||
// name: 'approvalAdd2', | // name: 'approvalAdd2', | ||||
// meta: { | // meta: { | ||||
// title: '添加公务卡转账申请', | |||||
// title: '添加信用卡还款申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd2'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd2'], resolve) | ||||
@@ -1279,7 +1279,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalAdd11', | // path: '/onlineHome/approvalAdd11', | ||||
// name: 'approvalAdd11', | // name: 'approvalAdd11', | ||||
// meta: { | // meta: { | ||||
// title: '添加现金使用申请', | |||||
// title: '添加备服金支出申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd11'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd11'], resolve) | ||||
@@ -1333,7 +1333,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalModify', | // path: '/onlineHome/approvalModify', | ||||
// name: 'approvalModify', | // name: 'approvalModify', | ||||
// meta: { | // meta: { | ||||
// title: '修改村户转账申请', | |||||
// title: '修改银行卡转账申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalModify'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalModify'], resolve) | ||||
@@ -1342,7 +1342,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalModify2', | // path: '/onlineHome/approvalModify2', | ||||
// name: 'approvalModify2', | // name: 'approvalModify2', | ||||
// meta: { | // meta: { | ||||
// title: '修改公务卡转账申请', | |||||
// title: '修改信用卡还款申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalModify2'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalModify2'], resolve) | ||||
@@ -1387,7 +1387,7 @@ export const constantRoutes = [ | |||||
// path: '/onlineHome/approvalModify11', | // path: '/onlineHome/approvalModify11', | ||||
// name: 'approvalModify11', | // name: 'approvalModify11', | ||||
// meta: { | // meta: { | ||||
// title: '修改现金使用申请', | |||||
// title: '修改备服金支出申请', | |||||
// hidden: true, | // hidden: true, | ||||
// }, | // }, | ||||
// component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalModify11'], resolve) | // component: (resolve) => require(['@/views/onlineHome/bankAgriculture/paymentApproval/approvalModify11'], resolve) | ||||
@@ -1649,7 +1649,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalList', | path: '/yinnong/approvalList', | ||||
name: 'approvalList', | name: 'approvalList', | ||||
meta: { | meta: { | ||||
title: '村户转账列表', | |||||
title: '银行卡转账列表', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalList'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalList'], resolve) | ||||
@@ -1658,7 +1658,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalList2', | path: '/yinnong/approvalList2', | ||||
name: 'approvalList2', | name: 'approvalList2', | ||||
meta: { | meta: { | ||||
title: '公务卡转账列表', | |||||
title: '信用卡还款列表', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalList2'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalList2'], resolve) | ||||
@@ -1703,7 +1703,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalList11', | path: '/yinnong/approvalList11', | ||||
name: 'approvalList11', | name: 'approvalList11', | ||||
meta: { | meta: { | ||||
title: '现金使用列表', | |||||
title: '备服金支出列表', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalList11'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalList11'], resolve) | ||||
@@ -1721,7 +1721,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalDetail', | path: '/yinnong/approvalDetail', | ||||
name: 'approvalDetail', | name: 'approvalDetail', | ||||
meta: { | meta: { | ||||
title: '银农村户转账申请', | |||||
title: '银农银行卡转账申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalDetail'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalDetail'], resolve) | ||||
@@ -1730,7 +1730,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalDetail2', | path: '/yinnong/approvalDetail2', | ||||
name: 'approvalDetail2', | name: 'approvalDetail2', | ||||
meta: { | meta: { | ||||
title: '银农公务卡转账申请', | |||||
title: '银农信用卡还款申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2'], resolve) | ||||
@@ -1775,7 +1775,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalDetail11', | path: '/yinnong/approvalDetail11', | ||||
name: 'approvalDetail11', | name: 'approvalDetail11', | ||||
meta: { | meta: { | ||||
title: '银农现金使用申请', | |||||
title: '银农备服金支出申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11'], resolve) | ||||
@@ -1793,7 +1793,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalAdd', | path: '/yinnong/approvalAdd', | ||||
name: 'approvalAdd', | name: 'approvalAdd', | ||||
meta: { | meta: { | ||||
title: '添加村户转账申请', | |||||
title: '添加银行卡转账申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd'], resolve) | ||||
@@ -1802,7 +1802,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalAdd2', | path: '/yinnong/approvalAdd2', | ||||
name: 'approvalAdd2', | name: 'approvalAdd2', | ||||
meta: { | meta: { | ||||
title: '添加公务卡转账申请', | |||||
title: '添加信用卡还款申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd2'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd2'], resolve) | ||||
@@ -1847,7 +1847,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalAdd11', | path: '/yinnong/approvalAdd11', | ||||
name: 'approvalAdd11', | name: 'approvalAdd11', | ||||
meta: { | meta: { | ||||
title: '添加现金使用申请', | |||||
title: '添加备服金支出申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd11'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd11'], resolve) | ||||
@@ -1901,7 +1901,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalModify', | path: '/yinnong/approvalModify', | ||||
name: 'approvalModify', | name: 'approvalModify', | ||||
meta: { | meta: { | ||||
title: '修改村户转账申请', | |||||
title: '修改银行卡转账申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalModify'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalModify'], resolve) | ||||
@@ -1910,7 +1910,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalModify2', | path: '/yinnong/approvalModify2', | ||||
name: 'approvalModify2', | name: 'approvalModify2', | ||||
meta: { | meta: { | ||||
title: '修改公务卡转账申请', | |||||
title: '修改信用卡还款申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalModify2'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalModify2'], resolve) | ||||
@@ -1955,7 +1955,7 @@ export const constantRoutes = [ | |||||
path: '/yinnong/approvalModify11', | path: '/yinnong/approvalModify11', | ||||
name: 'approvalModify11', | name: 'approvalModify11', | ||||
meta: { | meta: { | ||||
title: '修改现金使用申请', | |||||
title: '修改备服金支出申请', | |||||
hidden: true, | hidden: true, | ||||
}, | }, | ||||
component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalModify11'], resolve) | component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalModify11'], resolve) | ||||
@@ -69,7 +69,6 @@ service.interceptors.response.use(res => { | |||||
}) | }) | ||||
.then(() => { | .then(() => { | ||||
store.dispatch('LogOut').then(() => { | store.dispatch('LogOut').then(() => { | ||||
console.log(window.location.href); | |||||
if(window.location.href.indexOf('lawEnforcement') != -1){ | if(window.location.href.indexOf('lawEnforcement') != -1){ | ||||
window.location.href = '/lawEnforcement/login'; | window.location.href = '/lawEnforcement/login'; | ||||
} else if (window.location.href.indexOf('authenticRight') != -1) { | } else if (window.location.href.indexOf('authenticRight') != -1) { | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">添加村户转账申请</p> | |||||
<p style="font-weight: bold;">添加银行卡转账申请</p> | |||||
</template> | </template> | ||||
</van-nav-bar> | </van-nav-bar> | ||||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | <van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | ||||
@@ -388,7 +388,7 @@ | |||||
}); | }); | ||||
let params1={ | let params1={ | ||||
accountType: "102", | accountType: "102", | ||||
"params":{townAccountType:'0'}, | |||||
// "params":{townAccountType:'0'}, | |||||
status: "N", | status: "N", | ||||
} | } | ||||
getAccount(params1).then((response) => { | getAccount(params1).then((response) => { | ||||
@@ -487,7 +487,7 @@ | |||||
this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
}); | }); | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -454,17 +454,15 @@ | |||||
this.$notify({ type: 'danger', message: '请输入资金用途!' }); | this.$notify({ type: 'danger', message: '请输入资金用途!' }); | ||||
return; | return; | ||||
} | } | ||||
this.getDicts("bank_type").then(res => { | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | }); | ||||
}, | }, | ||||
getPayeeList() { | getPayeeList() { | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">添加现金使用申请</p> | |||||
<p style="font-weight: bold;">添加备服金支出申请</p> | |||||
</template> | </template> | ||||
</van-nav-bar> | </van-nav-bar> | ||||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | <van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | ||||
@@ -457,17 +457,15 @@ | |||||
this.$notify({ type: 'danger', message: '请输入资金用途!' }); | this.$notify({ type: 'danger', message: '请输入资金用途!' }); | ||||
return; | return; | ||||
} | } | ||||
this.getDicts("bank_type").then(res => { | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | }); | ||||
}, | }, | ||||
getPayeeList() { | getPayeeList() { | ||||
@@ -629,7 +627,6 @@ | |||||
message: '此申请单中未上传任何附件,是否确认提交?', | message: '此申请单中未上传任何附件,是否确认提交?', | ||||
}) | }) | ||||
.then(() => { | .then(() => { | ||||
console.log(this.form) | |||||
addCash(this.form).then((response) => { | addCash(this.form).then((response) => { | ||||
this.chargeItme.map(res => { | this.chargeItme.map(res => { | ||||
res.cashId = response.data.id | res.cashId = response.data.id | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">添加公务卡转账申请</p> | |||||
<p style="font-weight: bold;">添加信用卡还款申请</p> | |||||
</template> | </template> | ||||
</van-nav-bar> | </van-nav-bar> | ||||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | <van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | ||||
@@ -525,7 +525,7 @@ | |||||
this.queryParams.status = "0" | this.queryParams.status = "0" | ||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4){ | |||||
if(res.payeeType==4||res.payeeType==3){ | |||||
res.text = res.payee | res.text = res.payee | ||||
res.value = res.id | res.value = res.id | ||||
this.payeeList.push(res) | this.payeeList.push(res) | ||||
@@ -627,7 +627,7 @@ | |||||
this.queryParams.status = "0" | this.queryParams.status = "0" | ||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4){ | |||||
if(res.payeeType==4||res.payeeType==3){ | |||||
res.text = res.payee | res.text = res.payee | ||||
res.value = res.id | res.value = res.id | ||||
this.payeeList.push(res) | this.payeeList.push(res) | ||||
@@ -643,7 +643,7 @@ | |||||
this.queryParams.status = "0" | this.queryParams.status = "0" | ||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4){ | |||||
if(res.payeeType==4||res.payeeType==3){ | |||||
res.text = res.payee | res.text = res.payee | ||||
res.value = res.id | res.value = res.id | ||||
this.payeeList.push(res) | this.payeeList.push(res) | ||||
@@ -485,7 +485,7 @@ | |||||
this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
}); | }); | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="backDone" | @click-left="backDone" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">付款审批</p> | |||||
<p style="font-weight: bold;">转账/还款审批</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | <van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | ||||
@@ -209,7 +209,7 @@ | |||||
this.form = response.data; | this.form = response.data; | ||||
}); | }); | ||||
queryTransferDetail(this.$route.query.id).then((response) => { | queryTransferDetail(this.$route.query.id).then((response) => { | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">现金使用申请审批</p> | |||||
<p style="font-weight: bold;">备服金支出审批</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | <van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">汇票支出申请审批</p> | |||||
<p style="font-weight: bold;">汇票支出审批</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | <van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">查看村户转账申请</p> | |||||
<p style="font-weight: bold;">查看银行卡转账申请</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | <van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | ||||
@@ -209,7 +209,7 @@ | |||||
this.form = response.data; | this.form = response.data; | ||||
}); | }); | ||||
queryTransferDetail(this.$route.query.id).then((response) => { | queryTransferDetail(this.$route.query.id).then((response) => { | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">查看现金使用申请</p> | |||||
<p style="font-weight: bold;">查看备服金支出申请</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | <van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">查看公务卡转账申请</p> | |||||
<p style="font-weight: bold;">查看信用卡还款申请</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | <van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | ||||
@@ -206,7 +206,7 @@ | |||||
this.form = response.data; | this.form = response.data; | ||||
}); | }); | ||||
queryTransferDetail(this.$route.query.id).then((response) => { | queryTransferDetail(this.$route.query.id).then((response) => { | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -8,7 +8,7 @@ | |||||
@click-right="goAdd()" | @click-right="goAdd()" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">村户转账申请列表</p> | |||||
<p style="font-weight: bold;">银行卡转账申请列表</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="add" size="18"/> | <van-icon name="add" size="18"/> | ||||
@@ -8,7 +8,7 @@ | |||||
@click-right="goAdd()" | @click-right="goAdd()" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">现金使用申请列表</p> | |||||
<p style="font-weight: bold;">备服金支出申请列表</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="add" size="18"/> | <van-icon name="add" size="18"/> | ||||
@@ -8,7 +8,7 @@ | |||||
@click-right="goAdd()" | @click-right="goAdd()" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">公务卡转账申请列表</p> | |||||
<p style="font-weight: bold;">信用卡还款申请列表</p> | |||||
</template> | </template> | ||||
<template #right> | <template #right> | ||||
<van-icon name="add" size="18"/> | <van-icon name="add" size="18"/> | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">修改村户转账申请</p> | |||||
<p style="font-weight: bold;">修改银行卡转账申请</p> | |||||
</template> | </template> | ||||
</van-nav-bar> | </van-nav-bar> | ||||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | <van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | ||||
@@ -404,7 +404,7 @@ | |||||
}); | }); | ||||
let params1={ | let params1={ | ||||
accountType: "102", | accountType: "102", | ||||
"params":{townAccountType:'0'}, | |||||
// "params":{townAccountType:'0'}, | |||||
status: "N", | status: "N", | ||||
} | } | ||||
getAccount(params1).then((response) => { | getAccount(params1).then((response) => { | ||||
@@ -454,7 +454,7 @@ | |||||
this.getPayeeList(); | this.getPayeeList(); | ||||
}); | }); | ||||
queryTransferDetail(this.$route.query.id).then((response) => { | queryTransferDetail(this.$route.query.id).then((response) => { | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -498,7 +498,7 @@ | |||||
if(this.form.bankType == '2' && this.form.isPeers == 'N' && this.chargeItme.length>1){ | if(this.form.bankType == '2' && this.form.isPeers == 'N' && this.chargeItme.length>1){ | ||||
this.$notify({ type: 'danger', message: '目前农商行仅支持单笔跨行转账,即仅能有一个收款方!' }); | this.$notify({ type: 'danger', message: '目前农商行仅支持单笔跨行转账,即仅能有一个收款方!' }); | ||||
}else{ | }else{ | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
this.chargeItme.splice(index + 1, 0, { | this.chargeItme.splice(index + 1, 0, { | ||||
payeeId: "", //收款方ID | payeeId: "", //收款方ID | ||||
payee: "", //收款方 | payee: "", //收款方 | ||||
@@ -437,17 +437,15 @@ | |||||
this.$notify({ type: 'danger', message: '请输入资金用途!' }); | this.$notify({ type: 'danger', message: '请输入资金用途!' }); | ||||
return; | return; | ||||
} | } | ||||
this.getDicts("bank_type").then(res => { | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | }); | ||||
}, | }, | ||||
getPayeeList() { | getPayeeList() { | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">修改现金使用申请</p> | |||||
<p style="font-weight: bold;">修改备服金支出申请</p> | |||||
</template> | </template> | ||||
</van-nav-bar> | </van-nav-bar> | ||||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | <van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | ||||
@@ -449,18 +449,15 @@ | |||||
this.$notify({ type: 'danger', message: '请选择所属银行!' }); | this.$notify({ type: 'danger', message: '请选择所属银行!' }); | ||||
return; | return; | ||||
} | } | ||||
this.getDicts("bank_type").then(res => { | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方 | |||||
payeeAccount: "", //收款账户 | |||||
bankDeposit: "", //开户银行 | |||||
incomeAmount: "", //收入金额 | |||||
bankType: "1", //所属银行 | |||||
bankTypeText:this.selectDictLabel(res.data, 1), //所属银行 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | |||||
this.chargeItme.splice(index + 1, 0, { | |||||
payeeId: "", //收款方ID | |||||
payee: "", //收款方全称 | |||||
payeeAccount: "", //收款账户 | |||||
drawer: "", //提款人 | |||||
incomeAmount: "", //提款金额 | |||||
bankType: "", //资金用途 | |||||
showPayee:false, | |||||
showbankType:false | |||||
}); | }); | ||||
}, | }, | ||||
getPayeeList() { | getPayeeList() { | ||||
@@ -488,7 +488,6 @@ | |||||
} | } | ||||
}, | }, | ||||
getError(e){ | getError(e){ | ||||
console.log(e) | |||||
this.$notify({ type: 'danger', message: e.errors[0].message }); | this.$notify({ type: 'danger', message: e.errors[0].message }); | ||||
}, | }, | ||||
addChargeItme(index){ | addChargeItme(index){ | ||||
@@ -7,7 +7,7 @@ | |||||
@click-left="$router.back(-1)" | @click-left="$router.back(-1)" | ||||
> | > | ||||
<template #title> | <template #title> | ||||
<p style="font-weight: bold;">修改公务卡转账申请</p> | |||||
<p style="font-weight: bold;">修改信用卡还款申请</p> | |||||
</template> | </template> | ||||
</van-nav-bar> | </van-nav-bar> | ||||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | <van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | ||||
@@ -457,7 +457,7 @@ | |||||
this.getPayeeList(); | this.getPayeeList(); | ||||
}); | }); | ||||
queryTransferDetail(this.$route.query.id).then((response) => { | queryTransferDetail(this.$route.query.id).then((response) => { | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||
} | } | ||||
@@ -501,7 +501,7 @@ | |||||
this.$notify({ type: 'danger', message: '请选择所属银行!' }); | this.$notify({ type: 'danger', message: '请选择所属银行!' }); | ||||
return; | return; | ||||
} | } | ||||
this.getDicts("bank_type").then(res => { | |||||
this.getDicts("bank_type_all").then(res => { | |||||
this.chargeItme.splice(index + 1, 0, { | this.chargeItme.splice(index + 1, 0, { | ||||
payeeId: "", //收款方ID | payeeId: "", //收款方ID | ||||
payee: "", //收款方 | payee: "", //收款方 | ||||
@@ -524,7 +524,7 @@ | |||||
console.log(this.queryParams) | console.log(this.queryParams) | ||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4){ | |||||
if(res.payeeType==4||res.payeeType==3){ | |||||
res.text = res.payee; | res.text = res.payee; | ||||
res.value = res.id; | res.value = res.id; | ||||
this.payeeList.push(res) | this.payeeList.push(res) | ||||
@@ -623,7 +623,7 @@ | |||||
this.queryParams.status = "0" | this.queryParams.status = "0" | ||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4){ | |||||
if(res.payeeType==4||res.payeeType==3){ | |||||
res.text = res.payee | res.text = res.payee | ||||
res.value = res.id | res.value = res.id | ||||
this.payeeList.push(res) | this.payeeList.push(res) | ||||
@@ -902,7 +902,7 @@ | |||||
this.queryParams.status = "0" | this.queryParams.status = "0" | ||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4){ | |||||
if(res.payeeType==4||res.payeeType==3){ | |||||
res.text = res.payee | res.text = res.payee | ||||
res.value = res.id | res.value = res.id | ||||
this.payeeList.push(res) | this.payeeList.push(res) | ||||
@@ -60,35 +60,35 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<van-grid :border="false"> | <van-grid :border="false"> | ||||
<van-grid-item text="村户转账" :to="{name:'approvalList'}" > | |||||
<van-grid-item text="银行卡转账" :to="{name:'approvalList'}" > | |||||
<div class="icon" slot="default" style="background:#FF4646;" > | <div class="icon" slot="default" style="background:#FF4646;" > | ||||
<img src="../../../static/images/onlineHome/icon_Y1.png" alt /> | <img src="../../../static/images/onlineHome/icon_Y1.png" alt /> | ||||
</div> | </div> | ||||
<p style="margin-top: 5px;color: #666666;">村户转账</p> | |||||
<p style="margin-top: 5px;color: #666666;">银行卡转账</p> | |||||
</van-grid-item> | </van-grid-item> | ||||
<van-grid-item text="代管转账" :to="{name:'approvalList4'}" > | |||||
<div class="icon" slot="default" style="background:#c568f5;" > | |||||
<img src="../../../static/images/onlineHome/icon_Y4.png" alt /> | |||||
</div> | |||||
<p style="margin-top: 5px;color: #666666;">代管转账</p> | |||||
</van-grid-item> | |||||
<van-grid-item text="公务卡转账" :to="{name:'approvalList2'}" > | |||||
<!-- <van-grid-item text="代管转账" :to="{name:'approvalList4'}" >--> | |||||
<!-- <div class="icon" slot="default" style="background:#c568f5;" >--> | |||||
<!-- <img src="../../../static/images/onlineHome/icon_Y4.png" alt />--> | |||||
<!-- </div>--> | |||||
<!-- <p style="margin-top: 5px;color: #666666;">代管转账</p>--> | |||||
<!-- </van-grid-item>--> | |||||
<van-grid-item text="信用卡还款" :to="{name:'approvalList2'}" > | |||||
<div class="icon" slot="default" style="background:#3ac2db;" > | <div class="icon" slot="default" style="background:#3ac2db;" > | ||||
<img src="../../../static/images/onlineHome/icon_Y2.png" alt /> | <img src="../../../static/images/onlineHome/icon_Y2.png" alt /> | ||||
</div> | </div> | ||||
<p style="margin-top: 5px;color: #666666;">公务卡转账</p> | |||||
</van-grid-item> | |||||
<van-grid-item text="现金提现" :to="{name:'approvalList10'}" > | |||||
<div class="icon" slot="default" style="background:#FF6464;" > | |||||
<img src="../../../static/images/onlineHome/icon_Y6.png" alt /> | |||||
</div> | |||||
<p style="margin-top: 5px;color: #666666;">现金提现</p> | |||||
<p style="margin-top: 5px;color: #666666;">信用卡还款</p> | |||||
</van-grid-item> | </van-grid-item> | ||||
<van-grid-item text="现金使用" :to="{name:'approvalList11'}" > | |||||
<!-- <van-grid-item text="现金提现" :to="{name:'approvalList10'}" >--> | |||||
<!-- <div class="icon" slot="default" style="background:#FF6464;" >--> | |||||
<!-- <img src="../../../static/images/onlineHome/icon_Y6.png" alt />--> | |||||
<!-- </div>--> | |||||
<!-- <p style="margin-top: 5px;color: #666666;">现金提现</p>--> | |||||
<!-- </van-grid-item>--> | |||||
<van-grid-item text="备服金支出" :to="{name:'approvalList11'}" > | |||||
<div class="icon" slot="default" style="background:#7790FE;" > | <div class="icon" slot="default" style="background:#7790FE;" > | ||||
<img src="../../../static/images/onlineHome/icon_Y7.png" alt /> | <img src="../../../static/images/onlineHome/icon_Y7.png" alt /> | ||||
</div> | </div> | ||||
<p style="margin-top: 5px;color: #666666;">现金使用</p> | |||||
<p style="margin-top: 5px;color: #666666;">备服金支出</p> | |||||
</van-grid-item> | </van-grid-item> | ||||
<van-grid-item text="汇票支出" :to="{name:'approvalList12'}" > | <van-grid-item text="汇票支出" :to="{name:'approvalList12'}" > | ||||
<div class="icon" slot="default" style="background:#539ffd;" > | <div class="icon" slot="default" style="background:#539ffd;" > | ||||
@@ -155,7 +155,6 @@ | |||||
}, | }, | ||||
created() { | created() { | ||||
getInfo().then(response => { | getInfo().then(response => { | ||||
console.log(response.user); | |||||
this.bookName = response.user.bookName | this.bookName = response.user.bookName | ||||
this.deptName = response.user.deptName | this.deptName = response.user.deptName | ||||
this.getBookList(response.user.loginDeptId); | this.getBookList(response.user.loginDeptId); | ||||