资料关闭完成
This commit is contained in:
@@ -392,7 +392,7 @@ const onUploadFile = async (e:any) => {
|
||||
if (!file) return;
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
formData.append('step', '2');
|
||||
formData.append('step', '1');
|
||||
uploadLoading.value = true;
|
||||
const {data,error} = await uploadFileApi(props.currentId, formData);
|
||||
if(!error){
|
||||
|
||||
@@ -119,7 +119,7 @@ const uploadFile = async (e: any) => {
|
||||
if (!file) return;
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
formData.append('step', '5');
|
||||
formData.append('step', '4');
|
||||
uploadLoading.value = true;
|
||||
const {error} = await uploadFileApi(props.currentId, formData);
|
||||
if(!error){
|
||||
|
||||
@@ -384,6 +384,7 @@ onMounted(() => {
|
||||
<div v-if="c.status === 'APPROVING'" class="flex gap-1.5">
|
||||
<NButton class="text-xs" text type="primary" @click="openDetail(c,'detail')">详情</NButton>
|
||||
<NButton class="text-xs" text type="warning" @click="openProgress(c)">进度</NButton>
|
||||
<!-- <NButton class="text-xs" text type="primary" @click="openDisposal(c)">处置申请</NButton> -->
|
||||
<NButton class="text-xs" text type="error" @click="openWithdraw(c)">撤回</NButton>
|
||||
</div>
|
||||
<!-- 审批通过 -->
|
||||
|
||||
Reference in New Issue
Block a user