From 396bcc0547c587054a772b88d2b5c9ae5b146741 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 28 七月 2023 18:09:02 +0800 Subject: [PATCH] 主题库切换分类模板管理单选框 --- Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue index 4fbe436..1b5b779 100644 --- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue +++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue @@ -16,7 +16,7 @@ <div style="display: flex; margin-top: 10px"> <el-button plain size="small" type="primary" @click="Enable">鍚敤</el-button> <el-button plain size="small" type="primary" @click="Deactivate">鍋滅敤</el-button> - <el-button plain size="small" type="primary" @click="ImportExcel">瀵煎叆</el-button> + <el-button plain size="small" type="primary" @click.native="ImportExcel">瀵煎叆</el-button> <el-button plain size="small" type="primary" @click="ExportExcel">瀵煎嚭</el-button> </div> </div> @@ -312,7 +312,8 @@ </div> </div> </el-dialog> - <ThemeImport :visible.sync="ThemeImportVisible"></ThemeImport> +<!-- 瀵煎嚭--> + <ThemeImport :visible.sync="ThemeImportVisible" :codeClassifyOid="this.codeClassifyOid"></ThemeImport> </basic-container> </el-main> </el-container> @@ -682,7 +683,7 @@ label: '', prop: 'radio', width: 60, - hide: false, + display: false }, { label: "妯℃澘缂栧彿", @@ -731,11 +732,7 @@ methods: { /** 瀵煎叆 */ ImportExcel(){ - // debugger - // this.batchImportData.visible = true - // this.batchImportData.codeClassifyOid = this.codeClassifyOid this.ThemeImportVisible=true; - console.log('ThemeImportVisible',this.ThemeImportVisible) }, /** 瀵煎嚭 */ ExportExcel(){ @@ -1203,9 +1200,11 @@ //瀹氫箟涓�涓ā鏉垮睘鎬d锛屾暟鎹槸妯℃澘绠$悊琛ㄦ牸閲岄潰鐨刼id if(data.parentId == ""){ this.TreeFlagCode=true; + } this.nodeClickList = data - this.ProData=[] + this.ProData=[]; + this.selectRow=0; try { await TreeObjcet(data.oid).then(res => { this.FlagObj = res.data.data -- Gitblit v1.9.3