From 980aeb1bb0d2e81784340fa9976678b5da6effba Mon Sep 17 00:00:00 2001 From: jhd <1684074631@qq.com> Date: Wed, 1 Jul 2026 14:37:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=80=BB=E8=A7=88?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=9B=BE=E6=A0=87=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/rm/project/index.vue | 78 +++++++++++++++---------- 1 file changed, 48 insertions(+), 30 deletions(-) diff --git a/ruoyi-ui/src/views/rm/project/index.vue b/ruoyi-ui/src/views/rm/project/index.vue index 76e4f1a..62b28be 100644 --- a/ruoyi-ui/src/views/rm/project/index.vue +++ b/ruoyi-ui/src/views/rm/project/index.vue @@ -73,7 +73,7 @@
- + @@ -114,7 +114,7 @@
-
+
diff --git a/ruoyi-ui/src/views/rm/installPrep/tools.vue b/ruoyi-ui/src/views/rm/installPrep/tools.vue index c8f7838..25c3152 100644 --- a/ruoyi-ui/src/views/rm/installPrep/tools.vue +++ b/ruoyi-ui/src/views/rm/installPrep/tools.vue @@ -15,7 +15,7 @@
暂无工具数据
- {{ catIcon(cat) }} {{ cat }} + {{ cat }} {{ grp.length }}项 · ¥{{ groupTotal(grp).toLocaleString() }}
@@ -113,7 +113,7 @@ export default { arrivedCount() { return this.tools.filter(t => t.status==='已到位').length } }, methods: { - catIcon(cat) { return { '起重吊装':'🏗️','测量仪器':'📐','机械安装':'🔩','液压专用':'💧','电气安装':'⚡' }[cat]||'📌' }, + catIcon(cat) { return { '起重吊装':'el-icon-ship','测量仪器':'el-icon-rank','机械安装':'el-icon-setting','液压专用':'el-icon-water-cup','电气安装':'el-icon-s-platform' }[cat]||'el-icon-collection' }, groupTotal(arr) { return arr.reduce((s,t) => s+(parseFloat(t.totalPrice)||0), 0) }, cleanForm() { return { name:'', nameEn:'', spec:'', qty:'', unit:'台', unitPrice:'', totalPrice:'', priority:'', arrivalDate:'', purpose:'', responsible:'', status:'待确认', category:'起重吊装', remark:'' } }, loadData() {