Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7a033a91
authored
Jun 09, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
\{([\r\b\n\s\w\-"':=]* type: 'warning') {confirmButtonText: '确定',cancelButtonText: '取消',$1
1 parent
98bc2a79
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
27 additions
and
22 deletions
vue3-lw-pc/src/views/commodityCenter/commodityManage/list.vue
vue3-lw-pc/src/views/contentCenter/components/MaPage.vue
vue3-lw-pc/src/views/contentCenter/components/PosterAdd.vue
vue3-lw-pc/src/views/contentCenter/components/TalkMaPage.vue
vue3-lw-pc/src/views/contentCenter/templateWel/components/Tab.vue
vue3-lw-pc/src/views/customerManage/tag/list.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/index.vue
vue3-lw-pc/src/views/drainageCode/welcome/components/Tab.vue
vue3-lw-pc/src/views/enterpriseManage/contacts/organization.vue
vue3-lw-pc/src/views/intelligentShortLink/index.vue
vue3-lw-pc/src/views/internalCollaborate/appManage/list.vue
vue3-lw-pc/src/views/redPacketTool/enterprisePacket.vue
vue3-lw-pc/src/views/redPacketTool/staffManage.vue
vue3-lw-pc/src/views/commodityCenter/commodityManage/list.vue
View file @
7a033a9
...
@@ -127,9 +127,7 @@ export default {
...
@@ -127,9 +127,7 @@ export default {
/** 删除按钮操作 */
/** 删除按钮操作 */
remove
(
id
)
{
remove
(
id
)
{
const
operIds
=
id
||
this
.
ids
+
''
const
operIds
=
id
||
this
.
ids
+
''
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(
function
()
{
.
then
(
function
()
{
return
api
.
remove
(
operIds
)
return
api
.
remove
(
operIds
)
})
})
...
...
vue3-lw-pc/src/views/contentCenter/components/MaPage.vue
View file @
7a033a9
...
@@ -469,6 +469,8 @@ export default {
...
@@ -469,6 +469,8 @@ export default {
remove
(
id
)
{
remove
(
id
)
{
const
Ids
=
id
||
this
.
selected
+
''
const
Ids
=
id
||
this
.
selected
+
''
this
.
$confirm
(
'是否确认删除当前'
+
this
.
typeTitle
[
this
.
type
]
+
'?该操作不可撤销,请谨慎操作。'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除当前'
+
this
.
typeTitle
[
this
.
type
]
+
'?该操作不可撤销,请谨慎操作。'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
})
})
.
then
(
function
()
{
.
then
(
function
()
{
...
...
vue3-lw-pc/src/views/contentCenter/components/PosterAdd.vue
View file @
7a033a9
...
@@ -637,6 +637,8 @@ export default {
...
@@ -637,6 +637,8 @@ export default {
let
activeObject
=
canvas
.
getActiveObject
()
let
activeObject
=
canvas
.
getActiveObject
()
if
(
activeObject
)
{
if
(
activeObject
)
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
canvas
.
remove
(
activeObject
)
canvas
.
remove
(
activeObject
)
...
...
vue3-lw-pc/src/views/contentCenter/components/TalkMaPage.vue
View file @
7a033a9
...
@@ -346,6 +346,8 @@ export default {
...
@@ -346,6 +346,8 @@ export default {
const
Ids
=
id
||
this
.
selected
+
''
const
Ids
=
id
||
this
.
selected
+
''
let
_this
=
this
let
_this
=
this
this
.
$confirm
(
'是否确认删除当前'
+
this
.
typeTitle
[
this
.
type
]
+
'?该操作不可撤销,请谨慎操作。'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除当前'
+
this
.
typeTitle
[
this
.
type
]
+
'?该操作不可撤销,请谨慎操作。'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
})
})
.
then
(
function
()
{
.
then
(
function
()
{
...
...
vue3-lw-pc/src/views/contentCenter/templateWel/components/Tab.vue
View file @
7a033a9
...
@@ -168,9 +168,7 @@ export default {
...
@@ -168,9 +168,7 @@ export default {
/** 删除按钮操作 */
/** 删除按钮操作 */
remove
(
id
)
{
remove
(
id
)
{
// const operIds = id || this.ids + "";
// const operIds = id || this.ids + "";
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(()
=>
{
.
then
(()
=>
{
return
remove
(
id
)
return
remove
(
id
)
})
})
...
@@ -184,9 +182,7 @@ export default {
...
@@ -184,9 +182,7 @@ export default {
this
.
msgInfo
(
'请勾选需要删除的项!'
)
this
.
msgInfo
(
'请勾选需要删除的项!'
)
return
return
}
}
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(()
=>
{
.
then
(()
=>
{
return
remove
(
this
.
ids
.
join
(
','
))
return
remove
(
this
.
ids
.
join
(
','
))
})
})
...
...
vue3-lw-pc/src/views/customerManage/tag/list.vue
View file @
7a033a9
...
@@ -104,6 +104,8 @@ export default {
...
@@ -104,6 +104,8 @@ export default {
remove
(
id
)
{
remove
(
id
)
{
const
operIds
=
id
||
this
.
ids
+
''
const
operIds
=
id
||
this
.
ids
+
''
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/build/index.vue
View file @
7a033a9
...
@@ -460,7 +460,8 @@ export default {
...
@@ -460,7 +460,8 @@ export default {
document
.
getElementById
(
'copyNode'
).
click
()
document
.
getElementById
(
'copyNode'
).
click
()
},
},
empty
()
{
empty
()
{
this
.
$confirm
(
'确定要清空所有组件吗?'
,
'提示'
,
{
type
:
'warning'
}).
then
(()
=>
{
this
.
$confirm
(
'确定要清空所有组件吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
drawingList
=
[]
this
.
drawingList
=
[]
})
})
},
},
...
...
vue3-lw-pc/src/views/drainageCode/welcome/components/Tab.vue
View file @
7a033a9
...
@@ -133,9 +133,7 @@ export default {
...
@@ -133,9 +133,7 @@ export default {
/** 删除按钮操作 */
/** 删除按钮操作 */
remove
(
id
)
{
remove
(
id
)
{
// const operIds = id || this.ids + "";
// const operIds = id || this.ids + "";
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(()
=>
{
.
then
(()
=>
{
return
remove
(
id
)
return
remove
(
id
)
})
})
...
@@ -149,9 +147,7 @@ export default {
...
@@ -149,9 +147,7 @@ export default {
this
.
msgInfo
(
'请勾选需要删除的项!'
)
this
.
msgInfo
(
'请勾选需要删除的项!'
)
return
return
}
}
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(()
=>
{
.
then
(()
=>
{
return
remove
(
this
.
ids
.
join
(
','
))
return
remove
(
this
.
ids
.
join
(
','
))
})
})
...
...
vue3-lw-pc/src/views/enterpriseManage/contacts/organization.vue
View file @
7a033a9
...
@@ -327,6 +327,8 @@ export default {
...
@@ -327,6 +327,8 @@ export default {
return
return
}
}
this
.
$confirm
(
'是否确认更改当前成员角色?确认后即时生效'
,
'提示'
,
{
this
.
$confirm
(
'是否确认更改当前成员角色?确认后即时生效'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
...
@@ -385,9 +387,7 @@ export default {
...
@@ -385,9 +387,7 @@ export default {
this
.
multipleSelection
=
val
this
.
multipleSelection
=
val
},
},
departRemove
(
id
)
{
departRemove
(
id
)
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(
function
()
{
.
then
(
function
()
{
return
api
.
removeDepart
(
id
)
return
api
.
removeDepart
(
id
)
})
})
...
...
vue3-lw-pc/src/views/intelligentShortLink/index.vue
View file @
7a033a9
...
@@ -113,9 +113,7 @@ export default {
...
@@ -113,9 +113,7 @@ export default {
},
},
remove
(
id
)
{
remove
(
id
)
{
const
ids
=
id
||
this
.
ids
+
''
const
ids
=
id
||
this
.
ids
+
''
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
type
:
'warning'
,
})
.
then
(
function
()
{
.
then
(
function
()
{
return
remove
(
ids
)
return
remove
(
ids
)
})
})
...
...
vue3-lw-pc/src/views/internalCollaborate/appManage/list.vue
View file @
7a033a9
...
@@ -103,6 +103,8 @@ export default {
...
@@ -103,6 +103,8 @@ export default {
// const operIds = id || this.ids + ''
// const operIds = id || this.ids + ''
this
.
$confirm
(
'是否确认删除?该操作不可撤销,请谨慎操作。'
,
{
this
.
$confirm
(
'是否确认删除?该操作不可撤销,请谨慎操作。'
,
{
title
:
'警告'
,
title
:
'警告'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
})
})
.
then
(
function
()
{
.
then
(
function
()
{
...
...
vue3-lw-pc/src/views/redPacketTool/enterprisePacket.vue
View file @
7a033a9
...
@@ -325,6 +325,8 @@ export default {
...
@@ -325,6 +325,8 @@ export default {
}
,
}
,
startOrStop
({
id
,
status
}
)
{
startOrStop
({
id
,
status
}
)
{
this
.
$confirm
(
`确认${{ 0: '停用', 1: '启用'
}
[status]
}
吗?`
,
'警告'
,
{
this
.
$confirm
(
`确认${{ 0: '停用', 1: '启用'
}
[status]
}
吗?`
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}
).
then
(()
=>
{
}
).
then
(()
=>
{
startOrStop
({
startOrStop
({
...
@@ -338,6 +340,8 @@ export default {
...
@@ -338,6 +340,8 @@ export default {
}
,
}
,
remove
(
id
)
{
remove
(
id
)
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}
).
then
(()
=>
{
}
).
then
(()
=>
{
id
=
id
||
this
.
selectedIds
.
join
(
','
)
id
=
id
||
this
.
selectedIds
.
join
(
','
)
...
...
vue3-lw-pc/src/views/redPacketTool/staffManage.vue
View file @
7a033a9
...
@@ -265,6 +265,8 @@ export default {
...
@@ -265,6 +265,8 @@ export default {
},
},
remove
(
id
)
{
remove
(
id
)
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
id
=
id
||
this
.
selectedIds
.
join
(
','
)
id
=
id
||
this
.
selectedIds
.
join
(
','
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment