【修改】修改汉字显示
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
<el-form-item label="上传报告:" prop="fileId">
|
||||
<el-upload action="#" :http-request="(params) => uploadFile(params)" :show-file-list="false"
|
||||
:before-upload="beforeUploadFile" :on-remove="handleRemove"
|
||||
:file-list="fileList">
|
||||
:file-list="fileList" :disabled="formControl">
|
||||
<el-button class="uploadBtn" :disabled="formControl">选择文件</el-button>
|
||||
|
||||
</el-upload>
|
||||
@@ -278,12 +278,12 @@ export default {
|
||||
methods: {
|
||||
|
||||
downFile(id){
|
||||
if(this.formControl) return
|
||||
this.$api.report.reportDownload({reportId:null,fileId:id}).then(res=>{
|
||||
downloadFile(res)
|
||||
})
|
||||
},
|
||||
handleClick(){
|
||||
if(this.formControl) return
|
||||
if(this.form.departmentName){
|
||||
this.orgTableVal=this.form.department
|
||||
this.orgTableValName=this.form.departmentName
|
||||
@@ -445,6 +445,7 @@ export default {
|
||||
this.form.fileName = data.name;
|
||||
this.form.fileId = data.key;
|
||||
this.fileList = [data]
|
||||
this.$refs.processFormRef.clearValidate(['fileId'])
|
||||
})
|
||||
},
|
||||
// 上传文件前
|
||||
|
||||
Reference in New Issue
Block a user