weidy
2023-07-05 a78216b8655bbfd4d70577d21729e9741eb021d5
Source/UBCS-WEB/src/mixins/codeApply.js
@@ -3,6 +3,7 @@
  data() {
    return {
      secVOList: [],
      localSecVOList: [],
      showCodeApply: false,
      selfColumnType: {
        codefixedsec: "combox",
@@ -41,7 +42,9 @@
    }
  },
  created() {
    this.getCodeRule()
    if (this.type === 'batchImportApply') {
      this.getCodeRule()
    }
  },
  methods: {
    // 获取码值申请数据
@@ -55,13 +58,13 @@
            "coderefersec",
          ];
          this.secVOList = res.data.data.secVOList || []
          let localSecVOList = (res.data.data.secVOList || []).filter((item) =>
          this.localSecVOList = (res.data.data.secVOList || []).filter((item) =>
            typeList.includes(item.secType)
          );
          if (localSecVOList.length > 0) {
          if (this.localSecVOList.length > 0) {
            this.showCodeApply = true
            this.$nextTick(() => {
              this.$refs.CodeApply.templateRender(localSecVOList);
              this.$refs.CodeApply.templateRender(this.localSecVOList);
            });
          }