|
@@ -33,7 +33,7 @@ function A2Table1({ editFu, upTaleFu, type }: Props) {
|
|
|
// 点击排序
|
|
|
const sortFu = useCallback(
|
|
|
async (flag: 1 | -1, id: number, index: number) => {
|
|
|
- const arr = tableArr.filter((v) => v.name !== "未分类");
|
|
|
+ const arr = tableArr.filter((v) => v.name !== "其它");
|
|
|
|
|
|
const newId = arr[index + flag].id;
|
|
|
|
|
@@ -68,7 +68,7 @@ function A2Table1({ editFu, upTaleFu, type }: Props) {
|
|
|
width: 100,
|
|
|
title: "序号",
|
|
|
render: (item: A2Tab1_1, __: any, index: number) =>
|
|
|
- item.name !== "未分类" ? index + 1 : "-",
|
|
|
+ item.name !== "其它" ? index + 1 : "-",
|
|
|
},
|
|
|
{
|
|
|
title: "字典名称",
|
|
@@ -93,7 +93,7 @@ function A2Table1({ editFu, upTaleFu, type }: Props) {
|
|
|
title: "操作",
|
|
|
render: (item: A2Tab1_1, _: any, index: number) => (
|
|
|
<>
|
|
|
- {item.name !== "未分类" && jobBtnFlag(item.name, index) ? (
|
|
|
+ {item.name !== "其它" && jobBtnFlag(item.name, index) ? (
|
|
|
<Button
|
|
|
size="small"
|
|
|
type="text"
|
|
@@ -104,7 +104,7 @@ function A2Table1({ editFu, upTaleFu, type }: Props) {
|
|
|
) : null}
|
|
|
|
|
|
{index < tableArr.length - 2 &&
|
|
|
- item.name !== "未分类" &&
|
|
|
+ item.name !== "其它" &&
|
|
|
jobBtnFlag(item.name, -1) ? (
|
|
|
<Button
|
|
|
size="small"
|
|
@@ -119,7 +119,7 @@ function A2Table1({ editFu, upTaleFu, type }: Props) {
|
|
|
编辑
|
|
|
</Button>
|
|
|
|
|
|
- {item.name !== "未分类" && jobBtnFlag(item.name, -1) ? (
|
|
|
+ {item.name !== "其它" && jobBtnFlag(item.name, -1) ? (
|
|
|
<Popconfirm
|
|
|
title="删除后无法恢复,是否删除?"
|
|
|
okText="删除"
|