Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
耿迪迪
gassafety
Commits
9eb7e2b0
Commit
9eb7e2b0
authored
Sep 02, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改按钮刷新
parent
108884d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
index.vue
...web/src/views/deviceInspection/inspectiondetail/index.vue
+1
-0
index.vue
...eb/src/views/riskManagement/hiddenTroubleDetail/index.vue
+4
-4
No files found.
gassafety-web/src/views/deviceInspection/inspectiondetail/index.vue
View file @
9eb7e2b0
...
@@ -457,6 +457,7 @@ export default {
...
@@ -457,6 +457,7 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open1
=
false
;
this
.
open1
=
false
;
this
.
getList
();
this
.
getList
();
location
.
reload
();
});
});
}
else
if
(
this
.
title1
==
"新增巡检计划"
)
{
}
else
if
(
this
.
title1
==
"新增巡检计划"
)
{
addInspectionPlan
(
this
.
form1
).
then
(
response
=>
{
addInspectionPlan
(
this
.
form1
).
then
(
response
=>
{
...
...
gassafety-web/src/views/riskManagement/hiddenTroubleDetail/index.vue
View file @
9eb7e2b0
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
size=
"normal"
size=
"normal"
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(form
.troubleId
)"
@
click=
"handleUpdate(form)"
v-hasPermi=
"['riskManagement:hiddenTrouble:edit']"
v-hasPermi=
"['riskManagement:hiddenTrouble:edit']"
>
修改
>
修改
</el-button>
</el-button>
...
@@ -489,6 +489,7 @@ export default {
...
@@ -489,6 +489,7 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open1
=
false
;
this
.
open1
=
false
;
this
.
getList
();
this
.
getList
();
location
.
reload
();
});
});
}
else
{
}
else
{
addHiddenTrouble
(
this
.
form1
).
then
(
response
=>
{
addHiddenTrouble
(
this
.
form1
).
then
(
response
=>
{
...
@@ -508,13 +509,12 @@ export default {
...
@@ -508,13 +509,12 @@ export default {
});
});
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
troubleId
)
{
handleUpdate
(
res
)
{
this
.
reset
();
this
.
getUserList
();
this
.
getUserList
();
deviceNodeTree
().
then
(
response
=>
{
deviceNodeTree
().
then
(
response
=>
{
this
.
options
=
response
.
data
;
this
.
options
=
response
.
data
;
});
});
getHiddenTrouble
(
troubleId
).
then
(
response
=>
{
getHiddenTrouble
(
res
.
troubleId
).
then
(
response
=>
{
this
.
form1
=
response
.
data
;
this
.
form1
=
response
.
data
;
console
.
log
(
"this.form1"
,
this
.
form1
);
console
.
log
(
"this.form1"
,
this
.
form1
);
if
(
this
.
form1
.
deviceType
!=
null
&&
this
.
form1
.
deviceId
!=
null
){
if
(
this
.
form1
.
deviceType
!=
null
&&
this
.
form1
.
deviceId
!=
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