@@ -462,6 +462,7 @@ | |||
chargeItmeShow:[], | |||
templateList:[], | |||
payeeList:[], | |||
bankTypeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
@@ -513,6 +514,11 @@ | |||
} | |||
this.projectFundTypeDictionaries = response.data; | |||
}); | |||
this.getDicts("bank_type").then((response) => { | |||
for (var i = 0; i < response.data.length; i++) { | |||
this.bankTypeList.push({text: response.data[i].dictLabel, value: response.data[i].dictValue}); | |||
} | |||
}); | |||
let params1={ | |||
accountType: "102", | |||
// "params":{townAccountType:'0'}, | |||
@@ -681,8 +687,14 @@ | |||
// if(this.form.bankType == '2' && this.form.isPeers == 'N' && this.chargeItme.length>0 && this.chargeItme != []){ | |||
// this.$notify({ type: 'danger', message: '目前农商行仅支持单笔跨行转账,即仅能有一个收款方!' }); | |||
// }else | |||
if(this.form.bankType == '7' && this.chargeItme.length>0 && this.chargeItme != []){ | |||
this.$notify({ type: 'danger', message: '目前农商行仅支持单笔转账,即仅能有一个收款方!' }); | |||
var heilongjiang = false; | |||
this.bankTypeList.map(res => { | |||
if(res.value == 7 && res.text.includes("黑龙江")){ | |||
heilongjiang = true; | |||
} | |||
}); | |||
if(heilongjiang && this.form.bankType == '7' && this.chargeItme.length>0 && this.chargeItme != []){ | |||
this.$notify({ type: 'danger', message: '目前黑龙江农商行仅支持单笔转账,即仅能有一个收款方!' }); | |||
}else{ | |||
this.getDicts("bank_type").then(res => { | |||
this.chargeItme.splice(index + 1, 0, { | |||
@@ -696,10 +708,11 @@ | |||
showPayee:false, | |||
showbankType:false | |||
}); | |||
});} | |||
if(this.form.bankType == '7'){ | |||
this.isCanBatch = false; | |||
} | |||
}); | |||
} | |||
if(heilongjiang && this.form.bankType == '7'){ | |||
this.isCanBatch = false; | |||
} | |||
}, | |||
getPayeeList() { | |||
//普通转账 | |||
@@ -430,6 +430,7 @@ | |||
chargeItmeShow:[], | |||
payeeList:[], | |||
bankTypeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
@@ -499,6 +500,11 @@ | |||
} | |||
this.projectFundTypeDictionaries = response.data; | |||
}); | |||
this.getDicts("bank_type").then((response) => { | |||
for (var i = 0; i < response.data.length; i++) { | |||
this.bankTypeList.push({text: response.data[i].dictLabel, value: response.data[i].dictValue}); | |||
} | |||
}); | |||
let params1={ | |||
accountType: "102", | |||
// "params":{townAccountType:'0'}, | |||
@@ -632,8 +638,14 @@ | |||
// if(this.form.bankType == '2' && this.form.isPeers == 'N' && this.chargeItme.length==1){ | |||
// this.$notify({ type: 'danger', message: '目前农商行仅支持单笔跨行转账,即仅能有一个收款方!' }); | |||
// }else | |||
if(this.form.bankType == '7' && this.chargeItme.length==1){ | |||
this.$notify({ type: 'danger', message: '目前农商行仅支持单笔转账,即仅能有一个收款方!' }); | |||
var heilongjiang = false; | |||
this.bankTypeList.map(res => { | |||
if(res.value == 7 && res.text.includes("黑龙江")){ | |||
heilongjiang = true; | |||
} | |||
}); | |||
if(heilongjiang && this.form.bankType == '7' && this.chargeItme.length==1){ | |||
this.$notify({ type: 'danger', message: '目前黑龙江农商行仅支持单笔转账,即仅能有一个收款方!' }); | |||
}else{ | |||
this.getDicts("bank_type_all").then(res => { | |||
this.chargeItme.splice(index + 1, 0, { | |||
@@ -62,6 +62,7 @@ | |||
import {logout} from "../../api/login"; | |||
import { sysConfig } from "@/api/homesteadSurvey/index"; | |||
import {removeToken} from "@/utils/auth"; | |||
import { getConfigKey } from "@/api/system/config"; | |||
export default { | |||
name: "certificateList", | |||
data() { | |||
@@ -111,6 +112,16 @@ | |||
}; | |||
}, | |||
created() { | |||
getConfigKey("system.app.yinnongExclusive").then(response => { | |||
if(response.msg == "Y"){ | |||
this.actions=[ | |||
{ text: '个人信息', icon: 'manager-o' , index: 0 }, | |||
{ text: '修改密码', icon: 'edit' , index: 1 }, | |||
{ text: '事项审批', icon: 'todo-list-o' , index: 2 }, | |||
{ text: '退出登录', icon: 'revoke' , index: 8 }, | |||
]; | |||
} | |||
}); | |||
getInfo().then(response => { | |||
this.bookName = response.user.bookName | |||
this.deptName = response.user.deptName | |||
@@ -128,7 +139,6 @@ | |||
}); | |||
this.getBookList(response.user.loginDeptId); | |||
}); | |||
treeselectByUser().then((res) => { | |||
if (res.code == 200) { | |||
this.hcAreaInfoOption = res.data; | |||
@@ -9,7 +9,7 @@ | |||
margin: 0 auto; | |||
" | |||
> | |||
<img :src="avatar" style="border-radius: 100%;margin-right: 8px;width: 62px;height: 62px;border: 2px solid #ffffff;" alt=""> | |||
<img :src="avatar" v-if="avatar != null && avatar != ''" style="border-radius: 100%;margin-right: 8px;width: 62px;height: 62px;border: 2px solid #ffffff;" alt=""> | |||
<div> | |||
<p style="color:#000000;margin-left: 10px;font-size: 20px;font-weight: bold;">{{nickName}}</p> | |||
<p style="color:#000000;margin-left: 10px;margin-top: 10px;background: url('../../../static/images/yinnong/adress.png') no-repeat left center;background-size: auto 100%;padding-left: 15px;">{{deptName}}</p> | |||
@@ -170,7 +170,9 @@ | |||
this.nickName = response.user.nickName | |||
this.deptName = response.user.dept.deptName | |||
this.userId = response.user.userId | |||
this.avatar = location.protocol+"//"+location.host+request.defaults.baseURL+response.user.avatar | |||
if(response.user.avatar != null && response.user.avatar != ""){ | |||
this.avatar = location.protocol+"//"+location.host+request.defaults.baseURL+response.user.avatar | |||
} | |||
}); | |||
this.getData(); | |||
}, | |||