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
8a3080a2
Commit
8a3080a2
authored
Dec 24, 2024
by
baiyinhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改个人中心我的登记页面
parent
12277605
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
92 additions
and
42 deletions
+92
-42
edit.vue
src/views/personalCenter/myRegistration/edit.vue
+21
-18
myRegistration.data.ts
...iews/personalCenter/myRegistration/myRegistration.data.ts
+71
-24
No files found.
src/views/personalCenter/myRegistration/edit.vue
View file @
8a3080a2
...
...
@@ -8,23 +8,25 @@
headerSticky
@
back=
"handleBack"
>
<BasicForm
@
register=
"registerForm"
>
<template
#
enrollBook=
"
{ field, model }">
<Upload
:style=
"
{ pointerEvents: status === 'detail' ? 'none' : null }"
style="width: 45%"
v-model:file-list="fileList"
>
<a-button>
<UploadOutlined
/>
重新上传文件
</a-button>
</Upload>
</
template
>
</BasicForm>
<div
style=
"justify-content: flex-end; display: flex; gap: 10px"
>
<a-button
@
click=
"handleCancel"
>
取消
</a-button>
<a-button
style=
"margin-right: 20px"
type=
"primary"
@
click=
"handleEdit"
>
保存
</a-button>
<div
:style=
"
{ height: '70vh', overflowY: 'auto' }">
<BasicForm
@
register=
"registerForm"
>
<template
#
enrollBook=
"
{ field, model }">
<Upload
:style=
"
{ pointerEvents: status === 'detail' ? 'none' : null }"
style="width: 45%"
v-model:file-list="fileList"
>
<a-button>
<UploadOutlined
/>
重新上传文件
</a-button>
</Upload>
</
template
>
</BasicForm>
<div
style=
"display: flex; justify-content: flex-end; gap: 10px"
>
<a-button
@
click=
"handleCancel"
>
取消
</a-button>
<a-button
style=
"margin-right: 20px"
type=
"primary"
@
click=
"handleEdit"
>
保存
</a-button>
</div>
</div>
</PageWrapper>
</template>
...
...
@@ -84,10 +86,11 @@
<
style
scoped
>
:deep
(
.ant-form-item-label
)
{
margin-left
:
60px
;
margin-top
:
30px
;
margin-bottom
:
30px
;
margin-left
:
60px
;
}
:deep
(
.ant-form-item-row
)
{
align-items
:
center
;
}
...
...
src/views/personalCenter/myRegistration/myRegistration.data.ts
View file @
8a3080a2
...
...
@@ -117,6 +117,21 @@ export const myRegistrationColumnsForDetail: BasicColumn[] = [
},
];
export
const
myRegistrationForm
:
FormSchema
[]
=
[
{
field
:
'enrollNum'
,
label
:
'登记编号'
,
component
:
'Input'
,
},
{
field
:
'enrollDate'
,
label
:
'申请日期'
,
component
:
'Input'
,
},
{
field
:
'applicant'
,
label
:
'申请人'
,
component
:
'Input'
,
},
{
field
:
'dataName'
,
label
:
'数据知识产权名称'
,
...
...
@@ -133,15 +148,24 @@ export const myRegistrationForm: FormSchema[] = [
component
:
'Input'
,
},
{
field
:
'dataType'
,
label
:
'数据类型'
,
component
:
'Input'
,
},
{
field
:
'dataFormat'
,
label
:
'数据格式'
,
component
:
'Input'
,
field
:
'dataStructure'
,
label
:
'数据结构'
,
component
:
'InputTextArea'
,
colProps
:
{
lg
:
24
,
md
:
24
},
componentProps
:
{
rows
:
4
,
},
},
// {
// field: 'dataType',
// label: '数据类型',
// component: 'Input',
// },
// {
// field: 'dataFormat',
// label: '数据格式',
// component: 'Input',
// },
{
field
:
'dataScale'
,
label
:
'数据规模'
,
...
...
@@ -152,6 +176,29 @@ export const myRegistrationForm: FormSchema[] = [
label
:
'更新频次'
,
component
:
'Input'
,
},
{
field
:
'applyScene'
,
label
:
'应用场景'
,
component
:
'InputTextArea'
,
colProps
:
{
lg
:
12
,
md
:
12
},
componentProps
:
{
rows
:
4
,
},
},
{
field
:
'ruleExplain'
,
label
:
'算法规则简述'
,
component
:
'InputTextArea'
,
colProps
:
{
lg
:
12
,
md
:
12
},
componentProps
:
{
rows
:
4
,
},
},
{
field
:
'storageNum'
,
label
:
'存证公证编号'
,
component
:
'Input'
,
},
{
field
:
'storagePlatform'
,
label
:
'存证公证平台'
,
...
...
@@ -171,22 +218,22 @@ export const myRegistrationForm: FormSchema[] = [
},
},
},
{
field
:
'enrollDate'
,
label
:
'登记日期'
,
component
:
'Input'
,
},
{
field
:
'enrollStatus'
,
label
:
'登记备案状态'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'已备案'
,
value
:
'已备案'
},
{
label
:
'待审核'
,
value
:
'待审核'
},
],
},
},
//
{
//
field: 'enrollDate',
//
label: '登记日期',
//
component: 'Input',
//
},
//
{
//
field: 'enrollStatus',
//
label: '登记备案状态',
//
component: 'Select',
//
componentProps: {
//
options: [
//
{ label: '已备案', value: '已备案' },
//
{ label: '待审核', value: '待审核' },
//
],
//
},
//
},
{
field
:
'enrollBook'
,
label
:
'登记证书'
,
...
...
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