|
@@ -232,11 +232,11 @@ export default {
|
|
|
detail(this.$route.query.id).then((res) => {
|
|
|
console.log("gadsfqwwerqewqr===" + JSON.stringify(res));
|
|
|
if (res.code === 0) {
|
|
|
- this.form = res.data;
|
|
|
- this.form.platformName =
|
|
|
- this.form.platformId === 1
|
|
|
+ res.data.platformName =
|
|
|
+ res.data.platformId === 1
|
|
|
? this.platformNames[1]
|
|
|
: this.platformNames[0];
|
|
|
+ this.form = res.data;
|
|
|
res.data.deviceRespList.map((i) => {
|
|
|
this.num.push(i.totalNum);
|
|
|
});
|