fix label แก้ไขการจัดสรรเครื่องราชฯ
This commit is contained in:
parent
e83504d451
commit
652bc4066b
1 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, watch } from "vue";
|
||||
import { QForm, useQuasar } from "quasar";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
/** impotrComponents */
|
||||
import DialogHeader from "@/components/DialogHeader.vue";
|
||||
|
|
@ -9,9 +10,12 @@ import DialogHeader from "@/components/DialogHeader.vue";
|
|||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
const $q = useQuasar();
|
||||
const router = useRouter();
|
||||
const mixin = useCounterMixin();
|
||||
const { dialogConfirm } = mixin;
|
||||
|
||||
const routeName = router.currentRoute.value.name;
|
||||
|
||||
/**
|
||||
* props
|
||||
*/
|
||||
|
|
@ -106,7 +110,11 @@ watch(props, () => {
|
|||
dense
|
||||
lazy-rules
|
||||
type="text"
|
||||
label="เครื่องราชฯ"
|
||||
:label="
|
||||
routeName == 'insigniaAllocate'
|
||||
? `เครื่องราชฯ`
|
||||
: `เลือกหน่วยงาน`
|
||||
"
|
||||
:class="classInput(true)"
|
||||
readonly
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue