This is an automated email from the ASF dual-hosted git repository.
yangzhou pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new b00cd0f40 [improve] Front-end style improvements (#1893)
b00cd0f40 is described below
commit b00cd0f4075bad3eb53f2339b873072fe2e14414
Author: benjobs <[email protected]>
AuthorDate: Mon Oct 24 12:26:06 2022 +0800
[improve] Front-end style improvements (#1893)
---
.../flink/app/components/AppView/StartApplicationModal.vue | 4 ++--
.../streampark-console-newui/src/views/flink/app/data/index.ts | 9 +--------
.../src/views/flink/app/hooks/useFlinkRender.tsx | 4 ++--
.../src/views/system/member/Member.vue | 1 -
.../src/views/system/role/role.data.ts | 10 +++++-----
.../src/views/system/user/user.data.ts | 3 ---
6 files changed, 10 insertions(+), 21 deletions(-)
diff --git
a/streampark-console/streampark-console-newui/src/views/flink/app/components/AppView/StartApplicationModal.vue
b/streampark-console/streampark-console-newui/src/views/flink/app/components/AppView/StartApplicationModal.vue
index 3e888c2be..292d48e59 100644
---
a/streampark-console/streampark-console-newui/src/views/flink/app/components/AppView/StartApplicationModal.vue
+++
b/streampark-console/streampark-console-newui/src/views/flink/app/components/AppView/StartApplicationModal.vue
@@ -117,8 +117,8 @@
id: receiveData.application.id,
savePointed,
savePoint: savePointPath,
- flameGraph: formValue.flameGraph,
- allowNonRestored: formValue.allowNonRestoredState,
+ flameGraph: formValue.flameGraph || false,
+ allowNonRestored: formValue.allowNonRestoredState || false
});
if (data.data) {
Swal.fire({
diff --git
a/streampark-console/streampark-console-newui/src/views/flink/app/data/index.ts
b/streampark-console/streampark-console-newui/src/views/flink/app/data/index.ts
index 15736e5ea..422349476 100644
---
a/streampark-console/streampark-console-newui/src/views/flink/app/data/index.ts
+++
b/streampark-console/streampark-console-newui/src/views/flink/app/data/index.ts
@@ -75,14 +75,7 @@ export const getAppColumns = (): BasicColumn[] => [
title: 'Launch | Build',
dataIndex: 'launch',
width: 220,
- },
-
- {
- title: 'Modified Time',
- dataIndex: 'modifyTime',
- sorter: true,
- width: 170,
- },
+ }
];
/* Get diff editor configuration */
diff --git
a/streampark-console/streampark-console-newui/src/views/flink/app/hooks/useFlinkRender.tsx
b/streampark-console/streampark-console-newui/src/views/flink/app/hooks/useFlinkRender.tsx
index e1d9791aa..247ddb5df 100644
---
a/streampark-console/streampark-console-newui/src/views/flink/app/hooks/useFlinkRender.tsx
+++
b/streampark-console/streampark-console-newui/src/views/flink/app/hooks/useFlinkRender.tsx
@@ -175,7 +175,7 @@ export const renderInputGroup = (model: Recordable) => {
</Form.Item>
</Input.Group>
- <p class="conf-desc my-0">
+ <p class="conf-desc mt-10px">
<span class="note-info">
<Tag color="#2db7f5" class="tag-note">
Note
@@ -274,7 +274,7 @@ export const renderProperties = ({ model, field }:
RenderCallbackParams) => {
value={model[field]}
onInput={(e) => (model[field] = e.target.value)}
/>
- <p class="conf-desc">
+ <p class="conf-desc mt-10px">
<span class="note-info">
<Tag color="#2db7f5" class="tag-note">
Note
diff --git
a/streampark-console/streampark-console-newui/src/views/system/member/Member.vue
b/streampark-console/streampark-console-newui/src/views/system/member/Member.vue
index 5f5c0ab23..b00c7b66a 100644
---
a/streampark-console/streampark-console-newui/src/views/system/member/Member.vue
+++
b/streampark-console/streampark-console-newui/src/views/system/member/Member.vue
@@ -116,7 +116,6 @@
};
});
const [registerTable, { reload }] = useTable({
- title: t('system.member.table.title'),
api: fetchMemberList,
columns: [
{ title: t('system.member.table.userName'), dataIndex: 'userName',
sorter: true },
diff --git
a/streampark-console/streampark-console-newui/src/views/system/role/role.data.ts
b/streampark-console/streampark-console-newui/src/views/system/role/role.data.ts
index 6772845b2..4701044bd 100644
---
a/streampark-console/streampark-console-newui/src/views/system/role/role.data.ts
+++
b/streampark-console/streampark-console-newui/src/views/system/role/role.data.ts
@@ -24,11 +24,6 @@ export const columns: BasicColumn[] = [
title: 'Role Name',
dataIndex: 'roleName',
},
- {
- title: 'Description',
- dataIndex: 'remark',
- ellipsis: true,
- },
{
title: 'Create Time',
dataIndex: 'createTime',
@@ -39,6 +34,11 @@ export const columns: BasicColumn[] = [
dataIndex: 'modifyTime',
sorter: true,
},
+ {
+ title: 'Description',
+ dataIndex: 'remark',
+ ellipsis: true,
+ },
];
export const searchFormSchema: FormSchema[] = [
diff --git
a/streampark-console/streampark-console-newui/src/views/system/user/user.data.ts
b/streampark-console/streampark-console-newui/src/views/system/user/user.data.ts
index a498ca8aa..29afeacfe 100644
---
a/streampark-console/streampark-console-newui/src/views/system/user/user.data.ts
+++
b/streampark-console/streampark-console-newui/src/views/system/user/user.data.ts
@@ -37,7 +37,6 @@ export const columns: BasicColumn[] = [
{
title: 'User Name',
dataIndex: 'username',
- width: 200,
sorter: true,
},
{
@@ -47,7 +46,6 @@ export const columns: BasicColumn[] = [
{
title: 'User Type',
dataIndex: 'userType',
- width: 180,
},
{
title: 'Status',
@@ -67,7 +65,6 @@ export const columns: BasicColumn[] = [
{
title: 'Create Time',
dataIndex: 'createTime',
- width: 180,
sorter: true,
},
];