田源
2023-07-28 396bcc0547c587054a772b88d2b5c9ae5b146741
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 @@
      //定义一个模板属性id,数据是模板管理表格里面的oid
      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