Commit 8a3080a2 authored by baiyinhao's avatar baiyinhao

修改个人中心我的登记页面

parent 12277605
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
headerSticky headerSticky
@back="handleBack" @back="handleBack"
> >
<div :style="{ height: '70vh', overflowY: 'auto' }">
<BasicForm @register="registerForm"> <BasicForm @register="registerForm">
<template #enrollBook="{ field, model }"> <template #enrollBook="{ field, model }">
<Upload <Upload
...@@ -22,10 +23,11 @@ ...@@ -22,10 +23,11 @@
</Upload> </Upload>
</template> </template>
</BasicForm> </BasicForm>
<div style="justify-content: flex-end; display: flex; gap: 10px"> <div style="display: flex; justify-content: flex-end; gap: 10px">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button style="margin-right: 20px" type="primary" @click="handleEdit">保存</a-button> <a-button style="margin-right: 20px" type="primary" @click="handleEdit">保存</a-button>
</div> </div>
</div>
</PageWrapper> </PageWrapper>
</template> </template>
...@@ -84,10 +86,11 @@ ...@@ -84,10 +86,11 @@
<style scoped> <style scoped>
:deep(.ant-form-item-label) { :deep(.ant-form-item-label) {
margin-left: 60px;
margin-top: 30px; margin-top: 30px;
margin-bottom: 30px; margin-bottom: 30px;
margin-left: 60px;
} }
:deep(.ant-form-item-row) { :deep(.ant-form-item-row) {
align-items: center; align-items: center;
} }
......
...@@ -117,6 +117,21 @@ export const myRegistrationColumnsForDetail: BasicColumn[] = [ ...@@ -117,6 +117,21 @@ export const myRegistrationColumnsForDetail: BasicColumn[] = [
}, },
]; ];
export const myRegistrationForm: FormSchema[] = [ export const myRegistrationForm: FormSchema[] = [
{
field: 'enrollNum',
label: '登记编号',
component: 'Input',
},
{
field: 'enrollDate',
label: '申请日期',
component: 'Input',
},
{
field: 'applicant',
label: '申请人',
component: 'Input',
},
{ {
field: 'dataName', field: 'dataName',
label: '数据知识产权名称', label: '数据知识产权名称',
...@@ -133,15 +148,24 @@ export const myRegistrationForm: FormSchema[] = [ ...@@ -133,15 +148,24 @@ export const myRegistrationForm: FormSchema[] = [
component: 'Input', component: 'Input',
}, },
{ {
field: 'dataType', field: 'dataStructure',
label: '数据类型', label: '数据结构',
component: 'Input', component: 'InputTextArea',
colProps: { lg: 24, md: 24 },
componentProps: {
rows: 4,
}, },
{
field: 'dataFormat',
label: '数据格式',
component: 'Input',
}, },
// {
// field: 'dataType',
// label: '数据类型',
// component: 'Input',
// },
// {
// field: 'dataFormat',
// label: '数据格式',
// component: 'Input',
// },
{ {
field: 'dataScale', field: 'dataScale',
label: '数据规模', label: '数据规模',
...@@ -152,6 +176,29 @@ export const myRegistrationForm: FormSchema[] = [ ...@@ -152,6 +176,29 @@ export const myRegistrationForm: FormSchema[] = [
label: '更新频次', label: '更新频次',
component: 'Input', 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', field: 'storagePlatform',
label: '存证公证平台', label: '存证公证平台',
...@@ -171,22 +218,22 @@ export const myRegistrationForm: FormSchema[] = [ ...@@ -171,22 +218,22 @@ export const myRegistrationForm: FormSchema[] = [
}, },
}, },
}, },
{ // {
field: 'enrollDate', // field: 'enrollDate',
label: '登记日期', // label: '登记日期',
component: 'Input', // component: 'Input',
}, // },
{ // {
field: 'enrollStatus', // field: 'enrollStatus',
label: '登记备案状态', // label: '登记备案状态',
component: 'Select', // component: 'Select',
componentProps: { // componentProps: {
options: [ // options: [
{ label: '已备案', value: '已备案' }, // { label: '已备案', value: '已备案' },
{ label: '待审核', value: '待审核' }, // { label: '待审核', value: '待审核' },
], // ],
}, // },
}, // },
{ {
field: 'enrollBook', field: 'enrollBook',
label: '登记证书', label: '登记证书',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment