ลบปุ่ม
This commit is contained in:
parent
fcbce0f994
commit
3e3147686c
1 changed files with 3 additions and 87 deletions
|
|
@ -1094,42 +1094,12 @@ onMounted(async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<q-form
|
<q-form>
|
||||||
greedy
|
|
||||||
@submit.prevent
|
|
||||||
@validation-success="
|
|
||||||
probationStore.assignId !== undefined
|
|
||||||
? saveEdit(probationStore.assignId)
|
|
||||||
: saveData(personalId)
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div class="q-pa-sm">
|
<div class="q-pa-sm">
|
||||||
<div class="toptitle text-dark col-12 row items-center">
|
<div class="toptitle text-dark col-12 row items-center">
|
||||||
<q-btn
|
<div class="col-12 row q-gutter-md">
|
||||||
icon="mdi-arrow-left"
|
|
||||||
unelevated
|
|
||||||
round
|
|
||||||
dense
|
|
||||||
flat
|
|
||||||
color="primary"
|
|
||||||
class="q-mr-sm"
|
|
||||||
@click="router.go(-1)"
|
|
||||||
v-if="routeName == 'probationWorkAdd'"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div v-if="routeName == 'probationWorkAdd'">
|
|
||||||
เพิ่มแบบมอบหมายงานการทดลองปฏิบัติหน้าที่ราชการ
|
|
||||||
</div>
|
|
||||||
<div v-else class="col-12 row q-gutter-md">
|
|
||||||
<div>แบบมอบหมายงานการทดลองปฏิบัติหน้าที่ราชการ</div>
|
<div>แบบมอบหมายงานการทดลองปฏิบัติหน้าที่ราชการ</div>
|
||||||
<q-btn
|
<q-btn size="12px" flat dense icon="mdi-download" color="primary">
|
||||||
v-if="!isEdit"
|
|
||||||
size="12px"
|
|
||||||
flat
|
|
||||||
dense
|
|
||||||
icon="mdi-download"
|
|
||||||
color="primary"
|
|
||||||
>
|
|
||||||
<q-tooltip>ดาวน์โหลด</q-tooltip>
|
<q-tooltip>ดาวน์โหลด</q-tooltip>
|
||||||
<q-menu>
|
<q-menu>
|
||||||
<q-list style="min-width: 150px">
|
<q-list style="min-width: 150px">
|
||||||
|
|
@ -1156,50 +1126,6 @@ onMounted(async () => {
|
||||||
</q-list>
|
</q-list>
|
||||||
</q-menu>
|
</q-menu>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
||||||
<div v-if="!isEdit">
|
|
||||||
<q-btn
|
|
||||||
v-if="
|
|
||||||
!checkRoutePermisson &&
|
|
||||||
probationStore.dataPermissions?.tab1.isEdit
|
|
||||||
"
|
|
||||||
dense
|
|
||||||
flat
|
|
||||||
round
|
|
||||||
color="edit"
|
|
||||||
@click="edit()"
|
|
||||||
icon="edit"
|
|
||||||
>
|
|
||||||
<q-tooltip>แก้ไขข้อมูล</q-tooltip>
|
|
||||||
</q-btn>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div v-else>
|
|
||||||
<q-btn
|
|
||||||
v-if="!checkRoutePermisson"
|
|
||||||
dense
|
|
||||||
flat
|
|
||||||
round
|
|
||||||
color="red"
|
|
||||||
@click="cancel()"
|
|
||||||
icon="mdi-undo"
|
|
||||||
>
|
|
||||||
<q-tooltip>ยกเลิก</q-tooltip>
|
|
||||||
</q-btn>
|
|
||||||
<!-- @click="saveEdit(assignId)" -->
|
|
||||||
<q-btn
|
|
||||||
v-if="!checkRoutePermisson"
|
|
||||||
dense
|
|
||||||
flat
|
|
||||||
class="q-ml-md"
|
|
||||||
round
|
|
||||||
color="public"
|
|
||||||
type="submit"
|
|
||||||
icon="mdi-content-save-outline"
|
|
||||||
>
|
|
||||||
<q-tooltip>บันทึกข้อมูล</q-tooltip>
|
|
||||||
</q-btn>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -2889,16 +2815,6 @@ onMounted(async () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<q-separator v-show="routeName == 'probationWorkAdd'" />
|
|
||||||
<div
|
|
||||||
v-show="routeName == 'probationWorkAdd'"
|
|
||||||
class="flex justify-end q-pa-sm q-gutter-sm"
|
|
||||||
>
|
|
||||||
<q-btn unelevated label="บันทึก" type="submit" color="public"
|
|
||||||
><q-tooltip>บันทึกข้อมูล</q-tooltip></q-btn
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<!-- @click="saveData(personalId)" -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-form>
|
</q-form>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue