From 72ea36da98e2e5803386257e72242dbc29f6daa6 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 15 一月 2026 16:09:33 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/index/tab1.vue |  223 +++++++++++--------------------------------------------
 1 files changed, 46 insertions(+), 177 deletions(-)

diff --git a/pages/index/tab1.vue b/pages/index/tab1.vue
index 847248e..541524a 100644
--- a/pages/index/tab1.vue
+++ b/pages/index/tab1.vue
@@ -6,14 +6,14 @@
 			</view>
 		</view>
 		<view class="mains">
-			<view v-if="!canEdit" :hidden="item.hidden" class="box" v-for="(item,index) in itemData" :key="index"
+			<view v-if="!canEdit" :hidden="item.hidden||!item.id" class="box" v-for="(item,index) in itemData" :key="index"
 				@tap="toUrl(item)">
 				<image :src="item.img" mode=""></image>
 				<view class="texts">
 					{{item.text}}
 				</view>
 			</view>
-			<view :enable-hidden="item.hidden" v-if="canEdit" class="box edit" v-for="(item,index) in itemData"
+			<view :enable-hidden="item.hidden" :hidden="!item.id" v-if="canEdit" class="box edit" v-for="(item,index) in itemData"
 				:key="index" @tap="switchHidden(index)">
 				<uni-icons class="edit-mark" color="red" type="closeempty"></uni-icons>
 				<image :src="item.img" mode=""></image>
@@ -39,198 +39,71 @@
 						img: '../../static/icon/icon9.png',
 						text: '宸ュ簭杩涚珯鎺ユ敹鍗曟柊澧�',
 						tip: '绔嬪嵆鏂板',
-						url: '/pages/gongxuIn/form',
+						url: '/pages/gongxuIn/Cj_StationInBill',
 						id: 1,
 						hidden: false,
