|
@@ -31,8 +31,8 @@
|
|
|
<a-card size="small" :bordered="false">
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<!-- 操作按钮 -->
|
|
|
- <div class="table-operator">
|
|
|
- <a-button id="provincialWarehouse-add" type="primary" v-if="$hasPermissions('B_dealerAccount_add')" @click="handleEdit()">新增</a-button>
|
|
|
+ <div class="table-operator" v-if="$hasPermissions('B_serviceCenter_add')">
|
|
|
+ <a-button id="provincialWarehouse-add" type="primary" @click="handleEdit()">新增</a-button>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
|
<s-table
|
|
@@ -55,7 +55,7 @@
|
|
|
<template slot="loginFlag" slot-scope="text, record">
|
|
|
<a-switch
|
|
|
id="provincialWarehouse-enableFlag"
|
|
|
- v-if="$hasPermissions('B_dealerAccount_enable')"
|
|
|
+ v-if="$hasPermissions('B_serviceCenter_enable')"
|
|
|
checkedChildren="启用"
|
|
|
unCheckedChildren="禁用"
|
|
|
@change="openStatusModal(record)"
|
|
@@ -63,11 +63,11 @@
|
|
|
<span v-else :style="{color:(record.enableFlag==1?'#00aa00':'#999')}"> {{ record.enableFlag==1? '已启用': '已禁用' }} </span>
|
|
|
</template>
|
|
|
<!-- 操作 -->
|
|
|
- <template slot="action" slot-scope="text, record">
|
|
|
+ <template slot="action" slot-scope="text, record" v-if="">
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
- v-if="$hasPermissions('B_dealerAccount_edit')"
|
|
|
+ v-if="$hasPermissions('B_serviceCenter_dealer')"
|
|
|
class="button-info"
|
|
|
@click="handleDealer(record)"
|
|
|
id="provincialWarehouse-edit-btn">关联经销商</a-button>
|