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
2fe5d69f
Commit
2fe5d69f
authored
Nov 09, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样表系统上传
parent
bba41413
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
sample-form-manager-ui/admin/src/pages/software/materials/modal/AddMaterials.vue
...admin/src/pages/software/materials/modal/AddMaterials.vue
+8
-5
No files found.
sample-form-manager-ui/admin/src/pages/software/materials/modal/AddMaterials.vue
View file @
2fe5d69f
...
...
@@ -33,13 +33,14 @@
<el-form-item
label=
"上传附件"
prop=
"fileUrl"
>
<el-upload
class=
"upload-demo"
:action=
"api + '
f
m/file/commonupload'"
:action=
"api + '
samplefor
m/file/commonupload'"
:on-remove=
"handleRemoveFileUrl"
:limit=
"1"
:file-list=
"fileUrlFileList"
:on-success=
"OnsuccessfileUrl"
:headers=
"headers"
:before-upload=
"beforeUpload"
accept=
"application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
...
...
@@ -47,13 +48,14 @@
<el-form-item
label=
"上传模板"
prop=
"templatePath"
>
<el-upload
class=
"upload-demo"
:action=
"api + '
f
m/file/commonupload'"
:action=
"api + '
samplefor
m/file/commonupload'"
:on-remove=
"handleRemoveTemplatePath"
:limit=
"1"
:file-list=
"templatePathFileList"
:on-success=
"OnsuccesstemplatePath"
:headers=
"headers"
:before-upload=
"beforeUpload"
accept=
"application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
...
...
@@ -61,13 +63,14 @@
<el-form-item
label=
"上传样表"
prop=
"samplePath"
>
<el-upload
class=
"upload-demo"
:action=
"api + '
f
m/file/commonupload'"
:action=
"api + '
samplefor
m/file/commonupload'"
:on-remove=
"handleRemoveSamplePath"
:limit=
"1"
:file-list=
"samplePathFileList"
:on-success=
"OnsuccessSamplePath"
:headers=
"headers"
:before-upload=
"beforeUpload"
accept=
"application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
...
...
@@ -142,8 +145,8 @@ export default {
],
},
headers
:
{
Authorization
:
local
.
getLocal
(
"
writ
eToken
"
)
?
local
.
getLocal
(
"
writ
eToken
"
)
Authorization
:
local
.
getLocal
(
"
sampl
eToken
"
)
?
local
.
getLocal
(
"
sampl
eToken
"
)
:
""
,
},
};
...
...
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