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
4f64729b
Commit
4f64729b
authored
Dec 14, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备图片上传问题修改 gengdidi
parent
766c1adb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
17 deletions
+17
-17
.env.development
gassafety-web/.env.development
+2
-2
.env.production
gassafety-web/.env.production
+2
-2
index.vue
gassafety-web/src/views/device/deviceInfo/index.vue
+4
-4
index.vue
gassafety-web/src/views/device/deviceInfoDetail/index.vue
+2
-2
index.vue
gassafety-web/src/views/device/pipe/index.vue
+4
-4
index.vue
gassafety-web/src/views/device/pipeDetail/index.vue
+3
-3
No files found.
gassafety-web/.env.development
View file @
4f64729b
...
@@ -5,10 +5,10 @@ ENV = 'development'
...
@@ -5,10 +5,10 @@ ENV = 'development'
VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = '/dev-api'
#地图中心
#地图中心
VUE_APP_MAP_CENTER = '
石家庄
'
VUE_APP_MAP_CENTER = '
松原
'
#代理地址
#代理地址
VUE_APP_TARGET = 'http://36.148.
23.59:890
1/gassafety'
VUE_APP_TARGET = 'http://36.148.
1.253:809
1/gassafety'
# 路由懒加载
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_CLI_BABEL_TRANSPILE_MODULES = true
gassafety-web/.env.production
View file @
4f64729b
...
@@ -5,9 +5,9 @@ ENV = 'production'
...
@@ -5,9 +5,9 @@ ENV = 'production'
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = '/prod-api'
#地图中心
#地图中心
VUE_APP_MAP_CENTER = '
石家庄
'
VUE_APP_MAP_CENTER = '
松原
'
#代理地址
#代理地址
VUE_APP_TARGET = 'http://36.148.
23.59:890
1/gassafety'
VUE_APP_TARGET = 'http://36.148.
1.253:809
1/gassafety'
port = 8091
port = 8091
gassafety-web/src/views/device/deviceInfo/index.vue
View file @
4f64729b
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"11"
>
<
!--<
el-col :span="11">
<el-form-item label="联系人" prop="linkman">
<el-form-item label="联系人" prop="linkman">
<el-input v-model="form.linkman" placeholder="请输入联系人" />
<el-input v-model="form.linkman" placeholder="请输入联系人" />
</el-form-item>
</el-form-item>
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
/>
/>
<el-input v-show="false" disabled v-model="form.iconUrl"></el-input>
<el-input v-show="false" disabled v-model="form.iconUrl"></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
<el-col>
<el-col>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
...
@@ -376,7 +376,7 @@
...
@@ -376,7 +376,7 @@
],
],
/*iotNo: [
/*iotNo: [
{ required: true, message: "请输入物联网编号", trigger: "blur" },
{ required: true, message: "请输入物联网编号", trigger: "blur" },
],
*/
],
linkman: [
linkman: [
{ required: true, message: "请输入联系人", trigger: "blur" }
{ required: true, message: "请输入联系人", trigger: "blur" }
],
],
...
@@ -386,7 +386,7 @@
...
@@ -386,7 +386,7 @@
],
],
iconUrl: [
iconUrl: [
{ required: true, message: "请上传图片", trigger: "change" }
{ required: true, message: "请上传图片", trigger: "change" }
],
],
*/
installationTime
:
[
installationTime
:
[
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
],
],
...
...
gassafety-web/src/views/device/deviceInfoDetail/index.vue
View file @
4f64729b
...
@@ -83,11 +83,11 @@
...
@@ -83,11 +83,11 @@
<el-form-item
label=
"最后巡检时间:"
prop=
"inspectionTime"
>
<el-form-item
label=
"最后巡检时间:"
prop=
"inspectionTime"
>
<font>
{{
form
.
inspectionTime
}}
</font>
<font>
{{
form
.
inspectionTime
}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备图片:"
prop=
"iconUrl"
>
<
!--
<
el-form-item
label=
"设备图片:"
prop=
"iconUrl"
>
<div
style=
"width: 20%;"
>
<div
style=
"width: 20%;"
>
<el-image
:src=
"form.iconUrl"
:preview-src-list=
"[form.iconUrl]"
style=
"width: auto;height: auto;"
></el-image>
<el-image
:src=
"form.iconUrl"
:preview-src-list=
"[form.iconUrl]"
style=
"width: auto;height: auto;"
></el-image>
</div>
</div>
</el-form-item>
</el-form-item>
-->
</el-form>
</el-form>
</el-col>
</el-col>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
...
...
gassafety-web/src/views/device/pipe/index.vue
View file @
4f64729b
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col>
<!--
<el-col>
<el-form-item label="管道图片上传" prop="iconUrl">
<el-form-item label="管道图片上传" prop="iconUrl">
<MyFileUpload
<MyFileUpload
listType="picture-card"
listType="picture-card"
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
/>
/>
<el-input v-show="false" disabled v-model="form.iconUrl"></el-input>
<el-input v-show="false" disabled v-model="form.iconUrl"></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
<el-col>
<el-col>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
...
@@ -337,9 +337,9 @@
...
@@ -337,9 +337,9 @@
coordinates
:
[
coordinates
:
[
{
required
:
true
,
message
:
"请选择管道坐标"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请选择管道坐标"
,
trigger
:
"blur"
},
],
],
iconUrl
:
[
/*
iconUrl: [
{ required: true, message: "请上传图片", trigger: "change" },
{ required: true, message: "请上传图片", trigger: "change" },
],
],
*/
installationTime
:
[
installationTime
:
[
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
],
],
...
...
gassafety-web/src/views/device/pipeDetail/index.vue
View file @
4f64729b
...
@@ -69,11 +69,11 @@
...
@@ -69,11 +69,11 @@
<el-form-item
label=
"最后巡检时间:"
prop=
"inspectionTime"
>
<el-form-item
label=
"最后巡检时间:"
prop=
"inspectionTime"
>
<font>
{{
form
.
inspectionTime
}}
</font>
<font>
{{
form
.
inspectionTime
}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"管道图片:"
prop=
"iconUrl"
>
<!--
<el-form-item
label=
"管道图片:"
prop=
"iconUrl"
>
<div
style=
"width: 20%;"
>
<div
style=
"width: 20%;"
>
<el-image
:src=
"form.iconUrl"
:preview-src-list=
"[form.iconUrl]"
style=
"width: auto;height: auto;"
></el-image>
<el-image
:src=
"form.iconUrl"
:preview-src-list=
"[form.iconUrl]"
style=
"width: auto;height: auto;"
></el-image>
</div>
</div>
</el-form-item>
</el-form-item>
-->
</el-form>
</el-form>
</el-col>
</el-col>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
...
@@ -342,7 +342,7 @@
...
@@ -342,7 +342,7 @@
}
else
{
}
else
{
tip
=
'请确认是否删除管道名称为"'
+
res
.
pipeName
+
'"的数据项'
tip
=
'请确认是否删除管道名称为"'
+
res
.
pipeName
+
'"的数据项'
}
}
this
.
$confirm
(
tip
,
{
this
.
$confirm
(
tip
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
...
...
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