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
a1ac115f
Commit
a1ac115f
authored
Sep 07, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改标签接口
parent
9a0d0b74
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
9 deletions
+29
-9
my-customer-app.js
src/api/my-customer-app.js
+22
-4
tag-classify-list.vue
src/components/app/my-customer/tag-classify-list.vue
+3
-3
clerk-tag.vue
src/views/apps/customer-app/clerk-tag.vue
+4
-2
No files found.
src/api/my-customer-app.js
View file @
a1ac115f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 09:29:13
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
4 15:34:02
* @LastEditTime: 2020-09-0
7 15:41:07
*/
import
getFetch
from
'./get-fetch.js'
;
...
...
@@ -91,7 +91,13 @@ let api = {
},
// 导购标签
getTagClassify
:
'/tag-category-list'
,
// 获取导购标签分类
addClassify
:
'/tag-category-add'
,
// 新增分类
addClassify
:
{
// 新增分类
url
:
'/tag-category-add'
,
method
:
'post'
,
useFormData
:
true
,
useIntercept
:
false
},
delClassify
:
{
// 删除分类
url
:
'/tag-category-del'
,
...
...
@@ -100,9 +106,21 @@ let api = {
useIntercept
:
false
},
getClerkTag
:
'/member-tag-list'
,
// 获取导购标签
addClerkTag
:
'/member-tag-add'
,
// 新增导购标签
addClerkTag
:
{
// 新增导购标签
url
:
'/member-tag-add'
,
method
:
'post'
,
useFormData
:
true
,
useIntercept
:
false
},
getTagDetail
:
'/member-tag-detail'
,
// 获取标签详情
editClerkTag
:
'/member-tag-edit'
,
// 编辑导购标签
editClerkTag
:
{
// 编辑导购标签
url
:
'/member-tag-edit'
,
method
:
'post'
,
useFormData
:
true
,
useIntercept
:
false
},
delClerkTag
:
{
// 删除导购标签
url
:
'/'
,
...
...
src/components/app/my-customer/tag-classify-list.vue
View file @
a1ac115f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-09-01 11:09:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 15:
34:27
* @LastEditTime: 2020-09-07 15:
45:50
-->
<!--
<tag-classify-list :tag-list="tagList" :current-classify-id="currentClassifyId" :brand-id="brandId" @refreshClassify="refreshClassify" @changeClass="changeClass"></tag-classify-list>
...
...
@@ -18,8 +18,8 @@
<el-dropdown
placement=
"bottom-start"
>
<i
class=
"iconfont icongengduo edit-icon"
></i>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
@
click=
"toEditClassify(index, item)"
>
编辑
</el-dropdown-item>
<el-dropdown-item
@
click=
"toDelClassify(index, item)"
>
删除
</el-dropdown-item>
<el-dropdown-item
@
click
.
native
=
"toEditClassify(index, item)"
>
编辑
</el-dropdown-item>
<el-dropdown-item
@
click
.
native
=
"toDelClassify(index, item)"
>
删除
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
...
...
src/views/apps/customer-app/clerk-tag.vue
View file @
a1ac115f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 15:3
3:24
* @LastEditTime: 2020-09-07 15:3
8:09
-->
<
template
>
...
...
@@ -105,7 +105,9 @@ export default {
mounted
()
{
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'/clerk-tag'
);
that
.
getClassifyList
();
if
(
that
.
brandId
)
{
that
.
getClassifyList
();
}
},
// methods
methods
:
{
...
...
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