feat(ywq): 新增授权签名订单列表功能

- 添加授权签名订单列表 API 接口和相关数据模型
- 实现授权签名订单列表页面组件
- 在授权关系页面添加跳转到订单列表的功能
- 更新路由配置,支持新的订单列表页面
这个提交包含在:
徐勤民 2024-10-29 19:07:32 +08:00
父节点 f26cf6e4d2
当前提交 d7c1f85370
共有 2 个文件被更改,包括 13 次插入4 次删除

查看文件

@ -12,6 +12,7 @@
* DD Y起作用 DD-362
* SS SSS-043
*/
export class TimeHelper {
/**
*
@ -26,7 +27,15 @@ export class TimeHelper {
* @param formats
* 'yyyy年MM月dd日'
*/
static getTimeString(formats: string) {
static formatDate(date: Date, format: string) {
const replacements: { [key: string]: string } = {
YYYY: date.getFullYear().toString(),
MM: String(date.getMonth() + 1).padStart(2, "0"),
DD: String(date.getDate()).padStart(2, "0"),
HH: String(date.getHours()).padStart(2, "0"),
mm: String(date.getMinutes()).padStart(2, "0"),
ss: String(date.getSeconds()).padStart(2, "0")
};
return format.replace(/YYYY|MM|DD|HH|mm|ss/g, matched => replacements[matched]);
}
}
}

查看文件

@ -98,7 +98,7 @@ export struct SafeView {
overflow: TextOverflow.Ellipsis
})
.constraintSize({
maxWidth: 120
maxWidth: 200
})
Row() {