|
@@ -201,6 +201,7 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleRedRecharge(scope.row)"
|
|
@click="handleRedRecharge(scope.row)"
|
|
|
|
|
+ v-if="hstInfo !== 'hst'"
|
|
|
v-hasPermi="['his:company:redRecharge']"
|
|
v-hasPermi="['his:company:redRecharge']"
|
|
|
>红包充值
|
|
>红包充值
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -210,6 +211,7 @@
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleRedDeduct(scope.row)"
|
|
@click="handleRedDeduct(scope.row)"
|
|
|
v-hasPermi="['his:company:redDeduct']"
|
|
v-hasPermi="['his:company:redDeduct']"
|
|
|
|
|
+ v-if="hstInfo !== 'hst'"
|
|
|
>红包扣款
|
|
>红包扣款
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -218,19 +220,21 @@
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleRevenue(scope.row)"
|
|
@click="handleRevenue(scope.row)"
|
|
|
v-hasPermi="['company:company:revenue']"
|
|
v-hasPermi="['company:company:revenue']"
|
|
|
|
|
+ v-if="hstInfo !== 'hst'"
|
|
|
>分账配置</el-button>
|
|
>分账配置</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="!scope.row.accountId"
|
|
|
|
|
|
|
+ v-if="!scope.row.accountId && hstInfo !== 'hst'"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-link"
|
|
icon="el-icon-link"
|
|
|
@click="handleBindXsy(scope.row)"
|
|
@click="handleBindXsy(scope.row)"
|
|
|
|
|
+
|
|
|
>绑定销售易
|
|
>绑定销售易
|
|
|
</el-button>
|
|
</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.accountId"
|
|
|
|
|
|
|
+ v-if="scope.row.accountId && hstInfo !== 'hst'"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-close"
|
|
icon="el-icon-close"
|
|
@@ -245,6 +249,7 @@
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleRedPacket(scope.row)"
|
|
@click="handleRedPacket(scope.row)"
|
|
|
v-hasPermi="['company:company:redPacket']"
|
|
v-hasPermi="['company:company:redPacket']"
|
|
|
|
|
+ v-if="hstInfo !== 'hst'"
|
|
|
>绑定红包商户</el-button>
|
|
>绑定红包商户</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
@@ -253,6 +258,7 @@
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleAppRedPacket(scope.row)"
|
|
@click="handleAppRedPacket(scope.row)"
|
|
|
v-hasPermi="['company:company:AppRedPacket']"
|
|
v-hasPermi="['company:company:AppRedPacket']"
|
|
|
|
|
+ v-if="hstInfo !== 'hst'"
|
|
|
>绑定app提现商户</el-button>
|
|
>绑定app提现商户</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
@@ -260,6 +266,7 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleSidebarChange(scope.row)"
|
|
@click="handleSidebarChange(scope.row)"
|
|
|
|
|
+ v-if="hstInfo !== 'hst'"
|
|
|
>侧边栏封面设置</el-button>
|
|
>侧边栏封面设置</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -964,6 +971,7 @@ export default {
|
|
|
name: 'Company',
|
|
name: 'Company',
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ hstInfo: process.env.VUE_APP_FS_USER_INFO,
|
|
|
uploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
uploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
|
redPacketConfigOpen:{
|
|
redPacketConfigOpen:{
|
|
|
open: false,
|
|
open: false,
|