From 0a1e8735df28380727ff3cbabc73c71b1fdee0e1 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 06 十二月 2023 22:22:49 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/components/BatchImport/index.vue | 43 +++++++++++++++++++++++-------------------- 1 files changed, 23 insertions(+), 20 deletions(-) diff --git a/Source/UBCS-WEB/src/components/BatchImport/index.vue b/Source/UBCS-WEB/src/components/BatchImport/index.vue index 9b76f3d..cb8caaa 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"> + <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" @@ -169,7 +172,7 @@ return this.currentTypeObj[this.type]["action"]; }, upParams() { - if (this.type === "historyImport" || this.type === "batchApplyCode" ) { + if (this.type === "historyImport" || this.type === "batchApplyCode") { return { codeClassifyOid: this.codeClassifyOid, classifyAttr: this.classifyAttr, @@ -191,7 +194,7 @@ return { codeClassifyOid: this.codeClassifyOid, }; - }else if(this.type === 'groupCode'){ + } else if (this.type === 'groupCode') { return { codeClassifyOid: this.codeClassifyOid, }; -- Gitblit v1.9.3