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

+135
View File
@@ -0,0 +1,135 @@
<template>
<view class="page">
<scroll-view scroll-y="true" scroll-top="100%">
<view class="group">
<view class="list-info-group" v-for="(item,index) in list" :key="index">
<view class="list-info-item">
<text class="list-title">{{item.FTitle}}</text>
</view>
<view class="list-info-item ">
<text>发送人:{{item.user_name}}</text>
</view>
<view class="list-info-item list-border">
<text>日期:{{item.FDateTime}}</text>
</view>
<view class="list-info-center" @click="Detail(item)">
<text>查看详情</text>
</view>
</view>
</view>
</scroll-view>
</view>
</template>
<script>
import {
mapState
} from 'vuex';
export default {
data() {
return {
list:[],
pageIndex:1
}
},
computed: {
...mapState(['hasLogin', 'userInfo'])
},
onLoad() {
this.GetPrivateInfo()
},
methods: {
GetPrivateInfo(){
let requestParams = {
"id": this.userInfo.token,
"sysKey": sysKey,
"tokenpara": this.userInfo.dbAlise
+ "," + this.userInfo.UserID
+ "," + this.userInfo.UserName
};
this.$request.post({
data: {
action: 'GetPrivateMessage',
params: requestParams,
data:{
page:this.pageIndex
}
}
}).then(res=>{
let data=JSON.parse(res)
console.log(data)
for(let item of data)
{
this.list.push(item)
}
console.log(this.list)
}).catch(err=>{
let data=JSON.parse(err)
})
},
Detail:function(data){
console.log(data)
}
}
}
</script>
<style>
page{
background-color: #F2F2F2;
}
view{
display: flex;
}
.page{
width: 100%;
height: 100%;
flex-direction: column;
align-items: center;
}
.group {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 5%;
}
.list-info-group{
background-color: #FFFFFF;
flex-direction: column;
justify-content: center;
border: 1upx solid #D8D8D8;
border-radius: 10px;
width: 80%;
height: 250upx;
margin-top: 5%;
padding-top: 5px;
}
.list-info-item{
align-items: center;
padding-left: 5%;
}
.list-border{
flex-direction: column;
justify-content: center;
align-items: flex-start;
border-bottom: 1upx solid #CCCCCC;
}
.list-info-center{
flex-direction: column;
align-items: center;
justify-content: center;
}
.list-title{
font-weight: bold;
font-size: 16px;
margin-right: 5%;
/* 文字不换行 */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; //文本不换行,这样超出一行的部分被截取,显示...
}
</style>