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
92e7e03b
Commit
92e7e03b
authored
Sep 08, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传问题修改 gengdidi
parent
8fd1b106
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
index.vue
gassafety-web/src/components/MyFileUpload/index.vue
+3
-1
index.vue
gassafety-web/src/views/device/deviceInfo/index.vue
+1
-1
index.vue
gassafety-web/src/views/device/pipe/index.vue
+1
-1
index.vue
...fety-web/src/views/riskManagement/hiddenTrouble/index.vue
+6
-2
No files found.
gassafety-web/src/components/MyFileUpload/index.vue
View file @
92e7e03b
...
...
@@ -15,7 +15,7 @@
:show-file-list=
"true"
:headers=
"headers"
class=
"upload-file-uploader"
:class=
"
{ hide: addShow }"
:class=
"
{ hide:
fileArr.length>0 ||
addShow }"
ref="upload"
>
<!-- 上传按钮 -->
...
...
@@ -233,6 +233,8 @@ export default {
// this.fileList = this.list;
this
.
addShow
=
this
.
fileArr
.
length
>
0
?
true
:
false
;
},
};
</
script
>
...
...
gassafety-web/src/views/device/deviceInfo/index.vue
View file @
92e7e03b
...
...
@@ -139,7 +139,7 @@
/>
<!-- 添加或修改设备信息对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
append-to-body
@
close=
"cancel"
>
<el-dialog
destroy-on-close
:title=
"title"
:visible
.
sync=
"open"
append-to-body
@
close=
"cancel"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"135px"
>
<el-col
:span=
"11"
>
<el-form-item
label=
"所属管道"
prop=
"pipeId"
>
...
...
gassafety-web/src/views/device/pipe/index.vue
View file @
92e7e03b
...
...
@@ -144,7 +144,7 @@
/>
<!-- 添加或修改管道信息对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
append-to-body
@
close=
"cancel"
>
<el-dialog
destroy-on-close
:title=
"title"
:visible
.
sync=
"open"
append-to-body
@
close=
"cancel"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"135px"
>
<el-col
:span=
"23"
>
<el-form-item
label=
"管道名称"
prop=
"pipeName"
>
...
...
gassafety-web/src/views/riskManagement/hiddenTrouble/index.vue
View file @
92e7e03b
...
...
@@ -148,7 +148,7 @@
/>
<!-- 添加或修改隐患信息对话框 -->
<el-dialog
:title=
"title1"
:visible
.
sync=
"open1"
width=
"800px"
append-to-body
@
close=
"cancel"
>
<el-dialog
destroy-on-close
:title=
"title1"
:visible
.
sync=
"open1"
width=
"800px"
append-to-body
@
close=
"cancel"
>
<el-form
ref=
"form1"
:model=
"form1"
:rules=
"rules"
label-width=
"120px"
>
<el-col
:span=
"23"
>
<el-form-item
label=
"隐患名称"
prop=
"troubleName"
>
...
...
@@ -406,7 +406,7 @@ export default {
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
}
],
pictureUrl
:
[
{
required
:
true
,
message
:
"请上传图片"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请上传图片"
,
trigger
:
[
'blur'
,
'change'
]
}
],
longitude
:
[
{
required
:
true
,
message
:
"请输入经纬度"
,
trigger
:
"blur"
}
...
...
@@ -449,11 +449,14 @@ export default {
})
},
getFileInfo
(
res
){
console
.
log
(
"res"
,
res
)
this
.
form1
.
pictureUrl
=
res
.
url
;
},
listRemove
(
e
)
{
this
.
form1
.
pictureUrl
=
""
;
this
.
fileList
=
[];
console
.
log
(
"删除了"
)
},
confirmFun
(
res
)
{
//确认选择经纬度
...
...
@@ -588,6 +591,7 @@ export default {
}
this
.
open1
=
true
;
this
.
title1
=
"修改隐患信息"
;
console
.
log
(
"this.form1.pictureUrl"
,
this
.
form1
.
pictureUrl
)
if
(
this
.
form1
.
pictureUrl
)
{
this
.
fileList
.
push
({
url
:
this
.
form1
.
pictureUrl
,
...
...
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