Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
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
葛齐林
energyai_vue
Commits
90b3a6e0
Commit
90b3a6e0
authored
Jun 04, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面调整
parent
6ceccff7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
add-or-update.vue
src/pages/sys/point/add-or-update.vue
+7
-5
No files found.
src/pages/sys/point/add-or-update.vue
View file @
90b3a6e0
...
@@ -153,10 +153,12 @@ export default {
...
@@ -153,10 +153,12 @@ export default {
{
min
:
1
,
max
:
30
,
message
:
'长度在 1 到 30 个字符'
,
trigger
:
'blur'
}
{
min
:
1
,
max
:
30
,
message
:
'长度在 1 到 30 个字符'
,
trigger
:
'blur'
}
],
],
equipmentModel
:
[
equipmentModel
:
[
{
required
:
true
,
message
:
'型号不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'型号不能为空'
,
trigger
:
'blur'
},
{
min
:
1
,
max
:
30
,
message
:
'长度在 1 到 30 个字符'
,
trigger
:
'blur'
}
],
],
maxPower
:
[
maxPower
:
[
{
required
:
true
,
message
:
'最大功率不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'最大功率不能为空'
,
trigger
:
'blur'
},
{
min
:
1
,
max
:
30
,
message
:
'长度在 1 到 30 个字符'
,
trigger
:
'blur'
}
],
],
type
:
[
type
:
[
{
required
:
true
,
message
:
'资源点类型不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'资源点类型不能为空'
,
trigger
:
'blur'
}
...
@@ -344,7 +346,7 @@ export default {
...
@@ -344,7 +346,7 @@ export default {
if
(
this
.
dataForm
.
modeTypes
)
{
if
(
this
.
dataForm
.
modeTypes
)
{
console
.
log
(
'111111:'
)
console
.
log
(
'111111:'
)
this
.
dataForm
.
modeTypes
=
this
.
dataForm
.
modeTypes
.
split
(
','
)
this
.
dataForm
.
modeTypes
=
this
.
dataForm
.
modeTypes
.
split
(
','
)
}
else
{
}
else
{
this
.
dataForm
.
modeTypes
=
[]
this
.
dataForm
.
modeTypes
=
[]
}
}
}
}
...
@@ -642,8 +644,8 @@ export default {
...
@@ -642,8 +644,8 @@ export default {
return
style
return
style
},
},
// 多选框组改变事件
// 多选框组改变事件
checkGroupChange
(
val
){
checkGroupChange
(
val
)
{
this
.
$set
(
this
.
dataForm
,
this
.
dataForm
.
modeTypes
,
val
)
this
.
$set
(
this
.
dataForm
,
this
.
dataForm
.
modeTypes
,
val
)
}
}
}
}
}
}
...
...
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