wwt-platform 1.1.15 → 1.1.17
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/package.json +1 -1
- package/platform.html +8 -7
- package/tools.json +8 -8
package/package.json
CHANGED
package/platform.html
CHANGED
|
@@ -55,6 +55,11 @@ button{cursor:pointer;font-family:inherit}
|
|
|
55
55
|
.ver-badge:empty{display:none}
|
|
56
56
|
/* 窄窗时收起启动器版本,分隔符要一起隐藏,否则尾部会残留一个「·」 */
|
|
57
57
|
@media(max-width:1180px){.ver-badge .vb-lz,.ver-badge .vb-sep{display:none}}
|
|
58
|
+
/* 顶栏宣传语:占据版本号与右侧按钮之间的空白区,居中单行;窄窗省略,≤1200px 隐藏 */
|
|
59
|
+
.slogan{flex:1;text-align:center;font-size:12.5px;font-weight:600;color:var(--brand);
|
|
60
|
+
letter-spacing:.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
|
|
61
|
+
user-select:none;cursor:default}
|
|
62
|
+
@media(max-width:1200px){.slogan{display:none}}
|
|
58
63
|
|
|
59
64
|
/* ── 左导航 ── */
|
|
60
65
|
.nav{position:fixed;top:var(--th);left:0;bottom:0;width:var(--nw);z-index:100;
|
|
@@ -260,7 +265,7 @@ button{cursor:pointer;font-family:inherit}
|
|
|
260
265
|
</div>
|
|
261
266
|
</a>
|
|
262
267
|
<span class="ver-badge" id="ver-badge" title=""></span>
|
|
263
|
-
<div class="
|
|
268
|
+
<div class="slogan" id="slogan">花都全球-专注高品质再制造汽车核心零部件。众多头部车企与零部件巨头共同验证及选择。品质好、返修少</div>
|
|
264
269
|
<div class="tact">
|
|
265
270
|
<span class="ttag" id="ttag">首页</span>
|
|
266
271
|
<button class="btn" style="color:var(--green);border-color:var(--green)" onclick="nav('dc')">🗄 数据中心</button>
|
|
@@ -814,7 +819,6 @@ function openTool(tid,mid){
|
|
|
814
819
|
<h3>${esc(tool.name)}</h3>
|
|
815
820
|
<div style="display:flex;gap:8px">
|
|
816
821
|
<button class="btn sm" onclick="(function(){const f=$id('ifr-${tid}');if(f.srcdoc){const sd=f.srcdoc;f.srcdoc='';f.srcdoc=sd;}else{const s=f.src;f.src='';f.src=s;}})()">↻ 刷新</button>
|
|
817
|
-
<button class="btn sm" onclick="window.open($id('ifr-${tid}').src,'_blank')">↗ 新窗口</button>
|
|
818
822
|
</div>
|
|
819
823
|
</div>
|
|
820
824
|
<div class="frame-box"><iframe id="ifr-${tid}" src="${src}" sandbox="allow-scripts allow-same-origin allow-forms allow-downloads allow-modals allow-popups"></iframe></div>`;
|
|
@@ -860,7 +864,6 @@ function openServerTool(tool,mod){
|
|
|
860
864
|
<h3>${esc(tool.name)}</h3>
|
|
861
865
|
<div style="display:flex;gap:8px">
|
|
862
866
|
<button class="btn sm" onclick="(function(){const f=$id('ifr-${tool.id}');if(f){const s=f.src;f.src='';f.src=s;}})()">↻ 刷新</button>
|
|
863
|
-
<button class="btn sm" onclick="window.open('${url}','_blank')">⧉ 新窗口</button>
|
|
864
867
|
</div>
|
|
865
868
|
</div>
|
|
866
869
|
<div class="frame-box"><iframe id="ifr-${tool.id}" src="${url}"></iframe></div>`;
|
|
@@ -883,7 +886,6 @@ async function openUploadedTool(tool,mod){
|
|
|
883
886
|
<h3>${esc(tool.name)}</h3>
|
|
884
887
|
<div style="display:flex;gap:8px">
|
|
885
888
|
<button class="btn sm" onclick="$id('fp-${tool.id}').remove();openTool('${tool.id}','${mod.id}')">↻ 刷新</button>
|
|
886
|
-
<button class="btn sm" onclick="window.open($id('ifr-${tool.id}').src,'_blank')">↗ 新窗口</button>
|
|
887
889
|
</div>
|
|
888
890
|
</div>
|
|
889
891
|
<div class="frame-box"><iframe id="ifr-${tool.id}"></iframe></div>`;
|
|
@@ -925,7 +927,6 @@ async function openServiceTool(tool,mod){
|
|
|
925
927
|
<h3>${esc(tool.name)}</h3>
|
|
926
928
|
<div style="display:flex;gap:8px">
|
|
927
929
|
<button class="btn sm" id="svc-reload-${tool.id}" onclick="reloadServiceFrame('${tool.id}')">↻ 刷新</button>
|
|
928
|
-
<button class="btn sm" onclick="window.open('${tool.serviceUrl}','_blank')">↗ 新窗口</button>
|
|
929
930
|
</div>
|
|
930
931
|
</div>
|
|
931
932
|
<div class="frame-box" id="svc-box-${tool.id}">
|
|
@@ -1441,7 +1442,7 @@ function doAddMod(){
|
|
|
1441
1442
|
// ═══════════════════════════════════════════════════════════
|
|
1442
1443
|
// 平台更新(方案B:平台 + 内置工具统一检查)
|
|
1443
1444
|
// ═══════════════════════════════════════════════════════════
|
|
1444
|
-
const PLATFORM_VER = '1.1.
|
|
1445
|
+
const PLATFORM_VER = '1.1.17';
|
|
1445
1446
|
const NPM_PKG = 'wwt-platform'; // NPM 包名(主力分发源)
|
|
1446
1447
|
const GITEE_TOKEN_KEY = 'wwt_gitee_token';
|
|
1447
1448
|
const GITEE_TOKEN_DEF = 'e45883b9c89b8d9689746ce42bbc2b0b';
|
|
@@ -1466,7 +1467,7 @@ const SOURCES = [
|
|
|
1466
1467
|
// 更新清单:每个条目 = 一个可更新对象(平台或工具)
|
|
1467
1468
|
// 这是「离线兜底种子」——联网时会与远程 tools.json 合并,远程为准
|
|
1468
1469
|
const UPD_REG_DEF = [
|
|
1469
|
-
{key:'platform', name:'WWT 工作平台', cur:'1.1.
|
|
1470
|
+
{key:'platform', name:'WWT 工作平台', cur:'1.1.17', repo:GITEE_PLATFORM_REPO, verFile:'version.js', appFile:'app.js', pat:'__WWT_PLATFORM_VER', kind:'platform'},
|
|
1470
1471
|
{key:'erp-recon', name:'ERP 对账工具', cur:'V1.0.2',repo:'wwtmrhu/erp-recon', verFile:'version.js', appFile:'app.js', pat:'__ERP_LATEST_VER'},
|
|
1471
1472
|
{key:'erp-tool', name:'ERP 对账单生成匹配', cur:'1.0.0', repo:'wwtmrhu/erp-tool', verFile:'version.js', appFile:'app.js', pat:'__ERP_LATEST_VER'},
|
|
1472
1473
|
{key:'voucher', name:'WWT 凭证工具', cur:'P1.2.12',repo:'wwtmrhu/certificate-generation', verFile:'dist/version.json', appFile:'', pat:'ver', appUrl:true}
|
package/tools.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"platform": "1.1.
|
|
3
|
+
"platform": "1.1.17",
|
|
4
4
|
"updatedAt": "2026-09-10",
|
|
5
5
|
"note": "WWT 工作平台工具清单。新增/修改工具只需改这个文件并发布新版本,用户端自动同步,无需重新分发平台。",
|
|
6
6
|
"tools": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{
|
|
19
19
|
"key": "erp-recon",
|
|
20
20
|
"name": "ERP对账工具",
|
|
21
|
-
"module": "
|
|
21
|
+
"module": "biz",
|
|
22
22
|
"desc": "ERP 系统多模块对账比对",
|
|
23
23
|
"ver": "1.1.10",
|
|
24
24
|
"type": "html",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
{
|
|
36
36
|
"key": "erp-tool",
|
|
37
37
|
"name": "ERP对账单生成匹配",
|
|
38
|
-
"module": "
|
|
38
|
+
"module": "biz",
|
|
39
39
|
"desc": "对账单自动生成与匹配",
|
|
40
40
|
"ver": "2.0.45",
|
|
41
41
|
"type": "html",
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"name": "WWT快快对",
|
|
55
55
|
"module": "fin",
|
|
56
56
|
"desc": "往来账双向自动对账",
|
|
57
|
-
"ver": "1.0.
|
|
57
|
+
"ver": "1.0.9",
|
|
58
58
|
"type": "html",
|
|
59
59
|
"tag": "HTML",
|
|
60
|
-
"path": "C:/Users/Administrator/
|
|
60
|
+
"path": "C:/Users/Administrator/Desktop/快快对_无示例.html",
|
|
61
61
|
"src": null
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"key": "voucher",
|
|
65
65
|
"name": "WWT凭证工具",
|
|
66
66
|
"module": "fin",
|
|
67
|
-
"desc": "
|
|
68
|
-
"ver": "P1.2.
|
|
67
|
+
"desc": "自动生成记账凭证,支持规则配置、凭证审核、导出金蝶(已内置37条规则+9张基础数据)",
|
|
68
|
+
"ver": "P1.2.49",
|
|
69
69
|
"type": "html",
|
|
70
70
|
"tag": "HTML",
|
|
71
|
-
"path": "C:/Users/Administrator/Desktop/WWT
|
|
71
|
+
"path": "C:/Users/Administrator/Desktop/WWT凭证工具.html",
|
|
72
72
|
"src": {
|
|
73
73
|
"type": "gitee",
|
|
74
74
|
"repo": "wwtmrhu/certificate-generation",
|