แก้ วินัย
This commit is contained in:
parent
a7d5af4600
commit
b2d86fa59d
9 changed files with 76 additions and 42 deletions
|
|
@ -14,12 +14,13 @@ import type { RowList } from "@/modules/11_discipline/interface/response/appealC
|
|||
import type { DataOption } from "@/modules/11_discipline/interface/index/Main";
|
||||
|
||||
import DialogStatus from "@/modules/11_discipline/components/8_AppealComplain/dialog/DialogEditStatus.vue";
|
||||
import { useDisciplineMainStore } from "@/modules/11_discipline/store/Main";
|
||||
|
||||
const $q = useQuasar();
|
||||
const router = useRouter();
|
||||
const mixin = useCounterMixin();
|
||||
const { showLoader, messageError, hideLoader, dialogConfirm } = mixin;
|
||||
|
||||
const mainStore = useDisciplineMainStore();
|
||||
const modalStatusEdit = ref<boolean>(false);
|
||||
/** stoer */
|
||||
const dataStore = useAppealComplainStore();
|
||||
|
|
@ -49,6 +50,7 @@ const pagination = ref({
|
|||
|
||||
const visibleColumns = ref<string[]>([
|
||||
"no",
|
||||
"profileType",
|
||||
"type",
|
||||
"title",
|
||||
"fullname",
|
||||
|
|
@ -72,6 +74,15 @@ const columns = ref<QTableProps["columns"]>([
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "profileType",
|
||||
align: "left",
|
||||
label: "สถานภาพ",
|
||||
sortable: true,
|
||||
field: "profileType",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "type",
|
||||
align: "left",
|
||||
|
|
@ -563,6 +574,13 @@ onMounted(async () => {
|
|||
<div v-else-if="col.name === 'title'" class="table_ellipsis">
|
||||
{{ props.row.title }}
|
||||
</div>
|
||||
<div v-else-if="col.name === 'profileType'">
|
||||
{{
|
||||
props.row.profileType
|
||||
? mainStore.convertType(props.row.profileType)
|
||||
: "-"
|
||||
}}
|
||||
</div>
|
||||
<div
|
||||
v-else-if="col.name === 'description'"
|
||||
class="table_ellipsis"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue