From a506b5250627cb5bf30972a5543fd5fbb483af9c Mon Sep 17 00:00:00 2001 From: mac Date: Mon, 15 Jun 2026 17:50:34 +0800 Subject: [PATCH] =?UTF-8?q?v1.3.2=20=E2=80=94=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=A7=BB=E5=88=B0=E5=8F=B3=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=20+=20=E6=94=B6=E8=B5=B7=E8=A1=A8=E5=8D=95=20+=20=E9=98=B6?= =?UTF-8?q?=E6=AE=B5=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/app.js | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/static/app.js b/static/app.js index 37a6c51..8894db9 100644 --- a/static/app.js +++ b/static/app.js @@ -184,12 +184,22 @@ function renderProjects() { `` ]); document.querySelector("#projects").innerHTML = `
- ${card(formHtml([ - { label: "项目名称", input: `` }, - { label: "当前阶段", input: `` }, - { label: "项目金额", input: `` }, - { label: "负责人", input: `` }, - ], { handler: "createOperation", text: "新增项目" }), "p-4")} +
+
+ ${[["all","全部"],["项目准备","准备"],["项目执行","执行"],["项目验收","验收"],["验收完毕","完毕"]].map(([k,v]) => ``).join("")} +
+ +
+ ${renderTable(["项目", "项目说明", "当前阶段", "项目金额", "负责人", "进展"], rows, items.map((x) => ({ resource: "operations", id: x.id })))}
`; }