fix : 修复项目实施附件接口

This commit is contained in:
2024-05-28 18:00:42 +08:00
parent dd406e4ba6
commit be367ead6e
3 changed files with 74 additions and 28 deletions

View File

@@ -14,7 +14,7 @@
:before-remove="beforeRemove"
:on-remove="handleRemove"
>
<el-button color="#DED0B2" :loading="loading">上传文件</el-button>
<el-button color="#DED0B2" :loading="loading" :disabled="disabled">上传文件</el-button>
</el-upload>
</template>
@@ -26,7 +26,6 @@ const uploadFileUrl = ref(baseURL + "/workflow/process/file/upload")
const headers = reactive({
authorization: getToken()
})
const disabled = ref(false)
const loading = ref(false)
const showTable = ref(false)
const uploadParams = ref({})
@@ -44,6 +43,9 @@ const props = defineProps({
showFileList: {
type: Boolean,
default: false
},disabled: {
type: Boolean,
default: false
}
})