แก้ชื่อstatusสรุปผลวินัย
This commit is contained in:
parent
959b023e05
commit
fa8926e01c
2 changed files with 13 additions and 6 deletions
|
|
@ -277,7 +277,12 @@ watch(
|
|||
<div class="q-ma-none">แก้ไขผลการพิจารณาทางวินัย</div>
|
||||
<q-space />
|
||||
<div class="q-gutter-x-sm">
|
||||
<q-btn label="ส่งไปออกคำสั่ง" color="public" @click="sentIssue" />
|
||||
<q-btn
|
||||
v-if="status === 'DONE'"
|
||||
label="ส่งไปออกคำสั่ง"
|
||||
color="public"
|
||||
@click="sentIssue"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<q-card flat class="col-12">
|
||||
|
|
|
|||
|
|
@ -64,12 +64,14 @@ export const useDisciplineResultStore = defineStore(
|
|||
/** function สถานะ*/
|
||||
function convertStatus(val: string) {
|
||||
switch (val) {
|
||||
case "NEW":
|
||||
return "กำลังสรุปผลการพิจารณา";
|
||||
case "STOP":
|
||||
return "ยุติเรื่อง";
|
||||
// case "NEW":
|
||||
// return "กำลังสรุปผลการพิจารณา";
|
||||
// case "STOP":
|
||||
// return "ยุติเรื่อง";
|
||||
case "DONE":
|
||||
return "เสร็จสิ้น";
|
||||
return "กำลังสรุปผลการพิจารณา";
|
||||
case "REPORT":
|
||||
return "ส่งไปออกคำสั่ง";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue