Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing-opeartion
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
gic-web
marketing-opeartion
Commits
e9891b38
Commit
e9891b38
authored
Mar 23, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 营销活动管理调整
parent
cc9ced43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CategoryDialog.vue
src/views/activity/component/CategoryDialog.vue
+5
-5
No files found.
src/views/activity/component/CategoryDialog.vue
View file @
e9891b38
...
...
@@ -10,9 +10,9 @@
<draggable
tag=
"ul"
:list=
"list"
class=
"list-group"
handle=
".handle"
>
<li
class=
"list-group-item"
v-for=
"(item, idx) in list"
:key=
"idx"
>
<el-form-item
:prop=
"idx+'.categoryName'"
:rules=
"rules.categoryName"
>
<
p
class=
"show-name"
v-show=
"!item.isEdit"
>
{{
list
[
idx
].
categoryName
}}
</p
>
<el-input
v-model=
"list[idx].categoryName
"
v-show=
"item.isEdit
"
style=
"width:4
30
px;"
@
keyup
.
enter
.
native=
"saveEdit(idx)"
>
<
!--
<p
class=
"show-name"
v-show=
"!item.isEdit"
>
{{
list
[
idx
].
categoryName
}}
</p>
--
>
<el-input
v-model=
"list[idx].categoryName"
style=
"width:4
66
px;"
@
keyup
.
enter
.
native=
"saveEdit(idx)"
>
</el-input>
</el-form-item>
<div
class=
"btn-wrap"
>
...
...
@@ -21,8 +21,8 @@
<el-button
type=
"text"
@
click=
"saveEdit(idx)"
>
保存
</el-button>
</
template
>
<
template
v-else
>
<span
class=
"icon-span"
@
click=
"editItem(idx)"
><i
class=
"iconfont-components3 icon-cp-edit-outlined"
/></span>
<
!--
<
span
class=
"icon-span"
@
click=
"editItem(idx)"
><i
class=
"iconfont-components3 icon-cp-edit-outlined"
/></span>
-->
<span
class=
"icon-span"
@
click=
"onDeleteItem(idx)"
><i
class=
"iconfont-components3 icon-cp-DeleteOutlined"
/></span>
<el-tooltip
popper-class=
"category-dialog-tooltip"
effect=
"dark"
content=
"拖拽排序"
...
...
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