Commit 5a299d8f by 无尘

fix: 修改分配设置

parent e1156a14
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-11 14:34:44
* @LastEditTime: 2020-09-14 09:20:59
-->
<template>
<div class="customer-assign-wrap">
......@@ -234,7 +234,7 @@ export default {
saveCustomerSet(para)
.then(res => {
that.loadingSet = false;
that.getCustomerData();
that.getSetData();
if (res.code == '0000') {
showMsg.showmsg('操作成功', 'success');
}else {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-08-21 10:42:33
* @LastEditTime: 2020-09-11 17:33:26
-->
<template>
<div id="index">
......@@ -179,7 +179,8 @@ export default {
methods: {
/**
* 跳转更多 udesk
* @description: 跳转更多 udesk
* @author: 无尘
*/
goUdesk() {
window.open('https://demogic.udesk.cn/hc/categories/96671?api_name=');
......@@ -256,9 +257,10 @@ export default {
return 29 + ((m >> n) & 1);
},
/**
* 帮助中心跳转
* @description: 帮助中心跳转
* @param {Object} item
* @returns {Boolean}
* @author: 无尘
*/
toRedirect(item) {
if (!item.helpUrl) {
......@@ -267,24 +269,26 @@ export default {
window.open(item.helpUrl);
},
/**
* 路由跳转
* @description: 路由跳转
* @param {String} route
* @author: 无尘
*/
changeRoute(route) {
this.$router.push(route);
},
/**
* 跳转溢出门店
* @description: 跳转溢出门店
* @author: 无尘
*/
toOverStore() {
const that = this;
that.changeRoute('/overStoreList');
},
/**
* 跳转应用
* @description: 跳转应用
* @param {Object} item
* @returns {Boolean}
* @author: 无尘
*/
toAppView(item) {
const that = this;
......@@ -295,18 +299,18 @@ export default {
}
that.changeRoute(`${item.applicationPath}`);
},
/**
* 跳转购买
* @description: 跳转购买
* @author: 无尘
*/
goShopping() {
const that = this;
that.changeRoute('/');
},
/**
* 处理路由跳转
* @description: 处理路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView(val) {
const that = this;
......@@ -315,15 +319,14 @@ export default {
path: val.path
});
},
/**
* 启用停用应用
* @description: 启用停用应用
* @param {Object} item
* @author: 无尘
*/
changeSwitch(item) {
const that = this;
let flag = item.openFlag == 1 ? '关闭' : '开启';
that
.$confirm(`确认${flag}${item.applicationName}】应用吗?`, '提示', {
confirmButtonText: '确定',
......@@ -338,16 +341,17 @@ export default {
});
},
/**
* 折叠事件
* @description: 折叠事件
* @param {String} val
* @author: 无尘
*/
collapseTag(val) {
const that = this;
that.collapseFlag = val;
},
/**
* 弹窗提示
* @description: 弹窗提示
* @author: 无尘
*/
toAlert() {
const that = this;
......@@ -371,8 +375,7 @@ export default {
.then(() => {
window.open('');
});
},
}
}
};
</script>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 10:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-08-18 18:16:01
* @LastEditTime: 2020-09-11 17:34:41
-->
<template>
<div class="login-wrap">
......@@ -54,11 +54,11 @@ export default {
localStorage.removeItem('haoBanUser');
}
},
methods: {
/**
* 处理路由跳转
* @description: 处理路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView(val) {
const that = this;
......@@ -69,7 +69,8 @@ export default {
},
/**
* 登录---获取二维码字符串 API
* @description: 登录---获取二维码字符串 API
* @author: 无尘
*/
getQrcode() {
getLoginQrcode({})
......
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