From d26ff568b097248861a6cbc13bcf2acc88a54524 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期五, 23 五月 2025 11:03:06 +0800
Subject: [PATCH] 1.上靖  app端部署

---
 pages/xtsy/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pages/xtsy/index.vue b/pages/xtsy/index.vue
index 044eb60..a367537 100644
--- a/pages/xtsy/index.vue
+++ b/pages/xtsy/index.vue
@@ -21,7 +21,7 @@
 		</u-grid>
 
 
-		<u-grid style='margin: 12rpx;' :border="false" v-if="$companyType==='A'">
+		<u-grid style='margin: 12rpx;' :border="false" v-if="$companyType==='A'||$companyType==='C'">
 			<u-grid-item @click="index=>clickGridPopup(index,item.name,item.code)" v-for="(item,index) in menuList"
 				:key="item.code">
 				<img :src="item.imgurl" alt="" style='width: 116rpx;height: 116rpx;border-radius: 20rpx;'>
@@ -31,7 +31,7 @@
 
 
 		<u-grid style='margin: 12rpx;' :border="false" v-if="$companyType==='B'">
-			<u-grid-item @click="index=>clickGrid(index,item.name,item.code)" v-for="(item,index) in menuList"
+			<u-grid-item @click=" index=>clickGrid(index,item.name,item.code)" v-for="(item,index) in menuList"
 				:key="item.code">
 				<img :src="item.imgurl" alt="" style='width: 116rpx;height: 116rpx;border-radius: 20rpx;'>
 				<text class="grid-text">{{item.name}}</text>
@@ -127,6 +127,8 @@
 						// 		this.menuList.push(j)
 						// 	})
 						// })
+					} else if (this.$companyType === 'C') {
+						this.menuList = res.data.filter(i => i.code === '2004')[0].children
 					}
 
 					console.log(this.menuList, 123)

--
Gitblit v1.9.3