accounting-page 0.1.16 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -53
- package/package.json +1 -1
- package/src/App.vue +9 -9
- package/src/router/index.ts +1 -1
- package/vite.config.ts +11 -11
- package/version.txt +0 -1
package/README.md
CHANGED
|
@@ -7,59 +7,6 @@ the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-scrip
|
|
|
7
7
|
Learn more about the recommended Project Setup and IDE Support in
|
|
8
8
|
the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
|
9
9
|
|
|
10
|
-
## Run
|
|
11
|
-
|
|
12
|
-
### 环境
|
|
13
|
-
|
|
14
|
-
```shell
|
|
15
|
-
$$env:PATH+=";"+$env:USERPROFILE+"\AppData\Roaming\JetBrains\IntelliJIdea2026.1\node\versions\24.13.0\"
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### 新的开发
|
|
19
|
-
|
|
20
|
-
```shell
|
|
21
|
-
cd ~\IdeaProjects\ricewines\invest-page\accounting-page
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
```shell
|
|
25
|
-
$$env:INVEST_VERSION = (Get-Content "./version.txt" -Raw).Trim()
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
```shell
|
|
29
|
-
echo "已设置版本:$env:INVEST_VERSION"
|
|
30
|
-
echo "已设置版本:$env:PATH"
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
```shell
|
|
34
|
-
git add .
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
```shell
|
|
38
|
-
git commit -m "#16 升级"
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
```shell
|
|
42
|
-
git tag -a v$env:INVEST_VERSION -m "发布版本$env:INVEST_VERSION"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
```shell
|
|
46
|
-
git push origin v$env:INVEST_VERSION
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
```shell
|
|
50
|
-
git push origin dev_chixh
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### 发布
|
|
54
|
-
|
|
55
|
-
```shell
|
|
56
|
-
npm login
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
```shell
|
|
60
|
-
npm publish
|
|
61
|
-
```
|
|
62
|
-
|
|
63
10
|
## TODO
|
|
64
11
|
|
|
65
12
|
- [X] 统计周期:本月首日—今日,报表类型选择资产负债表
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const active = ref(
|
|
2
|
+
import {ref} from 'vue'
|
|
3
|
+
import {Tabbar as VanTabbar, TabbarItem as VanTabbarItem} from 'vant'
|
|
4
|
+
import {RouterView} from "vue-router";
|
|
5
|
+
|
|
6
|
+
const active = ref(0)
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
|
-
<router-view
|
|
11
|
-
<van-tabbar v-model="active" fixed>
|
|
12
|
-
<van-tabbar-item icon="balance" to="/balance-sheet"
|
|
13
|
-
<van-tabbar-item icon="orders" to="/voucher"
|
|
10
|
+
<router-view/>
|
|
11
|
+
<van-tabbar v-model="active" route fixed>
|
|
12
|
+
<van-tabbar-item icon="balance" to="/balance-sheet">资产负债表</van-tabbar-item>
|
|
13
|
+
<van-tabbar-item icon="orders" to="/voucher">凭证记账</van-tabbar-item>
|
|
14
14
|
</van-tabbar>
|
|
15
15
|
</template>
|
|
16
16
|
|
package/src/router/index.ts
CHANGED
package/vite.config.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {defineConfig} from 'vite'
|
|
2
2
|
import vue from '@vitejs/plugin-vue'
|
|
3
3
|
|
|
4
4
|
// https://vite.dev/config/
|
|
5
5
|
export default defineConfig({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
plugins: [vue()],
|
|
7
|
+
base: "/accounting-page",
|
|
8
|
+
server: {
|
|
9
|
+
port: 6013,
|
|
10
|
+
proxy: {
|
|
11
|
+
"/invest/accounting/api": {
|
|
12
|
+
target: "http://[::1]:6011",
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
16
|
})
|
package/version.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.1.16
|