From e3324ae28a20c514903a9997cb808ab0b7e27e14 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Fri, 26 Jan 2024 17:50:06 +0800 Subject: [PATCH 01/10] =?UTF-8?q?fix:=20zip=E6=96=87=E4=BB=B6=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/file.js b/src/utils/file.js index 08cf671..09ef907 100644 --- a/src/utils/file.js +++ b/src/utils/file.js @@ -87,7 +87,7 @@ export const zipFile = async (fileList, zipName) => { result.forEach(res => { zip.file(res.fileName, res.data) }) - const content = await zip.generateAsync({ type: 'blob' }) + const content = await zip.generateAsync({ type: 'blob', compression: 'DEFLATE' }) return new File([content], zipName, { type: content.type }) } From bded5fccc429e23517f844ec0a21efabdef315e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Mon, 29 Jan 2024 10:35:52 +0800 Subject: [PATCH 02/10] =?UTF-8?q?1.=E8=AF=B7=E6=B1=82=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=8F=A3=EF=BC=8C=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9E=E6=95=B0=E6=8D=AE=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=85=A8=E5=B1=8F=E5=A2=9E=E5=8A=A0loading..?= =?UTF-8?q?.=202.=20=E5=AF=BC=E5=85=A5excel=E6=97=B6=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E4=B9=9F=E9=9C=80=E8=A6=81=E5=A2=9E=E5=8A=A0loading...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/Scheduling.vue | 222 +++++++++++++++++--------------- 1 file changed, 118 insertions(+), 104 deletions(-) diff --git a/src/views/system/Scheduling.vue b/src/views/system/Scheduling.vue index e571a17..d233dec 100644 --- a/src/views/system/Scheduling.vue +++ b/src/views/system/Scheduling.vue @@ -1,114 +1,116 @@ \ No newline at end of file From 139f7d3dd235bcfb2a0fed21b7e6ca1e4e6d42d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Tue, 30 Jan 2024 15:51:44 +0800 Subject: [PATCH 09/10] =?UTF-8?q?Database=20=E5=88=86=E9=A1=B5=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=88=A0=E6=8E=89SLOW=20QUERY=20=E8=BF=99=E4=B8=80?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../abnormalAlarm/databaseMonitor/overview/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/abnormalAlarm/databaseMonitor/overview/index.vue b/src/views/abnormalAlarm/databaseMonitor/overview/index.vue index fc83a48..6a8bc3c 100644 --- a/src/views/abnormalAlarm/databaseMonitor/overview/index.vue +++ b/src/views/abnormalAlarm/databaseMonitor/overview/index.vue @@ -193,11 +193,11 @@ const columns = [ ellipsis: true, width: 300, }, - { - title: 'SLOW QUERY', - align: 'center', - dataIndex: 'slowQuery', - }, + // { + // title: 'SLOW QUERY', + // align: 'center', + // dataIndex: 'slowQuery', + // }, { title: 'ALARMS', align: 'center', From 7e8e82c9e1341baf3d23a2a8acb740e1b5e559bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Tue, 30 Jan 2024 16:02:57 +0800 Subject: [PATCH 10/10] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E7=9A=84=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modals/ConfigUserLibraryModal.vue | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/views/spectrumAnalysis/components/Modals/ConfigUserLibraryModal.vue b/src/views/spectrumAnalysis/components/Modals/ConfigUserLibraryModal.vue index 62c74fe..2a7ec0b 100644 --- a/src/views/spectrumAnalysis/components/Modals/ConfigUserLibraryModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/ConfigUserLibraryModal.vue @@ -7,24 +7,28 @@ :dataSource="list" :list-style="{ width: '200px', - height: '400px' + height: '400px', }" :target-keys="targetKeys" - :render="item => item.title" + :render="(item) => item.title" :showSearch="true" :showSelectAll="false" @change="handleChange" > -
-
+ +
+ Save
@@ -43,7 +47,7 @@ export default { return { list: [], targetKeys: [], - isSaving: false + isSaving: false, } }, methods: { @@ -58,17 +62,17 @@ export default { const { sampleId, inputFileName: fileName } = this.sampleData const { success, result, message } = await getAction('/gamma/configUserLibrary', { sampleId, - fileName + fileName, }) if (success) { this.isLoading = false const { AllNuclides, UserNuclides } = result - this.list = AllNuclides.map(item => ({ + this.list = AllNuclides.map((item) => ({ key: item, - title: item + title: item, })) - this.targetKeys = UserNuclides.map(item => item) + this.targetKeys = UserNuclides.map((item) => item) this.initialTargetKeys = cloneDeep(this.targetKeys) } else { @@ -95,7 +99,7 @@ export default { const { inputFileName: fileName } = this.sampleData const { success, result, message } = await postAction('/gamma/saveUserLibrary', { fileName, - userLibraryName: this.targetKeys + userLibraryName: this.targetKeys, }) if (success) { this.$message.success('Save Success') @@ -107,8 +111,8 @@ export default { } finally { this.isSaving = false } - } - } + }, + }, }