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
28d9ff60
Commit
28d9ff60
authored
Dec 17, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业认证
parent
e7509004
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
ec.data.ts
src/views/personalCenter/enterpriseCertification/ec.data.ts
+1
-0
index.vue
src/views/personalCenter/enterpriseCertification/index.vue
+26
-6
No files found.
src/views/personalCenter/enterpriseCertification/ec.data.ts
View file @
28d9ff60
...
...
@@ -16,6 +16,7 @@ export const enterpriseFormSchema: FormSchema[] = [
label
:
'营业执照:'
,
slot
:
'license'
,
required
:
true
,
r
},
{
field
:
'logo'
,
...
...
src/views/personalCenter/enterpriseCertification/index.vue
View file @
28d9ff60
...
...
@@ -194,8 +194,8 @@
</div>
</div>
<div
class=
"agree-bg"
>
<a-button
class=
"button"
type=
"primary"
>
提交认证
</a-button>
<a-button
class=
"button"
>
保存
</a-button>
<a-button
class=
"button"
type=
"primary"
@
click=
"handleSubmit"
>
提交认证
</a-button>
<a-button
class=
"button"
@
click=
"handleSave"
>
保存
</a-button>
</div>
</div>
</div>
...
...
@@ -204,7 +204,14 @@
<
script
lang=
"ts"
setup
>
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
CheckboxGroup
,
Divider
,
UploadDragger
,
Input
,
RadioGroup
,
Checkbox
}
from
'ant-design-vue'
;
import
{
CheckboxGroup
,
Divider
,
UploadDragger
,
Input
,
RadioGroup
,
Checkbox
,
}
from
'ant-design-vue'
;
import
{
identityOptions
,
typeOptions
}
from
'./ecData'
;
import
{
ApiOutlined
,
PlusOutlined
}
from
'@ant-design/icons-vue'
;
import
{
useRouter
}
from
'vue-router'
;
...
...
@@ -238,10 +245,23 @@
function
handleAgreement
()
{
createMessage
.
success
(
'下载成功!'
);
}
async
function
handleSubmit
()
{
if
(
!
checkedAgree
.
value
)
{
createMessage
.
warning
(
'请阅读并勾选平台协议!'
);
return
;
}
// await identityValidate();
// await enterpriseValidate();
// await applicantValidate();
createMessage
.
success
(
'提交成功!'
);
}
function
handleSave
()
{
createMessage
.
success
(
'保存成功!'
);
}
/**
* form
*/
const
[
identityForm
]
=
useForm
({
const
[
identityForm
,
{
validate
:
identityValidate
}
]
=
useForm
({
labelWidth
:
100
,
baseColProps
:
{
span
:
24
},
schemas
:
identityFormSchema
,
...
...
@@ -250,7 +270,7 @@
span
:
23
,
},
}
as
FormProps
);
const
[
enterpriseForm
]
=
useForm
({
const
[
enterpriseForm
,
{
validate
:
enterpriseValidate
}
]
=
useForm
({
labelWidth
:
150
,
baseColProps
:
{
span
:
24
},
schemas
:
enterpriseFormSchema
,
...
...
@@ -259,7 +279,7 @@
span
:
23
,
},
}
as
FormProps
);
const
[
applicantForm
]
=
useForm
({
const
[
applicantForm
,
{
validate
:
applicantValidate
}
]
=
useForm
({
labelWidth
:
150
,
baseColProps
:
{
span
:
24
},
schemas
:
applicantFormSchema
,
...
...
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