- 新增审核列表、详情、更新接口 - 新增审核相关常量配置 - 新增审核页面组件及路由 - 调整采购订单驳回描述文案 - 优化费用统计导出功能 - 修复部分页面tabbar显示问题 - 更新应用版本号至v0.0.52
28 lines
689 B
TypeScript
28 lines
689 B
TypeScript
import { AuditList } from "@/components";
|
|
import { useShareAppMessage } from "@tarojs/taro";
|
|
import hocAuth from "@/hocs/auth";
|
|
import { CommonComponent } from "@/types/typings";
|
|
|
|
export default hocAuth(function Page(props: CommonComponent) {
|
|
const { shareOptions } = props;
|
|
|
|
useShareAppMessage((res) => {
|
|
console.log("useShareAppMessage1", res, shareOptions);
|
|
// 如果是按钮触发的转发,使用默认配置
|
|
if (res.from === "button") {
|
|
return shareOptions;
|
|
}
|
|
// 页面转发使用设置的配置
|
|
return {};
|
|
});
|
|
|
|
return (
|
|
<AuditList
|
|
params={{
|
|
state: "AUDIT_REJECTED",
|
|
type: "REVIEWER_AUDIT",
|
|
}}
|
|
/>
|
|
);
|
|
});
|