refactor(manager/experts): 操作列去掉"下载"按钮
操作列含义应当是"对专家本人的管理动作"(审核/修改/查看/启用-禁用/已拒绝意见), 证书下载已经分别在执业证书/职称证明列里有专门的"下载"按钮, 操作列里再放一份 属于重复入口, 用户要求移除。 清理: - 操作列 el-button "下载" 删除 (按 执业证书 > 职称证明 > 简历 优先级) - 同步删除 onDownloadAll (仅此按钮调用, 现已无用) - onDownloadCert 保留 (列内下载按钮 + 预览 dialog 底部下载) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -80,7 +80,6 @@
|
||||
{{ row.status === 'N' ? '恢复' : '禁用' }}
|
||||
</el-button>
|
||||
<el-button link type="info" v-if="row.auditStatus === '3'" @click="onViewAuditOpinion(row)">已拒绝</el-button>
|
||||
<el-button link type="primary" v-if="row.practiceCertUrl || row.titleCertUrl || row.resumeUrl" @click="onDownloadAll(row)">下载</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -392,12 +391,6 @@ function onDownloadCert(url, phone) {
|
||||
a.click()
|
||||
document.body.removeChild(a)
|
||||
}
|
||||
// 操作列 下载:按 执业证书 > 职称证明 > 简历 优先级下载第一个可用附件
|
||||
function onDownloadAll(row) {
|
||||
const url = row.practiceCertUrl || row.titleCertUrl || row.resumeUrl
|
||||
if (!url) return ElMessage.warning('暂无可下载的附件')
|
||||
onDownloadCert(url, row.phone)
|
||||
}
|
||||
|
||||
// ========== 批量导入 dialog ==========
|
||||
const importOpen = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user