Commit a39a2cfa authored by 耿迪迪's avatar 耿迪迪

燃气图片上传问题 gengdidi

parent 4f64729b
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</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"
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,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">
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
{ required: true, message: "请输入联系电话", trigger: "blur" }, { required: true, message: "请输入联系电话", trigger: "blur" },
{ min: 11, max: 11, message: "长度11个数字", trigger: "blur" }, { min: 11, max: 11, message: "长度11个数字", trigger: "blur" },
], ],
iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }], /*iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }],*/
installationTime: [ installationTime: [
{ {
// type: "date", // type: "date",
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,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"
...@@ -105,11 +105,11 @@ ...@@ -105,11 +105,11 @@
v-model="editForm.iconUrl" v-model="editForm.iconUrl"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item v-show="false" label="设备图片路径" prop="iconUrl"> --> &lt;!&ndash; <el-form-item v-show="false" label="设备图片路径" prop="iconUrl"> &ndash;&gt;
<!-- </el-form-item> --> &lt;!&ndash; </el-form-item> &ndash;&gt;
</el-col> </el-col>-->
<!-- <el-col> <!-- <el-col>
</el-col> --> </el-col> -->
<el-col> <el-col>
<el-form-item label="安装日期" prop="installationTime"> <el-form-item label="安装日期" prop="installationTime">
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
pipePressure: [ pipePressure: [
{ required: true, message: "请选择管道压力", trigger: "blur" }, { required: true, message: "请选择管道压力", trigger: "blur" },
], ],
iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }], /*iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }],*/
installationTime: [ installationTime: [
{ {
// type: "date", // type: "date",
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</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"
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,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">
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
{ required: true, message: "请输入联系电话", trigger: "blur" }, { required: true, message: "请输入联系电话", trigger: "blur" },
{ min: 11, max: 11, message: "长度11个数字", trigger: "blur" }, { min: 11, max: 11, message: "长度11个数字", trigger: "blur" },
], ],
iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }], /*iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }],*/
installationTime: [ installationTime: [
{ {
// type: "date", // type: "date",
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</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"
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,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">
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
{ required: true, message: "请输入联系电话", trigger: "blur" }, { required: true, message: "请输入联系电话", trigger: "blur" },
{ min: 11, max: 11, message: "长度11个数字", trigger: "blur" }, { min: 11, max: 11, message: "长度11个数字", trigger: "blur" },
], ],
iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }], /*iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }],*/
installationTime: [ installationTime: [
{ {
// type: "date", // type: "date",
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</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"
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,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">
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
{ required: true, message: "请输入联系电话", trigger: "blur" }, { required: true, message: "请输入联系电话", trigger: "blur" },
{ min: 11, max: 11, message: "长度11个数字", trigger: "blur" }, { min: 11, max: 11, message: "长度11个数字", trigger: "blur" },
], ],
iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }], /*iconUrl: [{ required: true, message: "请上传图片", trigger: "change" }],*/
installationTime: [ installationTime: [
{ {
// type: "date", // type: "date",
......
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