Commit 92d0fc06 by 无尘

fix: 修改分配

parent 7f960797
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 09:29:13
* @LastEditors: 无尘
* @LastEditTime: 2020-09-16 15:29:10
* @LastEditTime: 2020-09-17 09:49:00
*/
import getFetch from './get-fetch.js';
......@@ -53,7 +53,6 @@ let api = {
// 设置顾客资料数据
url: '/member/switch-setting',
method: 'post',
useFormData: true,
useIntercept: false
},
// 人群场景
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 09:22:30
* @LastEditTime: 2020-09-17 09:31:41
-->
<!--
<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>
......@@ -167,7 +167,7 @@ export default {
}
} else {
that.clerkOptions.forEach((ele, index) => {
ele.disabled = !ele.bindFlag ? true : false;
ele.disabled = !ele.status ? true : false;
});
}
});
......@@ -293,8 +293,8 @@ export default {
if (res.code == '0000') {
res.result.forEach(ele => {
ele.memberCount = 1;
ele.disabled = ele.bindFlag ? false : true; // 未绑定的禁止选择
if (!ele.bindFlag) {
ele.disabled = ele.status ? false : true; // 未绑定的禁止选择
if (!ele.status) {
that.unbindFlag = true; // 存在未绑定禁止全选
}
});
......
......@@ -6,6 +6,7 @@
<el-dropdown class="app-item-menu">
<i class="iconfont icongengduo1 menu-icon"></i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="toAppBack(el)">进入</el-dropdown-item>
<el-dropdown-item @click.native="toAppDetail(el)">应用详情</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
......@@ -45,6 +46,14 @@ export default {
this.appList = res.result || [];
});
},
/**
* @description: 进入后台
* @param {Object} appData
* @author: 无尘
*/
toAppBack(appData) {
this.$router.push(`${appData.menuUrl}`);
},
toAppDetail(appData) {
const { applicationId } = appData || {};
this.$router.push(`/app-detail?appId=${applicationId}`);
......@@ -80,7 +89,7 @@ export default {
margin-right: 20px;
margin-bottom: 20px;
padding: 10px;
width: 172px;
width: 185px;
height: 67px;
background: #FFFFFF;
border-radius: 4px;
......
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