|
@@ -6,7 +6,7 @@ import type { PrescriptionReviewModel } from '#/api';
|
|
|
|
|
|
|
|
import { Page } from '@vben/common-ui';
|
|
import { Page } from '@vben/common-ui';
|
|
|
|
|
|
|
|
-import { message, Modal, notification } from 'ant-design-vue';
|
|
|
|
|
|
|
+import { Modal, notification } from 'ant-design-vue';
|
|
|
|
|
|
|
|
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
|
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
|
|
import { listReviewExpertsMethod, updateReviewExpertStatusMethod } from '#/api';
|
|
import { listReviewExpertsMethod, updateReviewExpertStatusMethod } from '#/api';
|
|
@@ -23,7 +23,7 @@ const [Grid] = useVbenVxeGrid({
|
|
|
wrapperClass: 'review-expert-search-form',
|
|
wrapperClass: 'review-expert-search-form',
|
|
|
},
|
|
},
|
|
|
gridOptions: {
|
|
gridOptions: {
|
|
|
- columns: useReviewExpertTableColumns(onNameClick, onStatusChange),
|
|
|
|
|
|
|
+ columns: useReviewExpertTableColumns(onStatusChange),
|
|
|
height: 'auto',
|
|
height: 'auto',
|
|
|
keepSource: true,
|
|
keepSource: true,
|
|
|
pagerConfig: {
|
|
pagerConfig: {
|
|
@@ -48,10 +48,6 @@ const [Grid] = useVbenVxeGrid({
|
|
|
} as VxeTableGridOptions<PrescriptionReviewModel.ReviewExpert>,
|
|
} as VxeTableGridOptions<PrescriptionReviewModel.ReviewExpert>,
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
-function onNameClick(row: PrescriptionReviewModel.ReviewExpert) {
|
|
|
|
|
- message.info(`专家:${row.name}`);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
function confirm(content: string, title: string) {
|
|
function confirm(content: string, title: string) {
|
|
|
return new Promise((reslove, reject) => {
|
|
return new Promise((reslove, reject) => {
|
|
|
Modal.confirm({
|
|
Modal.confirm({
|