-					}, {
-						img: '../../static/icon/icon9.png',
-						text: '宸ュ簭杩涚珯鎺ユ敹鍗曞垪琛�',
-						tip: '鏌ョ湅鍒楄〃',
-						url: '/pages/gongxuIn/table',
-						id: 2,
-						hidden: false,
-					}, {
+					}, 
+					
+					{
 						img: '../../static/icon/icon10.png',
 						text: '宸ュ簭鍑虹珯姹囨姤鍗曟柊澧�',
 						tip: '绔嬪嵆鏂板',
-						url: '/pages/gongxuOut/form',
-						id: 3,
+						url: '/pages/gongxuOut/Cj_StationOutBill',
+						id: 2,
 						hidden: false,
-					}, {
-						img: '../../static/icon/icon10.png',
-						text: '宸ュ簭鍑虹珯姹囨姤鍗曞垪琛�',
-						tip: '鏌ョ湅鍒楄〃',
-						url: '/pages/gongxuOut/table',
-						id: 4,
-						hidden: false,
-					}, {
+					}, 
+					
+					{
 						img: '../../static/icon/icon11.png',
 						text: '宸ュ簭濮斿鍙戝嚭鍗曟柊澧�',
 						tip: '绔嬪嵆鏂板',
-						url: '/pages/weiwaigxIn/form',
-						id: 5,
+						url: '/pages/weiwaigxIn/Cj_StationEntrustInBill',
+						id: 3,
 						hidden: false,
-					}, {
-						img: '../../static/icon/icon11.png',
-						text: '宸ュ簭濮斿鍙戝嚭鍗曞垪琛�',
-						tip: '鏌ョ湅鍒楄〃',
-						url: '/pages/weiwaigxIn/table',
-						id: 6,
-						hidden: false,
-					}, {
+					}, 
+					
+					{
 						img: '../../static/icon/icon12.png',
 						text: '宸ュ簭濮斿鎺ユ敹鍗曟柊澧�',
 						tip: '绔嬪嵆鏂板',
-						url: '/pages/weiwaigxOut/form',
-						id: 7,
+						url: '/pages/weiwaigxOut/Cj_StationEntrustOutBill',
+						id: 4,
 						hidden: false,
-					}, {
-						img: '../../static/icon/icon12.png',
-						text: '宸ュ簭濮斿鎺ユ敹鍗曞垪琛�',
-						tip: '鏌ョ湅鍒楄〃',
-						url: '/pages/weiwaigxOut/table',
-						id: 8,
-						hidden: false,
-					}
-					, {
-						img: '../../static/icon/icon1.png',
-						text: '璁惧妗f鏌ヨ',
-						tip: '鏌ョ湅璇︽儏',
-						url: '/pages/shebeidangan/table',
-						id: 9,
-						hidden: true,
-					}, {
-						img: '../../static/icon/icon8.png',
-						text: '璁惧灞ュ巻鏌ヨ',
-						tip: '鏌ョ湅璇︽儏',
-						url: '/pages/shebeilvli/table',
-						id: 10,
-						hidden: true,
-					}, {
+					}, 
+					
+					{
 						img: '../../static/icon/icon14.png',
 						text: '鎴戠殑鎶ュ伐骞冲彴',
 						tip: '鐐瑰嚮杩涘叆',
-						url: '/pages/baogong/table',
-						id: 11,
-						hidden: true,
-					}, {
-						img: '../../static/icon/icon32.png',
-						text: '璁惧杩愯鐘舵��',
-						tip: '鏌ョ湅璇︽儏',
-						url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
-						id: 14,
-						hidden: true,
-					}, {
-						img: '../../static/icon/icon6.png',
-						text: '妯″叿鐘舵�佸垎鏋�',
-						tip: '鏌ョ湅璇︽儏',
-						url: '/pages/mujvzhuangtai/mujvzhuangtai',
-						id: 15,
-						hidden: true,
-					
-					}, {
-						img: '../../static/icon/icon10.png',
-						text: '鎴戠殑浠诲姟',
-						tip: '绔嬪嵆鏂板',
-						url: '/pages/gongxuOutSendWork/table',
-						id: 16,
+						url: '/pages/baogong/IpadIndex',
+						id: 5,
 						hidden: false,
 					}, 
 					{
-						img: '../../static/icon/icon16.png',
-						text: '鍣ㄥ叿瀵垮懡',
-						url: '/pages/shoujishouming/table',
-						id: 17,
+						img: '../../static/icon/icon10.png',
+						text: '鎴戠殑浠诲姟',
+						tip: '绔嬪嵆鏂板',
+						url: '/pages/gongxuOutSendWork/gongxuOutSendWorkBill',
+						id: 6,
+						hidden: false,
+					}, 
+					{
+						img: '../../static/icon/icon12.png',
+						text: '鍛樺伐绛惧埌璁板綍鍗�',
+						tip: '绔嬪嵆鏂板',
+						url: '/pages/EmployeeRecords/EmployeeRecordsBill',
+						id: 7,
 						hidden: false,
 					},
-					
+					{
+						img: '../../static/icon/icon12.png',
+						text: '鍛樺伐绛惧埌璁板綍鍗曞垪琛�',
+						tip: '鐐瑰嚮杩涘叆',
+						url: '/pages/EmployeeRecords/EmployeeRecordsBillList',
+						id: 8,
+						hidden: false,
+					}
 				]
