From 1a2acbf05e7f2dee37afb4875949d27e4703022e Mon Sep 17 00:00:00 2001 From: dzq Date: Thu, 22 May 2025 08:40:58 +0800 Subject: [PATCH] init --- 文档/.obsidian/app.json | 1 + 文档/.obsidian/appearance.json | 5 + 文档/.obsidian/core-plugins.json | 31 +++++ 文档/.obsidian/graph.json | 22 ++++ 文档/.obsidian/workspace.json | 206 +++++++++++++++++++++++++++++++ 文档/柜机商品.md | 5 + 文档/欢迎.md | 48 +++++++ 文档/管理端订单列表.md | 0 文档/需求.md | 13 ++ 9 files changed, 331 insertions(+) create mode 100644 文档/.obsidian/app.json create mode 100644 文档/.obsidian/appearance.json create mode 100644 文档/.obsidian/core-plugins.json create mode 100644 文档/.obsidian/graph.json create mode 100644 文档/.obsidian/workspace.json create mode 100644 文档/柜机商品.md create mode 100644 文档/欢迎.md create mode 100644 文档/管理端订单列表.md create mode 100644 文档/需求.md diff --git a/文档/.obsidian/app.json b/文档/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/文档/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/文档/.obsidian/appearance.json b/文档/.obsidian/appearance.json new file mode 100644 index 0000000..e5c71c8 --- /dev/null +++ b/文档/.obsidian/appearance.json @@ -0,0 +1,5 @@ +{ + "interfaceFontFamily": "", + "textFontFamily": "霞鹜文楷", + "monospaceFontFamily": "JetBrains Mono,Sarasa Fixed SC" +} \ No newline at end of file diff --git a/文档/.obsidian/core-plugins.json b/文档/.obsidian/core-plugins.json new file mode 100644 index 0000000..b977c25 --- /dev/null +++ b/文档/.obsidian/core-plugins.json @@ -0,0 +1,31 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "properties": false, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": true, + "webviewer": false +} \ No newline at end of file diff --git a/文档/.obsidian/graph.json b/文档/.obsidian/graph.json new file mode 100644 index 0000000..42a46ec --- /dev/null +++ b/文档/.obsidian/graph.json @@ -0,0 +1,22 @@ +{ + "collapse-filter": true, + "search": "", + "showTags": false, + "showAttachments": false, + "hideUnresolved": false, + "showOrphans": true, + "collapse-color-groups": true, + "colorGroups": [], + "collapse-display": true, + "showArrow": false, + "textFadeMultiplier": 0, + "nodeSizeMultiplier": 1, + "lineSizeMultiplier": 1, + "collapse-forces": true, + "centerStrength": 0.518713248970312, + "repelStrength": 10, + "linkStrength": 1, + "linkDistance": 250, + "scale": 1, + "close": true +} \ No newline at end of file diff --git a/文档/.obsidian/workspace.json b/文档/.obsidian/workspace.json new file mode 100644 index 0000000..0e091ae --- /dev/null +++ b/文档/.obsidian/workspace.json @@ -0,0 +1,206 @@ +{ + "main": { + "id": "11088957aad7b108", + "type": "split", + "children": [ + { + "id": "58ac473faab0fd6b", + "type": "tabs", + "children": [ + { + "id": "b87f7449b92dfe1a", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "需求.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "需求" + } + }, + { + "id": "de0a6fc8b9da7de5", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "柜机商品.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "柜机商品" + } + }, + { + "id": "65bdd4aeaf5e4eaa", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "需求.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "需求" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "4595abdc1cb4c768", + "type": "split", + "children": [ + { + "id": "bdc1d6d2d2e3d8f0", + "type": "tabs", + "children": [ + { + "id": "e8fd0d892d48a214", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical", + "autoReveal": false + }, + "icon": "lucide-folder-closed", + "title": "文件列表" + } + }, + { + "id": "0b105535476e8938", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "搜索" + } + }, + { + "id": "094cc6327d6e3020", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "书签" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "dc8d8c4dc42c9ed2", + "type": "split", + "children": [ + { + "id": "b5ec2ded86e72643", + "type": "tabs", + "children": [ + { + "id": "063cb0fa0c549cc0", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "欢迎.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "欢迎 的反向链接列表" + } + }, + { + "id": "fc686dafcb448a3f", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "file": "欢迎.md", + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "欢迎 的出链列表" + } + }, + { + "id": "a1187b3ff05cc518", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-tags", + "title": "标签" + } + }, + { + "id": "73b666907a4b3f3f", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "欢迎.md", + "followCursor": false, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-list", + "title": "欢迎 的大纲" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:打开快速切换": false, + "graph:查看关系图谱": false, + "canvas:新建白板": false, + "daily-notes:打开/创建今天的日记": false, + "templates:插入模板": false, + "command-palette:打开命令面板": false + } + }, + "active": "b87f7449b92dfe1a", + "lastOpenFiles": [ + "柜机商品.md", + "需求.md", + "欢迎.md", + "管理端订单列表.md" + ] +} \ No newline at end of file diff --git a/文档/柜机商品.md b/文档/柜机商品.md new file mode 100644 index 0000000..4c0f192 --- /dev/null +++ b/文档/柜机商品.md @@ -0,0 +1,5 @@ +1. 单独柜机商品配置页面 +2. 客户端显示商品列表按柜机格口 +3. 客户端购买商品按格口商品提交订单 +4. 库存改为格口库存 +5. 订单商品添加格口信息 \ No newline at end of file diff --git a/文档/欢迎.md b/文档/欢迎.md new file mode 100644 index 0000000..0749cd4 --- /dev/null +++ b/文档/欢迎.md @@ -0,0 +1,48 @@ +这是你的新*仓库*。 + +写点笔记,[[创建链接]],或者试一试[导入器](https://help.obsidian.md/Plugins/Importer)插件! + +当你准备好了,就将该笔记文件删除,使这个仓库为你所用。 + + +```typescript +const getStatusText = (status: number) => { + +  return statusMap[status] || '未知状态' + +} + + + +const orderId = ref(parseInt(String(route.params.id))) + + + +// 监听路由参数变化 + +watch(() => route.params.id, (newId) => { + +  orderId.value = parseInt(String(newId)) + +}) + + + +const order = computed(() => { + +  return orderStore.orders.find(o => o.orderId === orderId.value) + +}) + + + +onMounted(() => { + +  if (!order.value) { + +    // Handle case when order is not found + +  } + +}) +``` \ No newline at end of file diff --git a/文档/管理端订单列表.md b/文档/管理端订单列表.md new file mode 100644 index 0000000..e69de29 diff --git a/文档/需求.md b/文档/需求.md new file mode 100644 index 0000000..73227ba --- /dev/null +++ b/文档/需求.md @@ -0,0 +1,13 @@ +1. 柜机中心返回主页 +2. 审批中心审批默认通过 +3. 订单列表加一个打开柜口 +4. 审批通过后恢复库存 +5. 审批加上打开柜子和手机号姓名和柜机信息 +6. 提交审批加上打开柜子按钮 +7. 审批加上审批人 +8. 企业微信首页直接进入 +9. 搜索商品 + +10. 企业用户角色 +11. 归还期限 +12. 手机版商品管理 \ No newline at end of file