Commit 4f64729b authored by 耿迪迪's avatar 耿迪迪

设备图片上传问题修改 gengdidi

parent 766c1adb
......@@ -5,10 +5,10 @@ ENV = 'development'
VUE_APP_BASE_API = '/dev-api'
#地图中心
VUE_APP_MAP_CENTER = '石家庄'
VUE_APP_MAP_CENTER = '松原'
#代理地址
VUE_APP_TARGET = 'http://36.148.23.59:8901/gassafety'
VUE_APP_TARGET = 'http://36.148.1.253:8091/gassafety'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
......@@ -5,9 +5,9 @@ ENV = 'production'
VUE_APP_BASE_API = '/prod-api'
#地图中心
VUE_APP_MAP_CENTER = '石家庄'
VUE_APP_MAP_CENTER = '松原'
#代理地址
VUE_APP_TARGET = 'http://36.148.23.59:8901/gassafety'
VUE_APP_TARGET = 'http://36.148.1.253:8091/gassafety'
port = 8091
......@@ -220,7 +220,7 @@
</el-form-item>
</el-col>
<el-col :span="11">
<!--<el-col :span="11">
<el-form-item label="联系人" prop="linkman">
<el-input v-model="form.linkman" placeholder="请输入联系人" />
</el-form-item>
......@@ -247,7 +247,7 @@
/>
<el-input v-show="false" disabled v-model="form.iconUrl"></el-input>
</el-form-item>
</el-col>
</el-col>-->
<el-col>
<el-form-item label="安装日期" prop="installationTime">
......@@ -376,7 +376,7 @@
],
/*iotNo: [
{ required: true, message: "请输入物联网编号", trigger: "blur" },
],*/
],
linkman: [
{ required: true, message: "请输入联系人", trigger: "blur" }
],
......@@ -386,7 +386,7 @@
],
iconUrl: [
{ required: true, message: "请上传图片", trigger: "change" }
],
],*/
installationTime: [
{ required: true, message: "请选择日期", trigger: "change" },
],
......
......@@ -83,11 +83,11 @@
<el-form-item label="最后巡检时间:" prop="inspectionTime">
<font>{{form.inspectionTime}}</font>
</el-form-item>
<el-form-item label="设备图片:" prop="iconUrl">
<!--<el-form-item label="设备图片:" prop="iconUrl">
<div style="width: 20%;">
<el-image :src="form.iconUrl" :preview-src-list="[form.iconUrl]" style="width: auto;height: auto;"></el-image>
</div>
</el-form-item>
</el-form-item>-->
</el-form>
</el-col>
<el-col :span="11">
......
......@@ -201,7 +201,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col>
<!-- <el-col>
<el-form-item label="管道图片上传" prop="iconUrl">
<MyFileUpload
listType="picture-card"
......@@ -211,7 +211,7 @@
/>
<el-input v-show="false" disabled v-model="form.iconUrl"></el-input>
</el-form-item>
</el-col>
</el-col>-->
<el-col>
<el-form-item label="安装日期" prop="installationTime">
<el-col :span="11">
......@@ -337,9 +337,9 @@
coordinates: [
{ required: true, message: "请选择管道坐标", trigger: "blur" },
],
iconUrl: [
/* iconUrl: [
{ required: true, message: "请上传图片", trigger: "change" },
],
],*/
installationTime: [
{ required: true, message: "请选择日期", trigger: "change" },
],
......
......@@ -69,11 +69,11 @@
<el-form-item label="最后巡检时间:" prop="inspectionTime">
<font>{{form.inspectionTime}}</font>
</el-form-item>
<el-form-item label="管道图片:" prop="iconUrl">
<!-- <el-form-item label="管道图片:" prop="iconUrl">
<div style="width: 20%;">
<el-image :src="form.iconUrl" :preview-src-list="[form.iconUrl]" style="width: auto;height: auto;"></el-image>
</div>
</el-form-item>
</el-form-item>-->
</el-form>
</el-col>
<el-col :span="11">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment