baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)

This commit is contained in:
Gaussian committed 2026-11-06 18:38:38 +08:00
commit c2b0e7be0d
6522 files changed
+3530643

No files matched your search

+296
View File
@@ -0,0 +1,296 @@
<template>
<view class="page">
<view class="topBar">所有应用</view>
<view style="height: 108.69rpx;width: 100%;"></view>
<view class="main">
<view class="main-item" v-for="(item ,index) in allMenu" :key="index">
<view class="m-title">
<text class="title" decode="true">&nbsp;{{item.NAME}}</text>
</view>
<view class="example-body">
<uni-grid :column="4" :show-border="false" :square="false">
<uni-grid-item v-for="(subitem ,subindex) in item.SubMenus" :key="subindex">
<view class="grid-item-box" @click="NavigateApplyKanban(subitem)" v-if="subitem.FTYPE==4">
<image class="image" src="../../../static/icon/unchecked.png" />
<text class="text">{{subitem.NAME}}</text>
</view>
<view class="grid-item-box" @click="NavigateApply(subitem.KEY)" v-else>
<image class="image" :src="require('../../../static/icon/'+subitem.KEY+'.png')" />
<text class="text">{{subitem.NAME}}</text>
</view>
</uni-grid-item>
</uni-grid>
</view>
</view>
</view>
<view class="tabBar">
<view class="tabBar-item" @click="mainSelectF">
<view v-show="mainSelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/home.png"></image>
<text class="tabBar-item-text" style="color:#007AFF">首页</text>
</view>
<view v-show="!mainSelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/home.png"></image>
<text class="tabBar-item-text" style="color: #666666;">首页</text>
</view>
</view>
<view class="tabBar-item" @click="applySelectF">
<view v-show="applySelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/apply.png"></image>
<text class="tabBar-item-text" style="color:#007AFF">应用</text>
</view>
<view v-show="!applySelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/apply.png"></image>
<text class="tabBar-item-text" style="color: #666666;">应用</text>
</view>
</view>
<!-- <view class="tabBar-item" @click="cleandarSelectF">
<view v-show="cleandarSelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/cleandar.png"></image>
<text class="tabBar-item-text" style="color:#007AFF">日程</text>
</view>
<view v-show="!cleandarSelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/cleandar.png"></image>
<text class="tabBar-item-text" style="color: #666666;">日程</text>
</view>
</view> -->
<view class="tabBar-item" @click="mySelectF">
<view v-show="mySelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/my.png"></image>
<text class="tabBar-item-text" style="color:#007AFF">我的</text>
</view>
<view v-show="!mySelect" class="tabBar-item-view">
<image class="tabBar-item-img" src="../../../static/tabbar/my.png"></image>
<text class="tabBar-item-text" style="color: #666666;">我的</text>
</view>
</view>
</view>
</view>
</template>
<script>
import uniGrid from '@/components/uni-grid/uni-grid.vue'
import uniGridItem from '@/components/uni-grid-item/uni-grid-item.vue'
import faIcon from '@/components/fa-icon/fa-icon.vue'
export default {
components: {
faIcon,
uniGrid,
uniGridItem
},
data() {
return {
allMenu: [],
mainSelect:false,
applySelect:true,
cleandarSelect:false,
mySelect:false,
}
},
onShow() {
this.allMenu = uni.getStorageSync('AllMenu')
},
methods: {
mainSelectF(){
this.mainSelect = true;
this.applySelect = false;
this.cleandarSelect = false;
this.mySelect = false;
uni.redirectTo({
url:'../home/home'
})
},
applySelectF(){
this.mainSelect = false;
this.applySelect = true;
this.cleandarSelect = false;
this.mySelect = false;
},
// cleandarSelectF(){
// this.mainSelect = false;
// this.applySelect = false;
// this.cleandarSelect = true;
// this.mySelect = false;
// uni.redirectTo({
// url:'../calendar/calender'
// })
// },
mySelectF(){
this.mainSelect = false;
this.applySelect = false;
this.cleandarSelect = false;
this.mySelect = true;
uni.redirectTo({
url:'../myinfo/myinfo'
})
},
NavigateApply(page) {
console.log(page)
if (page) {
if(page=="WMSPD42"){
uni.navigateTo({
url: '../../views/' + page + '/' + page + '?prepage=moreapply'
})
}
if(page=="SingleResRpt"){
uni.navigateTo({
url: '../SingleResRpt/SingleResRpt'
})
}
if(page=="SFC_AndonWarning"){
uni.navigateTo({
url: '../SFC_AndonWarning/SFC_AndonWarning'
})
}
else {
uni.navigateTo({
url: '../../views/' + page + '/' + page
})
}
}
},
LongTap: function() {
uni.navigateTo({
url: '../applymanage/applymanage'
})
},
// 点击跳转
NavigateApplyKanban(subitem) {
let page=subitem.Key;
if (page) {
let tempurl='../../views/KanBan/KanBan'+'?pageNumber='+page;
uni.navigateTo({
url: tempurl
})
}
},
}
}
</script>
<style>
@import url("../../../common/iconindex.css");
.page {
height: 100%;
overflow-x: hidden;
}
.topBar{
height: 181.15rpx;
line-height: 181.15rpx;
width: 100%;
/* height: var(--status-bar-height);
width: 100%; */
position: fixed;
z-index: 999;
background: #2560C9;
/* padding-left: 43.47rpx; */
text-align: center;
font-size: 32.6rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #FFFFFF;
}
.main{
padding-top: 43.47rpx;
margin-top: 0;
margin-bottom: 117.75rpx;
}
.main-item{
padding-top: 43.47rpx;
}
.m-title{
margin-left: 43.47rpx;
font-size: 32.6rpx;
font-family: PingFangSC-Medium, PingFang SC;
/* font-weight: 500; */
color: #000000;
}
.example-body {
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
padding: 0;
background-color: #ffffff;
font-size: 13px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #000000;
}
.grid-item-box {
flex: 1;
/* position: relative;
*/
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex-direction: column;
align-items: center;
justify-content: center;
padding: 15px 0;
}
.text {
padding: 10upx 0;
}
.m-bottom {
display: flex;
flex-direction: column;
/* margin: 2% 5%;
margin-bottom: 5%; */
border: 1upx dotted #CCCCCC;
justify-content: center;
align-items: center;
/* height: 160upx; */
}
.tabBar{
display: flex;
position: fixed;
flex-direction: row;
left: 0;
right: 0;
bottom: 0;
height: 119.56rpx;
background: rgba(255, 255, 255, 1);
box-shadow:2px 2px 10px rgba(0, 0, 0, 1);
}
.tabBar-item{
display: flex;
flex-direction: column;
flex-shrink: 1;
flex-grow: 1;
align-items: center ;
width: 100%;
}
.tabBar-item-view{
display: flex;
flex-direction: column;
flex-shrink: 1;
flex-grow: 1;
align-items: center ;
}
.tabBar-item-img{
height: 54.34rpx;
width: 54.34rpx;
margin-top: 16.3rpx;
}
.tabBar-item-text{
text-align: center;
height: 28.98rpx;
font-size: 28.98rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #515151;
line-height: 28.98rpx;
margin-left:0
}
</style>