fix UI ค้นหาข้อมูลทะเบียนประวัติ
This commit is contained in:
parent
8650cb2153
commit
377a8dc7c1
1 changed files with 347 additions and 356 deletions
|
|
@ -1,12 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {
|
import { ref, reactive, onMounted, watch, defineAsyncComponent } from "vue";
|
||||||
ref,
|
|
||||||
reactive,
|
|
||||||
onMounted,
|
|
||||||
watch,
|
|
||||||
defineAsyncComponent,
|
|
||||||
computed,
|
|
||||||
} from "vue";
|
|
||||||
import { useQuasar } from "quasar";
|
import { useQuasar } from "quasar";
|
||||||
|
|
||||||
import http from "@/plugins/http";
|
import http from "@/plugins/http";
|
||||||
|
|
@ -340,9 +333,7 @@ function clearSelect(t: string) {
|
||||||
fetchDataPerson();
|
fetchDataPerson();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** ฟังก์ชันดึงข้อโครงสร้าง*/
|
||||||
* ฟังก์ชันดึงข้อโครงสร้าง
|
|
||||||
*/
|
|
||||||
async function fetchTree() {
|
async function fetchTree() {
|
||||||
const data = await fetchStructureTree(route.meta.Key as string);
|
const data = await fetchStructureTree(route.meta.Key as string);
|
||||||
if (store.routerName !== route.name) {
|
if (store.routerName !== route.name) {
|
||||||
|
|
@ -466,6 +457,8 @@ onMounted(async () => {
|
||||||
</div>
|
</div>
|
||||||
</q-form>
|
</q-form>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-10">
|
||||||
<div class="row q-mt-sm q-gutter-sm">
|
<div class="row q-mt-sm q-gutter-sm">
|
||||||
<q-btn-dropdown
|
<q-btn-dropdown
|
||||||
flat
|
flat
|
||||||
|
|
@ -565,7 +558,9 @@ onMounted(async () => {
|
||||||
label-color="white"
|
label-color="white"
|
||||||
dropdown-icon="mdi-chevron-down"
|
dropdown-icon="mdi-chevron-down"
|
||||||
class="q-px-sm"
|
class="q-px-sm"
|
||||||
:disable="store.labelOption.posType === 'ทั้งหมด' ? true : false"
|
:disable="
|
||||||
|
store.labelOption.posType === 'ทั้งหมด' ? true : false
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template v-slot:label>
|
<template v-slot:label>
|
||||||
{{
|
{{
|
||||||
|
|
@ -603,25 +598,6 @@ onMounted(async () => {
|
||||||
</q-btn-dropdown>
|
</q-btn-dropdown>
|
||||||
|
|
||||||
<q-space />
|
<q-space />
|
||||||
<div class="q-pt-sm q-pr-sm">
|
|
||||||
<!-- <a href="/report/registry" class="text-white">
|
|
||||||
การค้นหาขั้นสูง
|
|
||||||
<q-tooltip
|
|
||||||
>ไปยังหน้าการค้นหาขั้นสูง (Advanced search)</q-tooltip
|
|
||||||
>
|
|
||||||
</a> -->
|
|
||||||
<q-btn
|
|
||||||
flat
|
|
||||||
@click="goToAdvancedSearch"
|
|
||||||
class="text-white"
|
|
||||||
style="text-decoration: underline"
|
|
||||||
label="การค้นหาขั้นสูง"
|
|
||||||
>
|
|
||||||
<q-tooltip
|
|
||||||
>ไปยังหน้าการค้นหาขั้นสูง (Advanced search)</q-tooltip
|
|
||||||
>
|
|
||||||
</q-btn>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <q-separator
|
<!-- <q-separator
|
||||||
inset
|
inset
|
||||||
|
|
@ -638,6 +614,7 @@ onMounted(async () => {
|
||||||
@update:model-value="getSearch"
|
@update:model-value="getSearch"
|
||||||
/> -->
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="row q-gutter-sm justify-start"
|
class="row q-gutter-sm justify-start"
|
||||||
v-if="empType !== 'officer'"
|
v-if="empType !== 'officer'"
|
||||||
|
|
@ -823,9 +800,23 @@ onMounted(async () => {
|
||||||
</q-list>
|
</q-list>
|
||||||
</q-btn-dropdown>
|
</q-btn-dropdown>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="row justify-center">
|
</div>
|
||||||
<a href="/report/registry" class="text-white"> Advanced search </a>
|
<div class="col-2">
|
||||||
</div> -->
|
<div class="q-pt-sm flex justify-end">
|
||||||
|
<q-btn
|
||||||
|
flat
|
||||||
|
@click="goToAdvancedSearch"
|
||||||
|
class="text-white"
|
||||||
|
style="text-decoration: underline"
|
||||||
|
label="การค้นหาขั้นสูง"
|
||||||
|
>
|
||||||
|
<q-tooltip
|
||||||
|
>ไปยังหน้าการค้นหาขั้นสูง (Advanced search)</q-tooltip
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue