Commit d803750a authored by Your Name's avatar Your Name

htf

parent 28e6fa88
...@@ -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
}
}) })
} }
/** /**
......
const loginToken = "Bearer y7PPfQxs7plOe8o8K8zDhPlpQVgYWrsE"; const loginToken = "Bearer ZS8zqqwpmWGeLxb0svzb6zXI2oRuApKL";
export default loginToken export default loginToken
\ No newline at end of file
...@@ -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
}
}) })
} }
// 用户列表详情 // 用户列表详情
......
...@@ -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' ] }
}, },
{ {
......
...@@ -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"
> >
......
<template> <template>
<a-card :bordered="false"> <a-card :bordered="false">
<div class="table-operator"> <div class="table-operator">
<a-button @click="handleadd" 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 {
......
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