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
b26572c8
Commit
b26572c8
authored
Nov 15, 2024
by
baiyinhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除架构规划未使用的引用
parent
b51d407d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
182 deletions
+11
-182
index.vue
src/views/ArchitecturePlan/dataTiering/index.vue
+2
-4
mock.ts
src/views/ArchitecturePlan/dataTiering/mock.ts
+0
-10
model.data.ts
src/views/ArchitecturePlan/dataTiering/model.data.ts
+0
-7
modelModal.vue
src/views/ArchitecturePlan/dataTiering/modelModal.vue
+1
-4
index.vue
src/views/ArchitecturePlan/sys/index.vue
+4
-5
mock.ts
src/views/ArchitecturePlan/sys/mock.ts
+0
-10
model.data copy.ts
src/views/ArchitecturePlan/sys/model.data copy.ts
+0
-7
model.data.ts
src/views/ArchitecturePlan/sys/model.data.ts
+0
-7
modelDetailModal.vue
src/views/ArchitecturePlan/sys/modelDetailModal.vue
+4
-128
No files found.
src/views/ArchitecturePlan/dataTiering/index.vue
View file @
b26572c8
...
...
@@ -49,9 +49,8 @@
</PageWrapper>
</template>
<
script
lang=
"ts"
setup
>
import
{
reactive
,
unref
,
onDeactivated
,
onMounted
,
ref
}
from
'vue'
;
import
{
reactive
,
onMounted
,
ref
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getAccountList
,
deleteUser
,
exportUserList
}
from
'@/api/system/user/user'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useModal
}
from
'@/components/Modal'
;
...
...
@@ -60,7 +59,7 @@
import
{
useGo
}
from
'@/hooks/web/usePage'
;
import
{
useRoute
,
onBeforeRouteLeave
}
from
'vue-router'
;
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
modelData
,
TreeData
}
from
'./mock'
;
import
{
TreeData
}
from
'./mock'
;
import
{
Modal
}
from
'ant-design-vue'
;
// import ModelTree from '@/views/dataWarehousePlanning/physicalModel/ModelTree.vue';
...
...
@@ -70,7 +69,6 @@
const
route
=
useRoute
();
const
go
=
useGo
();
const
[
registerModal
,
{
openModal
}]
=
useModal
();
const
[
registerAddUserModal
,
{
openModal
:
addUserModal
}]
=
useModal
();
const
[
registerMoveUser
,
{
openModal
:
openMoveUserModal
}]
=
useModal
();
const
searchInfo
=
reactive
<
Recordable
>
({});
const
tableData
=
ref
([]);
...
...
src/views/ArchitecturePlan/dataTiering/mock.ts
View file @
b26572c8
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
import
{
update
}
from
'lodash-es'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
export
const
TreeData
:
any
[]
=
[
{
tireName
:
'源系统层'
,
...
...
src/views/ArchitecturePlan/dataTiering/model.data.ts
View file @
b26572c8
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
export
const
columns
:
BasicColumn
[]
=
[
{
...
...
src/views/ArchitecturePlan/dataTiering/modelModal.vue
View file @
b26572c8
...
...
@@ -10,13 +10,10 @@
</BasicModal>
</
template
>
<
script
lang=
"ts"
setup
>
import
{
ref
,
computed
,
unref
,
reactive
}
from
'vue'
;
import
{
ref
,
computed
,
unref
}
from
'vue'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
physicalModelFormSchema
}
from
'./model.data'
;
import
{
getDeptList
}
from
'@/api/system/dept/dept'
;
import
{
addUserApi
,
UserDetailApi
,
UserUpdataApi
}
from
'@/api/system/user/user'
;
import
{
encryptTwo
}
from
'../../../../src/utils/jsencrypt.js'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
TreeData
}
from
'@/views/ArchitecturePlan/dataTiering/mock'
;
import
{
router
}
from
'@/router'
;
...
...
src/views/ArchitecturePlan/sys/index.vue
View file @
b26572c8
...
...
@@ -56,20 +56,19 @@
</PageWrapper>
</template>
<
script
lang=
"ts"
setup
>
import
{
reactive
,
unref
,
onDeactivated
,
onMounted
,
ref
}
from
'vue'
;
import
{
reactive
,
onMounted
,
ref
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getAccountList
,
deleteUser
,
exportUserList
}
from
'@/api/system/user/user'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
ModelModal
from
'./modelModal.vue'
;
import
{
columns
,
searchFormSchema
,
MoveFormSchema
}
from
'./model.data'
;
import
{
columns
,
searchFormSchema
}
from
'./model.data'
;
import
{
useGo
}
from
'@/hooks/web/usePage'
;
import
{
useRoute
,
onBeforeRouteLeave
}
from
'vue-router'
;
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
modelData
,
TableData
}
from
'./mock'
;
import
{
TableData
}
from
'./mock'
;
import
{
Modal
}
from
'ant-design-vue'
;
import
{
is
}
from
'@/utils/is'
;
// import ModelTree from '@/views/dataWarehousePlanning/physicalModel/ModelTree.vue';
...
...
src/views/ArchitecturePlan/sys/mock.ts
View file @
b26572c8
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
import
{
update
}
from
'lodash-es'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
export
const
TableData
:
any
[]
=
[
{
systemName
:
'系统1'
,
...
...
src/views/ArchitecturePlan/sys/model.data copy.ts
View file @
b26572c8
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
export
const
columns
:
BasicColumn
[]
=
[
{
...
...
src/views/ArchitecturePlan/sys/model.data.ts
View file @
b26572c8
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
export
const
columns
:
BasicColumn
[]
=
[
{
...
...
src/views/ArchitecturePlan/sys/modelDetailModal.vue
View file @
b26572c8
...
...
@@ -40,50 +40,16 @@
</div>
</div>
</
template
>
<BasicTable
@
register=
"registerTable1"
class=
"height1"
>
<
template
#
toolbar
>
<a-input
style=
"width: 200px; margin-right: auto"
default-value=
"表信息"
allowClear
/>
</
template
>
</BasicTable>
<BasicTable
@
register=
"registerTable2"
class=
"height2"
>
<
template
#
toolbar
>
<a-input
style=
"width: 200px; margin-right: auto"
default-value=
"分桶信息"
allowClear
/>
</
template
>
</BasicTable>
<BasicTable
@
register=
"registerTable3"
class=
"height3"
>
<
template
#
toolbar
>
<a-input
style=
"width: 200px; margin-right: auto"
default-value=
"分区信息"
allowClear
/>
</
template
>
</BasicTable>
<BasicTable
@
register=
"registerTable4"
class=
"height4"
>
<
template
#
toolbar
>
<a-input
style=
"width: 200px; margin-right: auto"
default-value=
"列信息"
allowClear
/>
</
template
>
</BasicTable>
</PageWrapper>
<!-- <DetailSetModal @register="registerSetModal" @success="handleSuccess" />--
>
<DetailSetModal
@
register=
"registerSetModal"
@
success=
"handleSuccess"
/
>
</BasicModal>
</template>
<
script
lang=
"ts"
setup
>
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
ref
,
computed
,
unref
,
reactive
,
onMounted
}
from
'vue'
;
import
{
ref
,
ComputedRef
}
from
'vue'
;
import
{
BasicModal
,
useModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
detailColumns
}
from
'./model.data'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
TreeData
}
from
'@/views/metaModel/physicsModel/modelData'
;
import
{
router
}
from
'@/router'
;
import
ColumnTable
from
'./ColumnTable.vue'
;
import
AreaTable
from
'./AreaTable.vue'
;
import
Table
from
'./Table.vue'
;
import
BucketTable
from
'./BucketTable.vue'
;
import
{
useTable
,
BasicTable
}
from
'@/components/Table'
;
import
{
editAreaData
,
editColumnData
,
editBucketData
,
editTableData
,
}
from
'@/views/metaModel/physicsModel/modelData.ts'
;
import
DetailSetModal
from
'./detailSetModal.vue'
;
import
Icon
from
'@/components/Icon/Icon.vue'
;
import
{
useGo
}
from
'@/hooks/web/usePage'
;
...
...
@@ -94,93 +60,10 @@
const
isUpdate
=
ref
(
true
);
const
isMove
=
ref
(
false
);
const
rowId
=
ref
(
''
);
const
tableData
=
ref
([]);
const
columnTableData
=
ref
([]);
const
bucketTableData
=
ref
([]);
const
areaTableData
=
ref
([]);
const
go
=
useGo
();
const
getTitle
=
computed
(()
=>
'Inceptor元模型'
);
const
[
registerSetModal
,
{
openModal
:
setModal
}]
=
useModal
();
const
[
registerTable1
,
{
reload1
,
getForm1
}]
=
useTable
({
title
:
''
,
api
:
async
(
params
)
=>
{
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
tableData
.
value
.
length
,
code
:
''
,
message
:
''
,
data
:
[],
};
return
{
...
response
,
data
:
tableData
.
value
};
},
columns
:
detailColumns
,
showTableSetting
:
false
,
showIndexColumn
:
false
,
pagination
:
false
,
bordered
:
true
,
});
const
[
registerTable2
,
{
reload2
,
getForm2
}]
=
useTable
({
title
:
''
,
api
:
async
(
params
)
=>
{
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
bucketTableData
.
value
.
length
,
code
:
''
,
message
:
''
,
data
:
bucketTableData
.
value
,
};
return
{
...
response
,
data
:
bucketTableData
.
value
};
},
columns
:
detailColumns
,
showTableSetting
:
false
,
showIndexColumn
:
false
,
pagination
:
false
,
bordered
:
true
,
});
const
[
registerTable3
,
{
reload3
,
getForm3
}]
=
useTable
({
title
:
''
,
api
:
async
(
params
)
=>
{
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
areaTableData
.
value
.
length
,
code
:
''
,
message
:
''
,
data
:
areaTableData
.
value
,
};
return
{
...
response
,
data
:
areaTableData
.
value
};
},
columns
:
detailColumns
,
showTableSetting
:
false
,
showIndexColumn
:
false
,
pagination
:
false
,
bordered
:
true
,
});
const
[
registerTable4
,
{
reload4
,
getForm4
}]
=
useTable
({
title
:
''
,
api
:
async
(
params
)
=>
{
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
columnTableData
.
value
.
length
,
code
:
''
,
message
:
''
,
data
:
columnTableData
.
value
,
};
return
{
...
response
,
data
:
columnTableData
.
value
};
},
columns
:
detailColumns
,
showTableSetting
:
false
,
showIndexColumn
:
false
,
pagination
:
false
,
bordered
:
true
,
});
//初始化弹框
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
...
...
@@ -203,13 +86,6 @@
function
handleUpdateButton
()
{
go
(
'/metaModel/physicsModel/editRowTable'
);
}
onMounted
(()
=>
{
tableData
.
value
=
editTableData
;
columnTableData
.
value
=
editColumnData
;
bucketTableData
.
value
=
editBucketData
;
areaTableData
.
value
=
editAreaData
;
});
</
script
>
<
style
>
.height1
{
...
...
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