feat/radiology-order-54: upgraded mcu-order/list

This commit is contained in:
2025-11-10 23:17:49 +07:00
parent 69ffe6bd49
commit 8e7f9b19e3
2 changed files with 9 additions and 4 deletions
@@ -2,9 +2,10 @@ import type { Config } from '~/components/pub/my-ui/data-table'
import { defineAsyncComponent } from 'vue'
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
const input = defineAsyncComponent(() => import('~/components/pub/ui/input/Input.vue'))
export const config: Config = {
cols: [{}, {}, {}, { width: 50 }],
cols: [{}, {}, { classVal: '!p-0.5' }, { width: 50 }],
headers: [
[
@@ -22,6 +23,13 @@ export const config: Config = {
],
components: {
note(rec, idx) {
return {
idx,
rec: rec as object,
component: input,
}
},
action(rec, idx) {
return {
idx,
@@ -1,7 +1,4 @@
import type { Config } from '~/components/pub/my-ui/data-table'
import { defineAsyncComponent } from 'vue'
type SmallDetailDto = any
export const config: Config = {
cols: [{}, {}],