|
@@ -7,6 +7,7 @@ import {
|
|
|
getDataDictionary,//查询信息点
|
|
|
queryPhysicsAllType,//查询所有部件类型
|
|
|
queryDictionaryHead,//查询所有空间类型
|
|
|
+
|
|
|
} from "@/api/scan/request"
|
|
|
import { mapGetters, mapActions } from "vuex";
|
|
|
import tools from "@/utils/scan/tools";
|
|
@@ -71,8 +72,8 @@ export default {
|
|
|
this.getDataPoint(val[1])
|
|
|
} else if (type == "Component" && val.length == 2) {
|
|
|
this.getDataPoint(val[1])
|
|
|
- } else if (type == "System" && val.length == 2) {
|
|
|
- this.getDataPoint(val[1])
|
|
|
+ } else if (type == "System" && val.length == 3) {
|
|
|
+ this.getDataPoint(val[2])
|
|
|
} else if (type == "Space" && val.length == 2) {
|
|
|
this.getDataPoint(val[1])
|
|
|
} else if (singleStr.indexOf(type) > -1) {
|
|
@@ -87,6 +88,10 @@ export default {
|
|
|
queryPhysicsAllType('Component', res => {
|
|
|
this.options[4].children = this.formatOptions(res.Content)
|
|
|
})
|
|
|
+ queryPhysicsAllType('Major-System', res => {
|
|
|
+ let data = JSON.parse(JSON.stringify(res.Content).replace(/ListClassDef/g, 'children'));
|
|
|
+ this.options[5].children = this.formatOptions(data)
|
|
|
+ })
|
|
|
let param1 = {
|
|
|
Distinct: true,
|
|
|
Filters: "ParentId='Space'"
|