Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b035589d
authored
Aug 09, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
子账号管理:点击启用/禁用提示文案问题
parent
edb9b36d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
src/main.js
src/views/Info/subAccount.vue
src/main.js
View file @
b035589d
...
@@ -8,13 +8,18 @@ import axios from 'axios'
...
@@ -8,13 +8,18 @@ import axios from 'axios'
import
{
hideLoading
,
showLoading
}
from
'./ajax/loading'
;
import
{
hideLoading
,
showLoading
}
from
'./ajax/loading'
;
import
Util
from
"./tool"
;
import
Util
from
"./tool"
;
import
{
Message
}
from
'element-ui'
import
{
Alert
,
Message
,
MessageBox
}
from
'element-ui'
//加载全局样式
//加载全局样式
import
'@/assets/css/public/common.min.css'
import
'@/assets/css/public/common.min.css'
import
'@/assets/css/font/iconfont.css'
import
'@/assets/css/font/iconfont.css'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Alert
);
Vue
.
prototype
.
$msgbox
=
MessageBox
;
Vue
.
prototype
.
$alert
=
MessageBox
.
alert
;
Vue
.
prototype
.
$confirm
=
MessageBox
.
confirm
;
Vue
.
prototype
.
$prompt
=
MessageBox
.
prompt
;
Vue
.
prototype
.
$message
=
Message
;
//本地环境开启提示信息
//本地环境开启提示信息
...
...
src/views/Info/subAccount.vue
View file @
b035589d
...
@@ -72,12 +72,11 @@
...
@@ -72,12 +72,11 @@
<
script
>
<
script
>
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
Menu
from
"@/components/menu.vue"
;
import
{
A
lert
,
Autocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Popover
,
Radio
,
RadioButton
,
RadioGroup
,
Select
,
Table
,
TableColumn
,
Tag
,
Tooltip
}
from
'element-ui'
import
{
A
utocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Option
,
Pagination
,
Popover
,
Radio
,
RadioButton
,
RadioGroup
,
Select
,
Table
,
TableColumn
,
Tag
,
Tooltip
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Autocomplete
).
use
(
Radio
).
use
(
RadioGroup
).
use
(
RadioButton
);
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Autocomplete
).
use
(
Radio
).
use
(
RadioGroup
).
use
(
RadioButton
);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
).
use
(
Popover
).
use
(
Tag
).
use
(
Tooltip
)
.
use
(
Alert
)
;
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
).
use
(
Popover
).
use
(
Tag
).
use
(
Tooltip
);
export
default
{
export
default
{
name
:
"subAccount"
,
name
:
"subAccount"
,
...
@@ -138,7 +137,7 @@ export default {
...
@@ -138,7 +137,7 @@ export default {
}
else
{
}
else
{
var
html
=
`确定<span style="color: #E6A23C">禁用</span>当前子账号吗?<p style="font-size: 13px;color: #999;">PS:禁用后,该子账号无法再登录芯链系统</p>`
;
var
html
=
`确定<span style="color: #E6A23C">禁用</span>当前子账号吗?<p style="font-size: 13px;color: #999;">PS:禁用后,该子账号无法再登录芯链系统</p>`
;
}
}
MessageBox
(
html
,
'提示'
,
{
this
.
$confirm
(
html
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
type
,
type
:
type
,
...
@@ -163,7 +162,7 @@ export default {
...
@@ -163,7 +162,7 @@ export default {
*/
*/
confirmDelete
(
row
)
{
confirmDelete
(
row
)
{
var
html
=
`确定<span style="color: red;">删除</span>当前子账号吗?<p style="font-size: 13px;color: #999;">PS:删除后,该子账号从系统清除,无法再登录芯链系统!</p>`
;
var
html
=
`确定<span style="color: red;">删除</span>当前子账号吗?<p style="font-size: 13px;color: #999;">PS:删除后,该子账号从系统清除,无法再登录芯链系统!</p>`
;
MessageBox
(
html
,
'提示'
,
{
this
.
$confirm
(
html
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
...
...
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