Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-02-21 11:29:09 +07:00
commit cdc5746454
11 changed files with 74 additions and 56 deletions

View file

@ -139,13 +139,13 @@ watch(
);
</script>
<template>
<q-dialog v-model="modal" full-width full-height persistent>
<q-dialog v-model="modal" full-width persistent>
<q-card>
<HeaderDialog :tittle="title" :close="() => (modal = false)" />
<q-separator />
<q-card-section class="q-pt-none bg-grey-2 q-pa-md">
<div class="row q-col-gutter-md">
<q-card-section class="q-pt-none bg-grey-2 q-pa-sm">
<div class="row">
<q-card bordered class="col-12 col-sm-8 q-pa-sm">
<q-toolbar style="padding: 0">
<q-toolbar-title class="text-subtitle2 text-bold"

View file

@ -668,7 +668,11 @@ watch([() => page.value, () => pageSize.value], () => {
:props="props"
>
<div v-if="col.name == 'no'">
{{ props.rowIndex + 1 }}
{{
(page - 1) * Number(pageSize) +
props.rowIndex +
1
}}
</div>
<div v-else>

View file

@ -75,6 +75,7 @@ function getData() {
page: 1,
pageSize: 100,
keyword: "",
revisionId: store.draftId,
})
.then((res) => {
const dataList = res.data.result.data;

View file

@ -215,8 +215,8 @@ function clearForm() {
</script>
<template>
<q-dialog v-model="modal" full-width full-height persistent>
<q-card class="column full-height">
<q-dialog v-model="modal" full-width persistent>
<q-card>
<Header
:tittle="'เลือกตำแหน่งที่ต้องการสืบทอดจากโครงสร้างปัจจุบัน'"
:close="
@ -227,8 +227,8 @@ function clearForm() {
/>
<q-separator />
<q-card-section class="q-pt-none q-pa-md bg-grey-2">
<div class="row q-col-gutter-md">
<q-card-section class="q-pt-none q-pa-sm bg-grey-2">
<div class="row">
<q-card
bordered
class="col-12 col-sm-4 scroll q-pa-sm"