Commit 5a299d8f by 无尘

fix: 修改分配设置

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