แก้ไข display 1.ตรวจสอบคุณสมบัติ
This commit is contained in:
parent
f33ec8fbc5
commit
0b2bb5f252
12 changed files with 277 additions and 289 deletions
|
|
@ -12,6 +12,10 @@ export const useEvaluateStore = defineStore("evaluateStore", () => {
|
|||
const visibleColumns = ref<string[]>([]);
|
||||
const row = ref<any>();
|
||||
|
||||
/**
|
||||
* function เรียกข่อมูลรายการประเมิน
|
||||
* @param data ข้อมูลรายการประเมิน
|
||||
*/
|
||||
async function fetchEvaluateList(data: any) {
|
||||
const list = data.map((e: any) => ({
|
||||
id: e.id,
|
||||
|
|
@ -43,6 +47,10 @@ export const useEvaluateStore = defineStore("evaluateStore", () => {
|
|||
"เสร็จสิ้น",
|
||||
]);
|
||||
|
||||
/**
|
||||
* function แปรงสถานะ
|
||||
* @param val สถานะ
|
||||
*/
|
||||
function convertStatus(val: string) {
|
||||
switch (val) {
|
||||
case "CHECK_SPEC":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue