Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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-progress
Commits
7b121ea3
Commit
7b121ea3
authored
Mar 25, 2022
by
wuqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022-3-25 吴卿华
parent
1b2c9635
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
9 deletions
+18
-9
TProjectInfoController.java
...hong/web/controller/supervise/TProjectInfoController.java
+0
-1
index.vue
...afetyprogress-web/src/components/FileInfoUpload/index.vue
+6
-1
index.vue
...progress-web/src/components/FileSuperviseUpload/index.vue
+7
-2
index.vue
gassafetyprogress-web/src/views/regulation/device/index.vue
+2
-2
index.vue
gassafetyprogress-web/src/views/regulation/info/index.vue
+1
-1
index.vue
gassafetyprogress-web/src/views/regulation/station/index.vue
+1
-1
index.vue
...fetyprogress-web/src/views/regulation/supervise/index.vue
+1
-1
No files found.
gassafetyprogress-admin/src/main/java/com/zehong/web/controller/supervise/TProjectInfoController.java
View file @
7b121ea3
...
@@ -5,7 +5,6 @@ import java.util.List;
...
@@ -5,7 +5,6 @@ import java.util.List;
import
com.zehong.common.config.GassafetyProgressConfig
;
import
com.zehong.common.config.GassafetyProgressConfig
;
import
com.zehong.common.core.domain.entity.SysUser
;
import
com.zehong.common.core.domain.entity.SysUser
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
...
gassafetyprogress-web/src/components/FileInfoUpload/index.vue
View file @
7b121ea3
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
ref="upload"
ref="upload"
>
>
<!-- 上传按钮 -->
<!-- 上传按钮 -->
<el-button
plain
type=
"primary"
>
选取文件
</el-button>
<el-button
plain
type=
"primary"
@
click=
"deleteFile()"
>
选取文件
</el-button>
<!--
<i
class=
"el-icon-plus"
></i>
-->
<!--
<i
class=
"el-icon-plus"
></i>
-->
<!-- 上传提示 -->
<!-- 上传提示 -->
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
...
@@ -109,6 +109,11 @@
...
@@ -109,6 +109,11 @@
};
};
},
},
computed
:
{
computed
:
{
deleteFile
(){
this
.
fileList
=
[]
this
.
addShow
=
false
;
this
.
$emit
(
"remove"
,
1
);
},
// 是否显示提示
// 是否显示提示
showTip
()
{
showTip
()
{
return
this
.
isShowTip
&&
(
this
.
fileType
||
this
.
fileSize
);
return
this
.
isShowTip
&&
(
this
.
fileType
||
this
.
fileSize
);
...
...
gassafetyprogress-web/src/components/FileSuperviseUpload/index.vue
View file @
7b121ea3
...
@@ -9,17 +9,17 @@
...
@@ -9,17 +9,17 @@
:on-error=
"handleUploadError"
:on-error=
"handleUploadError"
:on-exceed=
"handleExceed"
:on-exceed=
"handleExceed"
:on-success=
"handleUploadSuccess"
:on-success=
"handleUploadSuccess"
:on-remove=
"handleRemove"
:on-preview=
"handleFileClick"
:on-preview=
"handleFileClick"
:on-change=
"fileChange"
:on-change=
"fileChange"
:show-file-list=
"true"
:show-file-list=
"true"
:on-remove=
"handleRemove"
:headers=
"headers"
:headers=
"headers"
class=
"upload-file-uploader"
class=
"upload-file-uploader"
:class=
"
{ hide: fileArr.length>0 ||addShow }"
:class=
"
{ hide: fileArr.length>0 ||addShow }"
ref="upload"
ref="upload"
>
>
<!-- 上传按钮 -->
<!-- 上传按钮 -->
<el-button
plain
type=
"primary"
>
选取文件
</el-button>
<el-button
plain
type=
"primary"
@
click=
"deleteFile()"
>
选取文件
</el-button>
<!--
<i
class=
"el-icon-plus"
></i>
-->
<!--
<i
class=
"el-icon-plus"
></i>
-->
<!-- 上传提示 -->
<!-- 上传提示 -->
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
...
@@ -109,6 +109,11 @@
...
@@ -109,6 +109,11 @@
};
};
},
},
computed
:
{
computed
:
{
deleteFile
(){
this
.
fileList
=
[]
this
.
addShow
=
false
;
this
.
$emit
(
"remove"
,
1
);
},
// 是否显示提示
// 是否显示提示
showTip
()
{
showTip
()
{
return
this
.
isShowTip
&&
(
this
.
fileType
||
this
.
fileSize
);
return
this
.
isShowTip
&&
(
this
.
fileType
||
this
.
fileSize
);
...
...
gassafetyprogress-web/src/views/regulation/device/index.vue
View file @
7b121ea3
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<!--
<el-table-column
label=
"设备id"
align=
"center"
prop=
"deviceId"
/>
-->
<!--
<el-table-column
label=
"设备id"
align=
"center"
prop=
"deviceId"
/>
-->
<el-table-column
label=
"照片"
align=
"center"
>
<el-table-column
label=
"照片"
align=
"center"
>
<template
scope=
"List"
>
<template
scope=
"List"
>
<img
:src=
"List.row.iconUrl"
width=
"100px"
>
<img
:src=
"List.row.iconUrl"
width=
"100px"
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<
span
<
span
class
=
"dbtn"
class
=
"dbtn"
@
click
=
"checkFile(List.row.iconUrl)"
@
click
=
"checkFile(List.row.iconUrl)"
v
-
if
=
"List.row.iconUrl
!= ''
"
v
-
if
=
"List.row.iconUrl"
>
>
<
i
class
=
"el-icon el-icon-view"
><
/i>查看/
下载
<
i
class
=
"el-icon el-icon-view"
><
/i>查看/
下载
<
/span
>
<
/span
>
...
...
gassafetyprogress-web/src/views/regulation/info/index.vue
View file @
7b121ea3
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<span
<span
class=
"dbtn"
class=
"dbtn"
@
click=
"checkFile(List.row.doDusiness)"
@
click=
"checkFile(List.row.doDusiness)"
v-if=
"List.row.doDusiness
!= ''
"
v-if=
"List.row.doDusiness"
>
>
<i
class=
"el-icon el-icon-view"
></i>
查看/下载
<i
class=
"el-icon el-icon-view"
></i>
查看/下载
</span>
</span>
...
...
gassafetyprogress-web/src/views/regulation/station/index.vue
View file @
7b121ea3
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<
span
<
span
class
=
"dbtn"
class
=
"dbtn"
@
click
=
"checkFile(List.row.pictureAddress)"
@
click
=
"checkFile(List.row.pictureAddress)"
v
-
if
=
"List.row.pictureAddress
!= ''
"
v
-
if
=
"List.row.pictureAddress"
>
>
<
i
class
=
"el-icon el-icon-view"
><
/i>查看/
下载
<
i
class
=
"el-icon el-icon-view"
><
/i>查看/
下载
<
/span
>
<
/span
>
...
...
gassafetyprogress-web/src/views/regulation/supervise/index.vue
View file @
7b121ea3
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
<span
<span
class=
"dbtn"
class=
"dbtn"
@
click=
"checkFile(List.row.avatarAddress)"
@
click=
"checkFile(List.row.avatarAddress)"
v-if=
"List.row.avatarAddress
!= ''
"
v-if=
"List.row.avatarAddress"
>
>
<i
class=
"el-icon el-icon-view"
></i>
查看/下载
<i
class=
"el-icon el-icon-view"
></i>
查看/下载
</span>
</span>
...
...
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