Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
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
fukai
vue-gjjs
Commits
73ee48a2
Commit
73ee48a2
authored
Dec 13, 2022
by
zhouqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development-202206' into 'development-202206'
’CTY缺陷修改‘ See merge request
!21
parents
3a210937
19fdb0f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletions
+23
-1
BopctyInfo.vue
src/views/Statics/Dbicty/BopctyInfo.vue
+2
-1
Cty.js
src/views/Statics/Dbicty/Cty.js
+20
-0
index.vue
src/views/Statics/Dbicty/index.vue
+1
-0
No files found.
src/views/Statics/Dbicty/BopctyInfo.vue
View file @
73ee48a2
...
@@ -13,8 +13,9 @@
...
@@ -13,8 +13,9 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"国家编号"
prop=
"codBopcty"
>
<el-form-item
label=
"国家编号"
prop=
"codBopcty"
>
<c-input
<c-input
v-model=
"model.
codBopcty
"
v-model=
"model.
bopcod
"
placeholder=
"请输入国家编号"
placeholder=
"请输入国家编号"
disabled=
true
>
>
</c-input>
</c-input>
</el-form-item>
</el-form-item>
...
...
src/views/Statics/Dbicty/Cty.js
View file @
73ee48a2
...
@@ -53,6 +53,26 @@ export const Pattern = {
...
@@ -53,6 +53,26 @@ export const Pattern = {
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
2
,
"message"
:
"最大长度2个字符"
,
"trigger"
:
"blur"
}
{
"max"
:
2
,
"message"
:
"最大长度2个字符"
,
"trigger"
:
"blur"
}
],
],
"bopcod"
:
[
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
3
,
"message"
:
"最大长度3个字符"
,
"trigger"
:
"blur"
}
],
"codBopcty"
:
[
{
"required"
:
false
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
3
,
"message"
:
"最大长度3个字符"
,
"trigger"
:
"blur"
}
],
"numcodBopcty"
:
[
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
3
,
"message"
:
"最大长度3个字符"
,
"trigger"
:
"blur"
}
],
"txtBopcty"
:
[
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
80
,
"message"
:
"最大长度80个字符"
,
"trigger"
:
"blur"
}
],
"fultxtBopcty"
:
[
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
100
,
"message"
:
"最大长度100个字符"
,
"trigger"
:
"blur"
}
],
}
}
src/views/Statics/Dbicty/index.vue
View file @
73ee48a2
...
@@ -111,6 +111,7 @@ export default {
...
@@ -111,6 +111,7 @@ export default {
commitAdd
()
{
commitAdd
()
{
this
.
$refs
.
modelForm
.
validate
((
validated
)
=>
{
this
.
$refs
.
modelForm
.
validate
((
validated
)
=>
{
if
(
validated
)
{
if
(
validated
)
{
this
.
model
.
codBopcty
=
this
.
model
.
bopcod
;
add
(
this
.
model
)
add
(
this
.
model
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
$message
.
success
(
"保存成功!"
);
this
.
$message
.
success
(
"保存成功!"
);
...
...
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