From a1a73e25593d2914ea58cd84ec2540bc56bd6934 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 26 一月 2026 17:43:25 +0800
Subject: [PATCH] 来票台账接口更改
---
src/pages/index.vue | 219 +++++++++++++++++++++---------------------------------
1 files changed, 86 insertions(+), 133 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index f39559a..8a6647f 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -38,54 +38,54 @@
<!-- </view>-->
<!-- </view>-->
<!-- 钀ラ攢绠$悊妯″潡 -->
- <!-- <view class="common-module marketing-module">-->
- <!-- <view class="module-header">-->
- <!-- <view class="module-title-container">-->
- <!-- <text class="module-title">钀ラ攢绠$悊</text>-->
- <!-- </view>-->
- <!-- </view>-->
- <!-- <view class="module-content">-->
- <!-- <up-grid :border="false"-->
- <!-- col="4">-->
- <!-- <up-grid-item v-for="(item, index) in marketingItems"-->
- <!-- :key="index"-->
- <!-- @click="handleCommonItemClick(item)">-->
- <!-- <view class="icon-container"-->
- <!-- :style="{ background: item.bgColor }">-->
- <!-- <up-icon :name="item.icon"-->
- <!-- :size="58"-->
- <!-- color="#ffffff"></up-icon>-->
- <!-- </view>-->
- <!-- <text class="item-label">{{item.label}}</text>-->
- <!-- </up-grid-item>-->
- <!-- </up-grid>-->
- <!-- </view>-->
- <!-- </view>-->
+ <view class="common-module marketing-module">
+ <view class="module-header">
+ <view class="module-title-container">
+ <text class="module-title">钀ラ攢绠$悊</text>
+ </view>
+ </view>
+ <view class="module-content">
+ <up-grid :border="false"
+ col="4">
+ <up-grid-item v-for="(item, index) in marketingItems"
+ :key="index"
+ @click="handleCommonItemClick(item)">
+ <view class="icon-container"
+ :style="{ background: item.bgColor }">
+ <up-icon :name="item.icon"
+ :size="58"
+ color="#ffffff"></up-icon>
+ </view>
+ <text class="item-label">{{item.label}}</text>
+ </up-grid-item>
+ </up-grid>
+ </view>
+ </view>
<!-- <!– 閲囪喘绠$悊妯″潡 –>-->
- <!-- <view class="common-module purchase-module">-->
- <!-- <view class="module-header">-->
- <!-- <view class="module-title-container">-->
- <!-- <text class="module-title">閲囪喘绠$悊</text>-->
- <!-- </view>-->
- <!-- </view>-->
- <!-- <view class="module-content">-->
- <!-- <up-grid :border="false"-->
- <!-- col="4">-->
- <!-- <up-grid-item v-for="(item, index) in purchaseItems"-->
- <!-- :key="index"-->
- <!-- @click="handleCommonItemClick(item)">-->
- <!-- <view class="icon-container"-->
- <!-- :style="{ background: item.bgColor }">-->
- <!-- <up-icon :name="item.icon"-->
- <!-- :size="58"-->
- <!-- color="#ffffff"></up-icon>-->
- <!-- </view>-->
- <!-- <text class="item-label">{{item.label}}</text>-->
- <!-- </up-grid-item>-->
- <!-- </up-grid>-->
- <!-- </view>-->
- <!-- </view>-->
- <!-- <!– 鍗忓悓鍔炲叕妯″潡 –>-->
+ <view class="common-module purchase-module">
+ <view class="module-header">
+ <view class="module-title-container">
+ <text class="module-title">閲囪喘绠$悊</text>
+ </view>
+ </view>
+ <view class="module-content">
+ <up-grid :border="false"
+ col="4">
+ <up-grid-item v-for="(item, index) in purchaseItems"
+ :key="index"
+ @click="handleCommonItemClick(item)">
+ <view class="icon-container"
+ :style="{ background: item.bgColor }">
+ <up-icon :name="item.icon"
+ :size="58"
+ color="#ffffff"></up-icon>
+ </view>
+ <text class="item-label">{{item.label}}</text>
+ </up-grid-item>
+ </up-grid>
+ </view>
+ </view>
+ <!-- <!– 鍗忓悓鍔炲叕妯″潡 –> -->
<view class="common-module collaboration-module">
<view class="module-header">
<view class="module-title-container">
@@ -163,29 +163,29 @@
</view>
</view>
<!-- 璁惧绠$悊妯″潡 -->
- <!-- <view class="common-module equipment-module">-->
- <!-- <view class="module-header">-->
- <!-- <view class="module-title-container">-->
- <!-- <text class="module-title">璁惧绠$悊</text>-->
- <!-- </view>-->
- <!-- </view>-->
- <!-- <view class="module-content">-->
- <!-- <up-grid :border="false"-->
- <!-- col="4">-->
- <!-- <up-grid-item v-for="(item, index) in equipmentItems"-->
- <!-- :key="index"-->
- <!-- @click="handleCommonItemClick(item)">-->
- <!-- <view class="icon-container"-->
- <!-- :style="{ background: item.bgColor }">-->
- <!-- <up-icon :name="item.icon"-->
- <!-- :size="58"-->
- <!-- color="#ffffff"></up-icon>-->
- <!-- </view>-->
- <!-- <text class="item-label">{{item.label}}</text>-->
- <!-- </up-grid-item>-->
- <!-- </up-grid>-->
- <!-- </view>-->
- <!-- </view>-->
+ <view class="common-module equipment-module">
+ <view class="module-header">
+ <view class="module-title-container">
+ <text class="module-title">璁惧绠$悊</text>
+ </view>
+ </view>
+ <view class="module-content">
+ <up-grid :border="false"
+ col="4">
+ <up-grid-item v-for="(item, index) in equipmentItems"
+ :key="index"
+ @click="handleCommonItemClick(item)">
+ <view class="icon-container"
+ :style="{ background: item.bgColor }">
+ <up-icon :name="item.icon"
+ :size="58"
+ color="#ffffff"></up-icon>
+ </view>
+ <text class="item-label">{{item.label}}</text>
+ </up-grid-item>
+ </up-grid>
+ </view>
+ </view>
</view>
</template>
@@ -278,88 +278,32 @@
// 鍗忓悓鍔炲叕鍔熻兘鏁版嵁
const collaborationItems = reactive([
- // {
- // icon: "/static/images/icon/gongchuguanli@2x.png",
- // label: "鍏嚭绠$悊",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "璇峰亣绠$悊",
- // },
- // {
- // icon: "/static/images/icon/chuchaiguanli@2x.png",
- // label: "鍑哄樊绠$悊",
- // },
{
- icon: "/static/images/icon/chuchaiguanli@2x.png",
+ icon: "/static/images/icon/gongchuguanli@2x.png",
label: "鑰冨嫟绠$悊",
},
{
- icon: "/static/images/icon/chuchaiguanli@2x.png",
+ icon: "/static/images/icon/baoxiaoguanli.png",
label: "璐㈠姟绠$悊",
},
- // {
- // icon: "/static/images/icon/chuchaiguanli@2x.png",
- // label: "鎶ラ攢绠$悊",
- // },
- // {
- // icon: "/static/images/icon/chuchaiguanli@2x.png",
- // label: "閲囪喘绠$悊",
- // },
- // {
- // icon: "/static/images/icon/chuchaiguanli@2x.png",
- // label: "鎶ヤ环绠$悊",
- // },
- // {
- // icon: "/static/images/icon/chuchaiguanli@2x.png",
- // label: "鍑哄簱绠$悊",
- // },
{
- icon: "/static/images/icon/chuchaiguanli@2x.png",
+ icon: "/static/images/icon/huiyiliebiao@2x.png",
label: "浼氳绠$悊",
},
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳璁剧疆",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳鍒楄〃",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳鐢宠",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳瀹℃壒",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳鍙戝竷",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳鎬荤粨",
- // },
- // {
- // icon: "/static/images/icon/qingjiaguanli@2x.png",
- // label: "浼氳鐪嬫澘",
- // },
{
- icon: "/static/images/icon/qingjiaguanli@2x.png",
+ icon: "/static/images/icon/tongzhigonggao@2x.png",
label: "閫氱煡鍏憡",
},
{
- icon: "/static/images/icon/qingjiaguanli@2x.png",
+ icon: "/static/images/icon/zhishiku@2x.png",
label: "鐭ヨ瘑搴�",
},
{
- icon: "/static/images/icon/qingjiaguanli@2x.png",
+ icon: "/static/images/icon/yongyinguanli@2x.png",
label: "鐢ㄥ嵃绠$悊",
},
{
- icon: "/static/images/icon/qingjiaguanli@2x.png",
+ icon: "/static/images/icon/guizhangzhidu@2x.png",
label: "瑙勭珷鍒跺害",
},
// {
@@ -407,6 +351,10 @@
// icon: '/static/images/icon/shebeitaizhang@2x.png',
// label: '璁惧鍙拌处',
// },
+ {
+ icon: "/static/images/icon/shbeibaoxiu@2x.png",
+ label: "杩愯绠$悊",
+ },
{
icon: "/static/images/icon/shbeibaoxiu@2x.png",
label: "璁惧鎶ヤ慨",
@@ -649,6 +597,11 @@
url: "/pages/equipmentManagement/ledger/index",
});
break;
+ case "杩愯绠$悊":
+ uni.navigateTo({
+ url: "/pages/equipmentManagement/runManagement/index",
+ });
+ break;
case "璁惧鎶ヤ慨":
uni.navigateTo({
url: "/pages/equipmentManagement/repair/index",
--
Gitblit v1.9.3