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AAO,OACP1C,KAAM,UACL,CACD9I,SAASW,EAAAA,EAAAA,KAAS,IAAM,CACD,UAApByQ,EAAW5P,QACPjB,EAAAA,EAAAA,OAAcuH,EAAAA,EAAAA,IAAa4K,EAAsB,CAChD7O,IAAK,EACLqO,WAAYV,EACZa,WAAYjS,EAAO,KAAOA,EAAO,GAAMgJ,GAAiBwH,KACxDhE,QAAS,SACTvF,IAAK8J,GACJ,KAAM,OACT1I,EAAAA,EAAAA,IAAoB,IAAI,MAE9BzH,EAAG,OAGPA,EAAG,GACF,EAAG,CAAC,kBAETA,EAAG,KAEL,CAEJ,IE1QA,MAAM,EAAc,EAEpB,Q","sources":["webpack://baozhidao-putoutstorage/./src/components/mark-green.vue","webpack://baozhidao-putoutstorage/./src/components/mark-green.vue?d9fe","webpack://baozhidao-putoutstorage/./src/components/bg.vue?5ef6","webpack://baozhidao-putoutstorage/./src/components/bg.vue","webpack://baozhidao-putoutstorage/./src/components/bg.vue?4c61","webpack://baozhidao-putoutstorage/./src/components/bgPure.vue","webpack://baozhidao-putoutstorage/./src/components/bgPure.vue?f1e9","webpack://baozhidao-putoutstorage/./src/components/statistics.vue?4641","webpack://baozhidao-putoutstorage/./src/components/statistics.vue","webpack://baozhidao-putoutstorage/./src/components/statistics.vue?3f84","webpack://baozhidao-putoutstorage/./src/hooks/useTable.ts","webpack://baozhidao-putoutstorage/./src/components/table.vue?c286","webpack://baozhidao-putoutstorage/./src/components/table.vue","webpack://baozhidao-putoutstorage/./src/components/table.vue?0270","webpack://baozhidao-putoutstorage/./src/plugins/typeData.ts","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/drugInformation.vue?bf4b","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/drugInformation.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/drugInformation.vue?401b","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/specification.vue?ebc7","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/specification.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/specification.vue?58c5","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/dosageForm.vue?f1a6","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/dosageForm.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/dosageForm.vue?047c","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/unit.vue?c295","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/unit.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/unit.vue?7eca","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/vaccineName.vue?f25d","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/vaccineName.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/vaccineName.vue?eb24","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/productionEnterprise.vue?da8d","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/productionEnterprise.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/productionEnterprise.vue?8793","webpack://baozhidao-putoutstorage/./src/plugins/newData.ts","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/newData.vue?98ae","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/newData.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/newData.vue?f0f4","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/index.vue?6183","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/index.vue","webpack://baozhidao-putoutstorage/./src/views/essentialinfo/index.vue?5e7d"],"sourcesContent":["<template>\r\n <div class=\"mark-green1\">\r\n <div class=\"mark-green2\">\r\n <div class=\"mark-green3\"></div>\r\n </div>\r\n </div>\r\n</template>\r\n \r\n<style lang=\"scss\">\r\n.mark-green1 {\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 50%;\r\n background: #d8f2e3;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.mark-green2 {\r\n width: 70%;\r\n height: 70%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n background: #b2efcc;\r\n}\r\n\r\n.mark-green3 {\r\n width: 50%;\r\n height: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n background: #69d297;\r\n}</style>","import { render } from \"./mark-green.vue?vue&type=template&id=84d97b9e\"\nconst script = {}\n\nimport \"./mark-green.vue?vue&type=style&index=0&id=84d97b9e&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bg\" }\nconst _hoisted_2 = { class: \"bg-tit\" }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"flex\":\"1\",\"flex-shrink\":\"0\",\"min-width\":\"200px\"} }\n\nimport markGreen from \"@/components/mark-green.vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'bg',\n props: {\r\n istitle: {\r\n type: String,\r\n default: () => '',\r\n },\r\n},\n setup(__props) {\n\r\nconst props = __props\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_text = _resolveComponent(\"el-text\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(markGreen),\n _createVNode(_component_el_text, {\n style: {\"margin-left\":\"20px\"},\n tag: \"b\"\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"tit\", {}, () => [\n _createTextVNode(_toDisplayString(props.istitle), 1)\n ])\n ]),\n _: 3\n })\n ]),\n _renderSlot(_ctx.$slots, \"btn\")\n ]),\n _renderSlot(_ctx.$slots, \"bg\")\n ]))\n}\n}\n\n})","<template>\r\n <div class=\"bg\">\r\n <div class=\"bg-tit\">\r\n <div style=\"display: flex;align-items: center;flex: 1;flex-shrink: 0;min-width: 200px;\">\r\n <markGreen></markGreen>\r\n <el-text style=\"margin-left: 20px;\" tag=\"b\">\r\n <slot name=\"tit\">{{props.istitle}}</slot>\r\n </el-text>\r\n </div>\r\n <slot name=\"btn\"></slot>\r\n </div>\r\n <slot name=\"bg\"></slot>\r\n </div>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport markGreen from \"@/components/mark-green.vue\";\r\nconst props = defineProps({\r\n istitle: {\r\n type: String,\r\n default: () => '',\r\n },\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.bg {\r\n border-radius: var(--el-card-border-radius);\r\n background-color: var(--el-card-bg-color);\r\n overflow: hidden;\r\n color: var(--el-text-color-primary);\r\n transition: var(--el-transition-duration);\r\n --el-card-border-color: var(--el-border-color-light);\r\n --el-card-border-radius: 4px;\r\n --el-card-bg-color: var(--el-fill-color-blank);\r\n padding: var(--y-padding);\r\n margin-bottom: var(--y-margin);\r\n\r\n &-tit {\r\n padding: var(--y-padding) 0;\r\n border-bottom: 1px solid var(--el-card-border-color);\r\n box-sizing: border-box;\r\n margin-bottom: var(--y-margin);\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n }\r\n}</style>","import script from \"./bg.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./bg.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./bg.vue?vue&type=style&index=0&id=24052afe&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","<!-- 纯色背景 -->\r\n<template>\r\n <div class=\"bg\">\r\n <slot name=\"bg\"></slot>\r\n </div>\r\n</template>\r\n<style lang=\"scss\">\r\n.bg {\r\n border-radius: var(--el-card-border-radius);\r\n background-color: var(--el-card-bg-color);\r\n overflow: hidden;\r\n color: var(--el-text-color-primary);\r\n transition: var(--el-transition-duration);\r\n --el-card-border-color: var(--el-border-color-light);\r\n --el-card-border-radius: 4px;\r\n --el-card-bg-color: var(--el-fill-color-blank);\r\n padding: var(--y-padding);\r\n margin-bottom: var(--y-margin);\r\n}</style>","import { render } from \"./bgPure.vue?vue&type=template&id=5dfb2e74\"\nconst script = {}\n\nimport \"./bgPure.vue?vue&type=style&index=0&id=5dfb2e74&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"statistics\" }\nconst _hoisted_2 = { class: \"statistics-left\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"statistics-right\" }\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'statistics',\n props: {\r\n imgUrl:{\r\n type: String,\r\n default: () => '',\r\n },\r\n titles:{\r\n type: String,\r\n default: () => '',\r\n },\r\n subhea:{\r\n type: String,\r\n default: () => '',\r\n }\r\n},\n setup(__props) {\n\r\nconst props = __props\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_statistic = _resolveComponent(\"el-statistic\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: props.imgUrl,\n style: {\"width\":\"60px\",\"height\":\"60px\"}\n }, null, 8, _hoisted_3)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_statistic, {\n title: props.titles,\n value: Number(props.subhea)\n }, null, 8, [\"title\", \"value\"])\n ])\n ]))\n}\n}\n\n})","<!-- 统计组件 -->\r\n<template>\r\n <div class=\"statistics\">\r\n <div class=\"statistics-left\">\r\n <img :src=\"props.imgUrl\" style=\"width: 60px;height: 60px;\">\r\n </div>\r\n <div class=\"statistics-right\">\r\n <el-statistic :title=\"props.titles\" :value=\"Number(props.subhea)\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nconst props = defineProps({\r\n imgUrl:{\r\n type: String,\r\n default: () => '',\r\n },\r\n titles:{\r\n type: String,\r\n default: () => '',\r\n },\r\n subhea:{\r\n type: String,\r\n default: () => '',\r\n }\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n.statistics{\r\n display: flex;\r\n align-items: center;\r\n &-right{\r\n display: block;\r\n line-height: 25px;\r\n margin-left: var(--y-margin);\r\n }\r\n}\r\n</style>","import script from \"./statistics.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./statistics.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./statistics.vue?vue&type=style&index=0&id=66ed6c5b&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { reactive, toRefs } from 'vue'\r\ninterface Pageable {\r\n pageNum: number\r\n pageSize: number\r\n total: number\r\n RemainingTime?: number\r\n small: boolean\r\n disabled: boolean\r\n}\r\ninterface Table {\r\n loading: boolean\r\n tableData: any[]\r\n pageable: Pageable\r\n searchParam: any\r\n searchInitParam: any\r\n totalParam: any\r\n}\r\n\r\n/**\r\n *\r\n * @param requestApi 请求接口\r\n * @param initParam 请求参数\r\n * @param isPagination 是否需要分页\r\n * @param dataCallback 对后台返回参数进行处理\r\n * @returns\r\n */\r\nexport const useTable = (\r\n requestApi: (params: any) => Promise<any>,\r\n initParam: object = {},\r\n isPagination: boolean = true,\r\n dataCallback?: (data: any) => any\r\n) => {\r\n const state = reactive<Table>({\r\n // 表格数据\r\n tableData: [],\r\n loading: true,\r\n // 分页数据\r\n pageable: {\r\n // 当前页数\r\n pageNum: 1,\r\n // 每页显示条数\r\n pageSize: 8,\r\n // 总条数\r\n total: 0,\r\n RemainingTime: 0,\r\n small: true,\r\n disabled: false\r\n },\r\n // 查询参数(只包括查询)\r\n searchParam: {},\r\n // 初始化默认的查询参数\r\n searchInitParam: {},\r\n // 总参数(包含分页和查询参数)\r\n totalParam: {}\r\n })\r\n\r\n const getTableList = async () => {\r\n const params: any = {\r\n page: state.pageable.pageNum,\r\n pageSize: state.pageable.pageSize,\r\n ...initParam\r\n }\r\n requestApi(params).then(res => {\r\n state.tableData = res.data?.list || []\r\n // dataCallback && (state.tableData = dataCallback(res))\r\n state.pageable.total = parseInt(res.data?.count)\r\n // console.log('返回数据', res, state.tableData)\r\n\r\n if (res.Data?.RemainingTime) {\r\n state.pageable.RemainingTime = res.Data.RemainingTime\r\n }\r\n state.loading = false\r\n })\r\n }\r\n if (isPagination) {\r\n }\r\n const handleSizeChange = (val: number) => {\r\n state.pageable.pageSize = val\r\n getTableList()\r\n }\r\n\r\n const handleCurrentChange = (val: number) => {\r\n state.pageable.pageNum = val\r\n getTableList()\r\n }\r\n\r\n const searchTable = () => {\r\n state.pageable.pageNum = 1\r\n getTableList()\r\n }\r\n\r\n return {\r\n ...toRefs(state),\r\n getTableList,\r\n searchTable,\r\n handleSizeChange,\r\n handleCurrentChange\r\n }\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, mergeProps as _mergeProps, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"y-tabs\" }\nconst _hoisted_2 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_3 = { style: {\"margin-top\":\"20px\"} }\n\nimport { ref, CSSProperties,watch } from \"vue\";\r\nimport { useTable } from '@/hooks/useTable'\r\nimport { TableProps } from 'element-plus'\r\nimport { ColumnProps } from './interface/index'\r\ninterface ProTableProps extends Partial<Omit<TableProps<any>, 'data'>> {\r\n columns: ColumnProps[] // 列配置项\r\n requestApi: (params: any) => Promise<any> // 请求表格数据的api ==> 必传\r\n dataCallback?: (data: any) => any // 返回数据的回调函数,可以对数据进行处理 ==> 非必传\r\n title?: string // 表格标题,目前只在打印的时候用到 ==> 非必传\r\n pagination?: boolean // 是否需要分页组件 ==> 非必传(默认为true)\r\n layout?: string\r\n initParam?: any // 初始化请求参数 ==> 非必传(默认为{})\r\n border?: boolean // 是否带有纵向边框 ==> 非必传(默认为true)\r\n toolButton?: boolean // 是否显示表格功能按钮 ==> 非必传(默认为true)\r\n selectId?: string // 当表格数据多选时,所指定的 id ==> 非必传(默认为 id)\r\n displayHeader?: boolean // 是否隐藏头部\r\n rowClick?: (row: any, column: any, event: any) => void // 点击行\r\n selectionChange?: (row: any) => void // 选择函数\r\n getRowKey?: ((row: any) => string) | string // 用于优化select勾选框\r\n tableRowClassName?: (data: any) => CSSProperties\r\n}\r\n// 接受父组件参数,配置默认值\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'table',\n props: {\n columns: { default: () => [] },\n requestApi: {},\n dataCallback: {},\n title: {},\n pagination: { type: Boolean, default: true },\n layout: { default: 'total, sizes, prev, pager, next, jumper' },\n initParam: { default: {} },\n border: { type: Boolean, default: true },\n toolButton: { type: Boolean, default: true },\n selectId: { default: 'id' },\n displayHeader: { type: Boolean },\n rowClick: {},\n selectionChange: {},\n getRowKey: {},\n tableRowClassName: {},\n size: {},\n width: {},\n height: {},\n maxHeight: {},\n fit: { type: Boolean },\n stripe: { type: Boolean },\n rowKey: {},\n context: {},\n showHeader: { type: Boolean },\n showSummary: { type: Boolean },\n sumText: {},\n summaryMethod: {},\n rowClassName: {},\n rowStyle: {},\n cellClassName: {},\n cellStyle: {},\n headerRowClassName: {},\n headerRowStyle: {},\n headerCellClassName: {},\n headerCellStyle: {},\n highlightCurrentRow: { type: Boolean },\n currentRowKey: {},\n emptyText: {},\n expandRowKeys: {},\n defaultExpandAll: { type: Boolean },\n defaultSort: {},\n tooltipEffect: {},\n tooltipOptions: {},\n spanMethod: {},\n selectOnIndeterminate: { type: Boolean },\n indent: {},\n treeProps: {},\n lazy: { type: Boolean },\n load: {},\n className: {},\n style: {},\n tableLayout: {},\n scrollbarAlwaysOn: { type: Boolean },\n flexible: { type: Boolean },\n showOverflowTooltip: { type: [Boolean, Object] }\n },\n setup(__props: any, { expose: __expose }) {\n\r\nconst props = __props\r\n\r\n\r\n// 表格操作 Hooks\r\nconst { tableData, getTableList, pageable, loading, handleSizeChange, handleCurrentChange } = useTable(\r\n props.requestApi,\r\n props.initParam,\r\n props.pagination,\r\n \r\n props.dataCallback\r\n)\r\n\r\ngetTableList()\r\n// 接收 columns 并设置为响应式\r\nconst tableColumns = ref<ColumnProps[]>(props.columns)\r\n\r\n//暴露方法\r\n__expose({\r\ngetTableList,tableColumns,props\r\n})\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_empty = _resolveComponent(\"el-empty\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_pagination = _resolveComponent(\"el-pagination\")!\n const _directive_loading = _resolveDirective(\"loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _withDirectives((_openBlock(), _createBlock(_component_el_table, {\n data: _unref(tableData),\n onRowClick: props.rowClick,\n onSelectionChange: props.selectionChange,\n \"row-key\": props.getRowKey,\n border: props.border,\n \"max-height\": \"450\",\n \"row-style\": _ctx.tableRowClassName,\n \"table-layout\": \"auto\"\n }, {\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n empty: _withCtx(() => [\n _createVNode(_component_el_empty)\n ]),\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\"),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tableColumns.value, (item) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: item }, [\n (item.type == 'selection' || item.type == 'index')\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 0 }, item, {\n align: item.align ?? 'center',\n \"reserve-selection\": item.type == 'selection',\n \"show-overflow-tooltip\": true\n }), null, 16, [\"align\", \"reserve-selection\"]))\n : _createCommentVNode(\"\", true),\n (item.type === 'expand')\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 1 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n (item.render)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(item.render), {\n key: 0,\n row: scope.row\n }, null, 8, [\"row\"]))\n : _renderSlot(_ctx.$slots, item.type, {\n key: 1,\n row: scope.row\n })\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true),\n (!item.type && item.prop && item.name !== item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 2 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n (item.prop=='T_wait_audit')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(scope.row[item.prop]==true?'待审核':''), 1))\n : _createCommentVNode(\"\", true),\n (item.ellipsis)\n ? (_openBlock(), _createBlock(_component_el_tooltip, {\n key: 1,\n effect: \"dark\",\n content: scope.row[item.prop],\n placement: \"bottom\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row[item.prop]), 1)\n ]),\n _: 2\n }, 1032, [\"content\"]))\n : _createCommentVNode(\"\", true),\n (item.fixed)\n ? _renderSlot(_ctx.$slots, item.fixed, {\n key: 2,\n row: scope.row\n })\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true),\n (!item.type && item.prop && item.name === item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 3 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n _renderSlot(_ctx.$slots, item.prop, {\n row: scope.row\n })\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]),\n _: 3\n }, 8, [\"data\", \"onRowClick\", \"onSelectionChange\", \"row-key\", \"border\", \"row-style\"])), [\n [_directive_loading, _unref(loading)]\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.pagination)\n ? (_openBlock(), _createBlock(_component_el_pagination, {\n key: 0,\n \"current-page\": _unref(pageable).pageNum,\n \"onUpdate:currentPage\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(pageable).pageNum) = $event)),\n \"page-size\": _unref(pageable).pageSize,\n \"onUpdate:pageSize\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(pageable).pageSize) = $event)),\n layout: props.layout,\n total: _unref(pageable).total,\n \"page-sizes\": [8, 10, 20, 50],\n onSizeChange: _unref(handleSizeChange),\n onCurrentChange: _unref(handleCurrentChange)\n }, null, 8, [\"current-page\", \"page-size\", \"layout\", \"total\", \"onSizeChange\", \"onCurrentChange\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"y-tabs\">\r\n <el-table v-loading=\"loading\" :data=\"tableData\" @row-click=\"props.rowClick\"\r\n @selection-change=\"props.selectionChange\" :row-key=\"props.getRowKey\"\r\n :border=\"props.border\" max-height=\"450\"\r\n :row-style=\"tableRowClassName\" table-layout=\"auto\">\r\n <!-- 默认插槽 -->\r\n <slot></slot>\r\n <template v-for=\"item in tableColumns\" :key=\"item\">\r\n <!-- selection || index -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n :reserve-selection=\"item.type == 'selection'\"\r\n v-if=\"item.type == 'selection' || item.type == 'index'\"\r\n :show-overflow-tooltip=\"true\"\r\n ></el-table-column>\r\n <!-- expand 支持 tsx 语法 && 作用域插槽 (tsx > slot) -->\r\n <el-table-column v-bind=\"item\" :align=\"item.align ?? 'center'\" v-if=\"item.type === 'expand'\" v-slot=\"scope\" :show-overflow-tooltip=\"true\">\r\n <component :is=\"item.render\" :row=\"scope.row\" v-if=\"item.render\"> </component>\r\n <slot :name=\"item.type\" :row=\"scope.row\" v-else></slot>\r\n </el-table-column>\r\n <!-- 普通渲染 -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n v-if=\"!item.type && item.prop && item.name !== item.prop\"\r\n v-slot=\"scope\" :show-overflow-tooltip=\"true\"\r\n >\r\n <div v-if=\"item.prop=='T_wait_audit'\" style=\"color: red;\">\r\n {{ scope.row[item.prop]==true?'待审核':'' }}\r\n </div>\r\n <el-tooltip v-if=\"item.ellipsis\" effect=\"dark\" :content=\"scope.row[item.prop]\" placement=\"bottom\">\r\n {{ scope.row[item.prop] }}\r\n </el-tooltip>\r\n <slot v-if=\"item.fixed\" :name=\"item.fixed\" :row=\"scope.row\"></slot>\r\n </el-table-column>\r\n <!-- 自定义slot -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n v-if=\"!item.type && item.prop && item.name === item.prop\"\r\n v-slot=\"scope\" :show-overflow-tooltip=\"true\"\r\n >\r\n <slot :name=\"item.prop\" :row=\"scope.row\"></slot>\r\n </el-table-column>\r\n </template>\r\n <!-- 插入表格最后一行之后的插槽 -->\r\n <template #append>\r\n <slot name=\"append\"> </slot>\r\n </template>\r\n <!-- 表格无数据情况 -->\r\n <template #empty>\r\n <el-empty></el-empty>\r\n </template>\r\n </el-table>\r\n <!-- 分页组件 -->\r\n <div style=\"margin-top: 20px;\">\r\n <el-pagination v-model:current-page=\"pageable.pageNum\" v-model:page-size=\"pageable.pageSize\" v-if=\"pagination\"\r\n :layout=\"props.layout\" :total=\"pageable.total\" :page-sizes=\"[8, 10, 20, 50]\"\r\n @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ref, CSSProperties,watch } from \"vue\";\r\nimport { useTable } from '@/hooks/useTable'\r\nimport { TableProps } from 'element-plus'\r\nimport { ColumnProps } from './interface/index'\r\ninterface ProTableProps extends Partial<Omit<TableProps<any>, 'data'>> {\r\n columns: ColumnProps[] // 列配置项\r\n requestApi: (params: any) => Promise<any> // 请求表格数据的api ==> 必传\r\n dataCallback?: (data: any) => any // 返回数据的回调函数,可以对数据进行处理 ==> 非必传\r\n title?: string // 表格标题,目前只在打印的时候用到 ==> 非必传\r\n pagination?: boolean // 是否需要分页组件 ==> 非必传(默认为true)\r\n layout?: string\r\n initParam?: any // 初始化请求参数 ==> 非必传(默认为{})\r\n border?: boolean // 是否带有纵向边框 ==> 非必传(默认为true)\r\n toolButton?: boolean // 是否显示表格功能按钮 ==> 非必传(默认为true)\r\n selectId?: string // 当表格数据多选时,所指定的 id ==> 非必传(默认为 id)\r\n displayHeader?: boolean // 是否隐藏头部\r\n rowClick?: (row: any, column: any, event: any) => void // 点击行\r\n selectionChange?: (row: any) => void // 选择函数\r\n getRowKey?: ((row: any) => string) | string // 用于优化select勾选框\r\n tableRowClassName?: (data: any) => CSSProperties\r\n}\r\n// 接受父组件参数,配置默认值\r\nconst props = withDefaults(defineProps<ProTableProps>(), {\r\n columns: () => [],//渲染表格\r\n pagination: true,\r\n // layout: 'total, prev, pager, next, jumper',\r\n layout: 'total, sizes, prev, pager, next, jumper',\r\n initParam: {},//请求参数\r\n border: true,\r\n toolButton: true,\r\n selectId: 'id',\r\n searchCol: () => ({ xs: 1, sm: 2, md: 2, lg: 3, xl: 4 })\r\n})\r\n\r\n\r\n// 表格操作 Hooks\r\nconst { tableData, getTableList, pageable, loading, handleSizeChange, handleCurrentChange } = useTable(\r\n props.requestApi,\r\n props.initParam,\r\n props.pagination,\r\n \r\n props.dataCallback\r\n)\r\n\r\ngetTableList()\r\n// 接收 columns 并设置为响应式\r\nconst tableColumns = ref<ColumnProps[]>(props.columns)\r\n\r\n//暴露方法\r\ndefineExpose({\r\ngetTableList,tableColumns,props\r\n})\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n.y-tabs {\r\n background: var(--y-card-background);\r\n border-radius: var(--y-radius);\r\n margin-top: var(--y-margin);\r\n\r\n &-headers {\r\n border-bottom: var(--y-border);\r\n box-sizing: border-box;\r\n padding: var(--y-padding);\r\n }\r\n\r\n &-item {\r\n padding: var(--y-padding);\r\n }\r\n}\r\n</style>","import script from \"./table.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./table.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./table.vue?vue&type=style&index=0&id=588e57b4&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","const typeList = [\r\n { type: 1, name: '品名' },\r\n { type: 2, name: '生产企业' },\r\n { type: 3, name: '规格' },\r\n { type: 4, name: '剂型' },\r\n { type: 5, name: '单位' },\r\n { type: 6, name: '文本' },\r\n { type: 7, name: '数值(整数)' },\r\n { type: 8, name: '数值 (小数)' },\r\n { type: 9, name: '日期' },\r\n { type: 10, name: '时间' },\r\n]\r\nexport function typeListFun(type:any){\r\n const b = typeList.find(item => item.type ==type)\r\n return b?.name\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\n\nimport tables from \"@/components/table.vue\";\r\nimport { medicinelist, medicineedit, medicinedelete } from \"@/api\";\r\nimport { reactive, ref, nextTick } from 'vue'\r\nimport { typeListFun } from \"@/plugins/typeData\";\r\nimport { ElMessage, ElMessageBox, FormRules, FormInstance } from 'element-plus'\r\nimport { number } from \"echarts\";\r\nconst formLabelWidth = '80px'\r\n\r\ninterface RuleForm {\r\n id: number,\r\n name: string\r\n width: string\r\n sort: number\r\n show: number\r\n text: string\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'drugInformation',\n emits: [\"setBasic\"],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst TableRef = ref()\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst rules = reactive<FormRules<RuleForm>>({\r\n name: [{ required: true, message: '请输入标签名称', trigger: 'blur' }],\r\n})\r\nconst emit = __emit\r\nconst ruleForm: any = reactive<RuleForm>({\r\n \"id\": 0,\r\n \"text\": \"\",\r\n \"width\": '',\r\n \"sort\": 0,\r\n \"show\": 0,\r\n \"name\": \"\"\r\n})\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n Object.keys(ruleForm).forEach((key: any) => {\r\n ruleForm[key] = row[key]\r\n })\r\n dialogFormVisible.value = true\r\n}\r\n/**\r\n * 提交dio\r\n * @param formEl \r\n */\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n const reslut: any = await medicineedit(ruleForm)\r\n if (reslut.code == 200 && reslut.msg == \"更新成功\") {\r\n dialogFormVisible.value = false\r\n nextTick(() => {\r\n ElMessage.success('编辑成功')\r\n TableRef.value?.getTableList()\r\n })\r\n }\r\n console.log('添加情况', reslut)\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\n// 渲染表格\r\nlet columns: any = [\r\n { type: 'index', label: '编号', width: 80, },\r\n { prop: 'type', label: '数据类型', name: 'type' },\r\n { prop: 'name', label: '标签名称' },\r\n { prop: 'width', label: '列宽(px)' },\r\n { prop: 'sort', label: '排序' },\r\n { prop: 'show', label: '表格展示', name: 'show' },\r\n { prop: 'state', label: '类型', name: 'state' },\r\n { prop: 'operation', label: '操作', fixed: 'right', 'min-width': 200 }\r\n]\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {}\r\n})\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\nconst deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async () => {\r\n const reslut: any = await medicinedelete({ id: data.id })\r\n if (reslut.code == 200) ElMessage.success('删除成功'); TableRef.value?.getTableList(); emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n\r\n//暴露方法\r\n__expose({\r\n TableRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_tag = _resolveComponent(\"el-tag\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_radio = _resolveComponent(\"el-radio\")!\n const _component_el_radio_group = _resolveComponent(\"el-radio-group\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(medicinelist),\n columns: _unref(columns),\n initParam: data.initParam,\n pagination: false\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n size: \"small\",\n onClick: ($event: any) => (showEdit(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"danger\",\n size: \"small\",\n disabled: row.state != 1 ? false : true,\n onClick: ($event: any) => (deleteFy(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"disabled\", \"onClick\"])\n ]),\n type: _withCtx(({ row }) => [\n _createTextVNode(_toDisplayString(_unref(typeListFun)(row.type)), 1)\n ]),\n show: _withCtx(({ row }) => [\n _createVNode(_component_el_tag, {\n class: \"ml-2\",\n type: row.show === 1 ? '' : 'danger',\n effect: \"dark\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.show === 1 ? '显示' : '隐藏'), 1)\n ]),\n _: 2\n }, 1032, [\"type\"])\n ]),\n state: _withCtx(({ row }) => [\n _createVNode(_component_el_tag, {\n style: {\"width\":\"100px\"},\n type: row.state === 1 ? '' : 'danger',\n effect: \"dark\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.state === 1 ?\r\n '系统初始化' : '用户添加'), 1)\n ]),\n _: 2\n }, 1032, [\"type\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"columns\", \"initParam\"]),\n _createVNode(_component_el_dialog, {\n modelValue: dialogFormVisible.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"编辑药品信息管理\",\n draggable: \"\",\n \"append-to-body\": true\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(_component_el_button, {\n onClick: _cache[5] || (_cache[5] = ($event: any) => (dialogFormVisible.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancel\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (submitForm(ruleFormRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Confirm \")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n model: ruleForm,\n rules: rules\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"标签名称\",\n \"label-width\": formLabelWidth,\n prop: \"name\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((ruleForm.name) = $event)),\n autocomplete: \"off\",\n placeholder: \"请输入标签名称\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"列宽\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.width,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((ruleForm.width) = $event)),\n modelModifiers: { number: true },\n autocomplete: \"off\",\n placeholder: \"请输入列宽\"\n }, {\n append: _withCtx(() => [\n _createTextVNode(\"px\")\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"排序\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.sort,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((ruleForm.sort) = $event)),\n modelModifiers: { number: true },\n autocomplete: \"off\",\n placeholder: \"请输入排序\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"表格展示\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_group, {\n modelValue: ruleForm.show,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((ruleForm.show) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio, { label: 1 }, {\n default: _withCtx(() => [\n _createTextVNode(\"显示\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio, { label: 2 }, {\n default: _withCtx(() => [\n _createTextVNode(\"隐藏\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"描述\",\n \"label-width\": formLabelWidth,\n placeholder: \"请输入描述\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.text,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((ruleForm.text) = $event)),\n type: \"textarea\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","<!-- 药品信息 -->\r\n<script setup lang=\"ts\">\r\nimport tables from \"@/components/table.vue\";\r\nimport { medicinelist, medicineedit, medicinedelete } from \"@/api\";\r\nimport { reactive, ref, nextTick } from 'vue'\r\nimport { typeListFun } from \"@/plugins/typeData\";\r\nimport { ElMessage, ElMessageBox, FormRules, FormInstance } from 'element-plus'\r\nimport { number } from \"echarts\";\r\nconst TableRef = ref()\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst formLabelWidth = '80px'\r\n\r\nconst rules = reactive<FormRules<RuleForm>>({\r\n name: [{ required: true, message: '请输入标签名称', trigger: 'blur' }],\r\n})\r\nconst emit = defineEmits<{ (e: 'setBasic', myvalue: string): void }>()\r\ninterface RuleForm {\r\n id: number,\r\n name: string\r\n width: string\r\n sort: number\r\n show: number\r\n text: string\r\n}\r\n\r\nconst ruleForm: any = reactive<RuleForm>({\r\n \"id\": 0,\r\n \"text\": \"\",\r\n \"width\": '',\r\n \"sort\": 0,\r\n \"show\": 0,\r\n \"name\": \"\"\r\n})\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n Object.keys(ruleForm).forEach((key: any) => {\r\n ruleForm[key] = row[key]\r\n })\r\n dialogFormVisible.value = true\r\n}\r\n/**\r\n * 提交dio\r\n * @param formEl \r\n */\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n const reslut: any = await medicineedit(ruleForm)\r\n if (reslut.code == 200 && reslut.msg == \"更新成功\") {\r\n dialogFormVisible.value = false\r\n nextTick(() => {\r\n ElMessage.success('编辑成功')\r\n TableRef.value?.getTableList()\r\n })\r\n }\r\n console.log('添加情况', reslut)\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\n// 渲染表格\r\nlet columns: any = [\r\n { type: 'index', label: '编号', width: 80, },\r\n { prop: 'type', label: '数据类型', name: 'type' },\r\n { prop: 'name', label: '标签名称' },\r\n { prop: 'width', label: '列宽(px)' },\r\n { prop: 'sort', label: '排序' },\r\n { prop: 'show', label: '表格展示', name: 'show' },\r\n { prop: 'state', label: '类型', name: 'state' },\r\n { prop: 'operation', label: '操作', fixed: 'right', 'min-width': 200 }\r\n]\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {}\r\n})\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\nconst deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async () => {\r\n const reslut: any = await medicinedelete({ id: data.id })\r\n if (reslut.code == 200) ElMessage.success('删除成功'); TableRef.value?.getTableList(); emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n\r\n//暴露方法\r\ndefineExpose({\r\n TableRef\r\n})\r\n</script>\r\n<template>\r\n <div class=\"\">\r\n <tables ref=\"TableRef\" :requestApi=\"medicinelist\" :columns=\"columns\" :initParam=\"data.initParam\" :pagination=\"false\">\r\n <template #right=\"{ row }\">\r\n <el-button link type=\"primary\" size=\"small\" @click=\"showEdit(row)\">编辑</el-button>\r\n <el-button link type=\"danger\" size=\"small\" :disabled=\"row.state != 1 ? false : true\"\r\n @click=\"deleteFy(row)\">删除</el-button>\r\n </template>\r\n <template #type=\"{ row }\">\r\n {{ typeListFun(row.type) }}\r\n </template>\r\n <template #show=\"{ row }\">\r\n <el-tag class=\"ml-2\" :type=\"row.show === 1 ? '' : 'danger'\" effect=\"dark\">{{ row.show === 1 ? '显示' : '隐藏'\r\n }}</el-tag>\r\n </template>\r\n <template #state=\"{ row }\">\r\n <el-tag style=\"width: 100px;\" :type=\"row.state === 1 ? '' : 'danger'\" effect=\"dark\">{{ row.state === 1 ?\r\n '系统初始化' : '用户添加' }}</el-tag>\r\n </template>\r\n </tables>\r\n <el-dialog v-model=\"dialogFormVisible\" title=\"编辑药品信息管理\" draggable :append-to-body=\"true\">\r\n <el-form ref=\"ruleFormRef\" :model=\"ruleForm\" :rules=\"rules\">\r\n <el-form-item label=\"标签名称\" :label-width=\"formLabelWidth\" prop=\"name\">\r\n <el-input v-model=\"ruleForm.name\" autocomplete=\"off\" placeholder=\"请输入标签名称\" />\r\n </el-form-item>\r\n <el-form-item label=\"列宽\" :label-width=\"formLabelWidth\">\r\n <el-input v-model.number=\"ruleForm.width\" autocomplete=\"off\" placeholder=\"请输入列宽\">\r\n <template #append>px</template>\r\n </el-input>\r\n </el-form-item>\r\n <el-form-item label=\"排序\" :label-width=\"formLabelWidth\">\r\n <el-input v-model.number=\"ruleForm.sort\" autocomplete=\"off\" placeholder=\"请输入排序\" />\r\n </el-form-item>\r\n <el-form-item label=\"表格展示\" :label-width=\"formLabelWidth\">\r\n <el-radio-group v-model=\"ruleForm.show\">\r\n <el-radio :label=\"1\">显示</el-radio>\r\n <el-radio :label=\"2\">隐藏</el-radio>\r\n </el-radio-group>\r\n </el-form-item>\r\n <el-form-item label=\"描述\" :label-width=\"formLabelWidth\" placeholder=\"请输入描述\">\r\n <el-input v-model=\"ruleForm.text\" type=\"textarea\" />\r\n </el-form-item>\r\n </el-form>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"dialogFormVisible = false\">Cancel</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm(ruleFormRef)\">\r\n Confirm\r\n </el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./drugInformation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./drugInformation.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./drugInformation.vue?vue&type=style&index=0&id=b9595400&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\n\nimport tables from \"@/components/table.vue\";\r\nimport { specList,specDelete,specEdit} from \"@/api\";\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\nimport {reactive,ref} from 'vue'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'specification',\n emits: ['setTable','setBasic'],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号',width:80},\r\n { prop: 'name', label: '名称',width:300},\r\n { prop: 'operation', label: '操作', fixed: 'right',align:'left','min-width':200 }\r\n]\r\n\r\n//请求参数\r\nconst data:any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\n\r\nconst emit:any = __emit\r\n// const emit = defineEmits<{ (e: 'setTable', myvalue: string): void }>()\r\n\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await specDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await specEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n\r\n\r\n\r\n//暴露方法\r\n__expose({\r\n TableRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(specList),\n columns: columns,\n initParam: data.initParam,\n border: true\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n size: \"small\",\n onClick: ($event: any) => (showEdit(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"danger\",\n size: \"small\",\n onClick: ($event: any) => (deleteFy(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]))\n}\n}\n\n})","<!-- 规格 -->\r\n<template>\r\n <div class=\"\">\r\n <tables ref=\"TableRef\" :requestApi=\"specList\" :columns=\"columns\" :initParam=\"data.initParam\" :border=\"true\">\r\n <template #right=\"{ row }\">\r\n <el-button link type=\"primary\" size=\"small\" @click=\"showEdit(row)\">编辑</el-button>\r\n <el-button link type=\"danger\" size=\"small\" @click=\"deleteFy(row)\">删除</el-button> \r\n </template>\r\n </tables>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport tables from \"@/components/table.vue\";\r\nimport { specList,specDelete,specEdit} from \"@/api\";\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\nimport {reactive,ref} from 'vue'\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号',width:80},\r\n { prop: 'name', label: '名称',width:300},\r\n { prop: 'operation', label: '操作', fixed: 'right',align:'left','min-width':200 }\r\n]\r\n\r\n//请求参数\r\nconst data:any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\n\r\nconst emit:any = defineEmits(['setTable','setBasic'])\r\n// const emit = defineEmits<{ (e: 'setTable', myvalue: string): void }>()\r\n\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await specDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await specEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n\r\n\r\n\r\n//暴露方法\r\ndefineExpose({\r\n TableRef\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n\r\n</style>","import script from \"./specification.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./specification.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./specification.vue?vue&type=style&index=0&id=4bf2b841&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\n\nimport tables from \"@/components/table.vue\";\r\nimport { dosageList,dosageEdit,dosageDelete } from \"@/api\";\r\nimport { reactive,ref } from 'vue'\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'dosageForm',\n emits: ['setTable','setBasic'],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80 },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\nconst emit:any = __emit\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await dosageDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await dosageEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\n__expose({\r\n TableRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(dosageList),\n columns: columns,\n initParam: data.initParam,\n border: true\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n size: \"small\",\n onClick: ($event: any) => (showEdit(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"danger\",\n size: \"small\",\n onClick: ($event: any) => (deleteFy(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]))\n}\n}\n\n})","<!-- 剂型 -->\r\n<template>\r\n <div class=\"\">\r\n <tables ref=\"TableRef\" :requestApi=\"dosageList\" :columns=\"columns\" :initParam=\"data.initParam\" :border=\"true\">\r\n <template #right=\"{ row }\">\r\n <el-button link type=\"primary\" size=\"small\" @click=\"showEdit(row)\">编辑</el-button>\r\n <el-button link type=\"danger\" size=\"small\" @click=\"deleteFy(row)\">删除</el-button>\r\n </template>\r\n </tables>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport tables from \"@/components/table.vue\";\r\nimport { dosageList,dosageEdit,dosageDelete } from \"@/api\";\r\nimport { reactive,ref } from 'vue'\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80 },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\nconst emit:any = defineEmits(['setTable','setBasic'])\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await dosageDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await dosageEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\ndefineExpose({\r\n TableRef\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./dosageForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./dosageForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./dosageForm.vue?vue&type=style&index=0&id=64585d51&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\n\nimport tables from \"@/components/table.vue\";\r\nimport { unitList,unitEdit,unitDelete } from \"@/api\";\r\nimport { reactive,ref} from 'vue'\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'unit',\n emits: ['setTable','setBasic'],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80 },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\n\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\nconst emit:any = __emit\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await unitDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await unitEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\n__expose({\r\n TableRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(unitList),\n columns: columns,\n initParam: data.initParam,\n border: true\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n size: \"small\",\n onClick: ($event: any) => (showEdit(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"danger\",\n size: \"small\",\n onClick: ($event: any) => (deleteFy(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]))\n}\n}\n\n})","<!-- 单位 -->\r\n<template>\r\n <div class=\"\">\r\n <tables ref=\"TableRef\" :requestApi=\"unitList\" :columns=\"columns\" :initParam=\"data.initParam\" :border=\"true\">\r\n <template #right=\"{ row }\">\r\n <el-button link type=\"primary\" size=\"small\" @click=\"showEdit(row)\">编辑</el-button>\r\n <el-button link type=\"danger\" size=\"small\" @click=\"deleteFy(row)\">删除</el-button>\r\n </template>\r\n </tables>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport tables from \"@/components/table.vue\";\r\nimport { unitList,unitEdit,unitDelete } from \"@/api\";\r\nimport { reactive,ref} from 'vue'\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80 },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\n\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\nconst emit:any = defineEmits(['setTable','setBasic'])\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await unitDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await unitEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\ndefineExpose({\r\n TableRef\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./unit.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./unit.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./unit.vue?vue&type=style&index=0&id=b5d1284a&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\n\nimport tables from \"@/components/table.vue\";\r\nimport { productList, productDel, productedit } from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { reactive,ref} from 'vue'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'vaccineName',\n emits: ['setTable','setBasic'],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80, },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\nconst emit:any = __emit\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\"\r\n }\r\n})\r\n\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await productDel({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await productedit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\n__expose({\r\n TableRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(productList),\n columns: columns,\n initParam: data.initParam,\n border: true\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n size: \"small\",\n onClick: ($event: any) => (showEdit(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"danger\",\n size: \"small\",\n onClick: ($event: any) => (deleteFy(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]))\n}\n}\n\n})","<!-- 品种 -->\r\n<template>\r\n <div class=\"\">\r\n <tables ref=\"TableRef\" :requestApi=\"productList\" :columns=\"columns\" :initParam=\"data.initParam\" :border=\"true\">\r\n <template #right=\"{ row }\">\r\n <el-button link type=\"primary\" size=\"small\" @click=\"showEdit(row)\">编辑</el-button>\r\n <el-button link type=\"danger\" size=\"small\" @click=\"deleteFy(row)\">删除</el-button>\r\n </template>\r\n </tables>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport tables from \"@/components/table.vue\";\r\nimport { productList, productDel, productedit } from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { reactive,ref} from 'vue'\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80, },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\nconst emit:any = defineEmits(['setTable','setBasic'])\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\"\r\n }\r\n})\r\n\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await productDel({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await productedit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\ndefineExpose({\r\n TableRef\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./vaccineName.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./vaccineName.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./vaccineName.vue?vue&type=style&index=0&id=78b57d67&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\n\nimport tables from \"@/components/table.vue\";\r\nimport { enterpriseList,enterpriseEdit,enterpriseDelete } from \"@/api\";\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\nimport { reactive,ref} from 'vue'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'productionEnterprise',\n emits: ['setTable','setBasic'],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80 },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\nconst emit:any = __emit\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await enterpriseDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await enterpriseEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\n__expose({\r\n TableRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(enterpriseList),\n columns: columns,\n initParam: data.initParam,\n border: true\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n size: \"small\",\n onClick: ($event: any) => (showEdit(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"danger\",\n size: \"small\",\n onClick: ($event: any) => (deleteFy(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]))\n}\n}\n\n})","<!-- 生产企业 -->\r\n<template>\r\n <div class=\"\">\r\n <tables ref=\"TableRef\" :requestApi=\"enterpriseList\" :columns=\"columns\" :initParam=\"data.initParam\" :border=\"true\">\r\n <template #right=\"{ row }\">\r\n <el-button link type=\"primary\" size=\"small\" @click=\"showEdit(row)\">编辑</el-button>\r\n <el-button link type=\"danger\" size=\"small\" @click=\"deleteFy(row)\">删除</el-button>\r\n </template>\r\n </tables>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport tables from \"@/components/table.vue\";\r\nimport { enterpriseList,enterpriseEdit,enterpriseDelete } from \"@/api\";\r\nimport { ElMessage, ElMessageBox} from 'element-plus'\r\nimport { reactive,ref} from 'vue'\r\nconst TableRef = ref()\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80 },\r\n { prop: 'name', label: '名称', width: 300 },\r\n { prop: 'operation', label: '操作', fixed: 'right', align: 'left', 'min-width': 200 }\r\n]\r\nconst emit:any = defineEmits(['setTable','setBasic'])\r\n//请求参数\r\nconst data: any = reactive({\r\n initParam: {\r\n \"name\": \"\",\r\n }\r\n})\r\n/**\r\n * 删除\r\n * @param data 列数据\r\n */\r\n const deleteFy = (data: any) => {\r\n ElMessageBox.confirm('该字段所有已有数据会一同被删除,且无法恢复', '是否确认删除', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: '取消',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await enterpriseDelete({id:data.id})\r\n if(reslut.code==200)ElMessage.success('删除成功');TableRef.value?.getTableList();emit('setBasic', '')\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n//编辑\r\nconst showEdit = async (row: any) => {\r\n console.log('编辑',row)\r\n ElMessageBox.prompt(`编辑规格,请填写正确格式`, '编辑', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputValue:row.name,\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await enterpriseEdit({id:row.id,name:value})\r\n if (reslut.code == 200 && reslut.msg == '更新成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消编辑')\r\n })\r\n}\r\n//暴露方法\r\ndefineExpose({\r\n TableRef\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./productionEnterprise.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./productionEnterprise.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./productionEnterprise.vue?vue&type=style&index=0&id=00888fa6&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { \r\n specAdd,//规格\r\n dosageAdd,//剂型\r\n unitAdd,//单位\r\n productadd,//血液制品名称\r\n enterpriseAdd,//生产企业\r\n\r\n} from \"@/api\";\r\nexport function newDataFun(value:any,command:any) {\r\n console.log('发送数据', value,command)\r\n switch (command) {\r\n case 'b':\r\n return specAdd({name:value})\r\n break;\r\n case 'c':\r\n return dosageAdd({name:value})\r\n break;\r\n case 'd':\r\n return unitAdd({name:value})\r\n break;\r\n case 'e':\r\n return productadd({name:value})\r\n break;\r\n default:\r\n return enterpriseAdd({name:value})\r\n break;\r\n }\r\n}\r\n/**\r\n * \r\n * @param 该显示哪一项的新增\r\n */\r\nexport function showDialog(key: any) {\r\n console.log('发送数据1', key)\r\n switch (key) {\r\n case 'a':\r\n return '药品信息管理'\r\n break;\r\n case 'b':\r\n return '规格'\r\n break;\r\n case 'c':\r\n return '剂型'\r\n break;\r\n case 'd':\r\n return '单位'\r\n break;\r\n case 'e':\r\n return '血液制品名称'\r\n break;\r\n default:\r\n return '生产企业'\r\n break;\r\n }\r\n}\r\n\r\n\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\n\nimport { CircleCheck } from '@element-plus/icons-vue'\r\nimport { newDataFun, showDialog } from \"@/plugins/newData\";\r\nimport { FormInstance, FormRules, ElMessage, ElMessageBox } from 'element-plus'\r\nimport { reactive, ref } from 'vue'\r\nimport {\r\n medicineAdd,//药品信息管理添加\r\n} from \"@/api\";\r\n\r\ninterface RuleForm {\r\n type: any\r\n name: string\r\n width: number\r\n sort: number\r\n show: number\r\n text: string\r\n\r\n}\r\n\r\nconst formLabelWidth = '80px'\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'newData',\n emits: [\"setTable\"],\n setup(__props, { emit: __emit }) {\n\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst dialogFormVisible = ref(false)\r\nconst ruleForm = reactive<RuleForm>({\r\n \"type\": null,\r\n \"name\": \"\",\r\n \"width\": 0,\r\n \"sort\": 0,\r\n \"show\": 1,\r\n \"text\": \"\",\r\n\r\n})\r\n\r\nconst rules = reactive<FormRules<RuleForm>>({\r\n type: [{ required: true, message: '请选择数据类型', trigger: 'change', }],\r\n name: [{ required: true, message: '请输入标签名称', trigger: 'blur' }],\r\n})\r\n\r\nconst handleCommand = (command: string | number | object) => {\r\n console.log('command', command)\r\n if (command == 'a') {\r\n dialogFormVisible.value = true\r\n } else {\r\n otherFun(command)\r\n }\r\n}\r\n\r\nconst emit = __emit\r\n\r\n\r\n//函数\r\nconst otherFun = async (command: any) => {\r\n ElMessageBox.prompt(`新增${showDialog(command)},请填写正确格式`, '新增', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `[${showDialog(command)}]名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await newDataFun(value, command)\r\n if (reslut.code == 200 && reslut.msg == '创建成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消新增' + showDialog(command))\r\n })\r\n}\r\n\r\n\r\n/**\r\n * 提交dio\r\n * @param formEl \r\n */\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n const reslut: any = await medicineAdd(ruleForm)\r\n if (reslut.code == 200 && reslut.msg == '创建成功') {\r\n dialogFormVisible.value = false\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_arrow_down = _resolveComponent(\"arrow-down\")!\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_dropdown_item = _resolveComponent(\"el-dropdown-item\")!\n const _component_el_dropdown_menu = _resolveComponent(\"el-dropdown-menu\")!\n const _component_el_dropdown = _resolveComponent(\"el-dropdown\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_radio = _resolveComponent(\"el-radio\")!\n const _component_el_radio_group = _resolveComponent(\"el-radio-group\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_dropdown, { onCommand: handleCommand }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_dropdown_item, {\n icon: _unref(CircleCheck),\n command: \"a\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"药品信息管理\")\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_el_dropdown_item, {\n icon: _unref(CircleCheck),\n command: \"b\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"规格\")\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_el_dropdown_item, {\n icon: _unref(CircleCheck),\n command: \"c\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"剂型\")\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_el_dropdown_item, {\n icon: _unref(CircleCheck),\n command: \"d\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"单位\")\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_el_dropdown_item, {\n icon: _unref(CircleCheck),\n command: \"e\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"血液制品名称\")\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_el_dropdown_item, {\n icon: _unref(CircleCheck),\n command: \"f\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"生产企业\")\n ]),\n _: 1\n }, 8, [\"icon\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_button, { type: \"primary\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"新增\"),\n _createVNode(_component_el_icon, { class: \"el-icon--right\" }, {\n default: _withCtx(() => [\n _createVNode(_component_arrow_down)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_dialog, {\n modelValue: dialogFormVisible.value,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"新增药品信息管理\",\n draggable: \"\",\n \"append-to-body\": true\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(_component_el_button, {\n onClick: _cache[6] || (_cache[6] = ($event: any) => (dialogFormVisible.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancel\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (submitForm(ruleFormRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Confirm \")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n model: ruleForm,\n rules: rules\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"数据类型\",\n \"label-width\": formLabelWidth,\n prop: \"type\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: ruleForm.type,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((ruleForm.type) = $event)),\n placeholder: \"请选择数据类型\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_option, {\n label: \"文本\",\n value: 6\n }),\n _createVNode(_component_el_option, {\n label: \"数值(整数)\",\n value: 7\n }),\n _createVNode(_component_el_option, {\n label: \"数值 (小数)\",\n value: 8\n }),\n _createVNode(_component_el_option, {\n label: \"日期\",\n value: 9\n }),\n _createVNode(_component_el_option, {\n label: \"时间\",\n value: 10\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"标签名称\",\n \"label-width\": formLabelWidth,\n prop: \"name\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((ruleForm.name) = $event)),\n autocomplete: \"off\",\n placeholder: \"请输入标签名称\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"列宽\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.width,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((ruleForm.width) = $event)),\n modelModifiers: { number: true },\n autocomplete: \"off\",\n placeholder: \"请输入列宽\"\n }, {\n append: _withCtx(() => [\n _createTextVNode(\"px\")\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"排序\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.sort,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((ruleForm.sort) = $event)),\n modelModifiers: { number: true },\n autocomplete: \"off\",\n placeholder: \"请输入排序\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"表格展示\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_group, {\n modelValue: ruleForm.show,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((ruleForm.show) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio, { label: 1 }, {\n default: _withCtx(() => [\n _createTextVNode(\"显示\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio, { label: 2 }, {\n default: _withCtx(() => [\n _createTextVNode(\"隐藏\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"描述\",\n \"label-width\": formLabelWidth,\n placeholder: \"请输入描述\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.text,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((ruleForm.text) = $event)),\n type: \"textarea\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","<!-- 新增 -->\r\n<template>\r\n <div class=\"\">\r\n <el-dropdown @command=\"handleCommand\">\r\n <el-button type=\"primary\">新增<el-icon class=\"el-icon--right\"><arrow-down /></el-icon>\r\n </el-button>\r\n <template #dropdown>\r\n <el-dropdown-menu>\r\n <el-dropdown-item :icon=\"CircleCheck\" command=\"a\">药品信息管理</el-dropdown-item>\r\n <el-dropdown-item :icon=\"CircleCheck\" command=\"b\">规格</el-dropdown-item>\r\n <el-dropdown-item :icon=\"CircleCheck\" command=\"c\">剂型</el-dropdown-item>\r\n <el-dropdown-item :icon=\"CircleCheck\" command=\"d\">单位</el-dropdown-item>\r\n <el-dropdown-item :icon=\"CircleCheck\" command=\"e\">血液制品名称</el-dropdown-item>\r\n <el-dropdown-item :icon=\"CircleCheck\" command=\"f\">生产企业</el-dropdown-item>\r\n </el-dropdown-menu>\r\n </template>\r\n </el-dropdown>\r\n <el-dialog v-model=\"dialogFormVisible\" title=\"新增药品信息管理\" draggable :append-to-body=\"true\">\r\n <el-form ref=\"ruleFormRef\" :model=\"ruleForm\" :rules=\"rules\">\r\n <el-form-item label=\"数据类型\" :label-width=\"formLabelWidth\" prop=\"type\">\r\n <el-select v-model=\"ruleForm.type\" placeholder=\"请选择数据类型\">\r\n <el-option label=\"文本\" :value=\"6\" />\r\n <el-option label=\"数值(整数)\" :value=\"7\" />\r\n <el-option label=\"数值 (小数)\" :value=\"8\" />\r\n <el-option label=\"日期\" :value=\"9\" />\r\n <el-option label=\"时间\" :value=\"10\" />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"标签名称\" :label-width=\"formLabelWidth\" prop=\"name\">\r\n <el-input v-model=\"ruleForm.name\" autocomplete=\"off\" placeholder=\"请输入标签名称\" />\r\n </el-form-item>\r\n <el-form-item label=\"列宽\" :label-width=\"formLabelWidth\">\r\n <el-input v-model.number=\"ruleForm.width\" autocomplete=\"off\" placeholder=\"请输入列宽\">\r\n <template #append>px</template>\r\n </el-input>\r\n </el-form-item>\r\n <el-form-item label=\"排序\" :label-width=\"formLabelWidth\">\r\n <el-input v-model.number=\"ruleForm.sort\" autocomplete=\"off\" placeholder=\"请输入排序\" />\r\n </el-form-item>\r\n <el-form-item label=\"表格展示\" :label-width=\"formLabelWidth\">\r\n <el-radio-group v-model=\"ruleForm.show\">\r\n <el-radio :label=\"1\">显示</el-radio>\r\n <el-radio :label=\"2\">隐藏</el-radio>\r\n </el-radio-group>\r\n </el-form-item>\r\n <el-form-item label=\"描述\" :label-width=\"formLabelWidth\" placeholder=\"请输入描述\">\r\n <el-input v-model=\"ruleForm.text\" type=\"textarea\" />\r\n </el-form-item>\r\n </el-form>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"dialogFormVisible = false\">Cancel</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm(ruleFormRef)\">\r\n Confirm\r\n </el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { CircleCheck } from '@element-plus/icons-vue'\r\nimport { newDataFun, showDialog } from \"@/plugins/newData\";\r\nimport { FormInstance, FormRules, ElMessage, ElMessageBox } from 'element-plus'\r\nimport { reactive, ref } from 'vue'\r\nimport {\r\n medicineAdd,//药品信息管理添加\r\n} from \"@/api\";\r\n\r\ninterface RuleForm {\r\n type: any\r\n name: string\r\n width: number\r\n sort: number\r\n show: number\r\n text: string\r\n\r\n}\r\n\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst dialogFormVisible = ref(false)\r\nconst formLabelWidth = '80px'\r\n\r\nconst ruleForm = reactive<RuleForm>({\r\n \"type\": null,\r\n \"name\": \"\",\r\n \"width\": 0,\r\n \"sort\": 0,\r\n \"show\": 1,\r\n \"text\": \"\",\r\n\r\n})\r\n\r\nconst rules = reactive<FormRules<RuleForm>>({\r\n type: [{ required: true, message: '请选择数据类型', trigger: 'change', }],\r\n name: [{ required: true, message: '请输入标签名称', trigger: 'blur' }],\r\n})\r\n\r\nconst handleCommand = (command: string | number | object) => {\r\n console.log('command', command)\r\n if (command == 'a') {\r\n dialogFormVisible.value = true\r\n } else {\r\n otherFun(command)\r\n }\r\n}\r\n\r\nconst emit = defineEmits<{ (e: 'setTable', myvalue: string): void }>()\r\n\r\n\r\n//函数\r\nconst otherFun = async (command: any) => {\r\n ElMessageBox.prompt(`新增${showDialog(command)},请填写正确格式`, '新增', {\r\n confirmButtonText: 'OK',\r\n cancelButtonText: 'Cancel',\r\n inputPattern: /\\S/,\r\n inputErrorMessage: `[${showDialog(command)}]名称格式不能为空`,\r\n }).then(async ({ value }) => {\r\n const reslut: any = await newDataFun(value, command)\r\n if (reslut.code == 200 && reslut.msg == '创建成功') {\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n }).catch(() => {\r\n ElMessage.info('已取消新增' + showDialog(command))\r\n })\r\n}\r\n\r\n\r\n/**\r\n * 提交dio\r\n * @param formEl \r\n */\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n const reslut: any = await medicineAdd(ruleForm)\r\n if (reslut.code == 200 && reslut.msg == '创建成功') {\r\n dialogFormVisible.value = false\r\n ElMessage.success(reslut.msg)\r\n emit('setTable', '')\r\n }\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./newData.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./newData.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./newData.vue?vue&type=style&index=0&id=296e8290&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"essentialinfo\" }\nconst _hoisted_2 = { class: \"essentialinfo-main\" }\n\nimport bg from '@/components/bg.vue'\r\nimport drugInformation from \"./drugInformation.vue\";//药品信息管理\r\nimport specification from \"./specification.vue\";//规格\r\nimport dosageForm from \"./dosageForm.vue\";//剂型\r\nimport unit from \"./unit.vue\";//单位\r\nimport vaccineName from \"./vaccineName.vue\";//品种\r\nimport productionEnterprise from \"./productionEnterprise.vue\";//生产企业\r\n\r\nimport { basicData } from \"@/api\";\r\nimport newData from \"./newData.vue\";//药品信息管理\r\n\r\n\r\nimport bgPure from '@/components/bgPure.vue'\r\nimport statistics from '@/components/statistics.vue'\r\nimport { ref, reactive } from 'vue'\r\n\r\nimport type { TabsPaneContext } from 'element-plus'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\r\nconst data: any = reactive({\r\n basicObj: {\r\n dosageFormCount: 0,\r\n enterpriseCount: 0,\r\n medicineTemplateCount:0,\r\n productCount: 0,\r\n specCount: 0,\r\n unitCount: 0,\r\n }\r\n})\r\n//所有归类\r\nconst basicDataApi = async () => {\r\n const reslut:any = await basicData({})\r\n if (reslut.code == 200 && reslut.msg == '查询成功')data.basicObj = reslut.data\r\n}\r\nbasicDataApi()\r\nconst drugInfo = ref()//药品信息管理\r\nconst specifica = ref()\r\nconst dosage = ref()\r\nconst units = ref()\r\nconst vaccine = ref()\r\nconst Enterp = ref()\r\n\r\nconst activeName = ref('first')\r\n\r\nconst handleClick = (tab: TabsPaneContext, event: Event) => {\r\n console.log(tab, event)\r\n}\r\n\r\n//函数\r\nconst setTableFun = async () => {\r\n basicDataApi()\r\n switch (activeName.value) {\r\n case 'first':\r\n drugInfo.value.TableRef.getTableList()\r\n break;\r\n case 'fourth2':\r\n specifica.value.TableRef.getTableList()\r\n break;\r\n case 'second':\r\n dosage.value.TableRef.getTableList()\r\n break;\r\n case 'third':\r\n units.value.TableRef.getTableList()\r\n break;\r\n case 'fourth':\r\n vaccine.value.TableRef.getTableList()\r\n break;\r\n default:\r\n Enterp.value.TableRef.getTableList()\r\n break;\r\n }\r\n}\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_tab_pane = _resolveComponent(\"el-tab-pane\")!\n const _component_el_tabs = _resolveComponent(\"el-tabs\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(bgPure, null, {\n bg: _withCtx(() => [\n _createVNode(statistics, {\n imgUrl: require('@/assets/img/1700227167756.jpg'),\n titles: \"规格\",\n subhea: data.basicObj.specCount.toString()\n }, null, 8, [\"imgUrl\", \"subhea\"])\n ]),\n _: 1\n }),\n _createVNode(bgPure, null, {\n bg: _withCtx(() => [\n _createVNode(statistics, {\n imgUrl: require('@/assets/img/1700227576514.jpg'),\n titles: \"剂型\",\n subhea: data.basicObj.dosageFormCount.toString()\n }, null, 8, [\"imgUrl\", \"subhea\"])\n ]),\n _: 1\n }),\n _createVNode(bgPure, null, {\n bg: _withCtx(() => [\n _createVNode(statistics, {\n imgUrl: require('@/assets/img/1700228167058.jpg'),\n titles: \"单位\",\n subhea: data.basicObj.unitCount.toString()\n }, null, 8, [\"imgUrl\", \"subhea\"])\n ]),\n _: 1\n }),\n _createVNode(bgPure, null, {\n bg: _withCtx(() => [\n _createVNode(statistics, {\n imgUrl: require('@/assets/img/1700228181332.jpg'),\n titles: \"血液制品名称\",\n subhea: data.basicObj.productCount.toString()\n }, null, 8, [\"imgUrl\", \"subhea\"])\n ]),\n _: 1\n }),\n _createVNode(bgPure, null, {\n bg: _withCtx(() => [\n _createVNode(statistics, {\n imgUrl: require('@/assets/img/1700228207945.jpg'),\n titles: \"生产企业\",\n subhea: data.basicObj.enterpriseCount.toString()\n }, null, 8, [\"imgUrl\", \"subhea\"])\n ]),\n _: 1\n }),\n _createVNode(bgPure, null, {\n bg: _withCtx(() => [\n _createVNode(statistics, {\n imgUrl: require('@/assets/img/1700228167058.jpg'),\n titles: \"药品信息管理\",\n subhea: data.basicObj.medicineTemplateCount.toString()\n }, null, 8, [\"imgUrl\", \"subhea\"])\n ]),\n _: 1\n })\n ]),\n _createVNode(bg, { istitle: \"基本信息\" }, {\n btn: _withCtx(() => [\n _createVNode(newData, { onSetTable: setTableFun })\n ]),\n bg: _withCtx(() => [\n _createVNode(_component_el_tabs, {\n modelValue: activeName.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((activeName).value = $event)),\n class: \"demo-tabs\",\n onTabClick: handleClick\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_tab_pane, {\n label: \"药品信息管理\",\n name: \"first\"\n }, {\n default: _withCtx(() => [\n (activeName.value == 'first')\n ? (_openBlock(), _createBlock(drugInformation, {\n key: 0,\n ref_key: \"drugInfo\",\n ref: drugInfo,\n onSetBasic: _cache[0] || (_cache[0] = ($event: any) => (basicDataApi()))\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_tab_pane, {\n label: \"规格\",\n name: \"fourth2\"\n }, {\n default: _withCtx(() => [\n (activeName.value == 'fourth2')\n ? (_openBlock(), _createBlock(specification, {\n key: 0,\n ref_key: \"specifica\",\n ref: specifica,\n onSetTable: setTableFun,\n onSetBasic: _cache[1] || (_cache[1] = ($event: any) => (basicDataApi()))\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_tab_pane, {\n label: \"剂型\",\n name: \"second\"\n }, {\n default: _withCtx(() => [\n (activeName.value == 'second')\n ? (_openBlock(), _createBlock(dosageForm, {\n key: 0,\n ref_key: \"dosage\",\n ref: dosage,\n onSetTable: setTableFun,\n onSetBasic: _cache[2] || (_cache[2] = ($event: any) => (basicDataApi()))\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_tab_pane, {\n label: \"单位\",\n name: \"third\"\n }, {\n default: _withCtx(() => [\n (activeName.value == 'third')\n ? (_openBlock(), _createBlock(unit, {\n key: 0,\n ref_key: \"units\",\n ref: units,\n onSetTable: setTableFun,\n onSetBasic: _cache[3] || (_cache[3] = ($event: any) => (basicDataApi()))\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_tab_pane, {\n label: \"血液制品名称\",\n name: \"fourth\"\n }, {\n default: _withCtx(() => [\n (activeName.value == 'fourth')\n ? (_openBlock(), _createBlock(vaccineName, {\n key: 0,\n ref_key: \"vaccine\",\n ref: vaccine,\n onSetTable: setTableFun,\n onSetBasic: _cache[4] || (_cache[4] = ($event: any) => (basicDataApi()))\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_tab_pane, {\n label: \"生产企业\",\n name: \"third1\"\n }, {\n default: _withCtx(() => [\n (activeName.value == 'third1')\n ? (_openBlock(), _createBlock(productionEnterprise, {\n key: 0,\n onSetTable: setTableFun,\n onSetBasic: _cache[5] || (_cache[5] = ($event: any) => (basicDataApi())),\n ref_key: \"Enterp\",\n ref: Enterp\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","<template>\r\n <div class=\"essentialinfo\">\r\n <div class=\"essentialinfo-main\">\r\n <bgPure>\r\n <template #bg>\r\n <statistics :imgUrl=\"require('@/assets/img/1700227167756.jpg')\" titles=\"规格\" :subhea=\"data.basicObj.specCount.toString()\">\r\n </statistics>\r\n </template>\r\n </bgPure>\r\n <bgPure #bg>\r\n <statistics :imgUrl=\"require('@/assets/img/1700227576514.jpg')\" titles=\"剂型\" :subhea=\"data.basicObj.dosageFormCount.toString()\"></statistics>\r\n </bgPure>\r\n <bgPure #bg>\r\n <statistics :imgUrl=\"require('@/assets/img/1700228167058.jpg')\" titles=\"单位\" :subhea=\"data.basicObj.unitCount.toString()\"></statistics>\r\n </bgPure>\r\n <bgPure>\r\n <template #bg>\r\n <statistics :imgUrl=\"require('@/assets/img/1700228181332.jpg')\" titles=\"血液制品名称\" :subhea=\"data.basicObj.productCount.toString()\">\r\n </statistics>\r\n </template>\r\n </bgPure>\r\n <bgPure #bg>\r\n <statistics :imgUrl=\"require('@/assets/img/1700228207945.jpg')\" titles=\"生产企业\" :subhea=\"data.basicObj.enterpriseCount.toString()\"></statistics>\r\n </bgPure>\r\n <bgPure #bg>\r\n <statistics :imgUrl=\"require('@/assets/img/1700228167058.jpg')\" titles=\"药品信息管理\" :subhea=\"data.basicObj.medicineTemplateCount.toString()\"></statistics>\r\n </bgPure>\r\n </div>\r\n <bg istitle=\"基本信息\">\r\n <template #btn>\r\n <newData @setTable=\"setTableFun\" />\r\n </template>\r\n <template #bg>\r\n <el-tabs v-model=\"activeName\" class=\"demo-tabs\" @tab-click=\"handleClick\">\r\n <el-tab-pane label=\"药品信息管理\" name=\"first\">\r\n <drugInformation ref=\"drugInfo\" @setBasic=\"basicDataApi()\" v-if=\"activeName == 'first'\"></drugInformation>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"规格\" name=\"fourth2\">\r\n <specification ref=\"specifica\" @setTable=\"setTableFun\" @setBasic=\"basicDataApi()\" v-if=\"activeName == 'fourth2'\">\r\n </specification>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"剂型\" name=\"second\">\r\n <dosageForm ref=\"dosage\" @setTable=\"setTableFun\" @setBasic=\"basicDataApi()\" v-if=\"activeName == 'second'\"></dosageForm>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"单位\" name=\"third\">\r\n <unit ref=\"units\" @setTable=\"setTableFun\" @setBasic=\"basicDataApi()\" v-if=\"activeName == 'third'\"></unit>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"血液制品名称\" name=\"fourth\">\r\n <vaccineName ref=\"vaccine\" @setTable=\"setTableFun\" @setBasic=\"basicDataApi()\" v-if=\"activeName == 'fourth'\"></vaccineName>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"生产企业\" name=\"third1\">\r\n <productionEnterprise @setTable=\"setTableFun\" @setBasic=\"basicDataApi()\" ref=\"Enterp\" v-if=\"activeName == 'third1'\"></productionEnterprise>\r\n </el-tab-pane>\r\n </el-tabs>\r\n </template>\r\n </bg>\r\n </div>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport bg from '@/components/bg.vue'\r\nimport drugInformation from \"./drugInformation.vue\";//药品信息管理\r\nimport specification from \"./specification.vue\";//规格\r\nimport dosageForm from \"./dosageForm.vue\";//剂型\r\nimport unit from \"./unit.vue\";//单位\r\nimport vaccineName from \"./vaccineName.vue\";//品种\r\nimport productionEnterprise from \"./productionEnterprise.vue\";//生产企业\r\n\r\nimport { basicData } from \"@/api\";\r\nimport newData from \"./newData.vue\";//药品信息管理\r\n\r\n\r\nimport bgPure from '@/components/bgPure.vue'\r\nimport statistics from '@/components/statistics.vue'\r\nimport { ref, reactive } from 'vue'\r\n\r\nimport type { TabsPaneContext } from 'element-plus'\r\nconst data: any = reactive({\r\n basicObj: {\r\n dosageFormCount: 0,\r\n enterpriseCount: 0,\r\n medicineTemplateCount:0,\r\n productCount: 0,\r\n specCount: 0,\r\n unitCount: 0,\r\n }\r\n})\r\n//所有归类\r\nconst basicDataApi = async () => {\r\n const reslut:any = await basicData({})\r\n if (reslut.code == 200 && reslut.msg == '查询成功')data.basicObj = reslut.data\r\n}\r\nbasicDataApi()\r\nconst drugInfo = ref()//药品信息管理\r\nconst specifica = ref()\r\nconst dosage = ref()\r\nconst units = ref()\r\nconst vaccine = ref()\r\nconst Enterp = ref()\r\n\r\nconst activeName = ref('first')\r\n\r\nconst handleClick = (tab: TabsPaneContext, event: Event) => {\r\n console.log(tab, event)\r\n}\r\n\r\n//函数\r\nconst setTableFun = async () => {\r\n basicDataApi()\r\n switch (activeName.value) {\r\n case 'first':\r\n drugInfo.value.TableRef.getTableList()\r\n break;\r\n case 'fourth2':\r\n specifica.value.TableRef.getTableList()\r\n break;\r\n case 'second':\r\n dosage.value.TableRef.getTableList()\r\n break;\r\n case 'third':\r\n units.value.TableRef.getTableList()\r\n break;\r\n case 'fourth':\r\n vaccine.value.TableRef.getTableList()\r\n break;\r\n default:\r\n Enterp.value.TableRef.getTableList()\r\n break;\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.essentialinfo {\r\n overflow-y: auto;\r\n\r\n &-main {\r\n display: grid;\r\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\r\n grid-gap: 0 20px;\r\n }\r\n}\r\n</style>","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3605ff85&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["class","_createElementVNode","_hoisted_2","_createElementBlock","_hoisted_1","_hoisted_3","script","__exports__","render","style","_defineComponent","__name","props","istitle","type","String","default","setup","__props","_ctx","_cache","_component_el_text","_resolveComponent","_openBlock","_createVNode","markGreen","tag","_withCtx","_renderSlot","$slots","_createTextVNode","_toDisplayString","_","_hoisted_4","imgUrl","titles","subhea","_component_el_statistic","src","title","value","Number","useTable","requestApi","initParam","isPagination","dataCallback","state","reactive","tableData","loading","pageable","pageNum","pageSize","total","RemainingTime","small","disabled","searchParam","searchInitParam","totalParam","getTableList","async","params","page","then","res","data","list","parseInt","count","Data","handleSizeChange","val","handleCurrentChange","searchTable","toRefs","key","columns","pagination","Boolean","layout","border","toolButton","selectId","displayHeader","rowClick","selectionChange","getRowKey","tableRowClassName","size","width","height","maxHeight","fit","stripe","rowKey","context","showHeader","showSummary","sumText","summaryMethod","rowClassName","rowStyle","cellClassName","cellStyle","headerRowClassName","headerRowStyle","headerCellClassName","headerCellStyle","highlightCurrentRow","currentRowKey","emptyText","expandRowKeys","defaultExpandAll","defaultSort","tooltipEffect","tooltipOptions","spanMethod","selectOnIndeterminate","indent","treeProps","lazy","load","className","tableLayout","scrollbarAlwaysOn","flexible","showOverflowTooltip","Object","expose","__expose","tableColumns","ref","_component_el_table_column","_component_el_tooltip","_component_el_empty","_component_el_table","_component_el_pagination","_directive_loading","_resolveDirective","_withDirectives","_createBlock","_unref","onRowClick","onSelectionChange","append","empty","_Fragment","_renderList","item","_mergeProps","align","_createCommentVNode","scope","_resolveDynamicComponent","row","prop","name","ellipsis","effect","content","placement","fixed","$event","onSizeChange","onCurrentChange","typeList","typeListFun","b","find","formLabelWidth","emits","emit","__emit","TableRef","dialogFormVisible","ruleFormRef","rules","required","message","trigger","ruleForm","showEdit","keys","forEach","submitForm","formEl","validate","valid","fields","reslut","medicineedit","code","msg","nextTick","ElMessage","success","console","log","label","deleteFy","ElMessageBox","confirm","confirmButtonText","cancelButtonText","center","medicinedelete","id","catch","info","_component_el_button","_component_el_tag","_component_el_input","_component_el_form_item","_component_el_radio","_component_el_radio_group","_component_el_form","_component_el_dialog","tables","ref_key","medicinelist","right","link","onClick","show","modelValue","draggable","footer","model","autocomplete","placeholder","modelModifiers","number","sort","text","specDelete","prompt","inputValue","inputPattern","inputErrorMessage","specEdit","specList","dosageDelete","dosageEdit","dosageList","unitDelete","unitEdit","unitList","productDel","productedit","productList","enterpriseDelete","enterpriseEdit","enterpriseList","newDataFun","command","specAdd","dosageAdd","unitAdd","productadd","enterpriseAdd","showDialog","handleCommand","otherFun","medicineAdd","_component_arrow_down","_component_el_icon","_component_el_dropdown_item","_component_el_dropdown_menu","_component_el_dropdown","_component_el_option","_component_el_select","onCommand","dropdown","icon","CircleCheck","basicObj","dosageFormCount","enterpriseCount","medicineTemplateCount","productCount","specCount","unitCount","basicDataApi","basicData","drugInfo","specifica","dosage","units","vaccine","Enterp","activeName","handleClick","tab","event","setTableFun","_component_el_tab_pane","_component_el_tabs","bgPure","bg","statistics","require","toString","btn","newData","onSetTable","onTabClick","drugInformation","onSetBasic","specification","dosageForm","unit","vaccineName","productionEnterprise"],"sourceRoot":""}
|