|
@@ -141,7 +141,9 @@ export default {
|
141
|
var promise7 = this.$http.post("service/sysinfo/data/fetchDataList/systemConfiguration", {idx: 0, sum: 1, systemConfiguration: {keyconfig: 'ifRoom'}});
|
141
|
var promise7 = this.$http.post("service/sysinfo/data/fetchDataList/systemConfiguration", {idx: 0, sum: 1, systemConfiguration: {keyconfig: 'ifRoom'}});
|
142
|
|
142
|
|
143
|
Promise.all([promise1, promise2, promise3, promise4, promise5, promise6, promise7]).then((result) => {
|
143
|
Promise.all([promise1, promise2, promise3, promise4, promise5, promise6, promise7]).then((result) => {
|
144
|
- let [data1, data2, data3, data4, data5, data6, data7] = result.data;
|
|
|
|
|
144
|
+ console.log(result);
|
|
|
145
|
+ // let [data1, data2, data3, data4, data5, data6, data7] = result.data;
|
|
|
146
|
+ return;
|
145
|
if(data1.status == 200 && data2.status == 200 && data3.status == 200 && data4.status == 200 && data5.status == 200 && data6.status == 200 && data7.status == 200){
|
147
|
if(data1.status == 200 && data2.status == 200 && data3.status == 200 && data4.status == 200 && data5.status == 200 && data6.status == 200 && data7.status == 200){
|
146
|
var list1 = data1.list || [];
|
148
|
var list1 = data1.list || [];
|
147
|
var list2 = data2.list || [];
|
149
|
var list2 = data2.list || [];
|
|
@@ -177,8 +179,8 @@ export default {
|
177
|
color: "red"
|
179
|
color: "red"
|
178
|
}).show();
|
180
|
}).show();
|
179
|
}
|
181
|
}
|
180
|
- }).catch(() => {
|
|
|
181
|
- console.log('Some request failed...');
|
|
|
|
|
182
|
+ }).catch((err) => {
|
|
|
183
|
+ console.log(err);
|
182
|
this.$createDialog({
|
184
|
this.$createDialog({
|
183
|
type: "alert",
|
185
|
type: "alert",
|
184
|
title: "系统配置错误!",
|
186
|
title: "系统配置错误!",
|