|
|
@@ -119,10 +119,11 @@
|
|
|
collapse-tags
|
|
|
placeholder="全部描述"
|
|
|
filterable
|
|
|
+ ref="currSelect"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in state.alarmIdList"
|
|
|
- :key="item.id"
|
|
|
+ :key="item.alarmId"
|
|
|
:label="item.description"
|
|
|
:value="item.alarmId"
|
|
|
>
|
|
|
@@ -334,6 +335,8 @@ import {
|
|
|
import dayjs from "dayjs";
|
|
|
|
|
|
const isFullScreen = ref(false);
|
|
|
+const currSelect = ref(null);
|
|
|
+const clickNum = ref(1);
|
|
|
onMounted(() => {
|
|
|
const clientHeight =
|
|
|
document.documentElement.clientHeight || document.body.clientHeight;
|
|
|
@@ -348,6 +351,26 @@ onMounted(() => {
|
|
|
isFullScreen.value = window.screen.height == clientHeight;
|
|
|
};
|
|
|
|
|
|
+ const parentBox = document.querySelector("#app");
|
|
|
+ const multSelectTages = document.querySelector(".multSelectTages");
|
|
|
+ parentBox.addEventListener("click", (event) => {
|
|
|
+ event.stopPropagation();
|
|
|
+ if (
|
|
|
+ event?.target?.className?.indexOf("is-reverse") === -1 &&
|
|
|
+ clickNum.value % 2 === 0
|
|
|
+ ) {
|
|
|
+ clickNum.value++;
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ multSelectTages.addEventListener("click", (event) => {
|
|
|
+ event.stopPropagation();
|
|
|
+ if (clickNum.value % 2 === 0) {
|
|
|
+ currSelect.value.blur();
|
|
|
+ }
|
|
|
+ clickNum.value++;
|
|
|
+ });
|
|
|
+
|
|
|
getWpArray();
|
|
|
getequipmentmodel_list();
|
|
|
getfetchRelatePart();
|
|
|
@@ -419,7 +442,7 @@ const getWpArray = async () => {
|
|
|
changZhanArray.value = data;
|
|
|
if (state.typeVal != "booststation") {
|
|
|
state.changZhan = data[0]?.id;
|
|
|
- getTableList();
|
|
|
+ // getTableList();
|
|
|
} else {
|
|
|
state.changZhan = "";
|
|
|
state.modelId = "";
|
|
|
@@ -976,3 +999,12 @@ const compare = function (property) {
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
+<style lang="less">
|
|
|
+.history-analyse {
|
|
|
+ .el-select {
|
|
|
+ .el-input__suffix {
|
|
|
+ z-index: 500;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|