Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
newShopFront
Project
Project
Details
Activity
Releases
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
newshop
newShopFront
Commits
d803750a
Commit
d803750a
authored
Nov 26, 2019
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
htf
parent
28e6fa88
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
50 deletions
+11
-50
store.js
src/api/store.js
+3
-27
token.js
src/api/token.js
+1
-1
userstaff.js
src/api/userstaff.js
+2
-17
router.config.js
src/config/router.config.js
+1
-0
Cerfmg.vue
src/views/storedc/Cerfmg.vue
+0
-1
Scategorymg.vue
src/views/storedc/Scategorymg.vue
+4
-4
No files found.
src/api/store.js
View file @
d803750a
...
...
@@ -88,9 +88,6 @@ export function getScategorymg(parameter) {
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/branch-service-list'
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
},
params
:
parameter
})
}
...
...
@@ -99,20 +96,14 @@ export function addScategorymg (parameter) {
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/add-branch-service'
,
method
:
'post'
,
data
:
parameter
,
headers
:
{
"Authorization"
:
loginToken
}
data
:
parameter
})
}
// 获取门店服务类目详情
export
function
getScategorymgDetails
(
id
)
{
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/branch-service-info?code='
+
id
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
}
method
:
'get'
})
}
//修改门店服务类目
...
...
@@ -122,9 +113,6 @@ export function modifyScategorymgDetails(parameter) {
url
:
homeUrl
+
'branch/branch-service-types/revise-branch-service'
,
// url:'http://localhost/hantengfei/newShopBack1/backend/web/v1/branch/branch-service-types/revise-branch-service',
method
:
'put'
,
headers
:
{
"Authorization"
:
loginToken
},
data
:
parameter
})
}
...
...
@@ -135,9 +123,6 @@ export function deleteScategorymg(id) {
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/del-branch-service'
,
method
:
'delete'
,
headers
:
{
"Authorization"
:
loginToken
},
data
:
{
"GUID"
:
id
}
})
}
...
...
@@ -147,9 +132,6 @@ export function getCerfmg(parameter) {
return
axios
({
url
:
homeUrl
+
'branch/branch-licences/licence-list'
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
},
params
:
parameter
})
}
...
...
@@ -158,9 +140,6 @@ export function getCerfmgDetails(id) {
return
axios
({
url
:
homeUrl
+
'branch/branch-licences/licence-detail?GUID='
+
id
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
},
data
:
{
"GUID"
:
id
}
})
}
...
...
@@ -169,10 +148,7 @@ export function addCerfmg (parameter) {
return
axios
({
url
:
homeUrl
+
'branch/branch-licences/licence-insert'
,
method
:
'post'
,
data
:
parameter
,
headers
:
{
"Authorization"
:
loginToken
}
data
:
parameter
})
}
/**
...
...
src/api/token.js
View file @
d803750a
const
loginToken
=
"Bearer
y7PPfQxs7plOe8o8K8zDhPlpQVgYWrsE
"
;
const
loginToken
=
"Bearer
ZS8zqqwpmWGeLxb0svzb6zXI2oRuApKL
"
;
export
default
loginToken
\ No newline at end of file
src/api/userstaff.js
View file @
d803750a
...
...
@@ -24,9 +24,6 @@ export function getPermissions(parameter) {
return
axios
({
url
:
homeUrl
+
"shopuser/shop-users/employee-list"
,
method
:
'get'
,
headers
:
{
'Authorization'
:
loginToken
},
params
:
parameter
})
}
...
...
@@ -34,10 +31,7 @@ export function getPermissions(parameter) {
export
function
getEminformanDetails
(
id
)
{
return
axios
({
url
:
homeUrl
+
'shopuser/shop-users/employee-info?id='
+
id
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
}
method
:
'get'
// data: { "GUID": id }
})
}
...
...
@@ -51,9 +45,6 @@ export function getServiceList(parameter) {
return
axios
({
url
:
homeUrl
+
"shopuser/user-complains/user-complain"
,
method
:
'get'
,
headers
:
{
'Authorization'
:
loginToken
},
params
:
parameter
})
}
...
...
@@ -66,9 +57,6 @@ export function getOrgTree(parameter) {
return
axios
({
url
:
homeUrl
+
"shopuser/user-departments/department"
,
method
:
'get'
,
headers
:
{
'Authorization'
:
loginToken
},
params
:
parameter
})
}
...
...
@@ -134,10 +122,7 @@ export function getUserGroupDetails (id) {
export
function
getUListUserGroup
()
{
return
axios
({
url
:
homeUrl
+
'shopuser/shop-user-lists/get-member-grade-list'
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
}
method
:
'get'
})
}
// 用户列表详情
...
...
src/config/router.config.js
View file @
d803750a
...
...
@@ -114,6 +114,7 @@ export const asyncRouterMap = [
name
:
'branchservice_add'
,
hidden
:
true
,
component
:
()
=>
import
(
'@/views/storedc/details/branchservice_add'
),
// component:addbranchservice,
meta
:
{
title
:
'添加服务类目'
,
keepAlive
:
true
,
permission
:
[
'table'
]
}
},
{
...
...
src/views/storedc/Cerfmg.vue
View file @
d803750a
...
...
@@ -56,7 +56,6 @@
size=
"default"
rowKey=
"GUID"
:columns=
"columns"
:data=
"loadData"
showPagination=
"auto"
:rowClassName=
"setRowClassName"
>
...
...
src/views/storedc/Scategorymg.vue
View file @
d803750a
<
template
>
<a-card
:bordered=
"false"
>
<div
class=
"table-operator"
>
<a-button
@
click=
"handle
add"
type=
"primary"
icon=
"plus"
>
添加服务类目
</a-button>
<a-button
link=
"/storedc/branchservice_
add"
type=
"primary"
icon=
"plus"
>
添加服务类目
</a-button>
<a-button
type=
"primary"
icon=
"cloud-upload"
>
导出服务类目
</a-button>
<a-button
type=
"primary"
icon=
"cloud-download"
>
导入服务类目
</a-button>
<a-button
type=
"primary"
icon=
"download"
>
下载导入模板
</a-button>
...
...
@@ -170,9 +170,9 @@ export default {
})
.
catch
(
err
=>
{})
},
handleadd
()
{
this
.
$router
.
push
({
path
:
'/storedc/branchservice_add'
})
},
//
handleadd() {
//
this.$router.push({ path: '/storedc/branchservice_add' })
//
},
handleOk
()
{
let
GUID
=
this
.
GUID
const
{
...
...
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