Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-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
赵啸非
sample-form-platform
Commits
897bef90
Commit
897bef90
authored
Jan 05, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
dfbbb07e
09f6edb7
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
482 additions
and
305 deletions
+482
-305
sample-form-client-ui/admin/src/App.vue
sample-form-client-ui/admin/src/App.vue
+8
-4
sample-form-client-ui/admin/src/assets/css/common.css
sample-form-client-ui/admin/src/assets/css/common.css
+112
-112
sample-form-client-ui/admin/src/components/MateralsList.vue
sample-form-client-ui/admin/src/components/MateralsList.vue
+1
-1
sample-form-client-ui/admin/src/components/SearchBox.vue
sample-form-client-ui/admin/src/components/SearchBox.vue
+2
-2
sample-form-client-ui/admin/src/pages/Print/PrintEmptyMaterals.vue
...rm-client-ui/admin/src/pages/Print/PrintEmptyMaterals.vue
+2
-2
sample-form-client-ui/admin/src/pages/home/Home.vue
sample-form-client-ui/admin/src/pages/home/Home.vue
+12
-13
sample-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
...-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
+1
-1
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
...le-form-client-ui/admin/src/pages/showpage/MatterList.vue
+1
-1
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
...form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
+12
-12
sample-form-client-ui/admin/src/pages/showpage/components/LeftMenus.vue
...ient-ui/admin/src/pages/showpage/components/LeftMenus.vue
+2
-2
sample-form-manager-ui/admin/src/App.vue
sample-form-manager-ui/admin/src/App.vue
+3
-4
sample-form-manager-ui/admin/src/assets/css/common.css
sample-form-manager-ui/admin/src/assets/css/common.css
+116
-100
sample-form-manager-ui/admin/src/assets/img/tiandan.png
sample-form-manager-ui/admin/src/assets/img/tiandan.png
+0
-0
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
...manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
+5
-1
sample-form-manager-ui/admin/src/pages/layouts/Layouts.vue
sample-form-manager-ui/admin/src/pages/layouts/Layouts.vue
+6
-5
sample-form-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
...-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
+3
-3
sample-form-manager-ui/admin/src/pages/software/librarymanage/LibraryManage.vue
.../admin/src/pages/software/librarymanage/LibraryManage.vue
+5
-1
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
...ui/admin/src/pages/software/materials/MaterialsManage.vue
+4
-3
sample-form-manager-ui/admin/src/pages/software/materials/modal/AddMaterials.vue
...admin/src/pages/software/materials/modal/AddMaterials.vue
+3
-2
sample-form-manager-ui/admin/src/pages/software/materials/modal/PreviewMaterials.vue
...n/src/pages/software/materials/modal/PreviewMaterials.vue
+0
-2
sample-form-manager-ui/admin/src/pages/software/matter/MatterManage.vue
...nager-ui/admin/src/pages/software/matter/MatterManage.vue
+4
-6
sample-form-manager-ui/admin/src/pages/software/skinManage/SkinManage.vue
...ger-ui/admin/src/pages/software/skinManage/SkinManage.vue
+145
-0
sample-form-manager-ui/admin/src/router/index.js
sample-form-manager-ui/admin/src/router/index.js
+14
-0
sample-form-manager-ui/admin/src/utils/resetMessage.js
sample-form-manager-ui/admin/src/utils/resetMessage.js
+21
-28
No files found.
sample-form-client-ui/admin/src/App.vue
View file @
897bef90
...
@@ -159,16 +159,17 @@ export default {
...
@@ -159,16 +159,17 @@ export default {
}
}
:root {
:root {
// 标题颜色
// 标题颜色
--main-
title
-color: #fff;
--main-
h1
-color: #fff;
/* 辅助颜色 */
/* 辅助颜色 */
--main-assist-color: #59d1fe;
--main-assist-color1: #59d1fe;
--main-assist-color1: #59d1fe;
--main-assist-color2: #f77234;
--main-assist-color2: #f77234;
--main-assist-color3: #f53f3f;
--main-assist-color3: #f53f3f;
--main-assist-color4: #58c09e;
--main-assist-color4: #58c09e;
/* 主题颜色 */
/* 主题颜色 */
--main-theme-color
1
: #0857e8;
--main-theme-color: #0857e8;
// 底部数据名称
// 底部数据
标题
名称
--
data-name
-color: #666;
--
main-sjbt
-color: #666;
// 渐变色(主色)
// 渐变色(主色)
--gradient-ramp-theme1: #0857e8;
--gradient-ramp-theme1: #0857e8;
--gradient-ramp-theme2: #fd644f;
--gradient-ramp-theme2: #fd644f;
...
@@ -181,4 +182,7 @@ export default {
...
@@ -181,4 +182,7 @@ export default {
.main-bg-img {
.main-bg-img {
background: url("./assets/img/bg(1).jpg") no-repeat;
background: url("./assets/img/bg(1).jpg") no-repeat;
}
}
.main-kstd-img {
background: url("./assets/img/btn_kuaisu.png") no-repeat;
}
</
style
>
</
style
>
sample-form-client-ui/admin/src/assets/css/common.css
View file @
897bef90
/* 颜色 */
/* 颜色 */
.primary
{
.primary
{
color
:
#1890FF
;
color
:
#1890ff
;
}
}
.delete
{
.delete
{
color
:
#FF4D4F
;
color
:
#ff4d4f
;
}
}
.green
{
.green
{
color
:
#1BBC9B
;
color
:
#1bbc9b
;
}
}
.clofff
{
.clofff
{
...
@@ -20,15 +20,15 @@
...
@@ -20,15 +20,15 @@
}
}
.bgdel
{
.bgdel
{
background-color
:
#FF4D4F
;
background-color
:
#ff4d4f
;
}
}
.bgpr
{
.bgpr
{
background-color
:
#1890FF
;
background-color
:
#1890ff
;
}
}
.bgg
{
.bgg
{
background-color
:
#1BBC9B
;
background-color
:
#1bbc9b
;
}
}
/* 版心 */
/* 版心 */
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
}
}
.flex1
{
.flex1
{
flex
:
1
flex
:
1
;
}
}
.flexc
{
.flexc
{
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
/* margin */
/* margin */
.m10
{
.m10
{
margin
:
10px
margin
:
10px
;
}
}
.m15
{
.m15
{
...
@@ -321,7 +321,7 @@
...
@@ -321,7 +321,7 @@
*/
*/
/* el-table列数据为空自动显示-- */
/* el-table列数据为空自动显示-- */
.cell
:empty::before
{
.cell
:empty::before
{
content
:
'--'
;
content
:
"--"
;
color
:
gray
;
color
:
gray
;
}
}
...
@@ -352,7 +352,7 @@
...
@@ -352,7 +352,7 @@
.el-table__body-wrapper
::-webkit-scrollbar-thumb
{
.el-table__body-wrapper
::-webkit-scrollbar-thumb
{
border-radius
:
6px
;
border-radius
:
6px
;
background-color
:
rgba
(
144
,
147
,
153
,
.5
);
background-color
:
rgba
(
144
,
147
,
153
,
0
.5
);
}
}
.el-table__body-wrapper
::-webkit-scrollbar-track
{
.el-table__body-wrapper
::-webkit-scrollbar-track
{
...
@@ -368,7 +368,7 @@
...
@@ -368,7 +368,7 @@
margin-right
:
6px
;
margin-right
:
6px
;
background
:
#dfe9fb
;
background
:
#dfe9fb
;
border-radius
:
4px
;
border-radius
:
4px
;
color
:
var
(
--main-theme-color1
);
color
:
var
(
--main-theme-color
);
}
}
.scroll3
{
.scroll3
{
overflow-y
:
auto
;
overflow-y
:
auto
;
...
...
sample-form-client-ui/admin/src/components/MateralsList.vue
View file @
897bef90
...
@@ -212,7 +212,7 @@ export default {
...
@@ -212,7 +212,7 @@ export default {
border-radius: 8px;
border-radius: 8px;
font-size: 20px;
font-size: 20px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
text-align: center;
text-align: center;
line-height: 50px;
line-height: 50px;
cursor: pointer;
cursor: pointer;
...
...
sample-form-client-ui/admin/src/components/SearchBox.vue
View file @
897bef90
...
@@ -62,8 +62,8 @@ export default {
...
@@ -62,8 +62,8 @@ export default {
height: 62px;
height: 62px;
background: linear-gradient(
background: linear-gradient(
90deg,
90deg,
var(--main-theme-color
1
),
var(--main-theme-color),
var(--main-assist-color
1
)
var(--main-assist-color)
);
);
border-radius: 8px;
border-radius: 8px;
color: #ffffff;
color: #ffffff;
...
...
sample-form-client-ui/admin/src/pages/Print/PrintEmptyMaterals.vue
View file @
897bef90
...
@@ -231,11 +231,11 @@ export default {
...
@@ -231,11 +231,11 @@ export default {
.next-btn {
.next-btn {
width: 130px;
width: 130px;
height: 54px;
height: 54px;
border: 1px solid var(--main-theme-color
1
);
border: 1px solid var(--main-theme-color);
border-radius: 8px;
border-radius: 8px;
font-size: 24px;
font-size: 24px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
}
}
.print-btn {
.print-btn {
width: 130px;
width: 130px;
...
...
sample-form-client-ui/admin/src/pages/home/Home.vue
View file @
897bef90
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
<div
class=
"right flex flexc aic jcb"
>
<div
class=
"right flex flexc aic jcb"
>
<div
class=
"right-top flex aic jcb"
>
<div
class=
"right-top flex aic jcb"
>
<router-link
to=
"/matterList"
>
<router-link
to=
"/matterList"
>
<div
class=
"fill-btn flex aic jcc pointer"
>
<div
class=
"fill-btn flex aic jcc pointer
main-kstd-img
"
>
<span
class=
"fill-btn-text1"
>
快
</span>
<span
class=
"fill-btn-text1"
>
快
</span>
<span
class=
"fill-btn-text2"
>
速
</span>
<span
class=
"fill-btn-text2"
>
速
</span>
<span
class=
"fill-btn-text3"
>
查
</span>
<span
class=
"fill-btn-text3"
>
查
</span>
...
@@ -370,13 +370,13 @@ export default {
...
@@ -370,13 +370,13 @@ export default {
.title {
.title {
font-weight: 400;
font-weight: 400;
font-size: 61px;
font-size: 61px;
color: var(--main-
title
-color);
color: var(--main-
h1
-color);
}
}
}
}
.right {
.right {
.tips-name {
.tips-name {
font-size: 18px;
font-size: 18px;
color: var(--main-
title
-color);
color: var(--main-
h1
-color);
}
}
.count {
.count {
color: #317054;
color: #317054;
...
@@ -447,8 +447,8 @@ export default {
...
@@ -447,8 +447,8 @@ export default {
height: 62px;
height: 62px;
background: linear-gradient(
background: linear-gradient(
90deg,
90deg,
var(--main-theme-color
1
),
var(--main-theme-color),
var(--main-assist-color
1
)
var(--main-assist-color)
);
);
border-radius: 8px;
border-radius: 8px;
color: #ffffff;
color: #ffffff;
...
@@ -512,7 +512,7 @@ export default {
...
@@ -512,7 +512,7 @@ export default {
line-height: 56px;
line-height: 56px;
border-radius: 8px;
border-radius: 8px;
font-size: 22px;
font-size: 22px;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
letter-spacing: 2px;
letter-spacing: 2px;
&:nth-child(2n-1) {
&:nth-child(2n-1) {
background-color: #fff;
background-color: #fff;
...
@@ -529,7 +529,6 @@ export default {
...
@@ -529,7 +529,6 @@ export default {
.fill-btn {
.fill-btn {
width: 530px;
width: 530px;
height: 170px;
height: 170px;
background: url("../../assets/img/btn_kuaisu.png") no-repeat;
background-size: 100% 100%;
background-size: 100% 100%;
font-size: 50px;
font-size: 50px;
font-weight: 500;
font-weight: 500;
...
@@ -606,7 +605,7 @@ export default {
...
@@ -606,7 +605,7 @@ export default {
line-height: 45px;
line-height: 45px;
border-radius: 8px;
border-radius: 8px;
font-size: 20px;
font-size: 20px;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
letter-spacing: 2px;
letter-spacing: 2px;
&:nth-child(2n) {
&:nth-child(2n) {
background-color: #f6f9fe;
background-color: #f6f9fe;
...
@@ -629,17 +628,17 @@ export default {
...
@@ -629,17 +628,17 @@ export default {
.data-name {
.data-name {
font-size: 22px;
font-size: 22px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: var(--
data-name
-color);
color: var(--
main-sjbt
-color);
}
}
.count-box {
.count-box {
margin: 0px;
margin: 0px;
padding: 0px;
padding: 0px;
font-size: 24px;
font-size: 24px;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
.data-count {
.data-count {
font-size: 38px;
font-size: 38px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
}
}
}
}
.line {
.line {
...
@@ -648,8 +647,8 @@ export default {
...
@@ -648,8 +647,8 @@ export default {
background-image: linear-gradient(
background-image: linear-gradient(
to bottom,
to bottom,
#ccc,
#ccc,
var(--main-theme-color
1
) 35%,
var(--main-theme-color) 35%,
var(--main-theme-color
1
) 75%,
var(--main-theme-color) 75%,
#ccc 100%
#ccc 100%
);
);
}
}
...
...
sample-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
View file @
897bef90
...
@@ -297,7 +297,7 @@ export default {
...
@@ -297,7 +297,7 @@ export default {
height
:
25
px
;
height
:
25
px
;
font
-
family
:
Source
Han
Sans
CN
;
font
-
family
:
Source
Han
Sans
CN
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
var
(
--
main
-
theme
-
color
1
);
color
:
var
(
--
main
-
theme
-
color
);
line
-
height
:
28
px
;
line
-
height
:
28
px
;
span
{
span
{
font
-
size
:
28
px
;
font
-
size
:
28
px
;
...
...
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
View file @
897bef90
...
@@ -280,7 +280,7 @@ export default {
...
@@ -280,7 +280,7 @@ export default {
height: 25px;
height: 25px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
font-weight: 400;
font-weight: 400;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
line-height: 28px;
line-height: 28px;
span {
span {
...
...
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
View file @
897bef90
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
height: v.height + 'px',
height: v.height + 'px',
}"
}"
class="preview-img"
class="preview-img"
:src="api + v.
sample
Path"
:src="api + v.
preView
Path"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -141,7 +141,7 @@ export default {
...
@@ -141,7 +141,7 @@ export default {
let
{
data
}
=
res
.
data
.
data
;
let
{
data
}
=
res
.
data
.
data
;
data
.
forEach
((
v
)
=>
{
data
.
forEach
((
v
)
=>
{
let
image
=
new
Image
();
let
image
=
new
Image
();
image
.
src
=
this
.
api
+
v
.
sample
Path
;
image
.
src
=
this
.
api
+
v
.
preView
Path
;
image
.
onload
=
function
()
{
image
.
onload
=
function
()
{
v
.
height
=
image
.
height
;
v
.
height
=
image
.
height
;
};
};
...
@@ -215,7 +215,7 @@ export default {
...
@@ -215,7 +215,7 @@ export default {
height: 26px;
height: 26px;
background: #52a8f6;
background: #52a8f6;
border-radius: 50%;
border-radius: 50%;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
border-radius: 16px;
border-radius: 16px;
text-align: center;
text-align: center;
line-height: 34px;
line-height: 34px;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
position: absolute;
position: absolute;
right: 28px;
right: 28px;
}
}
...
@@ -249,7 +249,7 @@ export default {
...
@@ -249,7 +249,7 @@ export default {
background: #f2f6fe;
background: #f2f6fe;
border-radius: 4px;
border-radius: 4px;
line-height: 38px;
line-height: 38px;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
}
}
.materails-item {
.materails-item {
height: 42px;
height: 42px;
...
@@ -270,13 +270,13 @@ export default {
...
@@ -270,13 +270,13 @@ export default {
);
);
}
}
.active {
.active {
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
.line {
.line {
background-image: linear-gradient(
background-image: linear-gradient(
to right,
to right,
#fff,
#fff,
var(--main-theme-color
1
) 10%,
var(--main-theme-color) 10%,
var(--main-theme-color
1
) 80%,
var(--main-theme-color) 80%,
#fff
#fff
);
);
}
}
...
@@ -287,8 +287,8 @@ export default {
...
@@ -287,8 +287,8 @@ export default {
height: 276px;
height: 276px;
background: linear-gradient(
background: linear-gradient(
90deg,
90deg,
var(--main-theme-color
1
),
var(--main-theme-color),
var(--main-assist-color
1
)
var(--main-assist-color)
);
);
box-shadow: 6px -1px 10px 0px rgba(11, 92, 233, 0.11);
box-shadow: 6px -1px 10px 0px rgba(11, 92, 233, 0.11);
border-radius: 0px 38px 8px 0px;
border-radius: 0px 38px 8px 0px;
...
@@ -318,7 +318,7 @@ export default {
...
@@ -318,7 +318,7 @@ export default {
.short {
.short {
font-size: 26px;
font-size: 26px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
}
}
.full-name {
.full-name {
margin-top: 10px;
margin-top: 10px;
...
@@ -348,7 +348,7 @@ export default {
...
@@ -348,7 +348,7 @@ export default {
cursor: pointer;
cursor: pointer;
i {
i {
font-size: 54px;
font-size: 54px;
color: var(--main-theme-color
1
);
color: var(--main-theme-color);
}
}
}
}
}
}
...
...
sample-form-client-ui/admin/src/pages/showpage/components/LeftMenus.vue
View file @
897bef90
...
@@ -86,8 +86,8 @@ export default {
...
@@ -86,8 +86,8 @@ export default {
.active {
.active {
background: linear-gradient(
background: linear-gradient(
270deg,
270deg,
var(--main-assist-color
1
),
var(--main-assist-color),
var(--main-theme-color
1
)
var(--main-theme-color)
);
);
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: #ffffff;
color: #ffffff;
...
...
sample-form-manager-ui/admin/src/App.vue
View file @
897bef90
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
return
{};
return
{};
},
},
created
()
{
created
()
{
this
.
readVueXData
();
//
this.readVueXData();
},
},
methods
:
{
methods
:
{
// 解决刷新store初始化问题
// 解决刷新store初始化问题
...
@@ -36,9 +36,8 @@ export default {
...
@@ -36,9 +36,8 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.app {
.app {
width: 100%;
width: 100%;
min-width: 1400px;
height: 100%;
min-height: 100%;
background-color: #f0f2f5;
background-color: #f0f2f5;
display: flex;
//
display: flex;
}
}
</
style
>
</
style
>
sample-form-manager-ui/admin/src/assets/css/common.css
View file @
897bef90
/* 颜色 */
/* 颜色 */
.primary
{
.primary
{
color
:
#1890FF
;
color
:
#1890ff
;
}
}
.delete
{
.delete
{
color
:
#FF4D4F
;
color
:
#ff4d4f
;
}
}
.green
{
.green
{
color
:
#1BBC9B
;
color
:
#1bbc9b
;
}
}
.clofff
{
.clofff
{
...
@@ -20,15 +20,15 @@
...
@@ -20,15 +20,15 @@
}
}
.bgdel
{
.bgdel
{
background-color
:
#FF4D4F
;
background-color
:
#ff4d4f
;
}
}
.bgpr
{
.bgpr
{
background-color
:
#1890FF
;
background-color
:
#1890ff
;
}
}
.bgg
{
.bgg
{
background-color
:
#1BBC9B
;
background-color
:
#1bbc9b
;
}
}
/* 版心 */
/* 版心 */
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
}
}
.flex1
{
.flex1
{
flex
:
1
flex
:
1
;
}
}
.flexc
{
.flexc
{
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
/* margin */
/* margin */
.m10
{
.m10
{
margin
:
10px
margin
:
10px
;
}
}
.m15
{
.m15
{
...
@@ -304,12 +304,28 @@
...
@@ -304,12 +304,28 @@
text-align
:
right
;
text-align
:
right
;
}
}
/* title */
.color_title
{
margin-left
:
15px
;
position
:
relative
;
margin-bottom
:
15px
;
}
.color_title
::before
{
content
:
""
;
width
:
4px
;
height
:
20px
;
position
:
absolute
;
top
:
0px
;
left
:
-16px
;
background-color
:
#1890ff
;
}
/**
/**
element-ui
element-ui
*/
*/
/* el-table列数据为空自动显示-- */
/* el-table列数据为空自动显示-- */
.cell
:empty::before
{
.cell
:empty::before
{
content
:
'--'
;
content
:
"--"
;
color
:
gray
;
color
:
gray
;
}
}
...
@@ -328,27 +344,27 @@
...
@@ -328,27 +344,27 @@
.el-card__body
{
.el-card__body
{
width
:
100%
;
width
:
100%
;
flex
:
1
;
flex
:
1
;
padding-bottom
:
10px
!important
;
padding-bottom
:
10px
!important
;
}
}
.gutter
{
.gutter
{
width
:
6px
!important
;
width
:
6px
!important
;
}
}
.el-table__body-wrapper
::-webkit-scrollbar
{
::-webkit-scrollbar
{
width
:
6px
;
width
:
6px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
.el-table__body-wrapper
::-webkit-scrollbar-thumb
{
::-webkit-scrollbar-thumb
{
border-radius
:
6px
;
border-radius
:
6px
;
background-color
:
rgba
(
144
,
147
,
153
,
.5
);
background-color
:
rgba
(
144
,
147
,
153
,
0
.5
);
}
}
.el-table__body-wrapper
::-webkit-scrollbar-track
{
::-webkit-scrollbar-track
{
border-radius
:
6px
;
border-radius
:
6px
;
background
:
#fff
;
background
:
rgba
(
0
,
0
,
0
,
0
)
;
}
}
.autoWidth
{
.autoWidth
{
...
@@ -370,4 +386,4 @@
...
@@ -370,4 +386,4 @@
}
}
.el-tooltip__popper
{
.el-tooltip__popper
{
max-width
:
20%
;
max-width
:
20%
;
}
}
\ No newline at end of file
sample-form-manager-ui/admin/src/assets/img/tiandan.png
0 → 100644
View file @
897bef90
572 KB
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
View file @
897bef90
...
@@ -297,7 +297,11 @@ export default {
...
@@ -297,7 +297,11 @@ export default {
<
style
lang
=
"
less
"
scoped
>
<
style
lang
=
"
less
"
scoped
>
.
device
{
.
device
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
min
-
height
:
100
%
;
display
:
flex
;
:
deep
(.
el
-
card
)
{
height
:
auto
;
}
}
}
// .table-content
{
// .table-content
{
// height: 550px;
// height: 550px;
...
...
sample-form-manager-ui/admin/src/pages/layouts/Layouts.vue
View file @
897bef90
...
@@ -88,12 +88,13 @@ export default {
...
@@ -88,12 +88,13 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.layouts {
.layouts {
width: 100%;
width: 100%;
height: auto;
min-width: 1500px;
height: 100%;
padding-bottom: 10px;
padding-bottom: 10px;
.crumbs {
//
.crumbs {
margin: 10px 0px;
//
margin: 10px 0px;
width: 98%;
//
width: 98%;
}
//
}
.out-box {
.out-box {
width: 98%;
width: 98%;
margin-top: 10px;
margin-top: 10px;
...
...
sample-form-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
View file @
897bef90
...
@@ -171,8 +171,8 @@ export default {
...
@@ -171,8 +171,8 @@ export default {
<
style
lang
=
"
less
"
scoped
>
<
style
lang
=
"
less
"
scoped
>
.
basics
-
set
{
.
basics
-
set
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
min
-
height
:
100
%
;
display
:
flex
;
.
title
{
.
title
{
font
-
size
:
15
px
;
font
-
size
:
15
px
;
color
:
#
000
;
color
:
#
000
;
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
}
}
:
deep
(.
el
-
card
)
{
:
deep
(.
el
-
card
)
{
height
:
100
%
;
height
:
auto
;
}
}
.
header
{
.
header
{
...
...
sample-form-manager-ui/admin/src/pages/software/librarymanage/LibraryManage.vue
View file @
897bef90
...
@@ -264,8 +264,12 @@ export default {
...
@@ -264,8 +264,12 @@ export default {
<
style
lang
=
"
less
"
scoped
>
<
style
lang
=
"
less
"
scoped
>
.
library
-
manage
{
.
library
-
manage
{
display
:
flex
;
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
min
-
height
:
100
%
;
:
deep
(.
el
-
card
)
{
height
:
auto
;
}
.
short
{
.
short
{
overflow
:
hidden
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
text
-
overflow
:
ellipsis
;
...
...
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
View file @
897bef90
...
@@ -503,6 +503,7 @@ export default {
...
@@ -503,6 +503,7 @@ export default {
if
(
code
===
1
)
{
if
(
code
===
1
)
{
this
.
$message
.
success
(
msg
);
this
.
$message
.
success
(
msg
);
this
.
getMaterialsList
();
this
.
getMaterialsList
();
this
.
getWriteMatterList
();
this
.
rightSelectedRowKeys
=
[];
this
.
rightSelectedRowKeys
=
[];
}
}
}
)
}
)
...
@@ -532,7 +533,7 @@ export default {
...
@@ -532,7 +533,7 @@ export default {
<
style
lang
=
"
less
"
scoped
>
<
style
lang
=
"
less
"
scoped
>
.
materias
-
manage
{
.
materias
-
manage
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
min
-
height
:
100
%
;
.
short
{
.
short
{
overflow
:
hidden
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
text
-
overflow
:
ellipsis
;
...
@@ -554,10 +555,10 @@ export default {
...
@@ -554,10 +555,10 @@ export default {
.
left
{
.
left
{
width
:
40
%
;
width
:
40
%
;
height
:
100
%
;
height
:
auto
;
}
}
.
right
{
.
right
{
width
:
60
%
;
width
:
60
%
;
height
:
100
%
;
height
:
auto
;
}
}
<
/style>
<
/style>
\ No newline at end of file
sample-form-manager-ui/admin/src/pages/software/materials/modal/AddMaterials.vue
View file @
897bef90
...
@@ -186,9 +186,10 @@ export default {
...
@@ -186,9 +186,10 @@ export default {
// 关闭
// 关闭
handleClose
()
{
handleClose
()
{
this
.
$refs
.
form
.
resetFields
();
this
.
$refs
.
form
.
resetFields
();
this
.
fileUrlFileList
=
[];
//
this.fileUrlFileList = [];
this
.
templatePathFileList
=
[];
//
this.templatePathFileList = [];
this
.
samplePathFileList
=
[];
this
.
samplePathFileList
=
[];
this
.
loading
=
false
;
this
.
Visible
=
false
;
this
.
Visible
=
false
;
},
},
// 上传样表
// 上传样表
...
...
sample-form-manager-ui/admin/src/pages/software/materials/modal/PreviewMaterials.vue
View file @
897bef90
...
@@ -83,11 +83,9 @@ export default {
...
@@ -83,11 +83,9 @@ export default {
methods
:
{
methods
:
{
handleOk
()
{
handleOk
()
{
this
.
$refs
.
formBuilder
.
validate
();
this
.
$refs
.
formBuilder
.
validate
();
console
.
log
(
this
.
val
);
},
},
handleClose
()
{
handleClose
()
{
this
.
val
=
""
;
this
.
val
=
""
;
console
.
log
(
11
);
},
},
},
},
};
};
...
...
sample-form-manager-ui/admin/src/pages/software/matter/MatterManage.vue
View file @
897bef90
...
@@ -533,7 +533,8 @@ export default {
...
@@ -533,7 +533,8 @@ export default {
<
style
lang
=
"
less
"
scoped
>
<
style
lang
=
"
less
"
scoped
>
.
matter
-
manage
{
.
matter
-
manage
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
min
-
height
:
100
%
;
display
:
flex
;
.
short
{
.
short
{
overflow
:
hidden
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
text
-
overflow
:
ellipsis
;
...
@@ -546,18 +547,15 @@ export default {
...
@@ -546,18 +547,15 @@ export default {
white
-
space
:
nowrap
;
white
-
space
:
nowrap
;
}
}
}
}
/deep/
.
el
-
card
{
height
:
100
%
;
}
// .table-content
{
// .table-content
{
// height: 550px;
// height: 550px;
//
}
//
}
.
left
{
.
left
{
width
:
50
%
;
width
:
50
%
;
height
:
100
%
;
height
:
auto
;
}
}
.
right
{
.
right
{
width
:
50
%
;
width
:
50
%
;
height
:
100
%
;
height
:
auto
;
}
}
<
/style
>
<
/style
>
sample-form-manager-ui/admin/src/pages/software/skinManage/SkinManage.vue
0 → 100644
View file @
897bef90
<
template
>
<div
class=
"skin-set"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
皮肤管理
</span>
</div>
<!-- 皮肤列表 -->
<div
class=
"skin-box"
>
<div
class=
"skin-category"
>
<div
class=
"color_title"
>
分类一
</div>
<div
class=
"skin-list"
>
<div
class=
"skin-item flex flexc aic"
v-for=
"v in skinList"
:key=
"v.skin_id"
>
<span>
{{
v
.
skin_name
}}
</span>
<div
class=
"skin-img-box"
>
<img
class=
"skin-img"
:src=
"v.previewImagePath"
@
click=
"handlePreview(v.previewImagePath)"
/>
</div>
<el-button
size=
"small"
:class=
"
{ active: v.check === '1' }"
@click="changeSkin('pdj', v)"
>
{{
v
.
check
===
"
1
"
?
"
使用中(点击取消)
"
:
"
点击使用
"
}}
</el-button
>
</div>
</div>
</div>
</div>
<!-- 图片预览 -->
<el-image-viewer
v-if=
"previewImg"
:on-close=
"
() =>
{
(previewImg = false), (previewUrl = '');
}
"
:url-list="previewUrl"
/>
</el-card>
</div>
</
template
>
<
script
>
import
local
from
"
@/utils/local
"
;
import
ElImageViewer
from
"
element-ui/packages/image/src/image-viewer
"
;
export
default
{
components
:
{
ElImageViewer
,
},
data
()
{
return
{
siteId
:
local
.
getLocal
(
"
sampleSiteId
"
)
?
local
.
getLocal
(
"
sampleSiteId
"
)
:
""
,
skinList
:
[
{
id
:
1
,
skin_name
:
"
样表普通皮肤
"
,
previewImagePath
:
require
(
"
../../../assets/img/tiandan.png
"
),
check
:
"
1
"
,
},
],
previewImg
:
false
,
previewUrl
:
""
,
};
},
created
()
{},
methods
:
{
// 选择使用皮肤
async
changeSkin
(
device
,
row
)
{
if
(
row
.
check
===
"
1
"
)
{
// let obj = {
// skin_id: "",
// css_path: "",
// skin_name: "",
// previewImagePath: "",
// skinFieldList: "",
// device,
// };
row
.
check
=
"
0
"
;
console
.
log
(
check
,
device
);
// if (code === 1) {
// this.$message.success("设置" + msg);
// }
}
else
{
row
.
check
=
"
1
"
;
}
},
// 预览皮肤
handlePreview
(
url
)
{
this
.
previewUrl
=
[
url
];
this
.
previewImg
=
true
;
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.skin-set {
display: flex;
width: 100%;
min-height: 100%;
}
:deep(.el-card) {
height: auto;
}
.skin-category {
margin-bottom: 30px;
}
.skin-list {
display: flex;
flex-wrap: wrap;
.skin-item {
text-align: center;
margin-top: 30px;
margin-right: 30px;
width: 200px;
.skin-img-box {
width: 100%;
height: 130px;
margin: 10px 0px;
background-color: #ccc;
.skin-img {
width: 100%;
height: 100%;
object-fit: contain;
cursor: pointer;
}
}
}
}
.active {
border: 1px solid #1a73e8;
color: #1a73e8;
}
</
style
>
sample-form-manager-ui/admin/src/router/index.js
View file @
897bef90
...
@@ -92,6 +92,20 @@ const dynamicRouter = [
...
@@ -92,6 +92,20 @@ const dynamicRouter = [
},
},
],
],
},
},
{
path
:
"
/skinmanage
"
,
component
:
Layouts
,
meta
:
{
icon
:
"
el-icon-orange
"
,
title
:
"
皮肤管理
"
,
},
children
:
[
{
path
:
""
,
component
:
()
=>
import
(
"
@/pages/software/skinManage/SkinManage
"
),
},
],
},
{
{
path
:
"
/numberwritedevice
"
,
path
:
"
/numberwritedevice
"
,
component
:
Layouts
,
component
:
Layouts
,
...
...
sample-form-manager-ui/admin/src/utils/resetMessage.js
View file @
897bef90
//防止element点击多次弹出message弹框
//防止element点击多次弹出message弹框
//创建一个js文件将此内容放入即可
//创建一个js文件将此内容放入即可
import
{
Message
}
from
'
element-ui
'
;
import
{
Message
}
from
"
element-ui
"
;
let
messageval
=
null
;
let
messageval
=
null
;
const
Messages
=
(
opt
)
=>
{
const
Messages
=
(
opt
)
=>
{
if
(
messageval
)
{
// 如果已经有一个message
if
(
messageval
)
{
// 如果已经有一个message
messageval
.
close
();
// 将上一个关闭
messageval
.
close
()
// 将上一个关闭
}
}
messageval
=
Message
(
opt
)
messageval
=
Message
(
opt
);
};
};
[
'
error
'
,
'
success
'
,
'
info
'
,
'
warning
'
].
forEach
(
type
=>
{
// 判断弹窗类型
[
"
error
"
,
"
success
"
,
"
info
"
,
"
warning
"
].
forEach
((
type
)
=>
{
// 判断弹窗类型
Messages
[
type
]
=
opt
=>
{
if
(
typeof
opt
===
'
string
'
)
{
opt
=
{
message
:
opt
}
Messages
[
type
]
=
(
opt
)
=>
{
if
(
typeof
opt
===
"
string
"
)
{
opt
=
{
message
:
opt
,
duration
:
1000
,
};
}
}
opt
.
type
=
type
opt
.
type
=
type
;
return
Messages
(
opt
)
}
})
return
Messages
(
opt
);
};
});
export
const
message
=
Messages
export
const
message
=
Messages
;
\ No newline at end of file
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