Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
19fdfc00
Commit
19fdfc00
authored
May 27, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
fad325b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
manualTagEdit.vue
src/view/manualTag/manualTagEdit.vue
+4
-14
No files found.
src/view/manualTag/manualTagEdit.vue
View file @
19fdfc00
...
...
@@ -84,13 +84,13 @@
</
template
>
<!-- 删除的初始状态 -->
<
template
v-else
>
<el-popover
placement=
"top"
width=
"300"
trigger=
"click"
:
v-model=
"scope.row.showDelPopOver"
>
<el-popover
placement=
"top"
width=
"300"
trigger=
"click"
v-model=
"scope.row.showDelPopOver"
>
<p>
删除标签后,符合该标签值的会员对应标签值将同步删除。一旦删除将无法恢复,确认要删除吗?
</p>
<div
style=
"text-align: right; margin: 5px 0 0 0;"
>
<el-button
type=
"text"
size=
"mini"
@
click
=
"closeDelPopOver(scope.$index)
"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"delTagApi(scope.$index, scope.row)"
>
确定
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click
.
native=
"scope.row.showDelPopOver = false
"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click
.
native
=
"delTagApi(scope.$index, scope.row)"
>
确定
</el-button>
</div>
<el-button
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"
scope.row.showDelPopOver = true
"
>
<el-button
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"
function()
{}
">
删除
</el-button>
</el-popover>
...
...
@@ -306,16 +306,6 @@ export default {
}
},
methods
:
{
// 关闭删除标签值得popover弹窗
closeDelPopOver
(
index
)
{
let
data
=
this
.
tagValTableData
[
index
];
data
.
showDelPopOver
=
false
;
this
.
tagValTableData
.
splice
(
index
,
1
,
{});
this
.
$nextTick
(()
=>
{
this
.
tagValTableData
.
splice
(
index
,
1
,
data
);
})
},
// 保存标签基本信息
confirmSave
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
...
...
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