Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
7ccb526a
Commit
7ccb526a
authored
Aug 02, 2023
by
吴志坤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础信息
parent
50187f56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
basicInfo.vue
src/views/equipment/basicInfo.vue
+6
-4
No files found.
src/views/equipment/basicInfo.vue
View file @
7ccb526a
...
...
@@ -216,6 +216,7 @@
import
{
add
,
listBasicInfo
,
updataInfo
,
getDetailById
,
deleteLogical
}
from
'@/api/equipment/basicInfo'
import
{
parseTime
}
from
'@/utils'
import
{
getDictData
}
from
'@/api/equipment/application'
import
{
resetForm
}
from
'@/utils/common'
export
default
{
name
:
'BasicInfo'
,
data
()
{
...
...
@@ -298,16 +299,15 @@ export default {
],
prank
:
[
{
required
:
true
,
message
:
'请输入prank'
,
trigger
:
'change'
},
{
pattern
:
/^
[
0-9
]
+
(\.[
0-9
]
+
)?
$/
,
message
:
'请输入纯数字或小数
'
,
trigger
:
'change'
}],
{
pattern
:
/^
-
?\d
+$/
,
message
:
'请输入纯数字
'
,
trigger
:
'change'
}],
pissb
:
[
{
required
:
true
,
message
:
'请选择pissb'
,
trigger
:
'blur'
}
],
psm
:
[
{
required
:
true
,
message
:
'请输入psm'
,
trigger
:
'change'
},
{
pattern
:
/^
[
0-9
]
+
(\.[
0-9
]
+
)?
$/
,
message
:
'请输入纯数字或小数
'
,
trigger
:
'change'
}],
{
pattern
:
/^
-
?\d
+$/
,
message
:
'请输入纯数字
'
,
trigger
:
'change'
}],
psy
:
[
{
required
:
true
,
message
:
'请输入psy'
,
trigger
:
'change'
},
{
pattern
:
/^
[
0-9
]
+
(\.[
0-9
]
+
)?
$/
,
message
:
'请输入纯数字或小数'
,
trigger
:
'change'
}
{
required
:
true
,
message
:
'请输入psy'
,
trigger
:
'change'
}
]
},
deptOptions
:
[]
...
...
@@ -471,6 +471,7 @@ export default {
if
(
res
.
code
===
200
)
{
this
.
open
=
false
this
.
$message
.
success
(
'操作成功'
)
this
.
queryParams
.
page
=
1
this
.
getList
()
this
.
reFrom
()
}
else
if
(
res
.
code
===
null
)
{
...
...
@@ -482,6 +483,7 @@ export default {
if
(
res
.
code
===
200
)
{
this
.
open
=
false
this
.
$message
.
success
(
'操作成功'
)
this
.
queryParams
.
page
=
1
this
.
getList
()
this
.
reFrom
()
}
else
if
(
res
.
code
===
null
)
{
...
...
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