Commit 683d1fe1 authored by 吴春's avatar 吴春
parents 0fc04116 703a8d53
...@@ -70,18 +70,34 @@ ...@@ -70,18 +70,34 @@
:label="$t('visaT.post')" :label="$t('visaT.post')"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column
prop=""
:label="$t('objFill.v102.appjihuozhuant')"
show-overflow-tooltip>
<template slot-scope="scope">
<span :style="{'color':scope.row.IsActivation==1?'red':''}">
{{ scope.row.IsActivation==1?$t('objFill.v102.yijihuo'):$t('objFill.v102.weijihuo') }}
</span>
</template>
</el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="$t('hotel.table_operat')" :label="$t('hotel.table_operat')"
show-overflow-tooltip> show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip v-if="scope.row.CreateBy==EmployeeId" class="item" effect="dark" :content="$t('pub.edit')" placement="top-start"> <div style="display: flex;flex-wrap: wrap;">
<el-button @click.stop="EditContact(scope.row)" style="padding:4px" type="primary" icon="el-icon-edit" circle></el-button> <div style="margin-right: 10px;">
</el-tooltip> <el-tooltip v-if="scope.row.CreateBy==EmployeeId" class="item" effect="dark" :content="$t('pub.edit')" placement="top-start">
<el-tooltip v-if="scope.row.CreateBy==EmployeeId" class="item" effect="dark" :content="$t('adm.adm_resetpd')" placement="top-start"> <el-button @click.stop="EditContact(scope.row)" style="padding:4px" type="primary" icon="el-icon-edit" circle></el-button>
<el-button @click.stop="EditPassword(scope.row)" style="padding:4px" type="success" icon="el-icon-refresh" circle></el-button> </el-tooltip>
</el-tooltip> </div>
<el-tooltip v-if="scope.row.IsActivation==0" class="item" effect="dark" :content="$t('op.ShareInviteCode')" placement="top-start" > <div style="margin-right: 10px;">
<el-tooltip v-if="scope.row.CreateBy==EmployeeId" class="item" effect="dark" :content="$t('adm.adm_resetpd')" placement="top-start">
<el-button @click.stop="EditPassword(scope.row)" style="padding:4px" type="success" icon="el-icon-refresh" circle></el-button>
</el-tooltip>
</div>
<div style="margin-right: 10px;">
<el-tooltip v-if="scope.row.IsActivation==0" class="item" effect="dark" :content="$t('op.ShareInviteCode')" placement="top-start" >
<el-popover width="180" trigger="click"> <el-popover width="180" trigger="click">
<div class="w150" v-loading="wxLoading"> <div class="w150" v-loading="wxLoading">
<img style=" <img style="
...@@ -98,12 +114,19 @@ ...@@ -98,12 +114,19 @@
{{ $t("salesModule.XCX") }} {{ $t("salesModule.XCX") }}
</p> </p>
</div> </div>
<el-button slot="reference" type="primary" style="padding:4px " icon="iconfont icon-fenxiang" @click="getWxCode(scope.$index)" circle></el-button> <el-button slot="reference" type="primary" style="padding:4px" icon="" @click="getWxCode(scope.$index)" circle>
</el-popover> <i class="iconfont icon-fenxiang" style="font-size: 14px;"></i>
</el-button>
</el-popover>
</el-tooltip> </el-tooltip>
<!-- <el-tooltip class="item" effect="dark" :content="$t('system.ph_shanchu')" placement="top-start"> </div>
<!-- <div>
<el-tooltip class="item" effect="dark" :content="$t('system.ph_shanchu')" placement="top-start">
<el-button @click.stop="EditMsg(scope.row)" style="padding:4px" type="danger" icon="el-icon-delete" circle></el-button> <el-button @click.stop="EditMsg(scope.row)" style="padding:4px" type="danger" icon="el-icon-delete" circle></el-button>
</el-tooltip> --> </el-tooltip>
</div> -->
</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<!--class="h34 w150"--> <!--class="h34 w150"-->
<el-form-item :label="$t('admin.admin_Department')"> <el-form-item :label="$t('admin.admin_Department')">
<treeselect class="w200 fl" style="height:34px !important;margin-top: 5px !important" <treeselect class="w200 fl" style="height:34px !important;margin-top: 5px !important"
:options="departmentList" v-model="msg.RB_Department_Id" :label="$t('pub.unlimitedSel')" :options="departmentList" v-model="msg.DepartmentId" :label="$t('pub.unlimitedSel')"
:normalizer="normalizer" @select="changeDepart" /> :normalizer="normalizer" @select="changeDepart" placeholder="请选择部门" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
...@@ -670,6 +670,7 @@ ...@@ -670,6 +670,7 @@
created() { created() {
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = this.userInfo.RB_Group_id; this.getCompanyMsg.RB_Group_Id = this.userInfo.RB_Group_id;
this.departmentMsg.RB_Group_Id = this.userInfo.RB_Group_id; //集团
this.getCompanyList(); this.getCompanyList();
if (this.$route.query.EnterTime) { if (this.$route.query.EnterTime) {
this.EnterTime = this.$route.query.EnterTime this.EnterTime = this.$route.query.EnterTime
...@@ -691,8 +692,10 @@ ...@@ -691,8 +692,10 @@
this.msg.RB_Branch_id = Number(this.userInfo.RB_Branch_id); this.msg.RB_Branch_id = Number(this.userInfo.RB_Branch_id);
} }
} }
this.getDepartment();
if (this.$route.query.RB_Department_Id && Number(this.$route.query.RB_Department_Id) > 0) { if (this.$route.query.RB_Department_Id && Number(this.$route.query.RB_Department_Id) > 0) {
this.msg.RB_Department_Id = Number(this.$route.query.RB_Department_Id); this.msg.DepartmentId= Number(this.$route.query.RB_Department_Id);
this.employeeMsg.departmentId = Number(this.$route.query.RB_Department_Id);
this.getEmployee(); this.getEmployee();
} }
if (this.$route.query.EnterID && Number(this.$route.query.EnterID) > 0) { if (this.$route.query.EnterID && Number(this.$route.query.EnterID) > 0) {
...@@ -705,8 +708,8 @@ ...@@ -705,8 +708,8 @@
this.departState = true; this.departState = true;
} }
this.bossID = this.userInfo.EmployeeId; this.bossID = this.userInfo.EmployeeId;
this.departmentMsg.RB_Group_Id = this.userInfo.RB_Group_id; //集团
this.getDepartment();
this.getList(); this.getList();
this.getCreateByInfoList(); this.getCreateByInfoList();
this.getProvince(); this.getProvince();
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</el-select> </el-select>
</template> </template>
<treeselect style="margin-right: 20px;width:200px;" class="radius-input" :options="departmentList" v-model="parameters.RB_Department_Id" <treeselect style="margin-right: 20px;width:200px;" class="radius-input" :options="departmentList" v-model="parameters.RB_Department_Id"
:label="$t('pub.unlimitedSel')" :normalizer="normalizer" @select="changeDepart" /> :label="$t('pub.unlimitedSel')" :normalizer="normalizer" @select="changeDepart" placeholder="请选择部门" />
<el-select <el-select
v-model="parameters.empId" v-model="parameters.empId"
style="margin-right: 20px;height: 40px;" style="margin-right: 20px;height: 40px;"
......
...@@ -233,22 +233,23 @@ ...@@ -233,22 +233,23 @@
let Time = [this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")), this.getBeforeDate(0, new Date().Format( let Time = [this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")), this.getBeforeDate(0, new Date().Format(
"yyyy-MM-dd"))] "yyyy-MM-dd"))]
let query = {}; let query = {};
//客户总数 //客户总数
if (type == 1) { if (type == 1) {
query = { query = {
blank: "y", blank: "y",
RB_Branch_Id: this.msg.RB_Branch_Id, RB_Branch_Id: item.BranchId,
RB_Department_Id: this.msg.RB_Department_Id, RB_Department_Id: item.RB_Department_Id,
EnterID: this.msg.EnterID, EnterID: item.EnterID,
} }
} }
//今日新增 //今日新增
else if (type == 2) { else if (type == 2) {
query = { query = {
EnterTime: Time, EnterTime: Time,
RB_Branch_Id: this.msg.RB_Branch_Id, RB_Branch_Id: item.BranchId,
RB_Department_Id: this.msg.RB_Department_Id, RB_Department_Id: item.RB_Department_Id,
EnterID: this.msg.EnterID, EnterID: item.EnterID,
blank: "y", blank: "y",
} }
} }
...@@ -256,9 +257,9 @@ ...@@ -256,9 +257,9 @@
else if (type == 3) { else if (type == 3) {
query = { query = {
activation: 1, activation: 1,
RB_Branch_Id: this.msg.RB_Branch_Id, RB_Branch_Id: item.BranchId,
RB_Department_Id: this.msg.RB_Department_Id, RB_Department_Id: item.RB_Department_Id,
EnterID: this.msg.EnterID, EnterID: item.EnterID,
blank: "y", blank: "y",
} }
} }
...@@ -267,9 +268,9 @@ ...@@ -267,9 +268,9 @@
query = { query = {
activationTime: Time, activationTime: Time,
activation: 1, activation: 1,
RB_Branch_Id: this.msg.RB_Branch_Id, RB_Branch_Id: item.BranchId,
RB_Department_Id: this.msg.RB_Department_Id, RB_Department_Id: item.RB_Department_Id,
EnterID: this.msg.EnterID, EnterID: item.EnterID,
blank: "y", blank: "y",
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment