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
87846472
Commit
87846472
authored
Nov 14, 2024
by
chenjiahao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据质量-菜单修改
parent
a407e696
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
88 additions
and
15 deletions
+88
-15
account.data.ts
src/views/dataQuality/agentClass/mainBody/account.data.ts
+6
-0
dataQualityMainBodyData.ts
...ataQuality/agentClass/mainBody/dataQualityMainBodyData.ts
+1
-0
index.vue
src/views/dataQuality/agentClass/mainBody/index.vue
+10
-5
mainBodyEdit.vue
src/views/dataQuality/agentClass/mainBody/mainBodyEdit.vue
+70
-9
index.vue
src/views/dataQuality/dataSheet/template/index.vue
+1
-1
No files found.
src/views/dataQuality/agentClass/mainBody/account.data.ts
View file @
87846472
...
@@ -29,6 +29,12 @@ export const columns: BasicColumn[] = [
...
@@ -29,6 +29,12 @@ export const columns: BasicColumn[] = [
dataIndex
:
'holder'
,
dataIndex
:
'holder'
,
width
:
150
,
width
:
150
,
},
},
{
title
:
'原始主体'
,
dataIndex
:
'originalPrincipal'
,
slots
:
{
customRender
:
'originalPrincipal'
},
width
:
150
,
}
];
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
{
...
...
src/views/dataQuality/agentClass/mainBody/dataQualityMainBodyData.ts
View file @
87846472
...
@@ -119,6 +119,7 @@ export const TreeData: any[] = [
...
@@ -119,6 +119,7 @@ export const TreeData: any[] = [
createDate
:
'2024-10-22 8:04:04'
,
createDate
:
'2024-10-22 8:04:04'
,
updateDate
:
'2024-10-22 8:04:04'
,
updateDate
:
'2024-10-22 8:04:04'
,
icon
:
'ant-design:partition-outlined'
,
icon
:
'ant-design:partition-outlined'
,
originalPrincipal
:
'贫困毕业生'
,
},
},
{
{
delFlag
:
'0'
,
delFlag
:
'0'
,
...
...
src/views/dataQuality/agentClass/mainBody/index.vue
View file @
87846472
...
@@ -42,6 +42,9 @@
...
@@ -42,6 +42,9 @@
<
template
#
fileName=
"{ text, record }"
>
<
template
#
fileName=
"{ text, record }"
>
<a
@
click=
"handleMainBodyEdit(record)"
>
{{
text
}}
</a>
<a
@
click=
"handleMainBodyEdit(record)"
>
{{
text
}}
</a>
</
template
>
</
template
>
<
template
#
originalPrincipal=
"{ text, record }"
>
<a
@
click=
"handleMainBodyEdit(record)"
>
{{
text
}}
</a>
</
template
>
</BasicTable>
</BasicTable>
<FileModal
@
register=
"registerModal"
@
success=
"handleSuccess"
/>
<FileModal
@
register=
"registerModal"
@
success=
"handleSuccess"
/>
<MoveFile
@
register=
"registerMoveFile"
@
success=
"handleMoveSuccess"
/>
<MoveFile
@
register=
"registerMoveFile"
@
success=
"handleMoveSuccess"
/>
...
@@ -67,11 +70,14 @@
...
@@ -67,11 +70,14 @@
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
getMenuListByPage
}
from
'@/api/system/menu/menu'
;
import
{
getMenuListByPage
}
from
'@/api/system/menu/menu'
;
import
{
fileData
,
TreeData
}
from
'@/views/dataQuality/agentClass/mainBody/dataQualityMainBodyData'
;
import
{
fileData
,
TreeData
,
}
from
'@/views/dataQuality/agentClass/mainBody/dataQualityMainBodyData'
;
import
{
forEach
}
from
'lodash-es'
;
import
{
forEach
}
from
'lodash-es'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
CreateMainBodyModal
from
"@/views/dataQuality/agentClass/mainBody/createMainBodyModal.vue"
;
import
CreateMainBodyModal
from
'@/views/dataQuality/agentClass/mainBody/createMainBodyModal.vue'
;
import
MainBodyEdit
from
"@/views/dataQuality/agentClass/mainBody/mainBodyEdit.vue"
;
import
MainBodyEdit
from
'@/views/dataQuality/agentClass/mainBody/mainBodyEdit.vue'
;
defineOptions
({
name
:
'AccountManagement'
});
defineOptions
({
name
:
'AccountManagement'
});
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
...
@@ -189,7 +195,7 @@
...
@@ -189,7 +195,7 @@
});
});
}
}
function
handleMainBodyEdit
(
record
)
{
function
handleMainBodyEdit
(
record
)
{
openMainBodyEditModal
(
true
,
{
openMainBodyEditModal
(
true
,
{
...
record
,
...
record
,
});
});
...
@@ -237,7 +243,6 @@
...
@@ -237,7 +243,6 @@
});
});
}
}
/** 删除按钮*/
/** 删除按钮*/
function
handleDelete
(
record
:
Recordable
)
{
function
handleDelete
(
record
:
Recordable
)
{
tableData
.
value
.
splice
(
tableData
.
value
.
splice
(
...
...
src/views/dataQuality/agentClass/mainBody/mainBodyEdit.vue
View file @
87846472
...
@@ -21,6 +21,13 @@
...
@@ -21,6 +21,13 @@
<Alert
<Alert
show-icon
show-icon
message=
""
message=
""
style=
"
margin-bottom: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
"
description=
"请一定确保主键唯一性、维度列完整性、否则检查结果可能不准确;建议为质量主体创建单独的质量任务,检查主键唯一、维度列非空"
description=
"请一定确保主键唯一性、维度列完整性、否则检查结果可能不准确;建议为质量主体创建单独的质量任务,检查主键唯一、维度列非空"
/>
/>
<BasicForm
@
register=
"registerInfoForm"
/>
<BasicForm
@
register=
"registerInfoForm"
/>
...
@@ -63,15 +70,69 @@
...
@@ -63,15 +70,69 @@
showIndexColumn
:
false
,
showIndexColumn
:
false
,
scroll
:
{
y
:
400
},
scroll
:
{
y
:
400
},
});
});
// const [registerInfoForm, { setFieldsValue, updateSchema, resetFields, validate }] = useForm({
// labelWidth: 100,
const
infoSchema
:
FormSchema
[]
=
[
// baseColProps: { lg: 24, md: 24 },
{
// schemas: infoSchema,
field
:
'name'
,
// showActionButtonGroup: false,
label
:
'原始主体'
,
// actionColOptions: {
required
:
true
,
// span: 23,
component
:
'Cascader'
,
// },
colProps
:
{
lg
:
12
,
md
:
12
},
// });
componentProps
:
{},
},
{
field
:
'dimensionCodeColumn'
,
label
:
'维度代码列'
,
component
:
'Select'
,
colProps
:
{
lg
:
11
,
md
:
11
,
offset
:
1
},
componentProps
:
{
placeholder
:
'请选择维度代码列'
,
options
:
[
{
label
:
'规范性'
,
value
:
'规范性'
},
// 其他选项...
],
},
},
{
field
:
'description'
,
label
:
'问题数据表名前缀'
,
required
:
true
,
colProps
:
{
lg
:
12
,
md
:
12
},
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入数据表名前缀'
,
},
},
{
field
:
'category'
,
label
:
'维度含义列'
,
component
:
'Select'
,
colProps
:
{
lg
:
11
,
md
:
11
,
offset
:
1
},
componentProps
:
{
placeholder
:
'请选择维度含义列'
,
options
:
[
{
label
:
'规范性'
,
value
:
'规范性'
},
// 其他选项...
],
},
},
{
field
:
'category'
,
label
:
'维度含义列'
,
colProps
:
{
lg
:
12
,
md
:
12
},
component
:
'Switch'
,
},
];
const
[
registerInfoForm
,
{
setFieldsValue
,
updateSchema
,
resetFields
,
validate
}]
=
useForm
({
labelWidth
:
145
,
labelAlign
:
'left'
,
baseColProps
:
{
lg
:
24
,
md
:
24
},
schemas
:
infoSchema
,
showActionButtonGroup
:
false
,
actionColOptions
:
{
span
:
23
,
},
});
const
[
registerModal
,
{
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
const
[
registerModal
,
{
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
tableTitle
.
value
=
data
.
fileName
;
tableTitle
.
value
=
data
.
fileName
;
});
});
...
...
src/views/dataQuality/dataSheet/template/index.vue
View file @
87846472
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
function
handleEdit
(
record
:
Recordable
,
disabled
:
number
)
{
function
handleEdit
(
record
:
Recordable
,
disabled
:
number
)
{
// console.log('record', record.businessId);
// console.log('record', record.businessId);
router
.
push
({
router
.
push
({
path
:
'/dataQuality/template/edit'
,
path
:
'/dataQuality/
dataSheet/
template/edit'
,
query
:
{
query
:
{
id
:
record
.
businessId
,
id
:
record
.
businessId
,
disabled
:
String
(
disabled
),
disabled
:
String
(
disabled
),
...
...
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