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
4a167a50
Commit
4a167a50
authored
Oct 30, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化皮肤管理板块
parent
cadb12e9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
208 additions
and
294 deletions
+208
-294
base-manager-ui/admin/src/pages/basicset/surface/AddSurfaceTemplate.vue
...i/admin/src/pages/basicset/surface/AddSurfaceTemplate.vue
+174
-211
base-manager-ui/admin/src/pages/basicset/surface/components/ShowBox.vue
...i/admin/src/pages/basicset/surface/components/ShowBox.vue
+17
-41
base-manager-ui/admin/src/pages/basicset/surface/modal/AddSurface.vue
...-ui/admin/src/pages/basicset/surface/modal/AddSurface.vue
+17
-42
No files found.
base-manager-ui/admin/src/pages/basicset/surface/AddSurfaceTemplate.vue
View file @
4a167a50
This diff is collapsed.
Click to expand it.
base-manager-ui/admin/src/pages/basicset/surface/components/ShowBox.vue
View file @
4a167a50
...
@@ -60,6 +60,20 @@ import InfoDisSkin from "../infoDisSkin/InfoDisSkin.vue";
...
@@ -60,6 +60,20 @@ import InfoDisSkin from "../infoDisSkin/InfoDisSkin.vue";
import
DefaultShow
from
"
../defaultshow/DefaultShow.vue
"
;
import
DefaultShow
from
"
../defaultshow/DefaultShow.vue
"
;
import
{
mapState
,
mapMutations
}
from
"
vuex
"
;
import
{
mapState
,
mapMutations
}
from
"
vuex
"
;
import
{
filterItems
}
from
"
@/utils
"
;
import
{
filterItems
}
from
"
@/utils
"
;
const
skinCompontens
=
{
pdj
:
"
LandscapeMode
"
,
ckp
:
"
WindowSkin
"
,
hjq
:
"
CallOutSkin
"
,
jzxsp
:
"
CentralizeSkin
"
,
dsj
:
"
SignDevicekin
"
,
pjq
:
"
AppraiseSkin
"
,
zzfwzd
:
"
SelfService
"
,
tdj
:
"
WriteFormSkin
"
,
ybj
:
"
SampleFormSkin
"
,
xxfbp
:
"
InformationSkin
"
,
zmszzfwzd
:
"
DesSelfService
"
,
xxgk
:
"
InfoDisSkin
"
,
};
export
default
{
export
default
{
components
:
{
components
:
{
LandscapeMode
,
LandscapeMode
,
...
@@ -79,6 +93,7 @@ export default {
...
@@ -79,6 +93,7 @@ export default {
props
:
{},
props
:
{},
data
()
{
data
()
{
return
{
return
{
skinCompontens
,
filterItems
,
filterItems
,
skinInfo
:
{},
skinInfo
:
{},
};
};
...
@@ -88,47 +103,8 @@ export default {
...
@@ -88,47 +103,8 @@ export default {
...
mapState
(
"
site
"
,
[
"
imageResolution
"
,
"
curSkin
"
,
"
curSkinIndex
"
]),
...
mapState
(
"
site
"
,
[
"
imageResolution
"
,
"
curSkin
"
,
"
curSkinIndex
"
]),
component
()
{
component
()
{
let
str
=
""
;
let
str
=
""
;
switch
(
this
.
curSkin
.
productCode
)
{
str
=
this
.
skinCompontens
[
this
.
curSkin
.
productCode
];
case
"
pdj
"
:
return
str
||
"
DefaultShow
"
;
str
=
"
LandscapeMode
"
;
break
;
case
"
ckp
"
:
str
=
"
WindowSkin
"
;
break
;
case
"
hjq
"
:
str
=
"
CallOutSkin
"
;
break
;
case
"
jzxsp
"
:
str
=
"
CentralizeSkin
"
;
break
;
case
"
dsj
"
:
str
=
"
SignDevicekin
"
;
break
;
case
"
pjq
"
:
str
=
"
AppraiseSkin
"
;
break
;
case
"
zzfwzd
"
:
str
=
"
SelfService
"
;
break
;
case
"
tdj
"
:
str
=
"
WriteFormSkin
"
;
break
;
case
"
ybj
"
:
str
=
"
SampleFormSkin
"
;
break
;
case
"
xxfbp
"
:
str
=
"
InformationSkin
"
;
break
;
case
"
zmszzfwzd
"
:
str
=
"
DesSelfService
"
;
break
;
case
"
xxgk
"
:
str
=
"
InfoDisSkin
"
;
break
;
default
:
str
=
"
DefaultShow
"
;
}
return
str
;
},
},
},
},
...
...
base-manager-ui/admin/src/pages/basicset/surface/modal/AddSurface.vue
View file @
4a167a50
...
@@ -201,7 +201,20 @@ import { uploadFile, skinSave, getTemplateList } from "@/services/surface";
...
@@ -201,7 +201,20 @@ import { uploadFile, skinSave, getTemplateList } from "@/services/surface";
import
html2canvas
from
"
html2canvas
"
;
import
html2canvas
from
"
html2canvas
"
;
import
{
Empty
}
from
"
ant-design-vue
"
;
import
{
Empty
}
from
"
ant-design-vue
"
;
import
{
mapState
}
from
"
vuex
"
;
import
{
mapState
}
from
"
vuex
"
;
const
skinCompontens
=
{
pdj
:
"
LandscapeMode
"
,
ckp
:
"
WindowSkin
"
,
hjq
:
"
CallOutSkin
"
,
jzxsp
:
"
CentralizeSkin
"
,
dsj
:
"
SignDevicekin
"
,
pjq
:
"
AppraiseSkin
"
,
zzfwzd
:
"
SelfService
"
,
tdj
:
"
WriteFormSkin
"
,
ybj
:
"
SampleFormSkin
"
,
xxfbp
:
"
InformationSkin
"
,
zmszzfwzd
:
"
DesSelfService
"
,
xxgk
:
"
InfoDisSkin
"
,
};
export
default
{
export
default
{
components
:
{
components
:
{
LandscapeMode
,
LandscapeMode
,
...
@@ -234,6 +247,7 @@ export default {
...
@@ -234,6 +247,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
skinCompontens
,
loading
:
false
,
loading
:
false
,
formLoading
:
false
,
formLoading
:
false
,
simpleImage
:
Empty
.
PRESENTED_IMAGE_SIMPLE
,
simpleImage
:
Empty
.
PRESENTED_IMAGE_SIMPLE
,
...
@@ -277,47 +291,8 @@ export default {
...
@@ -277,47 +291,8 @@ export default {
},
},
component
()
{
component
()
{
let
str
=
""
;
let
str
=
""
;
switch
(
this
.
curProduct
.
productCode
)
{
str
=
this
.
skinCompontens
[
this
.
curProduct
.
productCode
];
case
"
pdj
"
:
return
str
||
"
DefaultShow
"
;
str
=
"
LandscapeMode
"
;
break
;
case
"
ckp
"
:
str
=
"
WindowSkin
"
;
break
;
case
"
hjq
"
:
str
=
"
CallOutSkin
"
;
break
;
case
"
jzxsp
"
:
str
=
"
CentralizeSkin
"
;
break
;
case
"
dsj
"
:
str
=
"
SignDevicekin
"
;
break
;
case
"
pjq
"
:
str
=
"
AppraiseSkin
"
;
break
;
case
"
zzfwzd
"
:
str
=
"
SelfService
"
;
break
;
case
"
tdj
"
:
str
=
"
WriteFormSkin
"
;
break
;
case
"
ybj
"
:
str
=
"
SampleFormSkin
"
;
break
;
case
"
xxfbp
"
:
str
=
"
InformationSkin
"
;
break
;
case
"
zmszzfwzd
"
:
str
=
"
DesSelfService
"
;
break
;
case
"
xxgk
"
:
str
=
"
InfoDisSkin
"
;
break
;
default
:
str
=
"
DefaultShow
"
;
}
return
str
;
},
},
...
mapState
(
"
site
"
,
[
"
imageResolution
"
,
"
curProduct
"
]),
...
mapState
(
"
site
"
,
[
"
imageResolution
"
,
"
curProduct
"
]),
},
},
...
...
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