|
@@ -5,6 +5,7 @@ import { columns, childrenColumns } from "./tableConfig"
|
|
import { useAjax } from "@/Hook/useAjax"
|
|
import { useAjax } from "@/Hook/useAjax"
|
|
import { corpListOfPage, corpPreAuth } from "@/services/distributor/corpManage"
|
|
import { corpListOfPage, corpPreAuth } from "@/services/distributor/corpManage"
|
|
import { useEffect, useRef, useState } from "react"
|
|
import { useEffect, useRef, useState } from "react"
|
|
|
|
+import { PlusOutlined } from "@ant-design/icons"
|
|
|
|
|
|
const Page: React.FC = () => {
|
|
const Page: React.FC = () => {
|
|
let getList = useAjax((params) => corpListOfPage(params), { type: 'table' })
|
|
let getList = useAjax((params) => corpListOfPage(params), { type: 'table' })
|
|
@@ -42,7 +43,7 @@ const Page: React.FC = () => {
|
|
}}
|
|
}}
|
|
columns={columns()}
|
|
columns={columns()}
|
|
toolBarRender={() => [
|
|
toolBarRender={() => [
|
|
- <Button type="primary" onClick={auth} >新增企微</Button>,
|
|
|
|
|
|
+ <Button type="primary" onClick={auth} ><PlusOutlined />新增企微</Button>,
|
|
]}
|
|
]}
|
|
expandable={{
|
|
expandable={{
|
|
rowExpandable: (record) => record?.appCarrierList?.length > 0,
|
|
rowExpandable: (record) => record?.appCarrierList?.length > 0,
|