Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
6e1026bc
Commit
6e1026bc
authored
Nov 29, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商城管理-资源管理
parent
9e792693
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
635 additions
and
29 deletions
+635
-29
index.ts
src/router/routes/index.ts
+1
-1
detailModel.vue
...ringAndExchange/resourceManagement/detail/detailModel.vue
+0
-0
index.vue
...ataSharingAndExchange/resourceManagement/detail/index.vue
+515
-0
index.vue
...views/dataSharingAndExchange/resourceManagement/index.vue
+4
-28
institution.data.ts
...SharingAndExchange/resourceManagement/institution.data.ts
+115
-0
No files found.
src/router/routes/index.ts
View file @
6e1026bc
...
@@ -955,7 +955,7 @@ export const ResourceRoute: AppRouteRecordRaw = {
...
@@ -955,7 +955,7 @@ export const ResourceRoute: AppRouteRecordRaw = {
children
:
[
children
:
[
{
{
path
:
'dataSharingAndExchange/resourceManagement/detail'
,
path
:
'dataSharingAndExchange/resourceManagement/detail'
,
name
:
'detail'
,
name
:
'detail
123
'
,
component
:
()
=>
import
(
'@/views/dataSharingAndExchange/resourceManagement/detail/index.vue'
),
component
:
()
=>
import
(
'@/views/dataSharingAndExchange/resourceManagement/detail/index.vue'
),
},
},
],
],
...
...
src/views/dataSharingAndExchange/resourceManagement/detail/detailModel.vue
0 → 100644
View file @
6e1026bc
src/views/dataSharingAndExchange/resourceManagement/detail/index.vue
View file @
6e1026bc
This diff is collapsed.
Click to expand it.
src/views/dataSharingAndExchange/resourceManagement/index.vue
View file @
6e1026bc
<
template
>
<
template
>
<PageWrapper
dense
contentFullHeight
fixedHeight
contentClass=
"flex"
>
<PageWrapper
dense
contentFullHeight
fixedHeight
contentClass=
"flex"
>
<!--
<DeptTree
class=
"w-1/4 xl:w-1/5"
@
select=
"handleSelect"
class=
"w-3/4 xl:w-4/5"
/>
-->
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<template
#
toolbar
>
<template
#
toolbar
>
</
template
>
</
template
>
<
template
#
name=
"{ text, record }"
>
<a
@
click=
"showDetails(record)"
>
{{
text
}}
</a>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<
template
#
bodyCell=
"{ column, record }"
>
<template
v-if=
"column.key === 'action'"
>
<template
v-if=
"column.key === 'action'"
>
<TableAction
<TableAction
:actions=
"[
:actions=
"[
// 详情按钮
// 详情按钮
{
{
//
icon: 'clarity:note-edit-line',
icon: 'clarity:note-edit-line',
label: '详情',
label: '详情',
onClick: handleDetails.bind(null, record),
onClick: handleDetails.bind(null, record),
},
},
// {
// // icon: 'clarity:note-edit-line',
// label: '新建',
// onClick: handleAdd.bind(null, record),
// },
// {
// // icon: 'clarity:note-edit-line',
// label: '编辑',
// onClick: handleEdit.bind(null, record),
// },
// {
// color: 'error',
// label: '删除',
// popConfirm: {
// title: '是否确认删除',
// placement: 'left',
// confirm: handleDelete.bind(null, record),
// },
// },
// {
// label: '移动',
// onClick: handleMove.bind(null, record),
// },
]"
]"
/>
/>
</
template
>
</
template
>
...
@@ -177,11 +150,14 @@
...
@@ -177,11 +150,14 @@
});
});
}
/** 详情按钮*/
}
/** 详情按钮*/
function
handleDetails
(
record
:
Recordable
)
{
function
handleDetails
(
record
:
Recordable
)
{
push
({
push
({
path
:
'/dataSharingAndExchange/resourceManagement/detail'
,
path
:
'/dataSharingAndExchange/resourceManagement/detail'
,
// path: '/dataSharingAndExchange/resourceManagement/detail/index',
// path: '/dataWarehousePlanning/physicalModel/detail',
// path: '/dataWarehousePlanning/physicalModel/detail',
query
:
record
,
query
:
record
,
});
});
console
.
log
(
'path'
,
record
)
}
}
...
...
src/views/dataSharingAndExchange/resourceManagement/institution.data.ts
View file @
6e1026bc
...
@@ -232,3 +232,118 @@ export const AddTreeSchema: any[] = [
...
@@ -232,3 +232,118 @@ export const AddTreeSchema: any[] = [
// },
// },
]
]
export
const
editFormSchema
:
any
[]
=
[
{
field
:
'table1'
,
slot
:
'table1'
,
colProps
:
{
lg
:
24
,
md
:
24
},
},
{
field
:
'dataBase'
,
label
:
'数据源:'
,
slot
:
'dataBase'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'libraryName'
,
label
:
'库名:'
,
slot
:
'libraryName'
,
component
:
'Input'
,
colProps
:
{
lg
:
12
,
md
:
12
},
required
:
true
,
},
{
field
:
'tableName'
,
label
:
'表名:'
,
slot
:
'tableName'
,
component
:
'Input'
,
colProps
:
{
lg
:
12
,
md
:
12
},
required
:
true
,
},
{
field
:
'tableType'
,
label
:
'表类型:'
,
slot
:
'tableType'
,
component
:
'Select'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'tableExplain'
,
label
:
'表注释:'
,
slot
:
'tableExplain'
,
component
:
'Select'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'storeType'
,
label
:
'存储类型:'
,
slot
:
'storeType'
,
component
:
'Select'
,
colProps
:
{
lg
:
12
,
md
:
12
},
required
:
true
,
},
{
field
:
'isTransaction'
,
label
:
'是否为事务表:'
,
slot
:
'isTransaction'
,
component
:
'Select'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'table2'
,
slot
:
'table2'
,
colProps
:
{
lg
:
24
,
md
:
24
},
},
{
field
:
'mainDept'
,
label
:
'主责部门:'
,
slot
:
'mainDept'
,
component
:
'Input'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'isEncrypt'
,
label
:
'是否为事务表:'
,
slot
:
'isEncrypt'
,
component
:
'RadioGroup'
,
componentProps
:
{
options
:
[
{
label
:
'是'
,
value
:
'是'
},
{
label
:
'否'
,
value
:
'否'
},
],
},
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'table3'
,
slot
:
'table3'
,
colProps
:
{
lg
:
24
,
md
:
24
},
},
{
field
:
'taskName'
,
label
:
'业务定义:'
,
slot
:
'taskName'
,
component
:
'Input'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'chineseName'
,
label
:
'表中文名:'
,
slot
:
'chineseName'
,
component
:
'Input'
,
colProps
:
{
lg
:
12
,
md
:
12
},
},
{
field
:
'isSensitive'
,
label
:
'是否为敏感信息:'
,
slot
:
'isSensitive'
,
component
:
'RadioGroup'
,
componentProps
:
{
options
:
[
{
label
:
'是'
,
value
:
'是'
},
{
label
:
'否'
,
value
:
'否'
},
],
},
colProps
:
{
lg
:
12
,
md
:
12
},
},
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment