Merge branch 'develop' into dev
This commit is contained in:
commit
9f670bbef5
4 changed files with 22 additions and 10 deletions
|
|
@ -167,9 +167,9 @@ watch(
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-separator />
|
<q-separator />
|
||||||
<q-card-actions align="right">
|
<q-card-actions align="right">
|
||||||
<q-btn flat color="blue-7" icon="public" @click="onClickPublish()">
|
<!-- <q-btn flat color="blue-7" icon="public" @click="onClickPublish()">
|
||||||
<q-tooltip>เผยแพร่ข้อมูลทันที</q-tooltip>
|
<q-tooltip>เผยแพร่ข้อมูลทันที</q-tooltip>
|
||||||
</q-btn>
|
</q-btn> -->
|
||||||
<q-space />
|
<q-space />
|
||||||
<q-btn type="submit" :label="`บันทึก`" color="public" />
|
<q-btn type="submit" :label="`บันทึก`" color="public" />
|
||||||
</q-card-actions>
|
</q-card-actions>
|
||||||
|
|
|
||||||
|
|
@ -42,14 +42,14 @@ const columnsLeave = ref<QTableProps["columns"]>([
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
name: "citizenId",
|
// name: "citizenId",
|
||||||
align: "left",
|
// align: "left",
|
||||||
label: "เลขประจำตัวประชาชน",
|
// label: "เลขประจำตัวประชาชน",
|
||||||
field: "citizenId",
|
// field: "citizenId",
|
||||||
headerStyle: "font-size: 14px",
|
// headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
// style: "font-size: 14px",
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
name: "fullName",
|
name: "fullName",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
@ -113,6 +113,15 @@ const columnsLeave = ref<QTableProps["columns"]>([
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "leaveTotal",
|
||||||
|
align: "left",
|
||||||
|
label: "จำนวนวันที่ลา",
|
||||||
|
sortable: true,
|
||||||
|
field: "leaveTotal",
|
||||||
|
headerStyle: "font-size: 14px",
|
||||||
|
style: "font-size: 14px",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "status",
|
name: "status",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
@ -134,6 +143,7 @@ const visibleColumnsLeave = ref<string[]>([
|
||||||
"org",
|
"org",
|
||||||
"position",
|
"position",
|
||||||
"level",
|
"level",
|
||||||
|
"leaveTotal",
|
||||||
"status",
|
"status",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ interface ListLeave {
|
||||||
position?: string;
|
position?: string;
|
||||||
level?: string;
|
level?: string;
|
||||||
hajjDayStatus?: boolean;
|
hajjDayStatus?: boolean;
|
||||||
|
leaveTotal: number; //จำนวนวันที่ลา
|
||||||
}
|
}
|
||||||
interface FormData {
|
interface FormData {
|
||||||
id: string;
|
id: string;
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@ export const useLeavelistDataStore = defineStore("leave", () => {
|
||||||
: "-",
|
: "-",
|
||||||
status: e.status && convertSatatus(e.status),
|
status: e.status && convertSatatus(e.status),
|
||||||
statusText: e.status,
|
statusText: e.status,
|
||||||
|
leaveTotal: e.leaveTotal,
|
||||||
}));
|
}));
|
||||||
mainData.value = datalist;
|
mainData.value = datalist;
|
||||||
rows.value = mainData.value;
|
rows.value = mainData.value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue