田源
2023-07-28 1d69b2703aa304f9e8b2c470b8a3d74d43cb4809
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,8 +312,7 @@
            </div>
          </div>
        </el-dialog>
<!--        <BatchImport v-if="batchImportData.visible" v-bind="batchImportData" :visible.sync="batchImportData.visible" >-->
<!--        </BatchImport>-->
          <ThemeImport :visible.sync="ThemeImportVisible" :codeClassifyOid="this.codeClassifyOid"></ThemeImport>
      </basic-container>
    </el-main>
  </el-container>
@@ -350,6 +349,8 @@
  inject: ["crudTreeData"],
  data() {
    return {
      //导入状态框
      ThemeImportVisible:false,
      selectRow:'',
      //树节点显示隐藏
      TreeFlagCode:false,
@@ -681,7 +682,7 @@
            label: '',
            prop: 'radio',
            width: 60,
            hide: false,
            display: false
          },
          {
            label: "模板编号",
@@ -730,9 +731,7 @@
  methods: {
    /** 导入 */
    ImportExcel(){
      // debugger
      // this.batchImportData.visible = true
      // this.batchImportData.codeClassifyOid = this.codeClassifyOid
      this.ThemeImportVisible=true;
    },
    /** 导出 */
    ExportExcel(){