|
@@ -2,7 +2,7 @@
|
|
<div class="funAccountList-wrap">
|
|
<div class="funAccountList-wrap">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<!-- 搜索条件 -->
|
|
<!-- 搜索条件 -->
|
|
- <div ref="tableSearch" class="funAccountList-page-search-wrapper">
|
|
|
|
|
|
+ <div ref="tableSearch" v-if="$hasPermissions('B_fundAccountEnable')" class="funAccountList-page-search-wrapper">
|
|
<div>
|
|
<div>
|
|
资金账户功能:
|
|
资金账户功能:
|
|
<a-radio-group
|
|
<a-radio-group
|
|
@@ -22,7 +22,7 @@
|
|
<a-card size="small" :bordered="false">
|
|
<a-card size="small" :bordered="false">
|
|
<!-- 操作按钮 -->
|
|
<!-- 操作按钮 -->
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
- <a-button id="funAccountList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
|
|
|
|
|
|
+ <a-button id="funAccountList-add" v-if="$hasPermissions('B_FA_New')" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
|
|
</div>
|
|
</div>
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<s-table
|
|
<s-table
|
|
@@ -41,7 +41,7 @@
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
- v-if="record.state == 'ENABLE'||record.state == 'DISABLE'"
|
|
|
|
|
|
+ v-if="(record.state == 'ENABLE'||record.state == 'DISABLE')&&$hasPermissions('B_FA_QYJY')"
|
|
class="button-primary"
|
|
class="button-primary"
|
|
@click="handleEnable(record)"
|
|
@click="handleEnable(record)"
|
|
id="foundAcount-enable-btn">
|
|
id="foundAcount-enable-btn">
|
|
@@ -51,28 +51,28 @@
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
- v-if="record.state == 'ENABLE'||record.state == 'DISABLE'"
|
|
|
|
|
|
+ v-if="(record.state == 'ENABLE'||record.state == 'DISABLE')&&$hasPermissions('M_fundAccount_detail')"
|
|
class="button-primary"
|
|
class="button-primary"
|
|
@click="handleDetail(record)"
|
|
@click="handleDetail(record)"
|
|
id="foundAcount-detail-btn">资金明细</a-button>
|
|
id="foundAcount-detail-btn">资金明细</a-button>
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
- v-if="record.state == 'WAIT'"
|
|
|
|
|
|
+ v-if="record.state == 'WAIT'&&$hasPermissions('B_FA_Audit')"
|
|
class="button-primary"
|
|
class="button-primary"
|
|
@click="handleAudit(record)"
|
|
@click="handleAudit(record)"
|
|
id="foundAcount-audit-btn">审核</a-button>
|
|
id="foundAcount-audit-btn">审核</a-button>
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
- v-if="record.state == 'WAIT'"
|
|
|
|
|
|
+ v-if="record.state == 'WAIT'&&$hasPermissions('B_FA_Edit')"
|
|
class="button-primary"
|
|
class="button-primary"
|
|
@click="handleEdit(record)"
|
|
@click="handleEdit(record)"
|
|
id="foundAcount-edit-btn">编辑</a-button>
|
|
id="foundAcount-edit-btn">编辑</a-button>
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
- v-if="record.state == 'WAIT'"
|
|
|
|
|
|
+ v-if="record.state == 'WAIT'&&$hasPermissions('B_FA_delete')"
|
|
class="button-error"
|
|
class="button-error"
|
|
@click="handleDel(record)"
|
|
@click="handleDel(record)"
|
|
id="foundAcount-del-btn">删除</a-button>
|
|
id="foundAcount-del-btn">删除</a-button>
|
|
@@ -241,11 +241,13 @@ export default {
|
|
_this.setTableH()
|
|
_this.setTableH()
|
|
})
|
|
})
|
|
// 结算账户状态查询
|
|
// 结算账户状态查询
|
|
- this.GetSettleAccountState().then(res => {
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- _this.enableFundAccount = res.data.functionEnableFlag
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ if(this.$hasPermissions('M_fundAccountList') && this.$hasPermissions('B_fundAccountEnable')){
|
|
|
|
+ this.GetSettleAccountState().then(res => {
|
|
|
|
+ if (res.status == 200) {
|
|
|
|
+ this.enableFundAccount = res.data.functionEnableFlag == 1
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
setTableH () {
|
|
setTableH () {
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|