This commit is contained in:
shijing 2026-01-06 11:24:31 +08:00
commit 1fb079c4ab
1 changed files with 21 additions and 9 deletions

View File

@ -9,14 +9,14 @@
<el-main class="nopadding">
<scTable
ref="table"
:apiObj="API.hrm.resignation.list"
:apiObj="API.pum.supplieraudit.list"
row-key="id"
stripe
:query="query"
@row-click="(row)=>{t_id=row.id;mode='show';drawerVisible=true;}"
>
<el-table-column label="姓名" prop="employee_name" width="100" show-overflow-tooltip></el-table-column>
<el-table-column label="审批状态" width="200" show-overflow-tooltip>
<el-table-column label="供应商名称" prop="name" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="审批状态" width="250" show-overflow-tooltip>
<template #default="scope">
<el-tag :type="actStateEnum[scope.row.ticket_?.act_state]?.type">
{{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
@ -24,12 +24,24 @@
<el-tag type="info" effect="plain">{{ scope.row.ticket_?.state_.name }}</el-tag>
</template>
</el-table-column>`
<el-table-column label="部门" prop="belong_dept_name" width="120" show-overflow-tooltip></el-table-column>`
<el-table-column label="岗位" prop="post_name" width="120" show-overflow-tooltip></el-table-column>
<el-table-column label="身份证号" prop="employee_id_number" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="离职日期" prop="end_date" width="100" show-overflow-tooltip></el-table-column>
<el-table-column label="原因" prop="reason" show-overflow-tooltip></el-table-column>
</el-table-column>
<el-table-column label="物料名称" prop="material_name" width="200" show-overflow-tooltip></el-table-column>`
<el-table-column label="物料类别" prop="material_cate" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="调查表" prop="survery_form" width="100" show-overflow-tooltip>
<template #default="scope">
<el-link v-if="scope.row.survery_form_" type="text" :href="scope.row.survery_form_.path" target="_blank" style="color:blue" @click.stop="">下载</el-link>
</template>
</el-table-column>
<el-table-column label="营业执照" prop="business_license" width="100" show-overflow-tooltip>
<template #default="scope">
<el-link v-if="scope.row.business_license_" type="text" :href="scope.row.business_license_.path" target="_blank" style="color:blue" @click.stop="">下载</el-link>
</template>
</el-table-column>
<el-table-column label="质量证书" prop="quality_certificate" show-overflow-tooltip>
<template #default="scope">
<el-link v-if="scope.row.quality_certificate_" type="text" :href="scope.row.quality_certificate_.path" target="_blank" style="color:blue" @click.stop="">下载</el-link>
</template>
</el-table-column>
</scTable>
</el-main>
</el-container>