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

+71
View File
@@ -0,0 +1,71 @@
<template>
<view>
<web-view :webview-styles="webviewStyles" :src="kanbanUrl" />
</view>
</template>
<script>
import errorUtil from '@/common/errorutil.js';
export default {
data() {
return {
webviewStyles: {
progress: {
color: '#FF3333'
}
},
kanbanUrl: '',
}
},
onLoad(query) {
let pageTitle = '看板';
if (query.title) {
pageTitle = query.title;
}
uni.setNavigationBarTitle({
title: pageTitle
});
let requestUrl = 'http://192.168.0.3/ODKV60/ODKApi/O3/v1/Authentication/RequestToken';
let pageUrl = '';
let billNo = query.billNo;
let menuid = query.menuid;
let tokenParams = uni.getStorageSync('RequestToken');
uni.request({
url: requestUrl,
data: tokenParams,
method: 'POST',
header: {
'content-type': 'application/json'
},
success: (res) => {
let token = res.data.Data.token;
if (token) {
pageUrl = 'http://192.168.0.3/ODKV60/KanBan/pre';
pageUrl = pageUrl + '?token=' + token;
let bills = billNo.split(';');
pageUrl = pageUrl + '&billNo=' + bills[0]
if (bills.length > 1) {
pageUrl = pageUrl + + '&menuid=' + menuid;
}
this.kanbanUrl = pageUrl;
}
else {
uni.showToast({
title: '登录看板失败;请确认设备的网络状态或者联系系统管理员确认服务器和站点状态!',
icon: 'none',
});
}
},
fail: (res) => {
errorUtil.handle(err)
},
});
}
}
</script>
<style>
</style>