mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -220,6 +220,7 @@ export default {
|
||||
construction: "",
|
||||
businessHours: "",
|
||||
pictures: "",
|
||||
deptId: "",
|
||||
},
|
||||
stationId: this.$route.params.id,
|
||||
publicFlagOptions: [
|
||||
@@ -293,6 +294,7 @@ export default {
|
||||
],
|
||||
},
|
||||
fileList: [], // 用于图片回显
|
||||
dialogVisible: null,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -325,9 +327,11 @@ export default {
|
||||
const res = await getStationInfo(this.stationId);
|
||||
console.log(res);
|
||||
this.station = res.data;
|
||||
var pictures = res.data.pictures.split(',');
|
||||
for (let i = 0; i < pictures.length; i++) {
|
||||
this.fileList.push({"url": pictures[i]});
|
||||
if (res.data.pictures != null) {
|
||||
var pictures = res.data.pictures.split(',');
|
||||
for (let i = 0; i < pictures.length; i++) {
|
||||
this.fileList.push({"url": pictures[i]});
|
||||
}
|
||||
}
|
||||
console.log("queryStationInfo表格数据", this.station);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user