-				// itemData: [{
-				// 	//  img:'../../static/icon0.png',
-				// 	//  text:'鎶ヨ〃涓績',
-				// 	//  url:'/pages/shebeilvli/table',
-				// 	//  id:0
-				// 	// },{
-				// 	img: '../../static/icon/icon_a1.png',
-				// 	text: '璁惧妗f',
-				// 	url: '/pages/shebeidangan/table',
-				// 	id: 1
-				// }, {
-				// 	img: '../../static/icon/icon_a2.png',
-				// 	text: '璁惧淇濆吇璁″垝鍗�',
-				// 	url: '/pages/baoyangjihua/table',
-				// 	id: 2
-				// }, {
-				// 	img: '../../static/icon/icon_a3.png',
-				// 	text: '璁惧淇濆吇璁板綍鍗�',
-				// 	url: '/pages/baoyangjilu/table',
-				// 	id: 3
-				// 	// },{
-				// 	//  img:'../../static/icon/icon_a4.png',
-				// 	//  text:'璁惧鐐规璁″垝鍗�',
-				// 	//  url:'',
-				// 	//  id:4
-				// 	// },{
-				// 	//  img:'../../static/icon/icon_a5.png',
-				// 	//  text:'璁惧鐐规璁板綍鍗�',
-				// 	//  url:'',
-				// 	//  id:5,
-				// }, {
-				// 	img: '../../static/icon/icon_a6.png',
-				// 	text: '璁惧鏁呴殰鐧昏琛�',
-				// 	url: '/pages/guzhangdengji/table',
-				// 	id: 6
-				// }, {
-				// 	img: '../../static/icon/icon_a7.png',
-				// 	text: '璁惧缁翠慨璁板綍鍗�',
-				// 	url: '/pages/shebeiweixiu/table',
-				// 	id: 7,
-				// }, {
-				// 	img: '../../static/icon/icon_a8.png',
-				// 	text: '璁惧灞ュ巻',
-				// 	url: '/pages/shebeilvli/table',
-				// 	id: 8,
-				// }, {
-				// 	img: '../../static/icon/icon_a9.png',
-				// 	text: '宸ュ簭杩涚珯鎺ユ敹鍗�',
-				// 	url: '/pages/gongxuIn/table',
-				// 	id: 9,
-				// }, {
-				// 	img: '../../static/icon/icon_a10.png',
-				// 	text: '宸ュ簭鍑虹珯姹囨姤鍗�',
-				// 	url: '/pages/gongxuOut/table',
-				// 	id: 10,
-				// }, {
-				// 	img: '../../static/icon/icon_a11.png',
-				// 	text: '宸ュ簭濮斿鍙戝嚭鍗�',
-				// 	url: '/pages/weiwaigxIn/table',
-				// 	id: 11,
-				// }, {
-				// 	img: '../../static/icon/icon_a12.png',
-				// 	text: '宸ュ簭濮斿鎺ユ敹鍗�',
-				// 	url: '/pages/weiwaigxOut/table',
-				// 	id: 12,
-				// // }, {
-				// // 	img: '../../static/icon/icon_a13.png',
-				// // 	text: '璁惧绠$悊',
-				// // 	url: '',
-				// // 	id: 13,
-				// }, {
-				// 	img: '../../static/icon/icon_a14.png',
-				// 	text: '鎶ュ伐骞冲彴',
-				// 	url: '/pages/baogong/table',
-				// 	id: 14,
-				// }, {
-				// 	img: '../../static/icon/icon_a15.png',
-				// 	text: '寮傚父鍙嶉鍗�',
-				// 	url: '/pages/yichang/table',
-				// 	id: 15,
-				// }, {
-				// 	img: '../../static/icon/icon_a16.png',
-				// 	text: '寮傚父鍙嶉澶勭悊鍗�',
-				// 	url: '/pages/yichang/list',
-				// 	id: 16,
-				// }]
 			}
 		},
 		onLoad() {
@@ -238,16 +111,12 @@
 		},
 		methods: {
 			async getHiddenItem() {
-				// let itemCache = uni.getStorageSync('HTab1ItemData') || ''
-				// console.log('itemCache: ', itemCache);
-				// if (itemCache !== '') {
-				// 	this.itemData = itemCache
-				// }
 				let data = await getMenuList({
 					menuName: this.menuListName
 				})
 				Array.from(data).forEach(e => {
-					this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"]) 
+					this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"])
+					this.itemData[e["HIndex"]].id = e["HEntryID"];//id涓�0寮哄埗闅愯棌
 				})
 			},
 			switchHidden(index) {

--
Gitblit v1.9.1