|
@@ -99,9 +99,9 @@ export default {
|
|
|
initData() {
|
|
|
this.echarts = [];
|
|
|
this.$emit("updateParent", "loading", true);
|
|
|
- // GetFxjg({ bsm: this.$props.scjgObj.bsm }).then(res => {
|
|
|
- // if (res.success) {
|
|
|
- hgxfx.jg.data.forEach((e, ei) => {
|
|
|
+ GetFxjg({ bsm: this.$props.scjgObj.bsm }).then(res => {
|
|
|
+ if (res.success) {
|
|
|
+ res.data.forEach((e, ei) => {
|
|
|
let c = e.dataList || [];
|
|
|
c.map(ci => {
|
|
|
ci.name = ci.yslx_name || ci.scxname;
|
|
@@ -122,8 +122,8 @@ export default {
|
|
|
// if (e.children) console.log(e.children)
|
|
|
});
|
|
|
this.$emit("updateParent", "loading", false);
|
|
|
- // }
|
|
|
- // });
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
eyesChaneg(i) {
|
|
|
this.echarts[i].iseyes = !this.echarts[i].iseyes;
|