|
|
@ -49,7 +49,7 @@
|
|
|
|
{{scope.row.availableFunds || 0}}
|
|
|
|
{{scope.row.availableFunds || 0}}
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="intoAccount" header-align="center" align="center" label="转入账户">
|
|
|
|
<el-table-column prop="intoAccount" header-align="center" align="center" label="转入账户" class-name="AmountValue">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template v-if="accountTypeMap[scope.row.name] == '银行账户'">
|
|
|
|
<template v-if="accountTypeMap[scope.row.name] == '银行账户'">
|
|
|
|
<el-select v-model="scope.row.value" placeholder="请选择">
|
|
|
|
<el-select v-model="scope.row.value" placeholder="请选择">
|
|
|
@ -66,14 +66,14 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="zzje" header-align="center" align="center" label="转账金额">
|
|
|
|
<el-table-column prop="zzje" header-align="center" align="center" label="转账金额" class-name="AmountValue">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-input v-model="scope.row.input"></el-input>
|
|
|
|
<el-input v-model="scope.row.input"></el-input>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="messageAcceptState" header-align="center" align="center" label="操作" width="120">
|
|
|
|
<el-table-column prop="messageAcceptState" header-align="center" align="center" label="操作" width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-link type="primary" :underline="false" disabled @click="">确定</el-link>
|
|
|
|
<el-link type="primary" :underline="false" @click="allOpenAccount(scope.row)">确定</el-link>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -88,7 +88,7 @@
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<p style="writing-mode: lr-tb;width: 20px;margin: 0 auto;">
|
|
|
|
<p style="writing-mode: lr-tb;width: 20px;margin: 0 auto;">
|
|
|
|
<el-image class="user_img" :src="jigou"></el-image>
|
|
|
|
<el-image class="user_img" :src="jigou"></el-image>
|
|
|
|
机构投资账户
|
|
|
|
企业投资账户
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -147,7 +147,7 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="messageAcceptState" header-align="center" align="center" label="操作" width="120">
|
|
|
|
<el-table-column prop="messageAcceptState" header-align="center" align="center" label="操作" width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-link type="primary" :underline="false" disabled @click="">确定</el-link>
|
|
|
|
<el-link type="primary" :underline="false" disabled @click="allOpenAccount">确定</el-link>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -162,7 +162,10 @@
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
|
range-separator="至"
|
|
|
|
range-separator="至"
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
end-placeholder="结束日期">
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
|
|
|
value-format="timestamp"
|
|
|
|
|
|
|
|
@change="getPageList"
|
|
|
|
|
|
|
|
>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
@ -213,7 +216,7 @@ export default {
|
|
|
|
label: '现金账户'
|
|
|
|
label: '现金账户'
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
value: '选项2',
|
|
|
|
value: '选项2',
|
|
|
|
label: 'p2p账户'
|
|
|
|
label: '网络融资账户'
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
value: '选项3',
|
|
|
|
value: '选项3',
|
|
|
|
label: '众筹账户'
|
|
|
|
label: '众筹账户'
|
|
|
@ -237,7 +240,7 @@ export default {
|
|
|
|
accountTypeMap:{
|
|
|
|
accountTypeMap:{
|
|
|
|
CASH_ACCOUNT:"现金账户",
|
|
|
|
CASH_ACCOUNT:"现金账户",
|
|
|
|
BANK_ACCOUNT:"银行账户",
|
|
|
|
BANK_ACCOUNT:"银行账户",
|
|
|
|
P2P_ACCOUNT:"P2P账户",
|
|
|
|
P2P_ACCOUNT:"网络融资账户",
|
|
|
|
CROWDFUNDING_ACCOUNT:"众筹账户",
|
|
|
|
CROWDFUNDING_ACCOUNT:"众筹账户",
|
|
|
|
EQUITY_FUND_INVESTMENT_ACCOUNT:"股票基金投资账户",
|
|
|
|
EQUITY_FUND_INVESTMENT_ACCOUNT:"股票基金投资账户",
|
|
|
|
FUTURES_INVESTMENT_ACCOUNT:"期货投资账户",
|
|
|
|
FUTURES_INVESTMENT_ACCOUNT:"期货投资账户",
|
|
|
@ -251,6 +254,7 @@ export default {
|
|
|
|
TRUST_ACCOUNT:"信托账户",
|
|
|
|
TRUST_ACCOUNT:"信托账户",
|
|
|
|
INSURANCE_ACCOUNT:"保险账户",
|
|
|
|
INSURANCE_ACCOUNT:"保险账户",
|
|
|
|
SUPPLY_CHAIN_ASSET_ACCOUNT:"供应链资产账户",
|
|
|
|
SUPPLY_CHAIN_ASSET_ACCOUNT:"供应链资产账户",
|
|
|
|
|
|
|
|
FINANCIAL_ACCOUNT:"理财账户",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -280,25 +284,43 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getInfo(){ //获取数据
|
|
|
|
getInfo(){ //获取数据
|
|
|
|
this.$get("/api/studentAccountAssetAllocation/getList.do",{studentId:this.identityInfo.studentId}).then((ret) =>{
|
|
|
|
this.$get("/api/studentAccountAssetAllocation/getList.do",{studentId:this.identityInfo.studentId,isInstitution:1}).then((ret) =>{
|
|
|
|
if(ret.code == 0){
|
|
|
|
if(ret.code == 0){
|
|
|
|
this.tableData = ret.data;
|
|
|
|
this.tableData = ret.data;
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.$message({message: ret.msg,type: 'error'});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.$get("/api/studentAccountAssetAllocation/getList.do",{studentId:this.identityInfo.studentId,isInstitution:2}).then((ret) =>{
|
|
|
|
|
|
|
|
if(ret.code == 0){
|
|
|
|
this.noticeList= ret.data;
|
|
|
|
this.noticeList= ret.data;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
this.$message({message: ret.msg,type: 'error'});
|
|
|
|
this.$message({message: ret.msg,type: 'error'});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
allOpenAccount(){ //转账
|
|
|
|
allOpenAccount(val){ //转账
|
|
|
|
|
|
|
|
let value=''
|
|
|
|
|
|
|
|
if(val.hasOwnProperty('value')){
|
|
|
|
|
|
|
|
value=val.value
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.tableData.forEach(item=>{
|
|
|
|
|
|
|
|
if(item.name=='BANK_ACCOUNT'){
|
|
|
|
|
|
|
|
value=item.applicationId
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
let param = {
|
|
|
|
let param = {
|
|
|
|
studentId:this.identityInfo.studentId,
|
|
|
|
studentId:this.identityInfo.studentId,
|
|
|
|
toAccountsApplicationId:"",//(转入账户)
|
|
|
|
toAccountsApplicationId:value,//(转入账户)
|
|
|
|
outAccountsApplicationId:"",//(转出账户)
|
|
|
|
outAccountsApplicationId:val.applicationId,//(转出账户)
|
|
|
|
money:"",//(金额)
|
|
|
|
money:val.input,//(金额)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.$post("/api/studentAccountAssetAllocation/allOpenAccount.do",param).then((ret) =>{
|
|
|
|
this.$post("/api/studentAccountAssetAllocation/allOpenAccount.do",param).then((ret) =>{
|
|
|
|
if(ret.code == 0){
|
|
|
|
if(ret.code == 0){
|
|
|
|
this.tableData = ret.data;
|
|
|
|
this.tableData = ret.data;
|
|
|
|
|
|
|
|
this.getInfo()
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
this.$message({message: ret.msg,type: 'error'});
|
|
|
|
this.$message({message: ret.msg,type: 'error'});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -316,8 +338,8 @@ export default {
|
|
|
|
getPageList(){ //转账记录List
|
|
|
|
getPageList(){ //转账记录List
|
|
|
|
let param = {
|
|
|
|
let param = {
|
|
|
|
studentId:this.identityInfo.studentId,
|
|
|
|
studentId:this.identityInfo.studentId,
|
|
|
|
startTime:"",
|
|
|
|
startTime:this.value1[0],
|
|
|
|
endTime:"",
|
|
|
|
endTime:this.value1[1],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.$post("/api/studentAccountTradingRecordSheet/getPageList.do",param).then((ret) =>{
|
|
|
|
this.$post("/api/studentAccountTradingRecordSheet/getPageList.do",param).then((ret) =>{
|
|
|
|
if(ret.code == 0){
|
|
|
|
if(ret.code == 0){
|
|
|
@ -339,7 +361,8 @@ export default {
|
|
|
|
this.$addSystemUseLog(param);
|
|
|
|
this.$addSystemUseLog(param);
|
|
|
|
},timeNum);
|
|
|
|
},timeNum);
|
|
|
|
// 结束
|
|
|
|
// 结束
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
beforeDestroy() {
|
|
|
|
beforeDestroy() {
|
|
|
|
clearInterval(this.timeIn); //关闭定时
|
|
|
|
clearInterval(this.timeIn); //关闭定时
|
|
|
@ -380,5 +403,14 @@ export default {
|
|
|
|
line-height: 23px;
|
|
|
|
line-height: 23px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.AmountValue{
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.cell{
|
|
|
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
|
|
|
.el-input__inner{
|
|
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
|
|