Commit 8a3080a2 authored by baiyinhao's avatar baiyinhao

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

parent 12277605
......@@ -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;
}
......
......@@ -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: '登记证书',
......
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