|
|
@@ -183,6 +183,24 @@
|
|
|
<uni-icons type="right" :color="'#CACCCF'" size="15" />
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!-- 瑞英报表 -->
|
|
|
+ <view
|
|
|
+ class="card-cell flex-row align-center justify-between"
|
|
|
+ @click="openRuiYingReportPopup"
|
|
|
+ >
|
|
|
+ <image src="/static/home/ruiying.png" mode="aspectFill"></image>
|
|
|
+ <view class="cell-con flex-row align-center justify-between">
|
|
|
+ <view class="cell-text flex-row align-center justify-start">
|
|
|
+ <view class="title">
|
|
|
+ {{ $t("home.ruiYingReport") }}
|
|
|
+ </view>
|
|
|
+ <view class="subtitle">
|
|
|
+ {{ $t("home.ruiDuReportTip") }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <uni-icons type="right" :color="'#CACCCF'" size="15" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view
|
|
|
class="card-cell flex-row align-center justify-between"
|
|
|
@click="navigatorTo('/pages/ruihen-task/index')"
|
|
|
@@ -495,6 +513,30 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
+
|
|
|
+ <!-- 瑞鹰 -->
|
|
|
+ <uni-popup
|
|
|
+ ref="ruiYingReportPopup"
|
|
|
+ type="bottom"
|
|
|
+ background-color="#fff"
|
|
|
+ border-radius="10px 10px 0 0"
|
|
|
+ >
|
|
|
+ <view class="report-popup">
|
|
|
+ <view class="report-popup-header">
|
|
|
+ {{ $t("ruiYingReport.selectTitle") }}
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
+ class="report-popup-item"
|
|
|
+ @click="navigateToRuiYingReport('/pages/ruiYingReport/index')"
|
|
|
+ >
|
|
|
+ {{ $t("ruiDuReport.dailyDetail") }}
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="report-popup-cancel" @click="closeRuiYingReportPopup">
|
|
|
+ {{ $t("operation.cancel") }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -533,6 +575,14 @@ const closeRuiHengReportPopup = () => {
|
|
|
ruiHengReportPopup.value?.close();
|
|
|
};
|
|
|
|
|
|
+// 瑞鹰
|
|
|
+const ruiYingReportPopup = ref(null);
|
|
|
+const openRuiYingReportPopup = () => {
|
|
|
+ ruiYingReportPopup.value?.open();
|
|
|
+};
|
|
|
+const closeRuiYingReportPopup = () => {
|
|
|
+ ruiYingReportPopup.value?.close();
|
|
|
+};
|
|
|
const navigateToRuiDuReport = (url) => {
|
|
|
closeRuiDuReportPopup();
|
|
|
uni.navigateTo({ url });
|
|
|
@@ -543,6 +593,11 @@ const navigateToRuiHengReport = (url) => {
|
|
|
uni.navigateTo({ url });
|
|
|
};
|
|
|
|
|
|
+const navigateToRuiYingReport = (url) => {
|
|
|
+ closeRuiYingReportPopup();
|
|
|
+ uni.navigateTo({ url });
|
|
|
+};
|
|
|
+
|
|
|
const messageCount = ref(0);
|
|
|
onMounted(async () => {
|
|
|
await Promise.all([
|
|
|
@@ -647,7 +702,7 @@ onShow(async () => {
|
|
|
<style lang="scss" scoped>
|
|
|
.home {
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ height: 100vh;
|
|
|
position: relative;
|
|
|
box-sizing: border-box;
|
|
|
overflow: hidden;
|