fujunling
2023-06-26 a4e4026aee8c5e6d12c1065ce71efee81a2b5518
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -27,8 +27,8 @@
          :visible.sync="editvisible"
          @submit="EditSumbit"
        ></FormTemplateDialog>
        <el-button plain size="small" type="primary">批量导入申请</el-button>
        <el-button plain size="small" type="primary">历史数据导入</el-button>
        <el-button plain size="small" type="primary" @click="importDataShow('batchImportApply')">批量导入申请</el-button>
        <el-button plain size="small" type="primary" @click="importDataShow('historyImport')">历史数据导入</el-button>
        <el-button plain size="small" type="primary">批量申请编码</el-button>
        <el-button plain size="small" type="primary">批量发布</el-button>
        <el-button plain size="small" type="primary">查看流程历史</el-button>
@@ -111,6 +111,7 @@
        @current-change="handleCurrentChange">
      </el-pagination>
    </div>
    <historyImport :visible.sync="importVisible" v-if="importVisible" :codeClassifyOid="codeClassifyOid" :type="importType"></historyImport>
  </basic-container>
</template>
<script>
@@ -119,11 +120,13 @@
import integrationTransfer from '@/views/integration/integrationTransfer'
import SetPersonnel from '@/components/template/SetPersonnel'
import ResembleQueryDialog from "@/components/FormTemplate/ResembleQueryDialog.vue";
import historyImport from '../BatchImport/index.vue'
export default {
  components: {
    integrationTransfer,
    SetPersonnel,
    ResembleQueryDialog
    ResembleQueryDialog,
    historyImport
  },
  name: "Crud.vue",
  props: {
@@ -208,7 +211,10 @@
      tableHeadData: [],
      items: {},
      seniorQueryColumns: [],
      selectRow: []
      selectRow: [],
      historyVisible: false,
      importType: undefined, //导入类型,
      importVisible: false
    }
  },
  computed: {},
@@ -223,6 +229,11 @@
    this.doLayout()
  },
  watch: {
    tableHeadDataFateher:{
      handler(newval,oldval){
        this.options=newval.tableDefineVO.seniorQueryColumns
      }
    },
    codeClassifyOid: {
      handler(newval, oldval) {
        this.codeClassifyOid = newval;
@@ -405,7 +416,8 @@
    },
    //高级查询按钮
    findHandler(){
      this.findvisible=true
      this.findvisible=true;
      console.log(this.options)
    },
    // 高级查询
    echoContion(val) {
@@ -448,6 +460,10 @@
    EditSumbit(val){
      console.log(val)
      this.editvisible=false
    },
    importDataShow(type) {
      this.importType = type
      this.importVisible = true
    }
  }
}