|
|
@@ -80,6 +80,7 @@
|
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
|
@click="handerCompanyUserAreaList"
|
|
|
+ v-hasPermi="['company:user:updateCompanyUserAreaList']"
|
|
|
>批量设置销售所属区域</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
@@ -89,6 +90,7 @@
|
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
|
@click="handleSetRegister"
|
|
|
+ v-hasPermi="['company:user:setRegister']"
|
|
|
>设置单独注册会员</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
@@ -98,6 +100,7 @@
|
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
|
@click="handleAllowedAllRegister"
|
|
|
+ v-hasPermi="['company:user:allowedAllRegister']"
|
|
|
>允许注册会员开关</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
@@ -106,6 +109,7 @@
|
|
|
plain
|
|
|
size="mini"
|
|
|
@click="handleBindCompanyUserCode"
|
|
|
+ v-hasPermi="['company:user:addCodeUrl']"
|
|
|
>生成注册/绑定销售二维码</el-button>
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
@@ -207,6 +211,7 @@
|
|
|
plain
|
|
|
v-if="scope.row.doctorId!=null"
|
|
|
@click="handleUpdateDoctor(scope.row)"
|
|
|
+ v-hasPermi="['qw:companyUser:unBindDoctorId']"
|
|
|
>换绑医生</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
@@ -215,6 +220,7 @@
|
|
|
icon="el-icon-link"
|
|
|
v-else
|
|
|
@click="handleUpdateDoctor(scope.row)"
|
|
|
+ v-hasPermi="['qw:companyUser:unBindDoctorId']"
|
|
|
>绑定医生</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
@@ -223,6 +229,7 @@
|
|
|
plain
|
|
|
v-if="scope.row.doctorId!=null"
|
|
|
@click="handleUnBindUserId(scope.row)"
|
|
|
+ v-hasPermi="['qw:companyUser:unBindDoctorId']"
|
|
|
>解绑医生</el-button>
|
|
|
<el-button
|
|
|
v-if="scope.row.qwStatus == 0"
|