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
Hide 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) {
...
@@ -88,9 +88,6 @@ export function getScategorymg(parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/branch-service-list'
,
url
:
homeUrl
+
'branch/branch-service-types/branch-service-list'
,
method
:
'get'
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
},
params
:
parameter
params
:
parameter
})
})
}
}
...
@@ -99,20 +96,14 @@ export function addScategorymg (parameter) {
...
@@ -99,20 +96,14 @@ export function addScategorymg (parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/add-branch-service'
,
url
:
homeUrl
+
'branch/branch-service-types/add-branch-service'
,
method
:
'post'
,
method
:
'post'
,
data
:
parameter
,
data
:
parameter
headers
:
{
"Authorization"
:
loginToken
}
})
})
}
}
// 获取门店服务类目详情
// 获取门店服务类目详情
export
function
getScategorymgDetails
(
id
)
{
export
function
getScategorymgDetails
(
id
)
{
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/branch-service-info?code='
+
id
,
url
:
homeUrl
+
'branch/branch-service-types/branch-service-info?code='
+
id
,
method
:
'get'
,
method
:
'get'
headers
:
{
"Authorization"
:
loginToken
}
})
})
}
}
//修改门店服务类目
//修改门店服务类目
...
@@ -122,9 +113,6 @@ export function modifyScategorymgDetails(parameter) {
...
@@ -122,9 +113,6 @@ export function modifyScategorymgDetails(parameter) {
url
:
homeUrl
+
'branch/branch-service-types/revise-branch-service'
,
url
:
homeUrl
+
'branch/branch-service-types/revise-branch-service'
,
// url:'http://localhost/hantengfei/newShopBack1/backend/web/v1/branch/branch-service-types/revise-branch-service',
// url:'http://localhost/hantengfei/newShopBack1/backend/web/v1/branch/branch-service-types/revise-branch-service',
method
:
'put'
,
method
:
'put'
,
headers
:
{
"Authorization"
:
loginToken
},
data
:
parameter
data
:
parameter
})
})
}
}
...
@@ -135,9 +123,6 @@ export function deleteScategorymg(id) {
...
@@ -135,9 +123,6 @@ export function deleteScategorymg(id) {
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-service-types/del-branch-service'
,
url
:
homeUrl
+
'branch/branch-service-types/del-branch-service'
,
method
:
'delete'
,
method
:
'delete'
,
headers
:
{
"Authorization"
:
loginToken
},
data
:
{
"GUID"
:
id
}
data
:
{
"GUID"
:
id
}
})
})
}
}
...
@@ -147,9 +132,6 @@ export function getCerfmg(parameter) {
...
@@ -147,9 +132,6 @@ export function getCerfmg(parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-licences/licence-list'
,
url
:
homeUrl
+
'branch/branch-licences/licence-list'
,
method
:
'get'
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
},
params
:
parameter
params
:
parameter
})
})
}
}
...
@@ -158,9 +140,6 @@ export function getCerfmgDetails(id) {
...
@@ -158,9 +140,6 @@ export function getCerfmgDetails(id) {
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-licences/licence-detail?GUID='
+
id
,
url
:
homeUrl
+
'branch/branch-licences/licence-detail?GUID='
+
id
,
method
:
'get'
,
method
:
'get'
,
headers
:
{
"Authorization"
:
loginToken
},
data
:
{
"GUID"
:
id
}
data
:
{
"GUID"
:
id
}
})
})
}
}
...
@@ -169,10 +148,7 @@ export function addCerfmg (parameter) {
...
@@ -169,10 +148,7 @@ export function addCerfmg (parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
'branch/branch-licences/licence-insert'
,
url
:
homeUrl
+
'branch/branch-licences/licence-insert'
,
method
:
'post'
,
method
:
'post'
,
data
:
parameter
,
data
:
parameter
headers
:
{
"Authorization"
:
loginToken
}
})
})
}
}
/**
/**
...
...
src/api/token.js
View file @
d803750a
const
loginToken
=
"Bearer
y7PPfQxs7plOe8o8K8zDhPlpQVgYWrsE
"
;
const
loginToken
=
"Bearer
ZS8zqqwpmWGeLxb0svzb6zXI2oRuApKL
"
;
export
default
loginToken
export
default
loginToken
\ No newline at end of file
src/api/userstaff.js
View file @
d803750a
...
@@ -24,9 +24,6 @@ export function getPermissions(parameter) {
...
@@ -24,9 +24,6 @@ export function getPermissions(parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
"shopuser/shop-users/employee-list"
,
url
:
homeUrl
+
"shopuser/shop-users/employee-list"
,
method
:
'get'
,
method
:
'get'
,
headers
:
{
'Authorization'
:
loginToken
},
params
:
parameter
params
:
parameter
})
})
}
}
...
@@ -34,10 +31,7 @@ export function getPermissions(parameter) {
...
@@ -34,10 +31,7 @@ export function getPermissions(parameter) {
export
function
getEminformanDetails
(
id
)
{
export
function
getEminformanDetails
(
id
)
{
return
axios
({
return
axios
({
url
:
homeUrl
+
'shopuser/shop-users/employee-info?id='
+
id
,
url
:
homeUrl
+
'shopuser/shop-users/employee-info?id='
+
id
,
method
:
'get'
,
method
:
'get'
headers
:
{
"Authorization"
:
loginToken
}
// data: { "GUID": id }
// data: { "GUID": id }
})
})
}
}
...
@@ -51,9 +45,6 @@ export function getServiceList(parameter) {
...
@@ -51,9 +45,6 @@ export function getServiceList(parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
"shopuser/user-complains/user-complain"
,
url
:
homeUrl
+
"shopuser/user-complains/user-complain"
,
method
:
'get'
,
method
:
'get'
,
headers
:
{
'Authorization'
:
loginToken
},
params
:
parameter
params
:
parameter
})
})
}
}
...
@@ -66,9 +57,6 @@ export function getOrgTree(parameter) {
...
@@ -66,9 +57,6 @@ export function getOrgTree(parameter) {
return
axios
({
return
axios
({
url
:
homeUrl
+
"shopuser/user-departments/department"
,
url
:
homeUrl
+
"shopuser/user-departments/department"
,
method
:
'get'
,
method
:
'get'
,
headers
:
{
'Authorization'
:
loginToken
},
params
:
parameter
params
:
parameter
})
})
}
}
...
@@ -134,10 +122,7 @@ export function getUserGroupDetails (id) {
...
@@ -134,10 +122,7 @@ export function getUserGroupDetails (id) {
export
function
getUListUserGroup
()
{
export
function
getUListUserGroup
()
{
return
axios
({
return
axios
({
url
:
homeUrl
+
'shopuser/shop-user-lists/get-member-grade-list'
,
url
:
homeUrl
+
'shopuser/shop-user-lists/get-member-grade-list'
,
method
:
'get'
,
method
:
'get'
headers
:
{
"Authorization"
:
loginToken
}
})
})
}
}
// 用户列表详情
// 用户列表详情
...
...
src/config/router.config.js
View file @
d803750a
...
@@ -114,6 +114,7 @@ export const asyncRouterMap = [
...
@@ -114,6 +114,7 @@ export const asyncRouterMap = [
name
:
'branchservice_add'
,
name
:
'branchservice_add'
,
hidden
:
true
,
hidden
:
true
,
component
:
()
=>
import
(
'@/views/storedc/details/branchservice_add'
),
component
:
()
=>
import
(
'@/views/storedc/details/branchservice_add'
),
// component:addbranchservice,
meta
:
{
title
:
'添加服务类目'
,
keepAlive
:
true
,
permission
:
[
'table'
]
}
meta
:
{
title
:
'添加服务类目'
,
keepAlive
:
true
,
permission
:
[
'table'
]
}
},
},
{
{
...
...
src/views/storedc/Cerfmg.vue
View file @
d803750a
...
@@ -56,7 +56,6 @@
...
@@ -56,7 +56,6 @@
size=
"default"
size=
"default"
rowKey=
"GUID"
rowKey=
"GUID"
:columns=
"columns"
:columns=
"columns"
:data=
"loadData"
showPagination=
"auto"
showPagination=
"auto"
:rowClassName=
"setRowClassName"
:rowClassName=
"setRowClassName"
>
>
...
...
src/views/storedc/Scategorymg.vue
View file @
d803750a
<
template
>
<
template
>
<a-card
:bordered=
"false"
>
<a-card
:bordered=
"false"
>
<div
class=
"table-operator"
>
<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-upload"
>
导出服务类目
</a-button>
<a-button
type=
"primary"
icon=
"cloud-download"
>
导入服务类目
</a-button>
<a-button
type=
"primary"
icon=
"cloud-download"
>
导入服务类目
</a-button>
<a-button
type=
"primary"
icon=
"download"
>
下载导入模板
</a-button>
<a-button
type=
"primary"
icon=
"download"
>
下载导入模板
</a-button>
...
@@ -170,9 +170,9 @@ export default {
...
@@ -170,9 +170,9 @@ export default {
})
})
.
catch
(
err
=>
{})
.
catch
(
err
=>
{})
},
},
handleadd
()
{
//
handleadd() {
this
.
$router
.
push
({
path
:
'/storedc/branchservice_add'
})
//
this.$router.push({ path: '/storedc/branchservice_add' })
},
//
},
handleOk
()
{
handleOk
()
{
let
GUID
=
this
.
GUID
let
GUID
=
this
.
GUID
const
{
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