แก้โหลด
This commit is contained in:
parent
946083bd66
commit
b515bc36c0
1 changed files with 1 additions and 20 deletions
|
|
@ -53,7 +53,6 @@ const selectedModal = defineModel<any[]>("selectedModal");
|
||||||
|
|
||||||
const filter = ref<string>("");
|
const filter = ref<string>("");
|
||||||
const isAll = ref<boolean>(false);
|
const isAll = ref<boolean>(false);
|
||||||
const isBlank = ref<boolean>(false);
|
|
||||||
const positionNo = ref<DataPositionNo[]>([]);
|
const positionNo = ref<DataPositionNo[]>([]);
|
||||||
const itemTaps = ref<string[]>();
|
const itemTaps = ref<string[]>();
|
||||||
const positionId = ref<string>("");
|
const positionId = ref<string>("");
|
||||||
|
|
@ -124,7 +123,6 @@ function close() {
|
||||||
modal.value = false;
|
modal.value = false;
|
||||||
filter.value = "";
|
filter.value = "";
|
||||||
isAll.value = false;
|
isAll.value = false;
|
||||||
isBlank.value = false;
|
|
||||||
expanded.value = [];
|
expanded.value = [];
|
||||||
nodeLevel.value = 0;
|
nodeLevel.value = 0;
|
||||||
nodeId.value = "";
|
nodeId.value = "";
|
||||||
|
|
@ -208,24 +206,6 @@ watch(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
watch(
|
|
||||||
() => isAll.value,
|
|
||||||
(value, oldVal) => {
|
|
||||||
if (value !== oldVal) {
|
|
||||||
getDataTable(nodeId.value, nodeLevel.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
watch(
|
|
||||||
() => isBlank.value,
|
|
||||||
(value, oldVal) => {
|
|
||||||
if (value !== oldVal) {
|
|
||||||
getDataTable(nodeId.value, nodeLevel.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => positionId.value,
|
() => positionId.value,
|
||||||
(n) => {
|
(n) => {
|
||||||
|
|
@ -324,6 +304,7 @@ onMounted(async () => {
|
||||||
v-model="isAll"
|
v-model="isAll"
|
||||||
label="แสดงทั้งหมด"
|
label="แสดงทั้งหมด"
|
||||||
color="primary"
|
color="primary"
|
||||||
|
@click="getDataTable(nodeId, nodeLevel)"
|
||||||
>
|
>
|
||||||
<q-tooltip>แสดงทั้งหมด</q-tooltip>
|
<q-tooltip>แสดงทั้งหมด</q-tooltip>
|
||||||
</q-checkbox>
|
</q-checkbox>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue