|
@@ -161,7 +161,7 @@ import scdDialogIndex from "./scdDialogIndex";
|
|
|
const userStoreCode = useDataStore();
|
|
|
const data = reactive({
|
|
|
queryParams: {
|
|
|
- scd_id: 452000123,
|
|
|
+ scd_id: 512000138,
|
|
|
},
|
|
|
});
|
|
|
const loading = ref(true);
|
|
@@ -171,7 +171,7 @@ const { queryParams } = toRefs(data);
|
|
|
// 表单重置
|
|
|
const reset = () => {
|
|
|
queryParams.value = {
|
|
|
- scd_id: 452000123,
|
|
|
+ scd_id: 512000138,
|
|
|
voltage_level_id: null, //电压等级
|
|
|
area_id: null, //间隔
|
|
|
device_type_id: null, //装置类型
|
|
@@ -185,7 +185,7 @@ const allIedType = [{ name: "全部", code: "alls" }];
|
|
|
const voltageLevel = ref([{ name: "全部", id: "alls" }]); //电压等级
|
|
|
const areaType = ref([]);
|
|
|
const getArea = async () => {
|
|
|
- const areaRes = await areaList({ scd_id: 452000123 });
|
|
|
+ const areaRes = await areaList({ scd_id: 512000138 });
|
|
|
if (!areaRes.data) {
|
|
|
voltageLevel.value = [];
|
|
|
loading.value = false;
|
|
@@ -223,7 +223,7 @@ const getArea = async () => {
|
|
|
//设备类型
|
|
|
const iedTypeData = ref([]);
|
|
|
const getTypelist = async () => {
|
|
|
- const typeRes = await iedTypelist({ scd_id: 452000123 });
|
|
|
+ const typeRes = await iedTypelist({ scd_id: 512000138 });
|
|
|
iedTypeData.value = typeRes.data ? [...allIedType, ...typeRes.data] : [];
|
|
|
};
|
|
|
const iedName = ref([]);
|
|
@@ -254,7 +254,7 @@ const searchInput = (value) => {
|
|
|
const count = ref(0);
|
|
|
const iedNameData = async () => {
|
|
|
//IED编码或名称
|
|
|
- const iedRes = await scdIedRelation({ scd_id: 452000123 });
|
|
|
+ const iedRes = await scdIedRelation({ scd_id: 512000138 });
|
|
|
iedName.value = iedRes.data;
|
|
|
count.value = iedRes.count;
|
|
|
};
|
|
@@ -282,7 +282,7 @@ const changeLevel = async (value, mainValue) => {
|
|
|
open.value = true;
|
|
|
dialogData.value = iedName.value;
|
|
|
} else if (value) {
|
|
|
- const mainClick = { scd_id: 452000123, area_id: value };
|
|
|
+ const mainClick = { scd_id: 512000138, area_id: value };
|
|
|
const forms = mainValue ? mainClick : queryParams.value;
|
|
|
open.value = true;
|
|
|
dialogData.value = [];
|