Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
fulixin
dsk-operate-sys-cscec
Commits
fb69124b
Commit
fb69124b
authored
Oct 25, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
76003b2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
5 deletions
+27
-5
enterpriseManagement.js
...e-ui/src/api/enterpriseManagement/enterpriseManagement.js
+8
-0
index.vue
dsk-operate-ui/src/views/enterpriseManagement/index.vue
+19
-5
No files found.
dsk-operate-ui/src/api/enterpriseManagement/enterpriseManagement.js
View file @
fb69124b
...
@@ -37,6 +37,14 @@ export function getTenantPackage(param) {
...
@@ -37,6 +37,14 @@ export function getTenantPackage(param) {
params
:
param
params
:
param
})
})
}
}
//同步企业方案
export
function
syncTenantPackage
(
param
)
{
return
request
({
url
:
'/system/tenant/syncTenantPackage'
,
method
:
'get'
,
params
:
param
})
}
//租户列表
//租户列表
export
function
getTenantList
(
param
)
{
export
function
getTenantList
(
param
)
{
...
...
dsk-operate-ui/src/views/enterpriseManagement/index.vue
View file @
fb69124b
...
@@ -217,11 +217,11 @@
...
@@ -217,11 +217,11 @@
:visible
.
sync=
"dialogVisible1"
:visible
.
sync=
"dialogVisible1"
custom-class=
"sync"
custom-class=
"sync"
width=
"400px"
>
width=
"400px"
>
<p><i
class=
"el-icon-warning-outline"
style=
"margin-right: 8px;"
></i>
是否确认同步?
</p>
<p
style=
"font-size: 16px;"
><i
class=
"el-icon-warning-outline"
style=
"margin-right: 8px;"
></i>
是否确认同步?
</p>
<p>
温馨提示:此操作可能会影响正在使用的用户,建议合理安排同步时间
</p>
<p>
温馨提示:此操作可能会影响正在使用的用户,建议合理安排同步时间
</p>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible1 = false"
>
取消
</el-button>
<el-button
@
click=
"dialogVisible1 = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"
c
onfirm()"
>
同步
</el-button>
<el-button
type=
"primary"
@
click=
"
handleC
onfirm()"
>
同步
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -234,7 +234,8 @@
...
@@ -234,7 +234,8 @@
getTenant
,
getTenant
,
getTenantList
,
getTenantList
,
saveTenant
,
saveTenant
,
selectTenant
selectTenant
,
syncTenantPackage
}
from
'@/api/enterpriseManagement/enterpriseManagement'
}
from
'@/api/enterpriseManagement/enterpriseManagement'
export
default
{
export
default
{
...
@@ -304,6 +305,7 @@
...
@@ -304,6 +305,7 @@
},
},
//企业方案列表
//企业方案列表
packageList
:[],
packageList
:[],
syncItem
:{}
};
};
},
},
created
()
{
created
()
{
...
@@ -380,9 +382,21 @@
...
@@ -380,9 +382,21 @@
this
.
title
=
"添加企业"
;
this
.
title
=
"添加企业"
;
this
.
getpack
()
this
.
getpack
()
},
},
/** 同步弹窗显示 */
handleSync
(
row
)
{
this
.
dialogVisible1
=
true
;
this
.
syncItem
=
row
;
},
/** 同步按钮操作 */
/** 同步按钮操作 */
handleSync
()
{
handleConfirm
()
{
this
.
dialogVisible1
=
true
let
_this
=
this
syncTenantPackage
({
tenantId
:
this
.
syncItem
.
tenantId
,
packageId
:
this
.
syncItem
.
packageId
}).
then
(
res
=>
{
if
(
res
.
code
===
200
){
_this
.
$message
.
success
(
res
.
msg
);
this
.
dialogVisible1
=
false
;
}
});
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
...
...
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