From 403da33c30fc628c1608b96d95efdc12e70c3b06 Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期三, 26 二月 2025 15:40:23 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide

---
 management/src/pages/work-order/problem-type/index.jsx |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/management/src/pages/work-order/problem-type/index.jsx b/management/src/pages/work-order/problem-type/index.jsx
index c2e1f29..4090621 100644
--- a/management/src/pages/work-order/problem-type/index.jsx
+++ b/management/src/pages/work-order/problem-type/index.jsx
@@ -1,10 +1,10 @@
-import { buildProTableDataSource, sendRequest, showDelConfirm } from '@/utils/antdUtils';
+import { buildProTableDataSource, sendRequest, showDelConfirm1 } from '@/utils/antdUtils';
 import { PageContainer, ProTable } from '@ant-design/pro-components';
 import { Button, Space } from 'antd';
 import { useRef, useState } from 'react';
 import { useAccess, Access } from 'umi';
 import AddAndEdit from './components/addAndEdit';
-import { addAndEdit, del, getList } from './service';
+import { add,Edit, del, getList } from './service';
 const Account = () => {
   const actionRef = useRef();
   const addViewRef = useRef();
@@ -15,7 +15,7 @@
   const columns = [
     {
       title: '问题类型名称',
-      dataIndex: 'categoryName',
+      dataIndex: 'name',
     },
     {
       title: '操作',
@@ -38,7 +38,7 @@
               <Button
                 type="link"
                 onClick={() => {
-                  showDelConfirm(async () => {
+                  showDelConfirm1(async () => {
                     let status = await sendRequest(del, record.id);
                     if (status) {
                       actionRef.current.reload();
@@ -93,14 +93,14 @@
           visible={modalVisible}
           onCancel={() => handleModalVisible(false)}
           onSave={async (fileds) => {
-            const success = await sendRequest(addAndEdit, fileds);
+            const success = await sendRequest(add, fileds);
             if (success) {
               handleModalVisible(false);
               actionRef.current.reload();
             }
           }}
           onUpdate={async (fileds) => {
-            const success = await sendRequest(addAndEdit, fileds);
+            const success = await sendRequest(Edit, fileds);
             if (success) {
               handleModalVisible(false);
               actionRef.current.reload();

--
Gitblit v1.7.1