updated & fixing
This commit is contained in:
parent
a39a34b15f
commit
62af9f6a35
24 changed files with 392 additions and 352 deletions
|
|
@ -10,7 +10,7 @@ import http from "@/plugins/http";
|
|||
import config from "@/app.config";
|
||||
import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry";
|
||||
|
||||
const idByRow = ref<string>('')
|
||||
const idByRow = ref<string>("");
|
||||
const store = useRegistryInFormationStore();
|
||||
const rows = ref<any[]>([]);
|
||||
const filter = ref<string>("");
|
||||
|
|
@ -388,9 +388,9 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
|||
},
|
||||
]);
|
||||
|
||||
function onHistory(id:string) {
|
||||
function onHistory(id: string) {
|
||||
modalHistory.value = true;
|
||||
idByRow.value = id
|
||||
idByRow.value = id;
|
||||
}
|
||||
|
||||
/** get data */
|
||||
|
|
@ -414,7 +414,7 @@ function getData() {
|
|||
function getHistory() {
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.dataUserCertificateHistory("insignia",idByRow.value))
|
||||
.get(config.API.dataUserCertificateHistory("insignia", idByRow.value))
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
rowsHistory.value = data;
|
||||
|
|
@ -577,9 +577,9 @@ onMounted(async () => {
|
|||
</template>
|
||||
<template v-slot:no-data>
|
||||
<div
|
||||
class="full-width row flex-center bg-grey-3 q-pa-md rounded-borders text-body2 text-weight-medium"
|
||||
class="full-width row flex-center q-pa-sm rounded-borders text-weight-medium"
|
||||
>
|
||||
<span> ไม่พบข้อมูลเครื่องราชอิสริยาภรณ์ </span>
|
||||
<span> ไม่พบข้อมูล </span>
|
||||
</div>
|
||||
</template>
|
||||
</d-table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue