Commit 582b8300 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/huaguohao/crm into master

# Conflicts:
#	src/components/guestManagement/guestManagement.vue
parents 573e5b63 9476d1fc
<style> <style>
@import "../../assets/css/customerManage.css"; @import "../../assets/css/customerManage.css";
.el-table__fixed-body-wrapper table { .el-table__fixed-body-wrapper table {
padding-bottom: 8px !important; padding-bottom: 8px !important;
} }
...@@ -14,15 +15,14 @@ ...@@ -14,15 +15,14 @@
</el-input> </el-input>
</div> </div>
<div class="rightmenu"> <div class="rightmenu">
<!-- <el-button class="crm-btn query-btn" @click="getList">查询</el-button> --> <el-button icon="el-icon-plus" class="crm-btn org-btn"
<el-button icon="el-icon-plus" class="crm-btn org-btn" @click="CustomerId = 0, dialogTableVisibleName = '新建直客', dialogTableVisible=true">新建直客</el-button> @click="CustomerId = 0, dialogTableVisibleName = '新建直客', dialogTableVisible=true">新建直客</el-button>
<el-dropdown @command="handleCommand"> <el-dropdown @command="handleCommand">
<el-button class="crm-btn crm-btn-more easy-btn margin-right0"> <el-button class="crm-btn crm-btn-more easy-btn margin-right0">
<i class="iconfont icongengduo"></i> <i class="iconfont icongengduo"></i>
</el-button> </el-button>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item command="1"><i class="iconfont icondaoru"></i> 导入</el-dropdown-item> <el-dropdown-item command="1"><i class="iconfont icondaoru"></i> 导入</el-dropdown-item>
<!-- <el-dropdown-item><i class="iconfont icondaochu"></i> 导出</el-dropdown-item> -->
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
...@@ -31,57 +31,52 @@ ...@@ -31,57 +31,52 @@
<el-row v-if="!multipleSelection.length" :gutter="30"> <el-row v-if="!multipleSelection.length" :gutter="30">
<el-col :span="4"> <el-col :span="4">
<span class="font-size-12" style="padding-right: 10px">场景</span> <span class="font-size-12" style="padding-right: 10px">场景</span>
<el-popover <el-popover placement="bottom" width="180" popper-class="popover-class" v-model="visible"
placement="bottom"
width="180"
popper-class="popover-class"
v-model="visible"
trigger="click"> trigger="click">
<div data-v-16d669bb="" class="scene-container"> <div data-v-16d669bb="" class="scene-container">
<div class="scene-list"> <div class="scene-list">
<div class="scene-list-item" :class="{'scene-list-item-select': sceneID === item.ID}" v-for="(item, index) in SceneEmployeeList" :key="index" @click="changeWhere(item)">{{item.SceneName}}</div> <div class="scene-list-item" :class="{'scene-list-item-select': sceneID === item.ID}"
v-for="(item, index) in SceneEmployeeList" :key="index" @click="changeWhere(item)">
{{item.SceneName}}</div>
</div> </div>
<div class="handle-interval"> <div class="handle-interval">
<div class="vux-flexbox handle-button vux-flex-row" @click="MsgBus.$emit('sceneBoxShow', 5, 1)"> <div class="vux-flexbox handle-button vux-flex-row"
@click="MsgBus.$emit('sceneBoxShow', 5, 1)">
<i class="el-icon-circle-plus-outline handle-button-icon"></i> <i class="el-icon-circle-plus-outline handle-button-icon"></i>
<div class="handle-button-name">新建场景</div></div> <div class="handle-button-name">新建场景</div>
<div class="vux-flexbox handle-button vux-flex-row" @click="MsgBus.$emit('sceneEditBoxShow', 5, SceneEmployeeList)"> </div>
<div class="vux-flexbox handle-button vux-flex-row"
@click="MsgBus.$emit('sceneEditBoxShow', 5, SceneEmployeeList)">
<i class="el-icon-setting handle-button-icon"></i> <i class="el-icon-setting handle-button-icon"></i>
<div class="handle-button-name">管理</div> <div class="handle-button-name">管理</div>
</div> </div>
</div> </div>
</div> </div>
<el-select size="mini" popper-class="select-no" slot="reference" v-model="msg.ID" placeholder="请选择"> <el-select size="mini" popper-class="select-no" slot="reference" v-model="msg.ID"
<el-option placeholder="请选择">
v-for="item in SceneEmployeeList" <el-option v-for="item in SceneEmployeeList" :key="item.ID" :label="item.SceneName"
:key="item.ID"
:label="item.SceneName"
:value="item.ID"> :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</el-popover> </el-popover>
</el-col> </el-col>
<!-- <el-col :span="4">
<span class="font-size-12" style="padding-right: 10px">客户类型</span>
<el-select size="mini" v-model="msg.CustomerType" placeholder="请选择" @change="getList">
<el-option key="0" label="客户" :value="0"></el-option>
<el-option key="1" label="直客" :value="1"></el-option>
</el-select>
</el-col> -->
<el-col :span="4"> <el-col :span="4">
<el-button icon="iconfont iconshaixuan" class="crm-btn query-btn crm-btn-mini margin-right0" @click="MsgBus.$emit('sceneBoxShow', 5)">高级筛选</el-button> <el-button icon="iconfont iconshaixuan" class="crm-btn query-btn crm-btn-mini margin-right0"
@click="MsgBus.$emit('sceneBoxShow', 5)">高级筛选</el-button>
</el-col> </el-col>
</el-row> </el-row>
<div v-else class="flex-center"> <div v-else class="flex-center">
<p class="font-size-12">已选 <span class="font-color-link">{{multipleSelection.length}}</span></p> <p class="font-size-12">已选 <span class="font-color-link">{{multipleSelection.length}}</span></p>
<div class="selection-box"> <div class="selection-box">
<el-button v-for="(item, index) in selectionList" :key="index" @click="item.myFun"><i :class="item.class"></i>{{item.name}}</el-button> <el-button v-for="(item, index) in selectionList" :key="index" @click="item.myFun"><i
:class="item.class"></i>{{item.name}}</el-button>
</div> </div>
</div> </div>
<div class="scene-wrapper" v-if="sceneList.length > 0"> <div class="scene-wrapper" v-if="sceneList.length > 0">
<ul class="list"> <ul class="list">
<li class="list-item" v-for="(item, index) in sceneList" :key="index"> <li class="list-item" v-for="(item, index) in sceneList" :key="index">
<span v-if="item.formType !== 'datetime'">{{item.str}}&nbsp;{{item.regionStr}}{{item.nameFC ? item.nameFC : item.value}}</span> <span
v-if="item.formType !== 'datetime'">{{item.str}}&nbsp;{{item.regionStr}}{{item.nameFC ? item.nameFC : item.value}}</span>
<span v-else>{{item.str}}&nbsp;{{item.start}}-{{item.end}}</span> <span v-else>{{item.str}}&nbsp;{{item.start}}-{{item.end}}</span>
<i class="el-icon-close icon" @click="deleteScene(index)"></i> <i class="el-icon-close icon" @click="deleteScene(index)"></i>
</li> </li>
...@@ -89,147 +84,149 @@ ...@@ -89,147 +84,149 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<el-table <el-table v-if="loading" v-loading="true" :data="[]">
v-if="loading" <el-table-column v-for="(item, index) in queryType2" :key="index" :label="item.label">
v-loading="true"
:data="[]">
<el-table-column
v-for="(item, index) in queryType2" :key="index"
:label="item.label">
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-table <el-table v-if="!loading" ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"
v-if="!loading" :height="sceneList.length > 0 ? '600' : '660'" border row-class-name="font-size-12"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
:height="sceneList.length > 0 ? '600' : '660'"
border
row-class-name="font-size-12"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="40"></el-table-column> <el-table-column fixed type="selection" width="40"></el-table-column>
<el-table-column <el-table-column fixed prop="GusetName" label="客户名称" width="120" v-if="queryType[0].show"
fixed
prop="GusetName"
label="客户名称"
width="120"
v-if="queryType[0].show"
show-overflow-tooltip> show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="width:100%;min-height:38px;line-height:38px;" class="cp" @click="openDetails(scope)"> <div style="width:100%;min-height:38px;line-height:38px;" class="cp"
@click="openDetails(scope)">
<p class="font-color-link cp">{{scope.row.GusetName}}</p> <p class="font-color-link cp">{{scope.row.GusetName}}</p>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="MobilePhone" label="手机号码" width="120" v-if="queryType[1].show" show-overflow-tooltip> <el-table-column prop="MobilePhone" label="手机号码" width="120" v-if="queryType[1].show"
</el-table-column> show-overflow-tooltip>
</el-table-column>
<el-table-column prop="CustomerSourceTypeStr" label="客户来源" v-if="queryType[3].show" show-overflow-tooltip> <el-table-column prop="Address" label="地址" v-if="queryType[2].show" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="ClueDemand" label="需求" v-if="queryType[33].show" show-overflow-tooltip> <el-table-column prop="CustomerSourceTypeStr" label="客户来源" v-if="queryType[3].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="SourceAccountName" label="来源细分" v-if="queryType[31].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="TraveNum" label="参团数" sortable v-if="queryType[4].show" show-overflow-tooltip>
<el-table-column prop="WeChatNo" label="微信号" v-if="queryType[32].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="OrderCount" label="订单交易数" sortable v-if="queryType[24].show"
<el-table-column prop="TraveNum" label="参团数" sortable v-if="queryType[4].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="OrderCount" label="订单交易数" sortable v-if="queryType[24].show" show-overflow-tooltip> <el-table-column prop="OrderMoney" label="交易金额" sortable v-if="queryType[25].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="OrderMoney" label="交易金额" sortable v-if="queryType[25].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="BirthdayAddress" label="出生地点" sortable v-if="queryType[28].show"
<el-table-column prop="BirthdayAddress" label="出生地点" sortable v-if="queryType[28].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="AddressDetail" label="家庭详细地址" sortable v-if="queryType[27].show" show-overflow-tooltip> <el-table-column prop="AddressDetail" label="家庭详细地址" sortable v-if="queryType[27].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="Address" label="地址" v-if="queryType[2].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="HistoryRecord" label="出境记录" sortable v-if="queryType[26].show"
<el-table-column prop="HistoryRecord" label="出境记录" sortable v-if="queryType[26].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="EconomicCapability" label="经济能力确认" sortable v-if="queryType[29].show" show-overflow-tooltip> <el-table-column prop="EconomicCapability" label="经济能力确认" sortable v-if="queryType[29].show"
show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-for="(item, index) in scope.row.EconomicCapability" :key="index">{{item.Value}}{{index === scope.row.EconomicCapability.length -1 ? '' : '、'}}</span> <span v-for="(item, index) in scope.row.EconomicCapability"
:key="index">{{item.Value}}{{index === scope.row.EconomicCapability.length -1 ? '' : '、'}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="IsRecommendStr" label="是否推存" sortable v-if="queryType[30].show" show-overflow-tooltip> <el-table-column prop="IsRecommendStr" label="是否推存" sortable v-if="queryType[30].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="BusinessCount" label="商机数" sortable v-if="queryType[5].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="BusinessCount" label="商机数" sortable v-if="queryType[5].show"
<el-table-column prop="ScoreNum" label="总评分" sortable v-if="queryType[6].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="Client_Balance" label="余额" sortable v-if="queryType[8].show" show-overflow-tooltip> <el-table-column prop="ScoreNum" label="总评分" sortable v-if="queryType[6].show" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="Birthday" label="生日" width="120" sortable v-if="queryType[13].show" show-overflow-tooltip> <el-table-column prop="Client_Balance" label="余额" sortable v-if="queryType[8].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="MarriageStr" label="是否结婚" sortable v-if="queryType[14].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="Birthday" label="生日" width="120" sortable v-if="queryType[13].show"
<el-table-column prop=" Duty" label="职务" sortable v-if="queryType[15].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="IsHightSchool" label="是否高中生" sortable width="120" v-if="queryType[16].show" show-overflow-tooltip> <el-table-column prop="MarriageStr" label="是否结婚" sortable v-if="queryType[14].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column prop=" Duty" label="职务" sortable v-if="queryType[15].show" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="IsHightSchool" label="是否高中生" sortable width="120" v-if="queryType[16].show"
show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<p>{{scope.row.IsHightSchool === 1 ? '是': '否'}}</p> <p>{{scope.row.IsHightSchool === 1 ? '是': '否'}}</p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop=" IdCard" label="身份证" sortable v-if="queryType[17].show" show-overflow-tooltip> <el-table-column prop=" IdCard" label="身份证" sortable v-if="queryType[17].show" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="PassportNo" label="护照号" sortable v-if="queryType[18].show" show-overflow-tooltip> <el-table-column prop="PassportNo" label="护照号" sortable v-if="queryType[18].show" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="PassportAddress" label="护照签发地" width="120" sortable v-if="queryType[19].show" show-overflow-tooltip> <el-table-column prop="PassportAddress" label="护照签发地" width="120" sortable v-if="queryType[19].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="PassportIssuedStr" label="护照签发日期" width="120" sortable v-if="queryType[20].show" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="PassportIssuedStr" label="护照签发日期" width="120" sortable v-if="queryType[20].show"
<el-table-column prop="PassportExpiryStr" label="护照过期时间" width="120" sortable v-if="queryType[21].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="IssuingAuthority" label="签发机关" sortable v-if="queryType[22].show" show-overflow-tooltip> <el-table-column prop="PassportExpiryStr" label="护照过期时间" width="120" sortable v-if="queryType[21].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="CustomerLevelStr" label="客户等级" sortable v-if="false" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="IssuingAuthority" label="签发机关" sortable v-if="queryType[22].show"
<el-table-column prop="Remarks" label="备注" sortable v-if="queryType[23].show" show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="UpdateDate" label="最后更新时间" sortable v-if="queryType[9].show" show-overflow-tooltip> <el-table-column prop="CustomerLevelStr" label="客户等级" sortable v-if="false" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="PersonChargeStr" label="负责人" sortable v-if="queryType[10].show" show-overflow-tooltip> <el-table-column prop="Remarks" label="备注" sortable v-if="queryType[23].show" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="CreateTimestr" label="创建时间" v-if="queryType[11].show" show-overflow-tooltip> <el-table-column prop="UpdateDate" label="最后更新时间" sortable v-if="queryType[9].show"
</el-table-column> show-overflow-tooltip>
<el-table-column prop="CreateByStr" label="创建人" v-if="queryType[12].show" width="120" show-overflow-tooltip> </el-table-column>
</el-table-column> <el-table-column prop="PersonChargeStr" label="负责人" sortable v-if="queryType[10].show"
<el-table-column prop="IsCarefor" fixed="right" width="50" label="关注"> show-overflow-tooltip>
</el-table-column>
<el-table-column prop="CreateTimestr" label="创建时间" v-if="queryType[11].show" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="CreateByStr" label="创建人" v-if="queryType[12].show" width="120"
show-overflow-tooltip>
</el-table-column>
<el-table-column prop="IsCarefor" fixed="right" width="50" label="关注">
<template slot-scope="scope"> <template slot-scope="scope">
<p> <p>
<el-tooltip class="item" effect="dark" content="关注" placement="top"> <el-tooltip class="item" effect="dark" content="关注" placement="top">
<i v-if="scope.row.IsCarefor === 0" @click="CareforCustomer(scope)" class="iconfont iconwujiaoxing cp"></i> <i v-if="scope.row.IsCarefor === 0" @click="CareforCustomer(scope)"
class="iconfont iconwujiaoxing cp"></i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="取消关注" placement="top"> <el-tooltip class="item" effect="dark" content="取消关注" placement="top">
<i v-if="scope.row.IsCarefor === 1" @click="CareforCustomer(scope)" class="iconfont iconstar_full cp"></i> <i v-if="scope.row.IsCarefor === 1" @click="CareforCustomer(scope)"
class="iconfont iconstar_full cp"></i>
</el-tooltip> </el-tooltip>
</p> </p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="40" fixed="right"> <el-table-column width="40" fixed="right">
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<el-popover <el-popover placement="bottom" width="240">
placement="bottom" <mySelect :queryType="queryType" @listenTochildEvent="showMessageFromChild" />
width="240">
<mySelect :queryType="queryType" @listenTochildEvent="showMessageFromChild"/>
<i class="el-icon-s-operation cp" slot="reference"></i> <i class="el-icon-s-operation cp" slot="reference"></i>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
<el-pagination class="Mypagination" background @current-change="handleCurrentChange" :page-sizes="[30, 60, 90, 100]" :page-size="msg.pageSize" layout="sizes, prev, pager, next" @size-change="handleSizeChange" :total="total"> <el-pagination class="Mypagination" background @current-change="handleCurrentChange"
:page-sizes="[30, 60, 90, 100]" :page-size="msg.pageSize" layout="sizes, prev, pager, next"
@size-change="handleSizeChange" :total="total">
</el-pagination> </el-pagination>
</div> </div>
<el-drawer :with-header="false" size='70%' :visible.sync="drawer" direction="rtl" :before-close="handleClose"> <el-drawer :with-header="false" size='70%' :visible.sync="drawer" direction="rtl" :before-close="handleClose">
<customerInfoBox :CustomerId="CustomerId" @transferS="transfer" @editCustS="editCust" /> <customerInfoBox :CustomerId="CustomerId" @transferS="transfer" @editCustS="editCust" />
</el-drawer> </el-drawer>
<div v-if="dialogTableVisible"> <div v-if="dialogTableVisible">
<customerDialogBox @getList="getList" :name="dialogTableVisibleName" :CustomerId="CustomerId" /> <customerDialogBox @getList="getList" :name="dialogTableVisibleName" :CustomerId="CustomerId" />
</div> </div>
<el-dialog :visible.sync="transferVisible" :close-on-click-modal="false" width="450px" custom-class="transfer-box add-box add-box2"> <el-dialog :visible.sync="transferVisible" :close-on-click-modal="false" width="450px"
custom-class="transfer-box add-box add-box2">
<div class="add-tit" slot="title"> <div class="add-tit" slot="title">
<p><span></span>客户转移</p> <p><span></span>客户转移</p>
<span icon="el-icon-close"></span> <span icon="el-icon-close"></span>
...@@ -238,7 +235,8 @@ ...@@ -238,7 +235,8 @@
<div class="MyEditForm-item"> <div class="MyEditForm-item">
<el-form-item label="变更负责人为" class="label-pad-left"> <el-form-item label="变更负责人为" class="label-pad-left">
<el-select filterable v-model="transferMsg.EmpId" placeholder="请选择"> <el-select filterable v-model="transferMsg.EmpId" placeholder="请选择">
<el-option v-for="item in EmployeeList" :label='item.EmName' :value='item.EmployeeId' :key='item.EmployeeId'> <el-option v-for="item in EmployeeList" :label='item.EmName' :value='item.EmployeeId'
:key='item.EmployeeId'>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -248,8 +246,8 @@ ...@@ -248,8 +246,8 @@
<el-button type="primary" class="add-box-btn" @click="transfer(2)">确 定</el-button> <el-button type="primary" class="add-box-btn" @click="transfer(2)">确 定</el-button>
<el-button class="add-box-btn add-box-cancel" @click="transferVisible = false">取 消</el-button> <el-button class="add-box-btn add-box-cancel" @click="transferVisible = false">取 消</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import mySelect from "../dialogModel/select"; import mySelect from "../dialogModel/select";
...@@ -450,16 +448,7 @@ ...@@ -450,16 +448,7 @@
}, { }, {
label: "是否推存", label: "是否推存",
show: true, show: true,
}, { }, ],
label: "来源细分",
show: true,
}, {
label: "微信号",
show: true,
}, {
label: "需求",
show: true,
},],
CustomerId: 0, CustomerId: 0,
CustomerIdStr: "", CustomerIdStr: "",
transferVisible: false, transferVisible: false,
...@@ -517,15 +506,14 @@ ...@@ -517,15 +506,14 @@
}, },
mounted() { mounted() {
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
console.log(this.queryType);
this.getList(); this.getList();
this.Employee(); this.Employee();
let $this = this; let $this = this;
this.MsgBus.$on("closeCustomerDialogBox", function() { this.MsgBus.$on("closeCustomerDialogBox", function () {
$this.dialogTableVisible = false; $this.dialogTableVisible = false;
}); });
this.GetSceneEmployeeList(); this.GetSceneEmployeeList();
this.MsgBus.$on("sceneSave", function(msg) { this.MsgBus.$on("sceneSave", function (msg) {
$this.sceneList = [...msg]; $this.sceneList = [...msg];
$this.GetSceneEmployeeList(); $this.GetSceneEmployeeList();
let obj = {}; let obj = {};
...@@ -535,8 +523,7 @@ ...@@ -535,8 +523,7 @@
$this.msg.Data = obj; $this.msg.Data = obj;
$this.getList(); $this.getList();
}); });
this.MsgBus.$on("editScene", function() { this.MsgBus.$on("editScene", function () {
console.log(1);
$this.GetSceneEmployeeList(); $this.GetSceneEmployeeList();
}); });
}, },
...@@ -604,30 +591,9 @@ ...@@ -604,30 +591,9 @@
(err) => {} (err) => {}
); );
}, },
//锁定
locking() {
console.log("锁定");
},
//解锁
Unlock() {
console.log("解锁");
},
//删除团队成员
delCust() {
console.log("删除团队成员");
},
//删除 //删除
delete() { delete() {
console.log("删除");
},
//导出
export () {
console.log("导出");
},
// 更改状态
changeState() {
console.log("更改状态");
}, },
// 关注 // 关注
CareforCustomer(scope) { CareforCustomer(scope) {
...@@ -708,7 +674,7 @@ ...@@ -708,7 +674,7 @@
handleClose(done) { handleClose(done) {
done(); done();
}, },
getList: function() { getList: function () {
this.tableData = []; this.tableData = [];
this.loading = true; this.loading = true;
this.apipost( this.apipost(
......
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