Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
3e559ba7
Commit
3e559ba7
authored
Oct 26, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化菜单弹窗
parent
e103fc9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
19 deletions
+21
-19
portal-manager-ui/admin/src/views/thePlatformIsSet/components/menuManagement/components/addEdit.vue
...ormIsSet/components/menuManagement/components/addEdit.vue
+17
-13
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/appManage/components/Details.vue
...productManage/components/appManage/components/Details.vue
+2
-3
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/docData/components/Details.vue
...s/productManage/components/docData/components/Details.vue
+2
-3
No files found.
portal-manager-ui/admin/src/views/thePlatformIsSet/components/menuManagement/components/addEdit.vue
View file @
3e559ba7
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
<a-modal
<a-modal
:title=
"formTitle"
:title=
"formTitle"
:centered=
"true"
:centered=
"true"
:destroyOnClose=
"true"
:getContainer=
"() => $refs.EditModal_box"
:getContainer=
"() => $refs.EditModal_box"
:visible=
"visible"
:visible=
"visible"
:confirmLoading=
"EditModalLoading"
:confirmLoading=
"EditModalLoading"
...
@@ -117,7 +116,7 @@
...
@@ -117,7 +116,7 @@
@
change=
"handleChangeFile"
@
change=
"handleChangeFile"
accept=
"image/jpeg,image/png"
accept=
"image/jpeg,image/png"
>
>
<a-button
type=
"primary"
class=
"addclass"
>
<a-button
type=
"primary"
class=
"addclass"
>
<a-icon
type=
"upload"
/>
选择文件
<a-icon
type=
"upload"
/>
选择文件
</a-button>
</a-button>
</a-upload>
</a-upload>
...
@@ -141,7 +140,9 @@
...
@@ -141,7 +140,9 @@
</a-form-model>
</a-form-model>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<a-button
@
click=
"resetForm"
>
重置
</a-button>
<a-button
@
click=
"resetForm"
>
重置
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
>
确定
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
>
确定
</a-button
>
</
template
>
</
template
>
</a-modal>
</a-modal>
</div>
</div>
...
@@ -340,6 +341,7 @@ export default {
...
@@ -340,6 +341,7 @@ export default {
// 重置还原表单信息内容
// 重置还原表单信息内容
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
compileInfoForm
.
resetFields
();
this
.
$refs
.
compileInfoForm
.
resetFields
();
this
.
fileList
=
[];
});
});
},
},
// 新增
// 新增
...
@@ -351,15 +353,17 @@ export default {
...
@@ -351,15 +353,17 @@ export default {
},
},
// 编辑
// 编辑
onEdit
(
row
)
{
onEdit
(
row
)
{
this
.
compileInfoForm
=
{
...
row
};
setTimeout
(()
=>
{
this
.
fileList
=
[
this
.
compileInfoForm
=
{
...
row
};
{
this
.
fileList
=
[
uid
:
-
1
,
{
name
:
this
.
compileInfoForm
.
imgPath
,
uid
:
-
1
,
url
:
this
.
compileInfoForm
.
imgPath
,
name
:
this
.
compileInfoForm
.
imgPath
,
status
:
"
done
"
,
url
:
this
.
compileInfoForm
.
imgPath
,
},
status
:
"
done
"
,
];
},
];
},
10
);
},
},
// 关闭弹窗
// 关闭弹窗
handleClose
()
{
handleClose
()
{
...
@@ -379,4 +383,4 @@ export default {
...
@@ -379,4 +383,4 @@ export default {
overflow-y: auto !important;
overflow-y: auto !important;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/appManage/components/Details.vue
View file @
3e559ba7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:width=
"modalInfo.width"
:width=
"modalInfo.width"
:visible=
"modalInfo.visible"
:visible=
"modalInfo.visible"
:title=
"modalInfo.title"
:title=
"modalInfo.title"
@
cancel=
"
modalInfo.visible = false
"
@
cancel=
"
resetForm
"
centered
centered
destroyOnClose
destroyOnClose
>
>
...
@@ -61,11 +61,10 @@
...
@@ -61,11 +61,10 @@
</a-form-model-item>
</a-form-model-item>
</a-form-model>
</a-form-model>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"reset"
>
重置
</a-button>
<a-button
@
click=
"reset"
>
重置
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
>
确定
</a-button
>
确定
</a-button
>
>
<a-button
@
click=
"resetForm"
>
取消
</a-button>
</
template
>
</
template
>
</a-modal>
</a-modal>
</template>
</template>
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/docData/components/Details.vue
View file @
3e559ba7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:width=
"modalInfo.width"
:width=
"modalInfo.width"
:visible=
"modalInfo.visible"
:visible=
"modalInfo.visible"
:title=
"modalInfo.title"
:title=
"modalInfo.title"
@
cancel=
"
modalInfo.visible = false
"
@
cancel=
"
resetForm
"
centered
centered
destroyOnClose
destroyOnClose
>
>
...
@@ -44,11 +44,10 @@
...
@@ -44,11 +44,10 @@
</a-form-model-item>
</a-form-model-item>
</a-form-model>
</a-form-model>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"reset"
>
重置
</a-button>
<a-button
@
click=
"reset"
>
重置
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
>
确定
</a-button
>
确定
</a-button
>
>
<a-button
@
click=
"resetForm"
>
取消
</a-button>
</
template
>
</
template
>
</a-modal>
</a-modal>
</template>
</template>
...
...
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