From 9b4433fddf5b401edb0aace8a404ac733b122702 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期四, 03 四月 2025 14:35:02 +0800 Subject: [PATCH] 添加非密字段显示 --- Source/UBCS-WEB/src/components/BatchImport/index.vue | 40 ++++++++++++++++++++++------------------ 1 files changed, 22 insertions(+), 18 deletions(-) diff --git a/Source/UBCS-WEB/src/components/BatchImport/index.vue b/Source/UBCS-WEB/src/components/BatchImport/index.vue index 1177548..d9f082b 100644 --- a/Source/UBCS-WEB/src/components/BatchImport/index.vue +++ b/Source/UBCS-WEB/src/components/BatchImport/index.vue @@ -61,24 +61,27 @@ > </el-upload> <template #footer> - <div v-if="type !== 'groupCode'"> - <el-button - v-if="type !== 'bulkEdit' " - :loading="downloadLoading" - size="small" - type="primary" - @click="downloadTemplateFun" - >涓嬭浇瀵煎叆妯℃澘 - </el-button> - <el-button v-if="type === 'bulkEdit'" - :loading="downloadLoading" - size="small" - type="primary" - @click="downloadTemplateFun" - >涓嬭浇缂栬緫妯℃澘 - </el-button> - </div> - <el-button size="small" @click="dialogVisible = false">鍏抽棴</el-button> + <div style="display: inline-block" v-if="type != 'groupCode'"> + <el-button + v-if="type !== 'bulkEdit' " + :loading="downloadLoading" + size="small" + type="primary" + @click="downloadTemplateFun" + >涓嬭浇瀵煎叆妯℃澘 + </el-button> + <el-button v-if="type === 'bulkEdit'" + :loading="downloadLoading" + size="small" + type="primary" + @click="downloadTemplateFun" + >涓嬭浇缂栬緫妯℃澘 + </el-button> + </div> + <div style="display: inline-block"> + <el-button size="small" @click="dialogVisible = false">鍏抽棴</el-button> + </div> + </template> <ShowImportData v-if="showVisible" @@ -320,6 +323,7 @@ } }, onSuccess(res) { + console.log(res) if (Object.keys(res.data).length === 0) { this.$message.success(this.title + "瀵煎叆鎴愬姛锛�"); this.resetTable() -- Gitblit v1.9.3