产值计划
This commit is contained in:
		| @ -26,9 +26,6 @@ | ||||
|     <el-card shadow="never"> | ||||
|       <template #header> | ||||
|         <el-row :gutter="10" class="mb8"> | ||||
|           <el-col :span="1.5"> | ||||
|             <el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['out:monthPlanAudit:export']">导出</el-button> | ||||
|           </el-col> | ||||
|           <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> | ||||
|         </el-row> | ||||
|       </template> | ||||
| @ -218,16 +215,6 @@ const handleDelete = async (row?: MonthPlanAuditVO) => { | ||||
|   await getList(); | ||||
| }; | ||||
|  | ||||
| /** 导出按钮操作 */ | ||||
| const handleExport = () => { | ||||
|   proxy?.download( | ||||
|     'out/monthPlanAudit/export', | ||||
|     { | ||||
|       ...queryParams.value | ||||
|     }, | ||||
|     `monthPlanAudit_${new Date().getTime()}.xlsx` | ||||
|   ); | ||||
| }; | ||||
|  | ||||
| onMounted(() => { | ||||
|   getList(); | ||||
| @ -246,4 +233,7 @@ const listeningProject = watch( | ||||
| onUnmounted(() => { | ||||
|   listeningProject(); | ||||
| }); | ||||
| defineExpose({ | ||||
|   getList | ||||
| }); | ||||
| </script> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user