fix(ProjectAttachment): 移除未使用的上传附件相关代码
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</el-row>
|
||||
<div style="margin-top:10px;margin-bottom: 8px;margin-left: 15px;display: flex">
|
||||
<!-- <el-button color="#DED0B2" @click="handleUpload">上传附件</el-button>-->
|
||||
<file-upload v-if="!isLineBtn&&uploadState&&activeName!='plus'&&activeName!='all'" @beforeUpload="beforeUpload" @getFile="getFile"/>
|
||||
<file-upload v-if="!isLineBtn&&uploadState&&activeName!='plus'&&activeName!='all'" @getFile="getFile"/>
|
||||
|
||||
<el-button color="#DED0B2" @click="handleEditTag"
|
||||
v-if="activeName!='all'&&activeName!='plus'&&uploadState&&!isDefault"
|
||||
@@ -307,9 +307,6 @@ const compositeParam = (item) => {
|
||||
tag: getTagName(activeName.value) || '项目实施',
|
||||
}
|
||||
}
|
||||
const beforeUpload=()=>{
|
||||
// uploadLoading.value= ElLoading.service({fullscreen: true})
|
||||
}
|
||||
const getFile = (val) => {
|
||||
|
||||
console.log('上传文件', val)
|
||||
@@ -319,9 +316,6 @@ const getFile = (val) => {
|
||||
localStorage.setItem(`implementAllFileList-${route.query.projectId}`, JSON.stringify(fileList.value))
|
||||
otherAttachmentList.value.push(fileObj)
|
||||
// handleSubmit([fileObj])
|
||||
// nextTick(() => {
|
||||
// uploadLoading.value.close()
|
||||
// })
|
||||
}
|
||||
|
||||
const handleSubmit = async () => {
|
||||
|
||||
Reference in New Issue
Block a user