From cb6a080c0aae93b80b4adf2574eeb99476f0d623 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 17 三月 2026 13:15:14 +0800
Subject: [PATCH] 军泰伟业app 1.添加营销管理模块和采购管理模块并联调 2.添加协同办公模块
---
src/pages/index.vue | 237 ++++++++++++++++++++++++++++++++++++----------------------
1 files changed, 146 insertions(+), 91 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 2a3ef52..e1dc475 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -38,77 +38,77 @@
<!-- </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 collaboration-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 collaborationItems"-->
- <!-- :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 collaboration-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 collaborationItems"
+ :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 production-module">-->
<!-- <view class="module-header">-->
@@ -235,6 +235,10 @@
label: "寮�绁ㄥ彴璐�",
},
{
+ icon: "/static/images/icon/kaipiaotaizhang@2x.png",
+ label: "鍙戣揣鍙拌处",
+ },
+ {
icon: "/static/images/icon/huikuandengji@2x.png",
label: "鍥炴鐧昏",
},
@@ -277,16 +281,37 @@
]);
// 鍗忓悓鍔炲叕鍔熻兘鏁版嵁
- const collaborationItems = reactive([
- {
- icon: "/static/images/icon/xietongshenpi@2x.png",
- label: "鍗忓悓瀹℃壒",
- },
- {
- icon: "/static/images/icon/kehubaifang@2x.png",
- label: "瀹㈡埛鎷滆",
- },
- ]);
+ // 鍗忓悓鍔炲叕鍔熻兘鏁版嵁
+ const collaborationItems = reactive([
+ {
+ icon: "/static/images/icon/baoxiaoguanli.png",
+ label: "鍗忓悓瀹℃壒",
+ },
+ {
+ icon: "/static/images/icon/huiyiliebiao@2x.png",
+ label: "浼氳绠$悊",
+ },
+ {
+ icon: "/static/images/icon/tongzhigonggao@2x.png",
+ label: "閫氱煡鍏憡",
+ },
+ {
+ icon: "/static/images/icon/zhishiku@2x.png",
+ label: "鐭ヨ瘑搴�",
+ },
+ {
+ icon: "/static/images/icon/yongyinguanli@2x.png",
+ label: "鐢ㄥ嵃绠$悊",
+ },
+ {
+ icon: "/static/images/icon/guizhangzhidu@2x.png",
+ label: "瑙勭珷鍒跺害",
+ },
+ {
+ icon: "/static/images/icon/kehubaifang@2x.png",
+ label: "瀹㈡埛鎷滆",
+ },
+ ]);
// 鐢熶骇绠℃帶鍔熻兘鏁版嵁
const productionItems = reactive([
@@ -376,6 +401,11 @@
url: "/pages/sales/invoiceLedger/index",
});
break;
+ case "鍙戣揣鍙拌处":
+ uni.navigateTo({
+ url: "/pages/sales/deliveryLedger/index",
+ });
+ break;
case "鍥炴鐧昏":
uni.navigateTo({
url: "/pages/sales/receiptPayment/index",
@@ -421,16 +451,41 @@
url: "/pages/procurementManagement/paymentLedger/index",
});
break;
- case "鍗忓悓瀹℃壒":
- uni.navigateTo({
- url: "/pages/cooperativeOffice/collaborativeApproval/index",
- });
- break;
- case "瀹㈡埛鎷滆":
- uni.navigateTo({
- url: "/pages/cooperativeOffice/clientVisit/index",
- });
- break;
+ case "鍗忓悓瀹℃壒":
+ uni.navigateTo({
+ url: "/pages/indexItem?label=鍗忓悓瀹℃壒",
+ });
+ break;
+ case "浼氳绠$悊":
+ uni.navigateTo({
+ url: "/pages/indexItem?label=浼氳绠$悊",
+ });
+ break;
+ case "閫氱煡鍏憡":
+ uni.navigateTo({
+ url: "/pages/cooperativeOffice/noticeManagement/index",
+ });
+ break;
+ case "鐭ヨ瘑搴�":
+ uni.navigateTo({
+ url: "/pages/managementMeetings/knowledgeBase/index",
+ });
+ break;
+ case "鐢ㄥ嵃绠$悊":
+ uni.navigateTo({
+ url: "/pages/managementMeetings/sealManagement/index",
+ });
+ break;
+ case "瑙勭珷鍒跺害":
+ uni.navigateTo({
+ url: "/pages/managementMeetings/rulesRegulationsManagement/index",
+ });
+ break;
+ case "瀹㈡埛鎷滆":
+ uni.navigateTo({
+ url: "/pages/cooperativeOffice/clientVisit/index",
+ });
+ break;
case "鐢熶骇璁㈠崟":
uni.navigateTo({
url: "/pages/productionManagement/productionOrder/index",
--
Gitblit v1.9.3