|
|
|
@ -11,7 +11,7 @@ import type { ProDescriptionsItemProps } from '@ant-design/pro-descriptions';
|
|
|
|
|
import ProDescriptions from '@ant-design/pro-descriptions';
|
|
|
|
|
import type { FormValueType } from './components/UpdateForm';
|
|
|
|
|
import UpdateForm from './components/UpdateForm';
|
|
|
|
|
import { queryTagList, saveExamination, removeExamination, queryExaminationList } from '../service';
|
|
|
|
|
import { queryTagList, saveExamination, removeExamination, queryRulesList } from '../service';
|
|
|
|
|
import type { TableListItem, TableListPagination } from './data';
|
|
|
|
|
import type { DataItem } from '@antv/data-set/lib/transform/tag-cloud';
|
|
|
|
|
|
|
|
|
@ -211,7 +211,7 @@ const ExaminationRules: React.FC = () => {
|
|
|
|
|
<ProTable<TableListItem, TableListPagination>
|
|
|
|
|
headerTitle={false}
|
|
|
|
|
actionRef={actionRef}
|
|
|
|
|
rowKey="examination_id"
|
|
|
|
|
rowKey="id"
|
|
|
|
|
options={false}
|
|
|
|
|
search={{
|
|
|
|
|
labelWidth: 120,
|
|
|
|
@ -228,7 +228,7 @@ const ExaminationRules: React.FC = () => {
|
|
|
|
|
</Button>,
|
|
|
|
|
]}
|
|
|
|
|
request={async (value) => {
|
|
|
|
|
const _data = await queryExaminationList(
|
|
|
|
|
const _data = await queryRulesList(
|
|
|
|
|
{
|
|
|
|
|
...value,
|
|
|
|
|
rules_type: 0,
|
|
|
|
|