|
@@ -18,6 +18,7 @@ import cyRefList from "@/utils/cyRefList";
|
|
|
import {reportQueryCenterApiByGet} from "@/api/base-data/report-center";
|
|
|
import {useSystemStore} from "@/pinia/system-store";
|
|
|
import {TableMethods} from "vxe-table";
|
|
|
+import ItemInstructions from "@/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/ItemInstructions.vue";
|
|
|
|
|
|
export interface PatInfo {
|
|
|
inpatientNo?: string | null
|
|
@@ -906,22 +907,26 @@ export let tableHeader = [
|
|
|
{label: '药房', prop: 'groupName'},
|
|
|
]
|
|
|
|
|
|
+function 项目说明书(code: string) {
|
|
|
+ setDialogToJs(ItemInstructions, {code}).then(XEUtils.noop)
|
|
|
+}
|
|
|
|
|
|
export let tableHeaderV2 = ref([
|
|
|
{
|
|
|
name: '说明书',
|
|
|
width: '60',
|
|
|
render: ({row}: { row: any }) => {
|
|
|
- if (row.groupNo == '00') {
|
|
|
- return null
|
|
|
- }
|
|
|
return h(ElButton,
|
|
|
{
|
|
|
text: true,
|
|
|
type: 'primary',
|
|
|
onClick: (e: Event) => {
|
|
|
e.stopPropagation();
|
|
|
- openDrugManual(row.orderCode, row.serial)
|
|
|
+ if (row.groupNo == '00') {
|
|
|
+ return 项目说明书(row.orderCode)
|
|
|
+ } else {
|
|
|
+ openDrugManual(row.orderCode, row.serial)
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
() => '说明书')
|