Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
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
fulixin
dsk-operate-sys-cscec
Commits
6d2e2778
Commit
6d2e2778
authored
Jan 16, 2024
by
tyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2b968a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
CustomFormDesign.vue
...ent/components/CustomForm/components/CustomFormDesign.vue
+12
-7
No files found.
dsk-operate-ui/src/views/consultingOrgManagement/components/CustomForm/components/CustomFormDesign.vue
View file @
6d2e2778
...
...
@@ -169,15 +169,18 @@ export default {
type
:
"object"
,
fields
:
{
subfieldModuleName
:
{
type
:
"string"
,
required
:
true
,
message
:
"分栏名称不能为空"
}
,
edit
:
{
type
:
"enum"
,
enum
:
[
true
],
required
:
true
,
message
:
"请先保存
芬兰
名称,当前不能处于编辑状态"
}
,
edit
:
{
type
:
"enum"
,
enum
:
[
true
],
required
:
true
,
message
:
"请先保存
分栏
名称,当前不能处于编辑状态"
}
,
children
:
{
type
:
"array"
,
required
:
true
,
defaultField
:
{
formAttribute
:
{
type
:
"object"
,
fields
:
{
fieldName
:
{
type
:
"string"
,
required
:
true
}
type
:
"object"
,
fields
:
{
formAttribute
:
{
type
:
"object"
,
fields
:
{
fieldName
:
{
type
:
"string"
,
required
:
true
,
message
:
"字段名称不能为空"
}
}
}
}
}
...
...
@@ -187,9 +190,11 @@ export default {
}
}
;
const
validatorIns
=
new
Schema
(
finllyRules
);
const
flag
=
await
validatorIns
.
validate
(
_templateTemp
);
const
flag
=
await
validatorIns
.
validate
(
_templateTemp
,
{
first
:
true
}
);
}
catch
(
error
)
{
console
.
log
(
error
);
if
(
error
?.
errors
?.
length
)
{
console
.
dir
(
error
);
}
}
}
,
cancelCreate
()
{
...
...
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