updated format code
This commit is contained in:
parent
b75d69ea08
commit
b14bad2249
241 changed files with 14012 additions and 13811 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, computed, watchEffect, watch } from "vue";
|
||||
import { ref, computed, watchEffect, watch } from "vue";
|
||||
import { useQuasar } from "quasar";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import type { ResponseData } from "@/modules/05_placement/interface/response/Transfer";
|
||||
|
|
@ -56,7 +56,7 @@ const checkSelected = computed(() => {
|
|||
});
|
||||
|
||||
//popup ยืนยันส่งัว
|
||||
function saveOrder(){
|
||||
function saveOrder() {
|
||||
if (type.value) {
|
||||
dialogConfirm(
|
||||
$q,
|
||||
|
|
@ -67,7 +67,7 @@ function saveOrder(){
|
|||
} else {
|
||||
dialogMessageNotify($q, "กรุณาเลือกประเภทคำสั่ง");
|
||||
}
|
||||
};
|
||||
}
|
||||
//ส่งไปออกคำสั่ง
|
||||
async function Ordersave() {
|
||||
const persons = selected.value.map((r) => r.id);
|
||||
|
|
|
|||
|
|
@ -36,7 +36,9 @@ const modal = ref<boolean>(false);
|
|||
const dataResult = ref<DataListRow[]>([]);
|
||||
const filterKeyword = ref<string>("");
|
||||
const dataDisciplinary = ref<object>([]);
|
||||
const checkRoutePermisson = ref<boolean>(route.name == "disciplineResultDetail");
|
||||
const checkRoutePermisson = ref<boolean>(
|
||||
route.name == "disciplineResultDetail"
|
||||
);
|
||||
const dataInvestigatefacts = reactive<FormInvestigateFact>({
|
||||
id: "",
|
||||
idComplaint: "",
|
||||
|
|
@ -285,7 +287,13 @@ onMounted(async () => {
|
|||
class="q-mr-sm"
|
||||
@click="$router.push(`/discipline-result`)"
|
||||
/>
|
||||
<div class="q-ma-none">{{checkRoutePermisson ? 'รายละเอียดผลการพิจารณาทางวินัย':'แก้ไขผลการพิจารณาทางวินัย'}}</div>
|
||||
<div class="q-ma-none">
|
||||
{{
|
||||
checkRoutePermisson
|
||||
? "รายละเอียดผลการพิจารณาทางวินัย"
|
||||
: "แก้ไขผลการพิจารณาทางวินัย"
|
||||
}}
|
||||
</div>
|
||||
<q-space />
|
||||
<div class="q-gutter-x-sm" v-if="!checkRoutePermisson">
|
||||
<q-btn
|
||||
|
|
|
|||
|
|
@ -230,13 +230,24 @@ function filterOptionFn(val: string, update: Function) {
|
|||
</q-tr>
|
||||
</template>
|
||||
<template v-slot:body="props">
|
||||
<q-tr :props="props" >
|
||||
<q-tr :props="props">
|
||||
<q-td auto-width>
|
||||
<q-btn flat round dense icon="mdi-eye" color="info" @click="openDetail(props.row.id)" v-if="checkPermission($route)?.attrIsGet">
|
||||
<q-btn
|
||||
flat
|
||||
round
|
||||
dense
|
||||
icon="mdi-eye"
|
||||
color="info"
|
||||
@click="openDetail(props.row.id)"
|
||||
v-if="checkPermission($route)?.attrIsGet"
|
||||
>
|
||||
<q-tooltip>รายละเอียด</q-tooltip>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrIsUpdate && checkPermission($route)?.attrIsGet"
|
||||
v-if="
|
||||
checkPermission($route)?.attrIsUpdate &&
|
||||
checkPermission($route)?.attrIsGet
|
||||
"
|
||||
flat
|
||||
round
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue