Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
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
lizhichao
whp-xl
Commits
3e7ef45f
Commit
3e7ef45f
authored
Jun 25, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备管理编辑时选择企业提示问题
parent
f3bc465d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SafetyDeviceMgEdit.vue
...stem-master/src/views/SafetyDevice/SafetyDeviceMgEdit.vue
+1
-1
No files found.
dcit-hcsystem-hcsystem-master/src/views/SafetyDevice/SafetyDeviceMgEdit.vue
View file @
3e7ef45f
...
...
@@ -126,6 +126,7 @@ import METHOD from "@/utils/methods";
export
default
class
SafetyDeviceMgEdit
extends
Vue
{
//属性或参数中使用!:表示强制解析(告诉typescript编译器,这里一定有值),常用于vue-decorator中的@Prop
@
Prop
(
Boolean
)
dialogVisible
!
:
Boolean
;
@
Provide
()
loading
:
Boolean
=
false
;
@
Prop
(
Object
)
editForm
!
:
{
deviceName
:
String
;
longitude
:
Number
;
...
...
@@ -180,7 +181,6 @@ export default class SafetyDeviceMgEdit extends Vue {
confirmFun
(
formName
:
string
)
{
let
that
=
this
,
params
=
that
.
editForm
;
params
.
enterpriseId
=
that
.
editForm
.
enterpriseListId
;
(
that
as
any
).
$refs
[
formName
].
validate
((
valid
:
boolean
)
=>
{
if
(
valid
)
{
METHOD
.
axiosPost
(
...
...
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