แก้ชื่อ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>
|
<div class="q-ma-none">แก้ไขผลการพิจารณาทางวินัย</div>
|
||||||
<q-space />
|
<q-space />
|
||||||
<div class="q-gutter-x-sm">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<q-card flat class="col-12">
|
<q-card flat class="col-12">
|
||||||
|
|
|
||||||
|
|
@ -64,12 +64,14 @@ export const useDisciplineResultStore = defineStore(
|
||||||
/** function สถานะ*/
|
/** function สถานะ*/
|
||||||
function convertStatus(val: string) {
|
function convertStatus(val: string) {
|
||||||
switch (val) {
|
switch (val) {
|
||||||
case "NEW":
|
// case "NEW":
|
||||||
return "กำลังสรุปผลการพิจารณา";
|
// return "กำลังสรุปผลการพิจารณา";
|
||||||
case "STOP":
|
// case "STOP":
|
||||||
return "ยุติเรื่อง";
|
// return "ยุติเรื่อง";
|
||||||
case "DONE":
|
case "DONE":
|
||||||
return "เสร็จสิ้น";
|
return "กำลังสรุปผลการพิจารณา";
|
||||||
|
case "REPORT":
|
||||||
|
return "ส่งไปออกคำสั่ง";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue