Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-pc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
融通安全管理系统
rongtong-pc
Commits
4e3aabb3
Commit
4e3aabb3
authored
Mar 28, 2024
by
kaitly205422@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
法律法规添加附件上传
parent
6b31881c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
19 deletions
+22
-19
src/components/FileUpload/index.vue
src/components/FileUpload/index.vue
+0
-18
src/views/law/law/index.vue
src/views/law/law/index.vue
+22
-1
No files found.
src/components/FileUpload/index.vue
View file @
4e3aabb3
...
...
@@ -204,22 +204,4 @@ export default {
.ele-upload-list__item-content-action
.el-link
{
margin-right
:
10px
;
}
.el-link--default
{
flex
:
1
;
overflow
:
hidden
;
justify-content
:
start
;
::v-deep
.el-link--inner
{
width
:
100%
;
}
::v-deep
.el-icon-document
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
width
:
98%
;
vertical-align
:
middle
;
}
}
</
style
>
src/views/law/law/index.vue
View file @
4e3aabb3
...
...
@@ -81,7 +81,7 @@
placeholder=
"请选择颁布日期"
/>
</el-form-item>
<el-form-item
required
:rules=
"[{ required: true, message: '请选择文件' }]"
label=
"文件"
prop=
"lawFiles"
>
<file-upload
v-model=
"form.lawFiles"
:limit=
"1"
/>
<file-upload
class=
"law-file"
v-model=
"form.lawFiles"
:limit=
"1"
/>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -245,3 +245,24 @@ export default {
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.law-file
{
::v-deep
.el-link--default
{
flex
:
1
;
overflow
:
hidden
;
justify-content
:
start
;
.el-link--inner
{
width
:
100%
;
}
.el-icon-document
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
width
:
98%
;
vertical-align
:
middle
;
}
}
}
</
style
>
\ 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