Commit bddc52e6 by 无尘

fix: 修改分配

parent d62eff55
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-14 09:50:16 * @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-09 15:01:23 * @LastEditTime: 2020-09-17 09:22:30
--> -->
<!-- <!--
<customer-assign v-if="assignShow" :brand-id="brandId" :customer-assign-total="customerAssignTotal" :clerk-id="clerkId" :search-params="searchInput" :choose-all="selectRadio" :depart-obj="departObj" :multiple-data="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign> <customer-assign v-if="assignShow" :brand-id="brandId" :customer-assign-total="customerAssignTotal" :clerk-id="clerkId" :search-params="searchInput" :choose-all="selectRadio" :depart-obj="departObj" :multiple-data="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<el-checkbox-group v-model="checkedClerks" @change="handleCheckedChange"> <el-checkbox-group v-model="checkedClerks" @change="handleCheckedChange">
<template v-for="(item, index) in clerkOptions"> <template v-for="(item, index) in clerkOptions">
<li class="clerk-cell font-14 color-606266" :key="index + 'clerk'"> <li class="clerk-cell font-14 color-606266" :key="index + 'clerk'">
<el-checkbox :disabled="item.disabled" :label="item.clerkId" @change="changeCell($event, item)">{{ item.clerkName }}</el-checkbox><span v-if="!item.bindFlag" class="font-14 color-f56c6c p-l-20">未关联企微用户</span> <el-checkbox :disabled="item.disabled" :label="item.clerkId" @change="changeCell($event, item)">{{ item.clerkName }}</el-checkbox><span v-if="!item.status" class="font-14 color-f56c6c p-l-20">未关联企微用户</span>
<span v-if="!checked && checkedClerks.includes(item.clerkId)" class="p-l-20"> <span v-if="!checked && checkedClerks.includes(item.clerkId)" class="p-l-20">
分配会员 <span class="color-303133">{{ item.memberCount }}</span></span> 分配会员 <span class="color-303133">{{ item.memberCount }}</span></span>
<span v-if="checked && checkedClerks.includes(item.clerkId)" class="p-l-20 p-r-10">分配会员 </span><el-input-number v-if="checked && checkedClerks.includes(item.clerkId)" class="w-100" v-model="item.memberCount" controls-position="right" @blur="blurNum($event, item)" @change="handleChange" :step="1" step-strictly :min="1" :max="999999999"></el-input-number><span v-if="checked && checkedClerks.includes(item.clerkId)" class="p-l-10"></span> <span v-if="checked && checkedClerks.includes(item.clerkId)" class="p-l-20 p-r-10">分配会员 </span><el-input-number v-if="checked && checkedClerks.includes(item.clerkId)" class="w-100" v-model="item.memberCount" controls-position="right" @blur="blurNum($event, item)" @change="handleChange" :step="1" step-strictly :min="1" :max="999999999"></el-input-number><span v-if="checked && checkedClerks.includes(item.clerkId)" class="p-l-10"></span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-14 16:51:07 * @Date: 2020-08-14 16:51:07
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-16 17:56:44 * @LastEditTime: 2020-09-17 09:18:05
--> -->
<!-- <!--
<org-tree v-if="item.children.length" :item-data="item.children" @getSelectData="getSelectData"></org-tree> <org-tree v-if="item.children.length" :item-data="item.children" @getSelectData="getSelectData"></org-tree>
...@@ -126,6 +126,7 @@ export default { ...@@ -126,6 +126,7 @@ export default {
} }
&.li-cell-active { &.li-cell-active {
background: rgba(47, 84, 235, 0.05); background: rgba(47, 84, 235, 0.05);
color: #2f54eb;
span { span {
color: #2f54eb; color: #2f54eb;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-20 14:36:37 * @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-16 18:02:01 * @LastEditTime: 2020-09-17 09:18:41
--> -->
<template> <template>
<div class="customer-assign-wrap"> <div class="customer-assign-wrap">
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</div> </div>
<div class="table-top flex flex-space-between"> <div class="table-top flex flex-space-between">
<div> <div>
<el-input placeholder="请输入姓名/昵称/会员卡号" maxlength="50" prefix-icon="el-icon-search" v-model="searchInput" class="w-264" style="width: 264px;" clearable @clear="clearSearch" @keyup.native="value => toInput(value, searchInput)"> </el-input><el-select class="w-168 m-l-10" v-model="clerkId" placeholder="" @change="changeCondition"> <el-input placeholder="请输入姓名/昵称/会员卡号" maxlength="50" prefix-icon="el-icon-search" v-model="searchInput" style="width: 274px;" clearable @clear="clearSearch" @keyup.native="value => toInput(value, searchInput)"> </el-input><el-select class="w-168 m-l-10" v-model="clerkId" placeholder="" @change="changeCondition">
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<!-- <el-option label="无归属" value="-1"></el-option> --> <!-- <el-option label="无归属" value="-1"></el-option> -->
<el-option v-for="item in clerkOptions" :key="item.clerkId" :label="item.clerkName" :value="item.clerkId"> </el-option> <el-option v-for="item in clerkOptions" :key="item.clerkId" :label="item.clerkName" :value="item.clerkId"> </el-option>
......
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