|
@@ -287,7 +287,7 @@
|
|
|
value: "productId"
|
|
value: "productId"
|
|
|
},
|
|
},
|
|
|
dicFormatter: (res) => {
|
|
dicFormatter: (res) => {
|
|
|
- return res.data.records;
|
|
|
|
|
|
|
+ return res.records;
|
|
|
},
|
|
},
|
|
|
}]
|
|
}]
|
|
|
}, {
|
|
}, {
|
|
@@ -744,14 +744,14 @@
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
"form.platform"() {
|
|
"form.platform"() {
|
|
|
- let platformColumn = this.option.group[1].column[0];
|
|
|
|
|
|
|
+ // let platformColumn = this.option.group[1].column[0];
|
|
|
let isAepColumn = this.option.group[1].column[1];
|
|
let isAepColumn = this.option.group[1].column[1];
|
|
|
let productColumn = this.option.group[1].column[2];
|
|
let productColumn = this.option.group[1].column[2];
|
|
|
if (this.form.platform == "aep") {
|
|
if (this.form.platform == "aep") {
|
|
|
getIotList(1, 10000, {
|
|
getIotList(1, 10000, {
|
|
|
"platform": "aep"
|
|
"platform": "aep"
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
- productColumn['dicData'] = res.data.data.records
|
|
|
|
|
|
|
+ productColumn['dicData'] = res.data.records
|
|
|
// platformColumn.cascaderItem = ['productId']
|
|
// platformColumn.cascaderItem = ['productId']
|
|
|
productColumn.dicUrl = "/api/cyzh-third/iotaepproduct/list?platform=aep&productName={{key}}"
|
|
productColumn.dicUrl = "/api/cyzh-third/iotaepproduct/list?platform=aep&productName={{key}}"
|
|
|
isAepColumn.display = false;
|
|
isAepColumn.display = false;
|
|
@@ -761,7 +761,7 @@
|
|
|
getIotList(1, 10000, {
|
|
getIotList(1, 10000, {
|
|
|
"platform": "scepctwing"
|
|
"platform": "scepctwing"
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
- productColumn['dicData'] = res.data.data.records
|
|
|
|
|
|
|
+ productColumn['dicData'] = res.data.records
|
|
|
// if(this.form.productId != ""){
|
|
// if(this.form.productId != ""){
|
|
|
productColumn.dicUrl = "/api/cyzh-third/iotaepproduct/list?platform=scepctwing&productName={{key}}"
|
|
productColumn.dicUrl = "/api/cyzh-third/iotaepproduct/list?platform=scepctwing&productName={{key}}"
|
|
|
// }else{
|
|
// }else{
|