Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
5a299d8f
Commit
5a299d8f
authored
Sep 14, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改分配设置
parent
e1156a14
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
25 deletions
+29
-25
customer-assign.vue
src/views/apps/customer-app/customer-assign.vue
+2
-2
index.vue
src/views/index/index.vue
+22
-19
index.vue
src/views/login/index.vue
+5
-4
No files found.
src/views/apps/customer-app/customer-assign.vue
View file @
5a299d8f
...
@@ -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-1
1 14:34:44
* @LastEditTime: 2020-09-1
4 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
.
get
Customer
Data
();
that
.
get
Set
Data
();
if
(
res
.
code
==
'0000'
)
{
if
(
res
.
code
==
'0000'
)
{
showMsg
.
showmsg
(
'操作成功'
,
'success'
);
showMsg
.
showmsg
(
'操作成功'
,
'success'
);
}
else
{
}
else
{
...
...
src/views/index/index.vue
View file @
5a299d8f
...
@@ -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-0
8-21 10:42:33
* @LastEditTime: 2020-0
9-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
>
...
...
src/views/login/index.vue
View file @
5a299d8f
...
@@ -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-0
8-18 18:16:0
1
* @LastEditTime: 2020-0
9-11 17:34:4
1
-->
-->
<
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
({})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment