From 7b59ba7cf052727fabd54aa691ba55ce4405e314 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 27 Oct 2023 16:55:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B3=9B=E5=BE=AE=E8=96=AA=E8=B5=84=E6=A0=B8?=
=?UTF-8?q?=E7=AE=97iframe=E8=A1=A8=E6=A0=BC-=E8=96=AA=E8=B5=84=E9=A1=B9?=
=?UTF-8?q?=E7=9B=AE=E6=8B=93=E6=89=91=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +
public/css/iconfont/demo_index.html | 98 ++++++-
public/css/iconfont/iconfont.css | 22 +-
public/css/iconfont/iconfont.js | 2 +-
public/css/iconfont/iconfont.json | 32 +-
public/css/iconfont/iconfont.ttf | Bin 2248 -> 4028 bytes
public/css/iconfont/iconfont.woff | Bin 167836 -> 2480 bytes
public/css/iconfont/iconfont.woff2 | Bin 129256 -> 1972 bytes
src/api/calculate.service.ts | 4 +
src/layouts/config.js | 1 +
src/pages/atdTable/components/index.less | 11 +-
src/pages/calcTable/calcExplainFooter.tsx | 4 +
src/pages/calcTable/customTableTitle.tsx | 2 +
src/pages/calcTable/index.tsx | 17 +-
src/pages/salaryItemDiagram/data.js | 125 ++++++++
src/pages/salaryItemDiagram/index-g6.tsx | 156 ++++++++++
src/pages/salaryItemDiagram/index.tsx | 168 +++++++++++
src/pages/salaryItemDiagram/registerShape.ts | 292 +++++++++++++++++++
src/pages/welfareLedgerTable/index.tsx | 8 +-
19 files changed, 929 insertions(+), 15 deletions(-)
create mode 100644 src/pages/salaryItemDiagram/data.js
create mode 100644 src/pages/salaryItemDiagram/index-g6.tsx
create mode 100644 src/pages/salaryItemDiagram/index.tsx
create mode 100644 src/pages/salaryItemDiagram/registerShape.ts
diff --git a/package.json b/package.json
index 57f28d1..299e483 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,9 @@
]
},
"dependencies": {
+ "@ant-design/charts": "^1.4.2",
"@ant-design/pro-layout": "6.32.1",
+ "@antv/g6": "^4.8.17",
"@types/lodash": "^4.14.172",
"@ztree/ztree_v3": "^3.5.42",
"ahooks": "^3.1.3",
diff --git a/public/css/iconfont/demo_index.html b/public/css/iconfont/demo_index.html
index 7a1168c..9986cd4 100644
--- a/public/css/iconfont/demo_index.html
+++ b/public/css/iconfont/demo_index.html
@@ -47,11 +47,37 @@
Symbol
+ 查看项目
+
+ -
+
+
批量分配
+ 
+
+
+ -
+
+
操作日志
+ 
+
+
+ -
+
+
警告
+ 
+
+
+ -
+
+
应急处理
+ 
+
+
-
批量解锁
@@ -82,7 +108,9 @@
@font-face {
font-family: 'iconfont';
- src: url('iconfont.ttf?t=1695032721128') format('truetype');
+ src: url('iconfont.woff2?t=1698312705146') format('woff2'),
+ url('iconfont.woff?t=1698312705146') format('woff'),
+ url('iconfont.ttf?t=1698312705146') format('truetype');
}
第二步:定义使用 iconfont 的样式
@@ -108,6 +136,42 @@
+ -
+
+
+ 批量分配
+
+ .icon-piliangfenpei
+
+
+
+ -
+
+
+ 操作日志
+
+ .icon-caozuorizhi32
+
+
+
+ -
+
+
+ 警告
+
+ .icon-jinggao
+
+
+
+ -
+
+
+ 应急处理
+
+ .icon-yingjichuli
+
+
+
-
@@ -153,6 +217,38 @@
+ -
+
+
批量分配
+ #icon-piliangfenpei
+
+
+ -
+
+
操作日志
+ #icon-caozuorizhi32
+
+
+ -
+
+
警告
+ #icon-jinggao
+
+
+ -
+
+
应急处理
+ #icon-yingjichuli
+
+
-