| | |
| | | }, |
| | | 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; |
| | | } |
| | | } |
| | | }, |
| | |
| | | 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('请选择最后更新时间!') |