feat(clinic): 添加处方主表和明细表功能模块- 新增处方主表和明细表的实体类定义
- 实现处方主表和明细表的CRUD控制器- 创建处方主表和明细表的Mapper接口及XML映射文件 - 添加处方主表和明细表的Service接口及实现类 - 完成处方主表和明细表的查询参数封装 -修正前端页面中row-key及删除方法的字段引用问题- 更新代码生成器模板以适配新的主键字段命名规则
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<a-card :bordered="false" :body-style="{ padding: '16px' }">
|
||||
<ele-pro-table
|
||||
ref="tableRef"
|
||||
row-key="clinicPrescriptionId"
|
||||
row-key="id"
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
@@ -266,7 +266,7 @@
|
||||
/* 删除单个 */
|
||||
const remove = (row: ClinicPrescription) => {
|
||||
const hide = message.loading('请求中..', 0);
|
||||
removeClinicPrescription(row.clinicPrescriptionId)
|
||||
removeClinicPrescription(row.id)
|
||||
.then((msg) => {
|
||||
hide();
|
||||
message.success(msg);
|
||||
@@ -291,7 +291,7 @@
|
||||
maskClosable: true,
|
||||
onOk: () => {
|
||||
const hide = message.loading('请求中..', 0);
|
||||
removeBatchClinicPrescription(selection.value.map((d) => d.clinicPrescriptionId))
|
||||
removeBatchClinicPrescription(selection.value.map((d) => d.))
|
||||
.then((msg) => {
|
||||
hide();
|
||||
message.success(msg);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<a-card :bordered="false" :body-style="{ padding: '16px' }">
|
||||
<ele-pro-table
|
||||
ref="tableRef"
|
||||
row-key="clinicPrescriptionItemId"
|
||||
row-key="id"
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
@@ -241,7 +241,7 @@
|
||||
/* 删除单个 */
|
||||
const remove = (row: ClinicPrescriptionItem) => {
|
||||
const hide = message.loading('请求中..', 0);
|
||||
removeClinicPrescriptionItem(row.clinicPrescriptionItemId)
|
||||
removeClinicPrescriptionItem(row.id)
|
||||
.then((msg) => {
|
||||
hide();
|
||||
message.success(msg);
|
||||
@@ -266,7 +266,7 @@
|
||||
maskClosable: true,
|
||||
onOk: () => {
|
||||
const hide = message.loading('请求中..', 0);
|
||||
removeBatchClinicPrescriptionItem(selection.value.map((d) => d.clinicPrescriptionItemId))
|
||||
removeBatchClinicPrescriptionItem(selection.value.map((d) => d.))
|
||||
.then((msg) => {
|
||||
hide();
|
||||
message.success(msg);
|
||||
|
||||
Reference in New Issue
Block a user