|
@@ -47,7 +47,7 @@
|
|
|
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
|
|
|
import borderTemplate from "./borderTemplate.vue";
|
|
|
import Bar3d from "../../components/echartsTemplate/3dBar.vue";
|
|
|
-import { QueryList } from "../../api/cockpitNew";
|
|
|
+import { QueryOne, QueryList } from "../../api/cockpitNew";
|
|
|
|
|
|
export default {
|
|
|
components: { borderTemplate, Bar3d },
|
|
@@ -91,23 +91,23 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.echartRef.setOptions(v);
|
|
|
});
|
|
|
- // this.GetQueryListztsh(datas)
|
|
|
- // this.GetQueryListztsh(datas)
|
|
|
+ this.GetQueryOne(datas);
|
|
|
+ this.GetQueryList(datas);
|
|
|
},
|
|
|
- GetQueryListztsh(datas) {
|
|
|
+ GetQueryOne(datas) {
|
|
|
let params = {
|
|
|
...datas,
|
|
|
- jscType: "jsc_wpjc_ztsh",
|
|
|
+ jscType: "jsc_stxf_ztgh_ssxf",
|
|
|
id: 46
|
|
|
};
|
|
|
- QueryList(params).then(res => {
|
|
|
+ QueryOne(params).then(res => {
|
|
|
// this.sdata = res.data && res.data.length > 0 ? res.data[0] : {};
|
|
|
});
|
|
|
},
|
|
|
- GetQueryListztsh(datas) {
|
|
|
+ GetQueryList(datas) {
|
|
|
let params = {
|
|
|
...datas,
|
|
|
- jscType: "jsc_wpjc_ztsh",
|
|
|
+ jscType: "jsc_stxf_ywlx_ssxf",
|
|
|
id: 46
|
|
|
};
|
|
|
QueryList(params).then(res => {
|