แก้คำ

Refactoring code module 17_acting
This commit is contained in:
STW_TTTY\stwtt 2024-09-20 15:12:31 +07:00
parent 066080879e
commit a147bd70ec
2 changed files with 4 additions and 30 deletions

View file

@ -114,7 +114,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "link",
align: "left",
label: "ลิ้ง์",
label: "ลิ้ง์",
sortable: true,
field: "link",
headerStyle: "font-size: 14px",
@ -1227,8 +1227,8 @@ onMounted(async () => {
lazy-rules
:readonly="!editvisible"
:borderless="!editvisible"
:rules="[(val) => !!val || `${'กรุณากรอก ลิ้ง์'}`]"
label="ลิ้ง์"
:rules="[(val) => !!val || `${'กรุณากรอก ลิ้ง์'}`]"
label="ลิ้ง์"
/>
</q-form>
</q-card-section>

View file

@ -4,6 +4,7 @@ import { useQuasar } from "quasar";
import http from "@/plugins/http";
import config from "@/app.config";
import { checkPermission } from "@/utils/permissions";
import { useCounterMixin } from "@/stores/mixin";
import { useStructureTree } from "@/stores/structureTree";
@ -425,18 +426,6 @@ onMounted(() => {
</q-td>
</q-tr>
</template>
<!-- <template v-slot:pagination="scope">
<q-pagination
v-model="reqMaster.page"
active-color="primary"
color="dark"
:max="totalPage"
:max-pages="5"
size="sm"
boundary-links
direction-links
></q-pagination>
</template> -->
</d-table>
</div>
</div>
@ -527,7 +516,6 @@ onMounted(() => {
icon="mdi-arrow-up-bold"
@click="onSwapPerson('up', props.row.id)"
>
<!-- <q-tooltip>เลอนลำดบข</q-tooltip> -->
</q-btn>
</q-td>
<q-td
@ -552,7 +540,6 @@ onMounted(() => {
icon="mdi-arrow-down-bold"
@click="onSwapPerson('down', props.row.id)"
>
<!-- <q-tooltip>เลอนลำดบลง</q-tooltip> -->
</q-btn>
</q-td>
<q-td auto-width>
@ -565,7 +552,6 @@ onMounted(() => {
icon="delete"
@click="onDelete(props.row.id)"
>
<!-- <q-tooltip>เลอนลำดบลง</q-tooltip> -->
</q-btn>
</q-td>
<q-td
@ -582,18 +568,6 @@ onMounted(() => {
</q-td>
</q-tr>
</template>
<!-- <template v-slot:pagination="scope">
<q-pagination
v-model="reqMaster.page"
active-color="primary"
color="dark"
:max="totalPage"
:max-pages="5"
size="sm"
boundary-links
direction-links
></q-pagination>
</template> -->
</d-table>
</div>
</div>