Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
3ceda910
提交
3ceda910
authored
8月 04, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
功能:作业服务分类(新),审批飞手不通过状态为2
上级
c009c4e7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
65 行增加
和
4 行删除
+65
-4
index.tsx
...lCategoryList/components/addOrEditCategoryModal/index.tsx
+0
-0
index.scss
src/pages/categoryManage/mallCategoryList/index.scss
+0
-0
index.tsx
src/pages/categoryManage/mallCategoryList/index.tsx
+0
-0
index.tsx
src/pages/categoryManage/serviceCategoryList/index.tsx
+42
-0
index.tsx
...flyerManage/flyerDetail/components/approveModal/index.tsx
+1
-1
index.tsx
src/pages/flyerCenter/flyerManage/flyerList/index.tsx
+4
-0
router.tsx
src/router/router.tsx
+18
-3
没有找到文件。
src/pages/categoryManage/
c
ategoryList/components/addOrEditCategoryModal/index.tsx
→
src/pages/categoryManage/
mallC
ategoryList/components/addOrEditCategoryModal/index.tsx
浏览文件 @
3ceda910
File moved
src/pages/categoryManage/
c
ategoryList/index.scss
→
src/pages/categoryManage/
mallC
ategoryList/index.scss
浏览文件 @
3ceda910
File moved
src/pages/categoryManage/
c
ategoryList/index.tsx
→
src/pages/categoryManage/
mallC
ategoryList/index.tsx
浏览文件 @
3ceda910
File moved
src/pages/categoryManage/serviceCategoryList/index.tsx
0 → 100644
浏览文件 @
3ceda910
import
{
Button
,
Table
}
from
'antd'
;
import
{
ArrowDownOutlined
,
ArrowUpOutlined
,
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
ColumnsType
}
from
'antd/es/table'
;
const
ServiceCategoryList
=
()
=>
{
const
tableColumns
:
ColumnsType
<
any
>
=
[
{
title
:
'分类名称'
,
align
:
'center'
,
},
{
title
:
'图片'
,
align
:
'center'
,
},
{
title
:
'描述'
,
align
:
'center'
,
},
{
title
:
'创建时间'
,
align
:
'center'
,
},
{
title
:
'操作'
,
align
:
'center'
,
},
];
return
(
<
div
className=
'service-category-list'
>
<
div
className=
'list-operate'
style=
{
{
marginBottom
:
'10px'
}
}
>
<
Button
type=
'primary'
icon=
{
<
PlusOutlined
/>
}
style=
{
{
marginRight
:
'10px'
}
}
>
新增分类
</
Button
>
<
Button
icon=
{
<
ArrowUpOutlined
/>
}
style=
{
{
marginRight
:
'10px'
}
}
type=
'primary'
></
Button
>
<
Button
icon=
{
<
ArrowDownOutlined
/>
}
type=
'primary'
></
Button
>
</
div
>
<
Table
columns=
{
tableColumns
}
bordered
/>
</
div
>
);
};
export
default
ServiceCategoryList
;
src/pages/flyerCenter/flyerManage/flyerDetail/components/approveModal/index.tsx
浏览文件 @
3ceda910
...
...
@@ -53,7 +53,7 @@ const ApproveModal: FC<ModalProps & selfProps> = ({ open, onCancel, onOk, flyerI
<
Form
.
Item
label=
'状态'
name=
'auditStatus'
>
<
Radio
.
Group
onChange=
{
radioChange
}
>
<
Radio
value=
{
1
}
>
已通过
</
Radio
>
<
Radio
value=
{
0
}
>
未通过
</
Radio
>
<
Radio
value=
{
2
}
>
未通过
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
{
auditStatus
?
(
...
...
src/pages/flyerCenter/flyerManage/flyerList/index.tsx
浏览文件 @
3ceda910
...
...
@@ -132,16 +132,19 @@ const FlyerList = () => {
pageSize
:
10
,
totalCount
:
0
,
});
const
[
loading
,
setLoading
]
=
useState
<
boolean
>
(
false
);
//修改备注弹窗
const
[
updateRemarkModalShow
,
setUpdateRemarkModalShow
]
=
useState
<
boolean
>
(
false
);
//飞手列表
const
getFlyerList
=
(
query
?:
flyerListParameters
)
=>
{
setLoading
(
true
);
FlyerCenterAPI
.
getBackListPilot
({
pageNo
:
pagination
.
pageNo
,
pageSize
:
pagination
.
pageSize
,
...
query
,
}).
then
(({
result
})
=>
{
setLoading
(
false
);
pagination
.
totalCount
=
result
.
totalCount
;
setTableData
(
result
.
list
||
[]);
setPagination
(
pagination
);
...
...
@@ -231,6 +234,7 @@ const FlyerList = () => {
bordered
columns=
{
tableColumns
}
dataSource=
{
tableData
}
loading=
{
loading
}
rowKey=
'id'
pagination=
{
{
total
:
pagination
.
totalCount
,
...
...
src/router/router.tsx
浏览文件 @
3ceda910
...
...
@@ -107,7 +107,10 @@ const ProduceDetailView = React.lazy(
);
//产品详情
const
MakeListView
=
React
.
lazy
(()
=>
import
(
'~/pages/mallManage/makeManage/makeList'
));
// 分类管理
const
CategoryListView
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/categoryList'
));
const
MallCategoryListView
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/mallCategoryList'
));
//商城分类
const
ServiceCategoryListView
=
React
.
lazy
(
()
=>
import
(
'~/pages/categoryManage/serviceCategoryList'
),
);
//服务分类
const
CategoryManage
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/category'
));
const
CategoryDetail
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/category/detail'
));
// 目录管理
...
...
@@ -696,6 +699,17 @@ export const routerList: Array<RouteObjectType> = [
icon
:
<
SendOutlined
/>,
},
},
// 作业服务分类(新)
// {
// path: '/categoryManage/serviceCategoryList',
// element: withLoadingComponent(<ServiceCategoryListView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1210,
// title: '作业服务分类',
// icon: <SendOutlined />,
// },
// },
{
path
:
'/categoryManage/jobServicesCategory/2'
,
element
:
withLoadingComponent
(<
CategoryManage
/>),
...
...
@@ -716,9 +730,10 @@ export const routerList: Array<RouteObjectType> = [
icon
:
<
AppstoreAddOutlined
/>,
},
},
// 产品商城分类(新)
{
path
:
'/categoryManage/
c
ategoryList'
,
element
:
withLoadingComponent
(<
CategoryListView
/>),
path
:
'/categoryManage/
mallC
ategoryList'
,
element
:
withLoadingComponent
(<
Mall
CategoryListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1240
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论