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
dfc2772c
Commit
dfc2772c
authored
Nov 15, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改事项列表
parent
e5122bbf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
21 deletions
+23
-21
sample-form-client-ui/admin/src/pages/home/Home.vue
sample-form-client-ui/admin/src/pages/home/Home.vue
+6
-0
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
...le-form-client-ui/admin/src/pages/showpage/MatterList.vue
+11
-9
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
...form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
+0
-5
sample-form-client-ui/admin/src/pages/showpage/components/LeftMenus.vue
...ient-ui/admin/src/pages/showpage/components/LeftMenus.vue
+6
-7
No files found.
sample-form-client-ui/admin/src/pages/home/Home.vue
View file @
dfc2772c
...
...
@@ -247,6 +247,12 @@ export default {
handleClick
(
e
)
{
if
(
e
.
target
.
className
===
"
hot-search-item
"
)
{
this
.
search
=
e
.
target
.
dataset
.
value
;
this
.
$router
.
push
({
path
:
"
/searchpage
"
,
query
:
{
val
:
this
.
search
,
},
});
}
},
},
...
...
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
View file @
dfc2772c
...
...
@@ -98,6 +98,7 @@ export default {
watch
:
{
searchVal
(
newVal
)
{
if
(
newVal
===
""
)
{
this
.
current
=
1
;
this
.
getWriteMatterList
();
}
},
...
...
@@ -122,7 +123,7 @@ export default {
this
.
matterList
=
data
;
this
.
matterTotal
=
total
;
},
// 获取
所有
材料
// 获取材料
async
getAllmaterials
()
{
this
.
materals
=
await
this
.
getMaterialsList
(
1
,
3
,
null
);
},
...
...
@@ -143,6 +144,7 @@ export default {
// 切换部门
changeDept
(
id
)
{
this
.
deptId
=
id
;
this
.
current
=
1
;
this
.
getWriteMatterList
();
this
.
getAllmaterials
();
},
...
...
@@ -179,7 +181,7 @@ export default {
}
.matter-box {
height: 100%;
padding:
3
0px;
padding:
2
0px;
background: #ffffff;
border-radius: 16px;
.matter-list {
...
...
@@ -194,9 +196,9 @@ export default {
}
.matter-item {
width: 460px;
height: 1
42
px;
margin-bottom: 3
2
px;
padding:
20px 16
px;
height: 1
50
px;
margin-bottom: 3
0
px;
padding:
10
px;
background: #edf6fe;
border-radius: 16px;
cursor: pointer;
...
...
@@ -204,7 +206,7 @@ export default {
margin-bottom: 10px;
font-size: 24px;
font-weight: 500;
line-height:
2
6px;
line-height:
3
6px;
color: #333333;
display: -webkit-box;
-webkit-box-orient: vertical;
...
...
@@ -232,13 +234,13 @@ export default {
}
}
}
/deep/.btn-prev
{
:deep(.btn-prev)
{
margin-right: 80px;
}
}
}
/deep/.btn-prev
,
/deep/ .btn-next
{
:deep(.btn-prev)
,
:deep(.btn-next)
{
width: 78px;
height: 25px;
font-family: Source Han Sans CN;
...
...
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
View file @
dfc2772c
...
...
@@ -136,10 +136,6 @@ export default {
matterId
:
this
.
matterInfo
.
matterId
,
});
let
{
data
}
=
res
.
data
.
data
;
data
.
forEach
((
v
)
=>
{
v
.
formContent
=
JSON
.
parse
(
v
.
formContent
);
v
.
form
=
{};
});
this
.
materailsList
=
data
;
},
...
...
@@ -149,7 +145,6 @@ export default {
if
(
this
.
scale
>
200
)
{
this
.
scale
=
200
;
}
console
.
log
(
this
.
width
*
(
this
.
scale
/
100
));
},
// 缩小
...
...
sample-form-client-ui/admin/src/pages/showpage/components/LeftMenus.vue
View file @
dfc2772c
...
...
@@ -54,22 +54,21 @@ export default {
}
.dept-list {
width: 100%;
height: calc(100vh - 1
0
0px);
height: calc(100vh - 1
1
0px);
padding: 15px 0px;
overflow-y: auto;
}
.dept-item {
height: 70px;
text-align: center;
font-size: 26px;
line-height: 70px;
color: #333333;
cursor: pointer;
.dept-name {
padding: 0px 6px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 20px 6px;
line-height: 40px;
// overflow: hidden;
// text-overflow: ellipsis;
// white-space: nowrap;
}
}
.line {
...
...
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