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
d0c54ff8
Commit
d0c54ff8
authored
Dec 06, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
fd2652d0
76333111
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2561 additions
and
41 deletions
+2561
-41
sample-form-client-ui/admin/src/components/MateralsList.vue
sample-form-client-ui/admin/src/components/MateralsList.vue
+26
-21
sample-form-client-ui/admin/src/pages/home/Home.vue
sample-form-client-ui/admin/src/pages/home/Home.vue
+17
-15
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
...le-form-client-ui/admin/src/pages/showpage/MatterList.vue
+2
-1
sample-form-manager-ui/admin/public/JSSDK.js
sample-form-manager-ui/admin/public/JSSDK.js
+2479
-0
sample-form-manager-ui/admin/public/index.html
sample-form-manager-ui/admin/public/index.html
+1
-0
sample-form-manager-ui/admin/src/pages/login/login.vue
sample-form-manager-ui/admin/src/pages/login/login.vue
+2
-1
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/PreviewMaterals.vue
...rc/pages/software/librarymanage/modal/PreviewMaterals.vue
+34
-3
No files found.
sample-form-client-ui/admin/src/components/MateralsList.vue
View file @
d0c54ff8
<
template
>
<div>
<el-drawer
size=
"
70%
"
:visible.sync=
"drawer"
direction=
"rtl"
>
<el-drawer
size=
"
1200px
"
:visible.sync=
"drawer"
direction=
"rtl"
>
<div
slot=
"title"
class=
"title flex"
>
<span
>
材料列表(共
{{
...
...
@@ -29,7 +29,7 @@
</div>
<div
class=
"for-short"
>
{{
v
.
materialName
}}
</div>
<div
class=
"matterDatumList-name"
>
{{
v
.
materiaFullName
}}
材料全称:
{{
v
.
materiaFullName
}}
</div>
<!--
<div
class=
"check-btn"
@
click
.
stop
>
点击查看二维码
</div>
-->
</div>
...
...
@@ -67,7 +67,7 @@ export default {
api
:
local
.
getLocal
(
"
baseUrl
"
)
?
local
.
getLocal
(
"
baseUrl
"
)
+
"
/
"
:
"
http://192.168.0.98:11078/
"
,
row
:
5
,
row
:
4
,
};
},
computed
:
{
...
...
@@ -102,6 +102,20 @@ export default {
border-top: 1px solid #e0e0e0;
padding: 40px;
padding-top: 0px;
overflow-y: auto;
&::-webkit-scrollbar {
width: 12px;
overflow-y: auto;
}
&::-webkit-scrollbar-thumb {
border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5);
}
&::-webkit-scrollbar-track {
border-radius: 6px;
background: #fff;
}
}
.title {
font-size: 28px;
...
...
@@ -124,35 +138,22 @@ export default {
width: 100%;
height: 100%;
align-content: flex-start;
overflow-y: auto;
&::-webkit-scrollbar {
width: 12px;
overflow-y: auto;
}
&::-webkit-scrollbar-thumb {
border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5);
}
&::-webkit-scrollbar-track {
border-radius: 6px;
background: #fff;
}
.list {
content: "";
width:
19%
;
width:
236px
;
border: 1px solid transparent;
padding: 5px;
overflow: hidden;
}
}
.matterDatumList-item {
width:
19%
;
width:
236px
;
margin-top: 40px;
// height: 430px;
.pic-box {
width: 2
07
px;
height:
256
px;
width: 2
36
px;
height:
300
px;
padding: 16px 24px;
background: #f4f6fc;
border-radius: 16px;
...
...
@@ -169,22 +170,26 @@ export default {
}
}
.for-short {
width: 100%;
margin-top: 18px;
margin-bottom: 8px;
font-size: 24px;
font-family: Source Han Sans CN;
color: #333333;
letter-spacing: 1px;
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}
.matterDatumList-name {
width: 100%;
font-size: 18px;
font-family: Source Han Sans CN;
color: #777777;
line-height: 30px;
text-align: center;
letter-spacing: 1px;
text-align: left;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
...
...
sample-form-client-ui/admin/src/pages/home/Home.vue
View file @
d0c54ff8
...
...
@@ -187,7 +187,7 @@ export default {
computed
:
{
optionLeft
()
{
return
{
direction
:
2
,
//
向左滚动
direction
:
2
,
//
滚动方向
step
:
0.5
,
// 数值越大速度滚动越快
limitMoveNum
:
5
,
// 开启无缝滚动的数据量 设置(数值
<=
页面展示数据条数不滚
)(
超过页面展示条数滚动
)
openWatch
:
true
,
// 开启数据实时监控刷新dom
...
...
@@ -196,7 +196,7 @@ export default {
},
optionTop
()
{
return
{
direction
:
1
,
//
向左滚动
direction
:
1
,
//
滚动方向
step
:
0.5
,
// 数值越大速度滚动越快
limitMoveNum
:
4
,
// 开启无缝滚动的数据量 设置(数值
<=
页面展示数据条数不滚
)(
超过页面展示条数滚动
)
openWatch
:
true
,
// 开启数据实时监控刷新dom
...
...
@@ -442,6 +442,7 @@ export default {
border-radius: 8px;
font-size: 22px;
color: var(--main-theme-color1);
letter-spacing: 2px;
&:nth-child(2n-1) {
background-color: #fff;
}
...
...
@@ -484,18 +485,18 @@ export default {
animation: shadow 6s infinite;
}
.fill-btn-text1 {
animation: ring 6s 20ms infinite;
}
.fill-btn-text2 {
animation: ring 6s 60ms infinite;
}
.fill-btn-text3 {
animation: ring 6s 105ms infinite;
}
.fill-btn-text4 {
animation: ring 6s 145ms infinite;
}
//
.fill-btn-text1 {
//
animation: ring 6s 20ms infinite;
//
}
//
.fill-btn-text2 {
//
animation: ring 6s 60ms infinite;
//
}
//
.fill-btn-text3 {
//
animation: ring 6s 105ms infinite;
//
}
//
.fill-btn-text4 {
//
animation: ring 6s 145ms infinite;
//
}
}
.empty-btn {
width: 284px;
...
...
@@ -524,8 +525,9 @@ export default {
margin-bottom: 4px;
line-height: 45px;
border-radius: 8px;
font-size: 2
2
px;
font-size: 2
0
px;
color: var(--main-theme-color1);
letter-spacing: 2px;
&:nth-child(2n) {
background-color: #f6f9fe;
}
...
...
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
View file @
d0c54ff8
...
...
@@ -221,6 +221,7 @@ export default {
font-weight: 500;
line-height: 36px;
color: #333333;
letter-spacing: 1px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
...
...
@@ -235,6 +236,7 @@ export default {
font-family: Source Han Sans CN;
color: #888888;
line-height: 24px;
letter-spacing: 1px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
...
...
@@ -246,7 +248,6 @@ export default {
font-family: Source Han Sans CN;
color: #333333;
line-height: 28px;
.count {
color: #2878ff;
}
...
...
sample-form-manager-ui/admin/public/JSSDK.js
0 → 100644
View file @
d0c54ff8
This diff is collapsed.
Click to expand it.
sample-form-manager-ui/admin/public/index.html
View file @
d0c54ff8
...
...
@@ -13,5 +13,6 @@
</noscript>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
<script
src=
"./JSSDK.js"
></script>
</body>
</html>
sample-form-manager-ui/admin/src/pages/login/login.vue
View file @
d0c54ff8
...
...
@@ -107,10 +107,11 @@ export default {
}
.page-login {
width: 100%;
background-image: linear-gradient(45deg, #333, #111);
background-size: 40px 40px;
margin: 0;
height:
100%
;
height:
auto
;
.el-form {
margin: auto;
...
...
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/PreviewMaterals.vue
View file @
d0c54ff8
...
...
@@ -12,6 +12,14 @@
<img
class=
"sample-sheet-img"
:src=
"api + materialsPreview"
/>
</div>
</div>
<div
slot=
"footer"
class=
"tac"
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"handlePrint(materialsInfo)"
>
打 印
</el-button
>
</div>
</el-dialog>
</div>
</
template
>
...
...
@@ -48,15 +56,38 @@ export default {
data
()
{
return
{
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
val
:
""
,
loading
:
false
,
};
},
methods
:
{
handlePrint
(
info
)
{
let
_this
=
this
;
_this
.
loading
=
true
;
/* eslint-disable */
device
.
printer
({
papertype
:
"
A4
"
,
printername
:
""
,
// 打印机名称 为空则为默认打印机
printertype
:
"
url
"
,
// base64 ,normal,url
url
:
info
.
fileUrl
,
// url
success
:
(
res
)
=>
{
if
(
res
&&
res
.
code
==
"
00000
"
)
{
_this
.
$message
.
success
(
"
打印成功
"
);
_this
.
loading
=
false
;
}
},
fail
:
(
err
)
=>
{
_this
.
$message
.
error
(
err
.
Message
);
_this
.
loading
=
false
;
},
});
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
/deep/.el-dialog__body
{
max-height: 86
vh;
:deep(.el-dialog__body)
{
height: 78
vh;
overflow-y: auto;
&::-webkit-scrollbar {
width: 6px;
...
...
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