Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
2d41c37d
Commit
2d41c37d
authored
Sep 06, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
541dfdf5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
16 deletions
+24
-16
index.vue
dsk-operate-ui/src/layout/components/TagsView/index.vue
+3
-2
index.vue
dsk-operate-ui/src/views/enterpriseManagement/index.vue
+7
-8
programme.vue
dsk-operate-ui/src/views/enterpriseManagement/programme.vue
+14
-6
No files found.
dsk-operate-ui/src/layout/components/TagsView/index.vue
View file @
2d41c37d
...
...
@@ -441,8 +441,9 @@ export default {
.el-icon-check
{
display
:
none
;
position
:
absolute
;
left
:
5px
;
width
:
13px
;
left
:
8px
;
width
:
16px
;
font-size
:
16px
;
}
&
.active
{
background
:
rgba
(
0
,
129
,
255
,
0
.04
);
...
...
dsk-operate-ui/src/views/enterpriseManagement/index.vue
View file @
2d41c37d
...
...
@@ -181,7 +181,6 @@
:key=
"dict.packageId"
:label=
"dict.packageName"
:value=
"dict.packageId"
:disabled=
"dict.disabled"
/>
</el-select>
</el-form-item>
...
...
@@ -301,13 +300,13 @@
selectTenant
().
then
(
res
=>
{
if
(
res
.
code
=
200
){
this
.
packageList
=
res
.
data
this
.
packageList
.
forEach
(
item
=>
{
if
(
item
.
status
==
'0'
){
item
.
disabled
=
false
}
else
{
item
.
disabled
=
true
}
})
//
this.packageList.forEach(item=>{
//
if(item.status == '0'){
//
item.disabled = false
//
}else{
//
item.disabled = true
//
}
//
})
}
})
},
...
...
dsk-operate-ui/src/views/enterpriseManagement/programme.vue
View file @
2d41c37d
...
...
@@ -352,16 +352,24 @@
// return false
if
(
this
.
form
.
packageId
!=
undefined
)
{
saveTenantPackage
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
getList
();
if
(
response
.
code
==
200
){
this
.
$modal
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
$message
.
error
(
response
.
msg
)
}
});
}
else
{
// this.form.menuIds = this.getMenuAllCheckedKeys();
addTenantPackage
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
getList
();
if
(
response
.
code
==
200
){
this
.
$modal
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
$message
.
error
(
response
.
msg
)
}
});
}
}
...
...
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