From c9c2288c2ada6723d93e457f52ba278d616229ee Mon Sep 17 00:00:00 2001 From: Seven Date: Wed, 7 Jan 2026 17:14:03 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20@riwa/api-types=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E8=87=B3=200.0.82=EF=BC=9B=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=94=81=E4=BB=93=E9=80=89=E9=A1=B9=E7=BB=84=E4=BB=B6=E5=8F=8A?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 12 +- src/enum/index.ts | 7 + src/views/bank/index.vue | 3 + src/views/rwa/product/index.vue | 2 +- .../product/components/lock-options.vue | 166 ++++++++++++++++++ src/views/tokenization/product/index.vue | 100 ++++++++++- 7 files changed, 280 insertions(+), 12 deletions(-) create mode 100644 src/views/tokenization/product/components/lock-options.vue diff --git a/package.json b/package.json index 2a44cd7..2dc8033 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@better-scroll/core": "2.5.1", "@elysiajs/eden": "^1.4.5", "@iconify/vue": "5.0.0", - "@riwa/api-types": "http://192.168.1.17:9527/api/riwa-eden-0.0.81.tgz", + "@riwa/api-types": "http://192.168.1.17:9527/api/riwa-eden-0.0.82.tgz", "@sa/axios": "workspace:*", "@sa/color": "workspace:*", "@sa/hooks": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00aafaf..957f1a8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 5.0.0 version: 5.0.0(vue@3.5.25(typescript@5.9.3)) '@riwa/api-types': - specifier: http://192.168.1.17:9527/api/riwa-eden-0.0.81.tgz - version: '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.81.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))' + specifier: http://192.168.1.17:9527/api/riwa-eden-0.0.82.tgz + version: '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.82.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))' '@sa/axios': specifier: workspace:* version: link:packages/axios @@ -1083,9 +1083,9 @@ packages: '@quansync/fs@0.1.6': resolution: {integrity: sha512-zoA8SqQO11qH9H8FCBR7NIbowYARIPmBz3nKjgAaOUDi/xPAAu1uAgebtV7KXHTc6CDZJVRZ1u4wIGvY5CWYaw==} - '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.81.tgz': - resolution: {tarball: http://192.168.1.17:9527/api/riwa-eden-0.0.81.tgz} - version: 0.0.81 + '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.82.tgz': + resolution: {tarball: http://192.168.1.17:9527/api/riwa-eden-0.0.82.tgz} + version: 0.0.82 peerDependencies: '@elysiajs/eden': ^1.4.5 @@ -5080,7 +5080,7 @@ snapshots: dependencies: quansync: 0.3.0 - '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.81.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))': + '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.82.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))': dependencies: '@elysiajs/eden': 1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)) diff --git a/src/enum/index.ts b/src/enum/index.ts index 6ef72f8..f7034cc 100644 --- a/src/enum/index.ts +++ b/src/enum/index.ts @@ -45,3 +45,10 @@ export enum RwaSubscribeStatusEnum { allocated = '已分配', cancelled = '已取消' } + +export enum TokenizationStatusEnum { + not_issued = '未发行', + issued = '已发行', + issuing = '发行中', + failed = '发行失败' +} diff --git a/src/views/bank/index.vue b/src/views/bank/index.vue index f5cf4c8..eb4191e 100644 --- a/src/views/bank/index.vue +++ b/src/views/bank/index.vue @@ -94,6 +94,8 @@ const filterColumns: TableFilterColumns = [ key: 'bankCode' } ]; + +function handleAdd() {} diff --git a/src/views/rwa/product/index.vue b/src/views/rwa/product/index.vue index 1d98964..d9d3c3c 100644 --- a/src/views/rwa/product/index.vue +++ b/src/views/rwa/product/index.vue @@ -201,7 +201,7 @@ const columns: TableBaseColumns = [ const filterColumns: TableFilterColumns = [ { title: '产品代码', - key: 'Code' + key: 'code' }, { title: '产品名称', diff --git a/src/views/tokenization/product/components/lock-options.vue b/src/views/tokenization/product/components/lock-options.vue new file mode 100644 index 0000000..ae7fe69 --- /dev/null +++ b/src/views/tokenization/product/components/lock-options.vue @@ -0,0 +1,166 @@ + + + + + diff --git a/src/views/tokenization/product/index.vue b/src/views/tokenization/product/index.vue index 7aea776..cb2fc53 100644 --- a/src/views/tokenization/product/index.vue +++ b/src/views/tokenization/product/index.vue @@ -1,8 +1,13 @@