Merge branch 'develop' into devTee
This commit is contained in:
commit
f38b10becf
4 changed files with 22 additions and 22 deletions
|
|
@ -157,7 +157,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "level",
|
name: "level",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "อันดับ/ระดับ",
|
label: "ประเภท/ระดับ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "level",
|
field: "level",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -184,7 +184,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "insigniaSend",
|
name: "insigniaSend",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ประเภทเครื่องราชฯ ที่ยื่นขอ",
|
label: "ชั้นตราเครื่องราชฯ ที่ยื่นขอ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "insigniaSend",
|
field: "insigniaSend",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -570,8 +570,8 @@ async function savaReasonDelete(reason: string) {
|
||||||
await props.fecthStat(DataStore.roundId);
|
await props.fecthStat(DataStore.roundId);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ยืนยันการลบออกข้ออมูล",
|
"ยืนยันการลบออกเนื่องจากขาดคุณสมบัติ",
|
||||||
"ต้องการยืนยันการลบข้อมูลนี้หรือไม่ ?"
|
"ต้องการยืนยันการดำเนินการนี้หรือไม่?"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1117,7 +1117,7 @@ onMounted(async () => {
|
||||||
name="mdi-alert-circle-outline"
|
name="mdi-alert-circle-outline"
|
||||||
/>
|
/>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section>ไม่ยื่นขอ</q-item-section>
|
<q-item-section>ไม่เสนอขอ</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
|
|
||||||
<!-- ลบออก -->
|
<!-- ลบออก -->
|
||||||
|
|
@ -1130,7 +1130,7 @@ onMounted(async () => {
|
||||||
<q-item-section style="min-width: 0px" avatar>
|
<q-item-section style="min-width: 0px" avatar>
|
||||||
<q-icon color="red" size="xs" name="delete" />
|
<q-icon color="red" size="xs" name="delete" />
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section>ลบออก</q-item-section>
|
<q-item-section>ขาดคุณสมบัติ</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
</q-list>
|
</q-list>
|
||||||
</q-menu>
|
</q-menu>
|
||||||
|
|
@ -1477,14 +1477,14 @@ onMounted(async () => {
|
||||||
<!-- popup เหตุผลไม่ยื่นขอ -->
|
<!-- popup เหตุผลไม่ยื่นขอ -->
|
||||||
<DialogPopupReason
|
<DialogPopupReason
|
||||||
v-model:modal="modelPopupReject"
|
v-model:modal="modelPopupReject"
|
||||||
title="เหตุผลการไม่ยื่นขอ"
|
title="เหตุผลการไม่เสนอขอ"
|
||||||
label="หมายเหตุ"
|
label="หมายเหตุ"
|
||||||
:savaForm="savaReasonReject"
|
:savaForm="savaReasonReject"
|
||||||
/>
|
/>
|
||||||
<!-- เหตุผลที่ลบออก -->
|
<!-- เหตุผลที่ลบออก -->
|
||||||
<DialogPopupReason
|
<DialogPopupReason
|
||||||
v-model:modal="modelPopupDelete"
|
v-model:modal="modelPopupDelete"
|
||||||
title="เหตุผลการลบออก"
|
title="เหตุผลการขาดคุณสมบัติ"
|
||||||
label="หมายเหตุ"
|
label="หมายเหตุ"
|
||||||
:click-close="closemodelPopupDelete"
|
:click-close="closemodelPopupDelete"
|
||||||
:savaForm="savaReasonDelete"
|
:savaForm="savaReasonDelete"
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ import type { OptionData } from "@/modules/07_insignia/interface/index/Main";
|
||||||
import DialogInformation from "@/components/Dialogs/Information.vue";
|
import DialogInformation from "@/components/Dialogs/Information.vue";
|
||||||
import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue";
|
import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue";
|
||||||
|
|
||||||
const mixin = useCounterMixin()
|
const mixin = useCounterMixin();
|
||||||
const { onSearchDataTable } = mixin
|
const { onSearchDataTable } = mixin;
|
||||||
/** useStore*/
|
/** useStore*/
|
||||||
const roleDataStore = useroleUserDataStore();
|
const roleDataStore = useroleUserDataStore();
|
||||||
const DataStore = useInsigniaDataStore();
|
const DataStore = useInsigniaDataStore();
|
||||||
|
|
@ -90,7 +90,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "level",
|
name: "level",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "อันดับ/ระดับ",
|
label: "ประเภท/ระดับ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "level",
|
field: "level",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -117,7 +117,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "insigniaSend",
|
name: "insigniaSend",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ประเภทเครื่องราชฯ ที่ยื่นขอ",
|
label: "ชั้นตราเครื่องราชฯ ที่ยื่นขอ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "insigniaSend",
|
field: "insigniaSend",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -208,7 +208,7 @@ const dialogDesc = ref<string>("");
|
||||||
* @param requestNote หมายเหตุ
|
* @param requestNote หมายเหตุ
|
||||||
*/
|
*/
|
||||||
function showReson(name: string, requestNote: string) {
|
function showReson(name: string, requestNote: string) {
|
||||||
dialogTitle.value = "เหตุผลการไม่ยื่นขอ " + name;
|
dialogTitle.value = "เหตุผลการไม่เสนอขอ " + name;
|
||||||
dialogDesc.value = requestNote;
|
dialogDesc.value = requestNote;
|
||||||
dialogNote.value = true;
|
dialogNote.value = true;
|
||||||
}
|
}
|
||||||
|
|
@ -529,7 +529,7 @@ watch(
|
||||||
"
|
"
|
||||||
icon="mdi-information-outline"
|
icon="mdi-information-outline"
|
||||||
>
|
>
|
||||||
<q-tooltip>เหตุผลการไม่ยื่นขอ</q-tooltip>
|
<q-tooltip>เหตุผลการไม่เสนอขอ</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "level",
|
name: "level",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "อันดับ/ระดับ",
|
label: "ประเภท/ระดับ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "level",
|
field: "level",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -116,7 +116,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "insigniaSend",
|
name: "insigniaSend",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ประเภทเครื่องราชฯ ที่ยื่นขอ",
|
label: "ชั้นตราเครื่องราชฯ ที่ยื่นขอ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "insigniaSend",
|
field: "insigniaSend",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -152,7 +152,7 @@ const visibleColumns = ref<string[]>([
|
||||||
"insigniaType",
|
"insigniaType",
|
||||||
"insigniaSend",
|
"insigniaSend",
|
||||||
"insigniaLevel",
|
"insigniaLevel",
|
||||||
"dateSend",
|
// "dateSend",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/** function เลือกหน่วยงาน */
|
/** function เลือกหน่วยงาน */
|
||||||
|
|
@ -206,7 +206,7 @@ const noteTitle = ref<string>("");
|
||||||
*/
|
*/
|
||||||
function showNote(row: any) {
|
function showNote(row: any) {
|
||||||
note.value = row.requestNote;
|
note.value = row.requestNote;
|
||||||
noteTitle.value = "เหตุผลการลบออก " + " " + row.name;
|
noteTitle.value = "เหตุผลการขาดคุณสมบัติ " + " " + row.name;
|
||||||
dialogNote.value = true;
|
dialogNote.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -522,7 +522,7 @@ onMounted(async () => {
|
||||||
@click.stop="showNote(props.row)"
|
@click.stop="showNote(props.row)"
|
||||||
icon="mdi-information-outline"
|
icon="mdi-information-outline"
|
||||||
>
|
>
|
||||||
<q-tooltip>เหตุผลการลบออก</q-tooltip>
|
<q-tooltip>เหตุผลการขาดคุณสมบัติ</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
|
|
|
||||||
|
|
@ -575,9 +575,9 @@ onUnmounted(() => {
|
||||||
indicator-color="primary"
|
indicator-color="primary"
|
||||||
align="left"
|
align="left"
|
||||||
>
|
>
|
||||||
<q-tab name="pending" label="คนที่ยื่นขอ" />
|
<q-tab name="pending" label="ผู้มีคุณสมบัติ" />
|
||||||
<q-tab name="reject" label="คนที่ไม่ยื่นขอ" />
|
<q-tab name="delete" label="ผู้ขาดคุณสมบัติ" />
|
||||||
<q-tab name="delete" label="คนที่ถูกลบออก" />
|
<q-tab name="reject" label="ผู้ไม่เสนอขอ" />
|
||||||
<q-tab
|
<q-tab
|
||||||
v-if="DataStore.isOfficer"
|
v-if="DataStore.isOfficer"
|
||||||
name="organization"
|
name="organization"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue