From 59dd3b29f4c7a92c06068f135fa975c322444b97 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Thu, 11 Jan 2024 15:52:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E4=BC=98=E5=8C=96=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6=E8=BE=93=E5=85=A5=E6=A1=86=EF=BC=8C?= =?UTF-8?q?=E6=9C=89=E7=9A=84=E5=9C=B0=E6=96=B9=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E8=81=94=E5=8A=A8=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/components/table-tab.js | 1 - .../resources/static/components/version-tab.js | 16 ++++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/service-web/src/main/resources/static/components/table-tab.js b/service-web/src/main/resources/static/components/table-tab.js index bd8a1f8..bdcab0a 100644 --- a/service-web/src/main/resources/static/components/table-tab.js +++ b/service-web/src/main/resources/static/components/table-tab.js @@ -28,7 +28,6 @@ function tableTab() { // interval: 10000, filter: { title: '表筛选', - ...formReloadFlinkJobIdTextInputAndAliasTextInput("58d0da94-1b3c-4234-948d-482ae3425e70"), body: [ { type: 'group', diff --git a/service-web/src/main/resources/static/components/version-tab.js b/service-web/src/main/resources/static/components/version-tab.js index f79d5a0..8108999 100644 --- a/service-web/src/main/resources/static/components/version-tab.js +++ b/service-web/src/main/resources/static/components/version-tab.js @@ -19,7 +19,7 @@ function versionTab() { } }, data: { - now: "${DATETOSTR(DATEMODIFY(NOW(), -1, 'days'), 'YYYYMMDD')}" + now: "${DATETOSTR(DATEMODIFY(NOW(), -1, 'days'), 'YYYYMMDD')}" }, ...crudCommonOptions(), interval: 10000, @@ -31,19 +31,11 @@ function versionTab() { type: 'group', body: [ { - type: 'input-text', - name: 'flinkJobId', - label: 'Flink job id', - clearable: true, - placeholder: '通过 ID 搜索', + ...flinkJobIdTextInput('c5cac9d3-844a-4d86-b2c5-0c10f2283667'), size: 'md' }, { - type: 'input-text', - name: 'alias', - label: '名称', - clearable: true, - placeholder: '通过别名搜索', + ...aliasTextInput('c5cac9d3-844a-4d86-b2c5-0c10f2283667'), size: 'md' }, { @@ -150,7 +142,7 @@ function versionTab() { align: 'center', width: 75, sortable: true, - },{ + }, { name: 'version', label: '版本', align: 'center',