ludc
2024-02-24 344ada5bc3e41c5fb42ae0e8ac590b64b7cb04ca
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -415,9 +415,8 @@
    },
    tableHeadDataFateher: {
      handler(newval, oldval) {
        // console.log(newval)
        if (newval.length > 0) {
          this.options = newval.tableDefineVO.seniorQueryColumns
        if (Object.keys(newval).length > 0) {
          this.options = newval.tableDefineVO.seniorQueryColumns;
        }
      }
    },
@@ -623,12 +622,16 @@
    async submitSync() {
      if (this.SyncValue) {
        this.syncLoading = true;
        const response = await syncSearch({enDate: this.SyncValue})
        const response = await syncSearch({endDate: this.SyncValue})
        if (response.status === 200) {
          this.$message.success('同步成功!')
          this.syncLoading = false;
          this.syncDialogBox = false;
          this.SyncValue = "";
        }else {
          this.syncLoading = false;
          this.syncDialogBox = false;
          this.SyncValue = "";
        }
      } else {
        this.$message.warning('请选择最后更新时间!')