Commit 56b97b49 by 无尘

fix: 修改分配

parent f9403315
.m-l-20[data-v-f56abb96]{margin-left:20px}.li-cell[data-v-f56abb96]{position:relative;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266}.li-cell .color-fff[data-v-f56abb96]{color:#fff}.li-cell.li-cell-active[data-v-f56abb96]{background:rgba(47,84,235,.05);color:#2f54eb}.li-cell.li-cell-active span[data-v-f56abb96]{color:#2f54eb}.li-cell.li-cell-active .color-fff[data-v-f56abb96]{color:rgba(47,84,235,.05)}.li-cell-inner[data-v-f56abb96]{line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.w-110[data-v-f56abb96]{width:110px}.w-320[data-v-f56abb96]{width:320px}.m-t-14[data-v-f56abb96]{margin-top:14px}.child-row[data-v-f56abb96]{padding-left:10px}.w-100[data-v-02c43482]{width:100px}.w-402[data-v-02c43482]{width:402px}.m-b-20[data-v-02c43482]{margin-bottom:20px}.p-l-18[data-v-02c43482]{padding-left:18px}.span-line[data-v-02c43482]{position:relative;padding:0 15px}.span-line[data-v-02c43482]:after{content:"";position:absolute;top:5px;height:11px;width:1px;background:#c4c6cf}.color-f5222d[data-v-02c43482]{color:#f5222d}.clerk-list-ul[data-v-02c43482]{min-height:40px;max-height:400px;overflow-y:auto}.check-all[data-v-02c43482]{background:#f5f7fa;height:36px;line-height:36px;padding:0 10px}.clerk-cell[data-v-02c43482]{height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #e4e7ed}.m-b-20[data-v-22011a24]{margin-bottom:20px}.w-274[data-v-22011a24]{width:274px}.w-168[data-v-21d0279c]{width:168px}.w-195[data-v-21d0279c]{width:195px}.line-h-18[data-v-21d0279c]{line-height:18px}.p-20[data-v-21d0279c]{padding:20px}.m-b-10[data-v-21d0279c]{margin-bottom:10px}.el-breadcrumb__inner.is-link[data-v-21d0279c]:hover,.el-breadcrumb__inner a[data-v-21d0279c]:hover{color:#2f54eb}.m-t-46[data-v-21d0279c]{margin-top:46px}.set-tip-item[data-v-21d0279c]{line-height:22px;padding-left:25px}.common-table-user .common-table-photo[data-v-21d0279c]{width:40px;max-width:40px;max-height:40px;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.common-table-user .common-table-photo img[data-v-21d0279c]{width:100%;max-width:40px;max-height:40px;border-radius:2px}.common-table-user .common-table-text[data-v-21d0279c]{padding-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.common-table-user .common-table-text .hide-ellipsis[data-v-21d0279c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-assign-wrap[data-v-21d0279c]{height:100%;background:#fff}.customer-assign-wrap .customer-assign-set[data-v-21d0279c]{padding:30px}.customer-assign-wrap .el-tabs[data-v-21d0279c] .el-tabs__header{margin:0}.customer-assign-wrap .list-body[data-v-21d0279c]{position:relative;width:100%}.customer-assign-wrap .list-body .list-left[data-v-21d0279c]{position:relative;width:200px;min-width:200px;max-width:200px;padding:20px 0 0 0}.customer-assign-wrap .list-body .list-right[data-v-21d0279c]{position:relative;min-width:calc(100% - 200px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}.customer-assign-wrap .list-body .list-right.no-left-list[data-v-21d0279c]{min-width:100%}.customer-assign-wrap .list-body .list-right .el-breadcrumb__item[data-v-21d0279c]{padding-bottom:10px}.customer-assign-wrap .list-body .list-right .el-dropdown-link[data-v-21d0279c]{cursor:pointer}.customer-assign-wrap .list-body .list-right .icongengduo[data-v-21d0279c]{font-size:12px;color:#909399}
\ No newline at end of file
.m-l-20[data-v-f56abb96]{margin-left:20px}.li-cell[data-v-f56abb96]{position:relative;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266}.li-cell .color-fff[data-v-f56abb96]{color:#fff}.li-cell.li-cell-active[data-v-f56abb96]{background:rgba(47,84,235,.05);color:#2f54eb}.li-cell.li-cell-active span[data-v-f56abb96]{color:#2f54eb}.li-cell.li-cell-active .color-fff[data-v-f56abb96]{color:rgba(47,84,235,.05)}.li-cell-inner[data-v-f56abb96]{line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.w-110[data-v-f56abb96]{width:110px}.w-320[data-v-f56abb96]{width:320px}.m-t-14[data-v-f56abb96]{margin-top:14px}.child-row[data-v-f56abb96]{padding-left:10px}.w-100[data-v-4567af1b]{width:100px}.w-402[data-v-4567af1b]{width:402px}.m-b-20[data-v-4567af1b]{margin-bottom:20px}.p-l-18[data-v-4567af1b]{padding-left:18px}.span-line[data-v-4567af1b]{position:relative;padding:0 15px}.span-line[data-v-4567af1b]:after{content:"";position:absolute;top:5px;height:11px;width:1px;background:#c4c6cf}.color-f5222d[data-v-4567af1b]{color:#f5222d}.clerk-list-ul[data-v-4567af1b]{min-height:40px;max-height:400px;overflow-y:auto}.check-all[data-v-4567af1b]{background:#f5f7fa;height:36px;line-height:36px;padding:0 10px}.clerk-cell[data-v-4567af1b]{height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #e4e7ed}.m-b-20[data-v-22011a24]{margin-bottom:20px}.w-274[data-v-22011a24]{width:274px}.w-168[data-v-21d0279c]{width:168px}.w-195[data-v-21d0279c]{width:195px}.line-h-18[data-v-21d0279c]{line-height:18px}.p-20[data-v-21d0279c]{padding:20px}.m-b-10[data-v-21d0279c]{margin-bottom:10px}.el-breadcrumb__inner.is-link[data-v-21d0279c]:hover,.el-breadcrumb__inner a[data-v-21d0279c]:hover{color:#2f54eb}.m-t-46[data-v-21d0279c]{margin-top:46px}.set-tip-item[data-v-21d0279c]{line-height:22px;padding-left:25px}.common-table-user .common-table-photo[data-v-21d0279c]{width:40px;max-width:40px;max-height:40px;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.common-table-user .common-table-photo img[data-v-21d0279c]{width:100%;max-width:40px;max-height:40px;border-radius:2px}.common-table-user .common-table-text[data-v-21d0279c]{padding-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.common-table-user .common-table-text .hide-ellipsis[data-v-21d0279c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-assign-wrap[data-v-21d0279c]{height:100%;background:#fff}.customer-assign-wrap .customer-assign-set[data-v-21d0279c]{padding:30px}.customer-assign-wrap .el-tabs[data-v-21d0279c] .el-tabs__header{margin:0}.customer-assign-wrap .list-body[data-v-21d0279c]{position:relative;width:100%}.customer-assign-wrap .list-body .list-left[data-v-21d0279c]{position:relative;width:200px;min-width:200px;max-width:200px;padding:20px 0 0 0}.customer-assign-wrap .list-body .list-right[data-v-21d0279c]{position:relative;min-width:calc(100% - 200px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}.customer-assign-wrap .list-body .list-right.no-left-list[data-v-21d0279c]{min-width:100%}.customer-assign-wrap .list-body .list-right .el-breadcrumb__item[data-v-21d0279c]{padding-bottom:10px}.customer-assign-wrap .list-body .list-right .el-dropdown-link[data-v-21d0279c]{cursor:pointer}.customer-assign-wrap .list-body .list-right .icongengduo[data-v-21d0279c]{font-size:12px;color:#909399}
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 14:09:54
* @LastEditTime: 2020-09-17 18:30:05
-->
<!--
<customer-assign v-if="assignShow" :store-brand-id="storeBrandId" :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 @@
<el-checkbox-group v-model="checkedClerks" @change="handleCheckedChange">
<template v-for="(item, index) in clerkOptions">
<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.status" 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.bindStaffFlag" class="font-14 color-f56c6c p-l-20">未关联企微用户</span>
<span v-if="!checked && checkedClerks.includes(item.clerkId)" class="p-l-20">
分配会员 <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>
......@@ -173,7 +173,7 @@ export default {
}
} else {
that.clerkOptions.forEach((ele, index) => {
ele.disabled = !ele.status ? true : false;
ele.disabled = !ele.bindStaffFlag ? true : false;
});
}
});
......@@ -299,8 +299,8 @@ export default {
if (res.code == '0000') {
res.result.forEach(ele => {
ele.memberCount = 1;
ele.disabled = ele.status ? false : true; // 未绑定的禁止选择
if (!ele.status) {
ele.disabled = ele.bindStaffFlag ? false : true; // 未绑定的禁止选择
if (!ele.bindStaffFlag) {
that.unbindFlag = true; // 存在未绑定禁止全选
}
});
......
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