From 100992667f2e45f80349a856fe959372b79d8beb Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 24 七月 2025 14:25:15 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
---
pages/index/index.vue | 600 +++++++++++++++++++++++++++++++++---------------------------
1 files changed, 330 insertions(+), 270 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index f76362f..e3184c7 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,9 +1,6 @@
<template>
<view class="content">
<view class="header">鏅轰簯L-MES鍒堕�犳墽琛岀郴缁�</view>
- <!-- <scroll-view scroll-y="true" id="content" :style="{
- height: `calc(100vh - ${contentTop * 2}rpx - 50rpx)`
- }"> -->
<view class="mains">
<view class="box" v-for="(item,index) in itemData" :key="index" @tap="toUrl(item)">
<image :src="item.img" mode=""></image>
@@ -12,9 +9,7 @@
</view>
</view>
</view>
-
-
- <!-- </scroll-view> -->
+
<vers></vers>
</view>
</template>
@@ -27,293 +22,358 @@
},
data() {
return {
- contentTop: 0,
serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
itemData: [{
- img: '../../static/icon/icon1.png',
- text: '璁惧妗f',
- url: '/pages/shebeidangan/table',
- id: 1
- }, {
img: '../../static/icon/icon8.png',
- text: '璁惧灞ュ巻',
- url: '/pages/shebeilvli/table',
- id: 0,
- }, {
- img: '../../static/icon/icon2.png',
- text: '璁惧淇濆吇璁″垝鍗�',
- url: '/pages/baoyangjihua/table',
- id: 2
- }, {
- img: '../../static/icon/icon3.png',
- text: '璁惧淇濆吇璁板綍鍗�',
- url: '/pages/baoyangjilu/table',
- id: 3
- }, {
+ text: '閲囪喘璁㈠崟鏍囩',
+ url: '/pages/caigoudingdan/caigoudingdan',
+ id: 1
+ },{
img: '../../static/icon/icon4.png',
- text: '璁惧鐐规璁″垝鍗�',
- url: '',
- id: 4
- }, {
- img: '../../static/icon/icon5.png',
- text: '璁惧鐐规璁板綍鍗�',
- url: '',
- id: 5,
- }, {
- img: '../../static/icon/icon6.png',
- text: '璁惧鏁呴殰鐧昏琛�',
- url: '/pages/guzhangdengji/table',
- id: 6
- }, {
- img: '../../static/icon/icon7.png',
- text: '璁惧缁翠慨璁板綍鍗�',
- url: '/pages/shebeiweixiu/table',
- id: 7,
- // },{
- // img:'../../static/icon/icon8.png',
- // text:'璁惧灞ュ巻',
- // url:'/pages/shebeilvli/table',
- // id:8,
- }, {
- img: '../../static/icon/icon9.png',
- text: '宸ュ簭杩涚珯鎺ユ敹鍗�',
- url: '/pages/gongxuIn/table',
- id: 9,
- }, {
- img: '../../static/icon/icon10.png',
- text: '宸ュ簭鍑虹珯姹囨姤鍗�',
- url: '/pages/gongxuOut/table',
- id: 10,
- }, {
+ text: '閲囪喘璁㈠崟瀛愭爣绛�',
+ url: '/pages/tiaomadaying/tiaomadaying',
+ id: 2,
+ },{
img: '../../static/icon/icon11.png',
- text: '宸ュ簭濮斿鍙戝嚭鍗�',
- url: '/pages/weiwaigxIn/table',
- id: 11,
- }, {
- img: '../../static/icon/icon12.png',
- text: '宸ュ簭濮斿鎺ユ敹鍗�',
- url: '/pages/weiwaigxOut/table',
- id: 12,
- // }, {
- // img: '../../static/icon/icon13.png',
- // text: '璁惧绠$悊',
- // url: '/pages/shebeiguanli/table',
- // id: 13,
- }, {
- img: '../../static/icon/icon14.png',
- text: '鎶ュ伐骞冲彴',
- url: '/pages/baogong/table',
- id: 14,
- }, {
- img: '../../static/icon/icon15.png',
- text: '寮傚父鍙嶉鍗�',
- url: '/pages/yichang/table',
- id: 15,
- }, {
- img: '../../static/icon/icon16.png',
- text: '寮傚父鍙嶉澶勭悊鍗�',
- url: '/pages/yichang/list',
- id: 16,
- }, {
- img: '../../static/icon/icon17.png',
- text: '閲囪喘鍏ュ簱',
- url: '/pages/caigouruku/table',
- id: 17,
- }, {
- img: '../../static/icon/icon18.png',
- text: '閲囪喘閫�鏂�',
- url: '/pages/caigoutuiliao/table',
- id: 18,
- }, {
- img: '../../static/icon/icon19.png',
- text: '閿�鍞嚭搴�',
- url: '/pages/xiaoshouchuku/table',
- id: 19,
- }, {
- img: '../../static/icon/icon20.png',
- text: '閿�鍞��璐�',
- url: '/pages/xiaoshoutuihuo/table',
- id: 20,
- }, {
- img: '../../static/icon/icon21.png',
- text: '鏀舵枡閫氱煡鍗�',
+ text: '鏀舵枡閫氱煡鍗曟爣绛�',
url: '/pages/shouliaotongzhi/table',
- id: 21,
- }, {
+ id: 3,
+ },{
+ img: '../../static/icon/icon17.png',
+ text: '閲囪喘鍏ュ簱鏂板',
+ url: '/pages/caigouruku/form?OperationType=1',
+ id: 4,
+ },{
+ img: '../../static/icon/icon20.png',
+ text: '閲囪喘閫�鏂欐柊澧�',
+ url: '/pages/caigoutuiliao/form?OperationType=1',
+ id: 5,
+ },{
+ img: '../../static/icon/icon32.png',
+ text: '鐩存帴璋冩嫧鏂板',
+ url: '',
+ id: 6,
+ },{
img: '../../static/icon/icon30.png',
- text: '鐢熶骇棰嗘枡鏍¢獙',
- url: '/pages/shengchanlingliao/table',
- id: 30,
- }, {
+ text: '鐢熶骇棰嗘枡鏂板',
+ url: '/pages/shengchanlingliaoshengdan/form?OperationType=1',
+ id: 7,
+ },{
img: '../../static/icon/icon31.png',
- text: '鐢熶骇鍏ュ簱鏍¢獙',
- url: '/pages/shengchanruku/table',
- id: 31,
- }, {
+ text: '鐢熶骇琛ユ枡鏂板',
+ url: '',
+ id: 8,
+ },{
+ img: '../../static/icon/icon17.png',
+ text: '鐢熶骇鍏ュ簱鏂板',
+ url: '',
+ id: 9,
+ },{
+ img: '../../static/icon/icon30.png',
+ text: '濮斿棰嗘枡鏂板',
+ url: '',
+ id: 10,
+ },{
+ img: '../../static/icon/icon17.png',
+ text: '鍏朵粬鍏ュ簱鏂板',
+ url: '/pages/qitaruku/form?OperationType=1',
+ id: 11,
+ },{
+ img: '../../static/icon/icon18.png',
+ text: '鍏朵粬鍑哄簱鏂板',
+ url: '/pages/qitachuku/form?OperationType=1',
+ id: 12,
+ },{
+ img: '../../static/icon/icon18.png',
+ text: '閿�鍞嚭搴撴柊澧�',
+ url: '/pages/xiaoshouchuku/form?OperationType=1',
+ id: 13,
+ },{
+ img: '../../static/icon/icon19.png',
+ text: '閿�鍞��璐ф柊澧�',
+ url: '/pages/xiaoshoutuihuo/form?OperationType=1',
+ id: 14,
+ },{
+ img: '../../static/icon/icon30.png',
+ text: '鐢熶骇棰嗘枡妫�楠�',
+ url: '/pages/shengchanlingliao/form?OperationType=1',
+ id: 15,
+ },{
+ img: '../../static/icon/icon31.png',
+ text: '鐢熶骇琛ユ枡鏍¢獙',
+ url: '/pages/shengchanbuliaojiaoyan/form?OperationType=1',
+ id: 16,
+ },{
img: '../../static/icon/icon32.png',
text: '鐢熶骇璋冩嫧鏍¢獙',
- url: '/pages/shengchandiaobo/table',
- id: 32,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鏍囩鎵撳嵃',
- url: '/pages/labelPrinter/index',
- id: 22,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '璁惧杩愯鐘舵��',
- url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
- id: 23,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '妯″叿杩愯鐘舵��',
- url: '/pages/mujvzhuangtai/mujvzhuangtai',
- id: 24,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鏉$爜鎷嗙爜',
- url: '/pages/tiaomachaima/tiaomachaima',
- id: 25,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鍏朵粬鍏ュ簱',
- url: '/pages/qitaruku/qitaruku',
- id: 26,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鍏朵粬鍑哄簱',
- url: '/pages/qitachuku/qitachuku',
- id: 27,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鏉ユ枡鏉$爜鎵撳嵃',
- url: '/pages/tiaomadaying/tiaomadaying',
- id: 28,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '涓婃ā鍗�',
- url: '/pages/MJGL/shangmudan/table',
- id: 29,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '閲囪喘璁㈠崟',
- url: '/pages/caigoudingdan/caigoudingdan',
- id: 30,
- },
- {
- img: '../../static/icon/icon16.png',
+ url: '/pages/shengchandiaobo/form?OperationType=1',
+ id: 17,
+ },{
+ img: '../../static/icon/icon18.png',
text: '鍏朵粬鍑哄簱鏍¢獙',
- url: '/pages/qitachukujiaoyan/qitachukujiaoyan',
- id: 31,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鐢熶骇琛ユ枡鏍¢獙',
- url: '/pages/shengchanbuliaojiaoyan/CacheList',
- id: 32,
- },
- {
- img: '../../static/icon/icon16.png',
+ url: '/pages/qitachukujiaoyan/detail?OperationType=1',
+ id: 18,
+ },{
+ img: '../../static/icon/icon17.png',
+ text: '鐢熶骇鍏ュ簱鏍¢獙',
+ url: '/pages/shengchanruku/form?OperationType=1',
+ id: 19,
+ },{
+ img: '../../static/icon/icon18.png',
text: '閿�鍞嚭搴撴牎楠�',
- url: '/pages/xiaoshouchukujiaoyan/table',
- id: 33,
- },
- {
- img: '../../static/icon/icon16.png',
+ url: '/pages/xiaoshouchukujiaoyan/form?OperationType=1',
+ id: 20,
+ },{
+ img: '../../static/icon/icon30.png',
text: '濮斿棰嗘枡鏍¢獙',
- url: '/pages/weiwailingliaojiaoyan/table',
- id: 34,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '閲囪喘鍏ュ簱鏍¢獙',
- url: '/pages/caigourukujiaoyan/table',
- id: 35,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '鍏朵粬鍏ュ簱鏍¢獙',
- url: '/pages/qitarukujiaoyan/table',
- id: 36,
- },
- {
- img: '../../static/icon/icon16.png',
- text: '濮斿琛ユ枡鏍¢獙',
- url: '/pages/weiwaibuliaojiaoyan/table',
- id: 37,
- },
- {
- img: '../../static/icon/icon30.png',
- text: '鐢熶骇棰嗘枡',
- url: '/pages/shengchanlingliaoshengdan/table',
- id: 38,
- },
- {
- img: '../../static/icon/icon30.png',
- text: '濮斿棰嗘枡',
- url: '/pages/weiwailingliao/table',
- id: 39,
- },
- {
- img: '../../static/icon/icon17.png',
- text: '鐢熶骇鍏ュ簱',
- url: '/pages/shengchanrukushengdan/table',
- id: 40,
- },
- {
- img: '../../static/icon/zy_icon33.png',
- text: '鐢熶骇琛ユ枡',
- url: '/pages/shengchanbuliao/table',
- id: 41,
- },
- {
- img: '../../static/icon/icon17.png',
- text: '鍏朵粬鍏ュ簱',
- url: '/pages/qitaruku_v2/table',
- id: 42,
- },
- {
- img: '../../static/icon/icon19.png',
- text: '鍏朵粬鍑哄簱',
- url: '/pages/qitachuku_v2/table',
- id: 43,
- }
- ]
+ url: '/pages/weiwailingliaojiaoyan/form?OperationType=1',
+ id: 21,
+ }],
+ // itemData: [{
+ // img: '../../static/icon/icon1.png',
+ // text: '璁惧妗f',
+ // url: '/pages/shebeidangan/table',
+ // id: 1
+ // }, {
+ // img: '../../static/icon/icon8.png',
+ // text: '璁惧灞ュ巻',
+ // url: '/pages/shebeilvli/table',
+ // id: 0,
+ // }, {
+ // img: '../../static/icon/icon2.png',
+ // text: '璁惧淇濆吇璁″垝鍗�',
+ // url: '/pages/baoyangjihua/table',
+ // id: 2
+ // }, {
+ // img: '../../static/icon/icon3.png',
+ // text: '璁惧淇濆吇璁板綍鍗�',
+ // url: '/pages/baoyangjilu/table',
+ // id: 3
+ // }, {
+ // img: '../../static/icon/icon4.png',
+ // text: '璁惧鐐规璁″垝鍗�',
+ // url: '',
+ // id: 4
+ // }, {
+ // img: '../../static/icon/icon5.png',
+ // text: '璁惧鐐规璁板綍鍗�',
+ // url: '',
+ // id: 5,
+ // }, {
+ // img: '../../static/icon/icon6.png',
+ // text: '璁惧鏁呴殰鐧昏琛�',
+ // url: '/pages/guzhangdengji/table',
+ // id: 6
+ // }, {
+ // img: '../../static/icon/icon7.png',
+ // text: '璁惧缁翠慨璁板綍鍗�',
+ // url: '/pages/shebeiweixiu/table',
+ // id: 7,
+ // // },{
+ // // img:'../../static/icon/icon8.png',
+ // // text:'璁惧灞ュ巻',
+ // // url:'/pages/shebeilvli/table',
+ // // id:8,
+ // }, {
+ // img: '../../static/icon/icon9.png',
+ // text: '宸ュ簭杩涚珯鎺ユ敹鍗�',
+ // url: '/pages/gongxuIn/table',
+ // id: 9,
+ // }, {
+ // img: '../../static/icon/icon10.png',
+ // text: '宸ュ簭鍑虹珯姹囨姤鍗�',
+ // url: '/pages/gongxuOut/table',
+ // id: 10,
+ // }, {
+ // img: '../../static/icon/icon11.png',
+ // text: '宸ュ簭濮斿鍙戝嚭鍗�',
+ // url: '/pages/weiwaigxIn/table',
+ // id: 11,
+ // }, {
+ // img: '../../static/icon/icon12.png',
+ // text: '宸ュ簭濮斿鎺ユ敹鍗�',
+ // url: '/pages/weiwaigxOut/table',
+ // id: 12,
+ // // }, {
+ // // img: '../../static/icon/icon13.png',
+ // // text: '璁惧绠$悊',
+ // // url: '/pages/shebeiguanli/table',
+ // // id: 13,
+ // }, {
+ // img: '../../static/icon/icon14.png',
+ // text: '鎶ュ伐骞冲彴',
+ // url: '/pages/baogong/table',
+ // id: 14,
+ // }, {
+ // img: '../../static/icon/icon15.png',
+ // text: '寮傚父鍙嶉鍗�',
+ // url: '/pages/yichang/table',
+ // id: 15,
+ // }, {
+ // img: '../../static/icon/icon16.png',
+ // text: '寮傚父鍙嶉澶勭悊鍗�',
+ // url: '/pages/yichang/list',
+ // id: 16,
+ // }, {
+ // img: '../../static/icon/icon17.png',
+ // text: '閲囪喘鍏ュ簱',
+ // url: '/pages/caigouruku/table',
+ // id: 17,
+ // }, {
+ // img: '../../static/icon/icon18.png',
+ // text: '閲囪喘閫�鏂�',
+ // url: '/pages/caigoutuiliao/table',
+ // id: 18,
+ // }, {
+ // img: '../../static/icon/icon19.png',
+ // text: '閿�鍞嚭搴�',
+ // url: '/pages/xiaoshouchuku/table',
+ // id: 19,
+ // }, {
+ // img: '../../static/icon/icon20.png',
+ // text: '閿�鍞��璐�',
+ // url: '/pages/xiaoshoutuihuo/table',
+ // id: 20,
+ // }, {
+ // img: '../../static/icon/icon21.png',
+ // text: '鏀舵枡閫氱煡鍗�',
+ // url: '/pages/shouliaotongzhi/table',
+ // id: 21,
+ // },{
+ // img: '../../static/icon/icon30.png',
+ // text: '鐢熶骇棰嗘枡鏍¢獙',
+ // url: '/pages/shengchanlingliao/table',
+ // id: 30,
+ // },{
+ // img: '../../static/icon/icon31.png',
+ // text: '鐢熶骇鍏ュ簱鏍¢獙',
+ // url: '/pages/shengchanruku/table',
+ // id: 31,
+ // },{
+ // img: '../../static/icon/icon32.png',
+ // text: '鐢熶骇璋冩嫧鏍¢獙',
+ // url: '/pages/shengchandiaobo/table',
+ // id: 32,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鏍囩鎵撳嵃',
+ // url: '/pages/labelPrinter/index',
+ // id: 22,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '璁惧杩愯鐘舵��',
+ // url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
+ // id: 23,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '妯″叿杩愯鐘舵��',
+ // url: '/pages/mujvzhuangtai/mujvzhuangtai',
+ // id: 24,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鏉$爜鎷嗙爜',
+ // url: '/pages/tiaomachaima/tiaomachaima',
+ // id: 25,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鍏朵粬鍏ュ簱',
+ // url: '/pages/qitaruku/qitaruku',
+ // id: 26,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鍏朵粬鍑哄簱',
+ // url: '/pages/qitachuku/qitachuku',
+ // id: 27,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鏉ユ枡鏉$爜鎵撳嵃',
+ // url: '/pages/tiaomadaying/tiaomadaying',
+ // id: 28,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '涓婃ā鍗�',
+ // url: '/pages/MJGL/shangmudan/table',
+ // id: 29,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '閲囪喘璁㈠崟',
+ // url: '/pages/caigoudingdan/caigoudingdan',
+ // id: 30,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鍏朵粬鍑哄簱鏍¢獙',
+ // url: '/pages/qitachukujiaoyan/qitachukujiaoyan',
+ // id: 31,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鐢熶骇琛ユ枡鏍¢獙',
+ // url: '/pages/shengchanbuliaojiaoyan/CacheList',
+ // id: 32,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '閿�鍞嚭搴撴牎楠�',
+ // url: '/pages/xiaoshouchukujiaoyan/table',
+ // id: 33,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '濮斿棰嗘枡鏍¢獙',
+ // url: '/pages/weiwailingliaojiaoyan/table',
+ // id: 34,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '閲囪喘鍏ュ簱鏍¢獙',
+ // url: '/pages/caigourukujiaoyan/table',
+ // id: 35,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '鍏朵粬鍏ュ簱鏍¢獙',
+ // url: '/pages/qitarukujiaoyan/table',
+ // id: 36,
+ // },
+ // {
+ // img: '../../static/icon/icon16.png',
+ // text: '濮斿琛ユ枡鏍¢獙',
+ // url: '/pages/weiwaibuliaojiaoyan/table',
+ // id: 37,
+ // },
+ // {
+ // img: '../../static/icon/icon17.png',
+ // text: '鐢熶骇棰嗘枡',
+ // url: '/pages/shengchanlingliaoshengdan/table',
+ // id: 38,
+ // },
+ // ]
}
},
onLoad() {
- // this.$nextTick(() => {
- // this.setScrollHeight()
- // })
+
},
methods: {
- setScrollHeight() {
- // const query = uni.createSelectorQuery().in(this);
- // query.select("#content")
- // .boundingClientRect((data) => {
- // this.contentTop = data.top
- // })
- // .exec()
- },
toUrl(item) {
if (item.url) {
uni.navigateTo({
url: item.url
})
} else {
- // uni.showToast({
- // title:'鍔熻兘寮�鍙戜腑銆傘�傘��',
- // icon:'none'
- // })
+ uni.showToast({
+ title:'鍔熻兘寮�鍙戜腑銆傘�傘��',
+ icon:'none'
+ })
}
}
}
@@ -337,7 +397,7 @@
display: flex;
flex-wrap: wrap;
margin-top: 3vh;
- // padding-bottom: 5vh;
+ padding-bottom: 5vh;
.box {
width: 25%;
--
Gitblit v1.9.1