ปรับทะเบียนประวัตื ข้อมูลส่วนตัว

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-11 17:43:20 +07:00
parent 7ba90f5708
commit 9cae42bc7d
13 changed files with 492 additions and 1187 deletions

View file

@ -70,15 +70,6 @@ const columns = ref<QTableProps["columns"]>([
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
// {
// name: "document",
// align: "center",
// label: "",
// sortable: false,
// field: "document",
// headerStyle: "font-size: 14px",
// style: "font-size: 14px",
// },
{
name: "status",
align: "left",
@ -105,7 +96,6 @@ const visibleColumns = ref<string[]>([
"fullname",
"topic",
"detail",
// "document",
"status",
"remark",
]);
@ -117,9 +107,9 @@ const statusOption = ref<DataOption[]>(store.optionStatus); //รายการ
const requestId = ref<string>(""); //id
/** function fetch รายการคำร้องขอแก้ไขทะเบียนประวัติ*/
function fetchListRequset() {
async function fetchListRequset() {
showLoader();
http
await http
.get(
config.API.requestEditByType(
routerName.value == "registryNewRequestEditEMP" ? "-employee" : ""
@ -167,7 +157,6 @@ function clearStatus() {
*/
function filterOption(val: string, update: Function) {
update(() => {
status.value = val ? "" : status.value;
statusOption.value = store.optionStatus.filter(
(v: DataOption) => v.name.indexOf(val) > -1
);
@ -309,21 +298,7 @@ onMounted(() => {
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<!-- <div v-if="col.name === 'document'">
<q-btn
icon="mdi-download"
round
dense
flat
color="primary"
@click.pervent="onDownloadFile(props.row.id)"
>
<q-tooltip>ดาวนโหลดเอกสารหลกฐาน</q-tooltip>
</q-btn>
</div> -->
<!-- <div v-else class="table_ellipsis2"> -->
{{ col.value ? col.value : "-" }}
<!-- </div> -->
</q-td>
</q-tr>
</template>