|
|
@@ -52,7 +52,7 @@
|
|
|
import { formatDictValue, formatDictPreColor } from '/@/utils';
|
|
|
import { columns } from './data';
|
|
|
|
|
|
- import { getrecordList, getRecordNumber, recordDel } from '/@/api/biz/mission/recordApi';
|
|
|
+ import { recordList, recordNumber, recordDel } from '/@/api/biz/mission/recordApi';
|
|
|
import { listDictModel } from '/@/api/common';
|
|
|
import { XTTitle } from '/@/components/XTTitle/index';
|
|
|
import { XTTab } from '/@/components/XTTab/index';
|
|
|
@@ -93,7 +93,7 @@
|
|
|
const { createConfirm, createMessage } = useMessage();
|
|
|
|
|
|
const [registerTable, { reload, clearSelectedRowKeys, getSelectRowKeys }] = useTable({
|
|
|
- api: getrecordList,
|
|
|
+ api: recordList,
|
|
|
batchDelApi: recordDel,
|
|
|
// batchExportApi: pharmaceuticalsExport,
|
|
|
delAuthList: ['biz:educationRecord:remove'],
|
|
|
@@ -143,13 +143,14 @@
|
|
|
return {
|
|
|
...params,
|
|
|
title: searchNames.value == '' ? undefined : searchNames.value,
|
|
|
+ treatmentStage: tabSelected.value == '' ? undefined : tabSelected.value,
|
|
|
time: shiftTimes.length <= 0 ? undefined : shiftTimes,
|
|
|
};
|
|
|
}
|
|
|
|
|
|
async function getTab() {
|
|
|
typeOptions.value = await listDictModel({ dictCode: 'd' });
|
|
|
- const typeNums = await getRecordNumber(); // 获取各类型数量
|
|
|
+ const typeNums = await recordNumber(); // 获取各类型数量
|
|
|
let typeList = [];
|
|
|
typeOptions.value.forEach(ele => {
|
|
|
// 变量各类型放置对应数量
|