ปรับ ข้าม ขั้นตอนการประเมินชำนาญการ
This commit is contained in:
parent
02e680e0ae
commit
27a2124c0a
1 changed files with 6 additions and 17 deletions
|
|
@ -36,18 +36,11 @@ const step = ref<number>(1);
|
|||
|
||||
/** function click ดำเนินการต่อ */
|
||||
function onCklicNext() {
|
||||
dialogConfirm(
|
||||
$q,
|
||||
() => {
|
||||
const type = props.menu ? props.menu.val?.toLowerCase() : "";
|
||||
store.step = 1;
|
||||
store.currentStep = 1;
|
||||
store.statusUpload = false;
|
||||
router.push(`/evaluate/add/${type}`);
|
||||
},
|
||||
"ยืนยันการดำเนินการ",
|
||||
"ต้องการยืนยันการดำเนินการต่อใช่หรือไม่?"
|
||||
);
|
||||
const type = props.menu ? props.menu.val?.toLowerCase() : "";
|
||||
store.step = 1;
|
||||
store.currentStep = 1;
|
||||
store.statusUpload = false;
|
||||
router.push(`/evaluate/add/${type}`);
|
||||
}
|
||||
|
||||
/** function Callblck ทำงานเมื่อ props มีการเปลี่ยนแปลง */
|
||||
|
|
@ -366,11 +359,7 @@ watch(props, () => {
|
|||
outline
|
||||
color="white"
|
||||
label="ข้าม"
|
||||
@click="
|
||||
router.push(
|
||||
`/evaluate/add/${props.menu ? props.menu.val?.toLowerCase() : ''}`
|
||||
)
|
||||
"
|
||||
@click="onCklicNext"
|
||||
/>
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue