feat/radiology-order-54: upgraded mcu-order/list
This commit is contained in:
@@ -2,9 +2,10 @@ import type { Config } from '~/components/pub/my-ui/data-table'
|
|||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.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 = {
|
export const config: Config = {
|
||||||
cols: [{}, {}, {}, { width: 50 }],
|
cols: [{}, {}, { classVal: '!p-0.5' }, { width: 50 }],
|
||||||
|
|
||||||
headers: [
|
headers: [
|
||||||
[
|
[
|
||||||
@@ -22,6 +23,13 @@ export const config: Config = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
note(rec, idx) {
|
||||||
|
return {
|
||||||
|
idx,
|
||||||
|
rec: rec as object,
|
||||||
|
component: input,
|
||||||
|
}
|
||||||
|
},
|
||||||
action(rec, idx) {
|
action(rec, idx) {
|
||||||
return {
|
return {
|
||||||
idx,
|
idx,
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
import type { Config } from '~/components/pub/my-ui/data-table'
|
import type { Config } from '~/components/pub/my-ui/data-table'
|
||||||
import { defineAsyncComponent } from 'vue'
|
|
||||||
|
|
||||||
type SmallDetailDto = any
|
|
||||||
|
|
||||||
export const config: Config = {
|
export const config: Config = {
|
||||||
cols: [{}, {}],
|
cols: [{}, {}],
|
||||||
|
|||||||
Reference in New Issue
Block a user