From 8ebbb1cb3b258ba1469e507af6768a2550d6b434 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 24 六月 2025 17:01:56 +0800
Subject: [PATCH] #
---
pages/home/index.vue | 114 +++++++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 86 insertions(+), 28 deletions(-)
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 0c6f3d2..39631dc 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -4,7 +4,7 @@
<image src="../../static/img/toux.png" class="tx" mode="widthFix"></image>
<view class="text-xl margin-top-sm margin-left-lg">
<view class="text-blue text-bold text-xxl">
- 寮犵粡鐞�
+ {{user.username}}
</view>
<view class="text-gray">浠撳簱涓荤 | zy32423423</view>
</view>
@@ -19,35 +19,42 @@
</view>
<view class="cu-list grid col-4 no-border">
- <view class="cu-item">
+ <!-- <view class="cu-item">
<navigator hover-class='none' url="/pages/rece/standard" navigateTo>
<view class="cuIcon-apps text-blue">
</view>
<text>鏍囧噯鏀惰揣</text>
</navigator>
- </view>
+ </view> -->
<view class="cu-item">
<navigator hover-class='none' url="/pages/rece/other" navigateTo>
<view class="cuIcon-taoxiaopu text-blue">
</view>
- <text>鍏朵粬鏀惰揣</text>
+ <text>{{$t('index.GR')}}</text>
</navigator>
</view>
- <view class="cu-item">
+ <!-- <view class="cu-item">
<navigator hover-class='none' url="/pages/listing/disc" navigateTo>
<view class="cuIcon-cardboard text-blue">
</view>
<text>缁勭洏</text>
</navigator>
+ </view> -->
+ <view class="cu-item">
+ <navigator hover-class='none' url="/pages/listing/matnrPalletising" navigateTo>
+ <view class="cuIcon-cardboard text-blue">
+ </view>
+ <text>{{$t('index.palletizing')}}</text>
+ </navigator>
</view>
<view class="cu-item">
- <navigator hover-class='none' url="/pages/listing/untie" navigateTo>
+ <navigator hover-class='none' url="/pages/listing/unPakin" navigateTo>
<view class="cuIcon-cardboardforbid text-blue">
</view>
- <text>瑙g粦</text>
+ <text>{{$t('index.palletBuilding')}}</text>
</navigator>
</view>
@@ -55,7 +62,7 @@
<navigator hover-class='none' url="/pages/inspect/report" navigateTo>
<view class="cuIcon-edit text-blue">
</view>
- <text>鎶ユ</text>
+ <text>{{$t('index.inspectionRequest')}}</text>
</navigator>
</view>
@@ -63,50 +70,93 @@
<navigator hover-class='none' url="/pages/inspect/check" navigateTo>
<view class="cuIcon-warn text-blue">
</view>
- <text>璐ㄦ</text>
+ <text>{{$t('index.qualityInspection')}}</text>
</navigator>
</view>
- <!-- <view class="cu-item">
+ <view class="cu-item">
<navigator hover-class='none' url="/pages/inspect/bad" navigateTo>
<view class="cuIcon-appreciate text-blue">
</view>
- <text>璐х墿鏍囪</text>
+ <text>{{$t('index.defectiveMarking')}}</text>
</navigator>
- </view> -->
+ </view>
<view class="cu-item">
<navigator hover-class='none' url="/pages/listing/labour" navigateTo>
<view class="cuIcon-friendadd text-blue">
</view>
- <text>浜哄伐涓婃灦</text>
+ <text>{{$t('index.manualPutaway')}}</text>
</navigator>
</view>
-
+
+
+ </view>
+ <view class="cu-bar bg-white solid-bottom margin-top">
+ <view class="action">
+ <text class="cuIcon-title text-orange "></text> AGV
+ </view>
+ </view>
+
+ <view class="cu-list grid col-4 no-border">
<view class="cu-item">
- <navigator hover-class='none' url="/pages/listing/upper" navigateTo>
+ <navigator hover-class='none' url="/pages/AGV/AGVStaBind" navigateTo>
<view class="cuIcon-punch text-blue">
</view>
- <text>涓婃灦</text>
+ <text>{{$t('index.stationBinding')}}</text>
</navigator>
+ </view>
+ <view class="cu-item">
+ <navigator hover-class='none' url="/pages/AGV/StartInTask" navigateTo>
+ <view class="cuIcon-punch text-blue">
+ </view>
+ <text>{{$t('index.inboundInitiation')}}</text>
+ </navigator>
+ </view>
+ <view class="cu-item">
+ <navigator hover-class='none' url="/pages/AGV/StaUnBind" navigateTo>
+ <view class="cuIcon-punch text-blue">
+ </view>
+ <text>{{$t('index.stationUnbinding')}}</text>
+ </navigator>
+ </view>
+ <view class="cu-item">
+ <navigator hover-class='none' url="/pages/AGV/BindAndInTask" navigateTo>
+ <view class="cuIcon-punch text-blue">
+ </view>
+ <text>{{$t('index.bindAndInbound')}}</text>
+ </navigator>
+ </view>
+
+ </view>
+
+ <view class="cu-bar bg-white solid-bottom margin-top">
+ <view class="action">
+ <text class="cuIcon-title text-orange "></text> 鍑哄簱
</view>
</view>
-
-
-
- <!-- <view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius">
- <view class="cu-item arrow">
- <navigator class="content" url="/pages/userinfo/userinfo" hover-class="none">
- <text class="cuIcon-profile text-blue"></text>
- <text class="text-grey">涓汉淇℃伅</text>
+ <view class="cu-list grid col-4 no-border">
+ <view class="cu-item">
+ <navigator hover-class='none' url="/pages/outbound/fastPicking" navigateTo>
+ <view class="cuIcon-apps text-blue">
+ </view>
+ <text>{{$t('index.quickPicking')}}</text>
</navigator>
</view>
- </view> -->
+ <view class="cu-item">
+ <navigator hover-class='none' url="/pages/outbound/wavePick" navigateTo>
+ <view class="cuIcon-apps text-blue">
+ </view>
+ <text>{{$t('index.wavePick')}}</text>
+ </navigator>
+ </view>
+
+ </view>
<view class="padding flex flex-direction">
- <view class="cu-btn bg-red margin-tb-sm lg round" @click="equit">閫�鍑虹櫥褰�</view>
+ <view class="cu-btn bg-red margin-tb-sm lg round" @click="equit">{{$t('index.outLogin')}}</view>
</view>
</view>
</view>
@@ -116,8 +166,16 @@
export default {
data() {
return {
-
+ user:{
+
+ }
}
+ },
+
+ onShow() {
+
+
+ this.user = uni.getStorageSync('userData');
},
methods: {
equit() {
@@ -128,7 +186,7 @@
setTimeout(() => {
uni.removeStorageSync('token');
uni.reLaunch({
- url: "/pages/login/login"
+ url: "/pages/login/index"
});
}, 1000);
}
--
Gitblit v1.9.1