From 8c82102ab7bb34e29a73f56b829cd622ab34604c Mon Sep 17 00:00:00 2001
From: zhangxiaoxu <819527061@qq.com>
Date: 星期二, 25 十一月 2025 11:30:23 +0800
Subject: [PATCH] 解决运输方式显示不对得问题

---
 pages/home/home.vue |   26 ++++++++++++++++++++------
 1 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index 3179178..5950805 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -221,9 +221,9 @@
 		</view>
 
 		<!-- 鏃ヨ鍒� -->
-		<combined-title title="鏃ュ彂杩愯鍒�" detailsPath="/pages/jihua/jihua" v-if="rijihuaMenu"></combined-title>
+		<combined-title title="鏃ュ彂杩愯鍒�" detailsPath="/pages/jihua/jihua"></combined-title>
 		<view class="card-group bottomChild">
-			<combination-card class="card" :showTop="false" v-for="(item, index) in fyData.slice(0, 2)" :key="item.id" v-if="rijihuaMenu">
+			<combination-card class="card" :showTop="false" v-for="(item, index) in fyData.slice(0, 2)" :key="item.id">
 				<template v-slot:top></template>
 				<template v-slot:center>
 					<view class="main-block-box">
@@ -352,6 +352,7 @@
 	},
 	computed: {
 		rijihuaMenu() {
+      console.log(this.$store.state.rijihuaMenu,'this.$store.state.rijihuaMenu==============',this.$store.state)
 			return this.$store.state.rijihuaMenu;
 		},
 		shenqingMenu() {
@@ -420,8 +421,14 @@
 			// dataSeletText: '璇烽�夋嫨鐘舵��',
 			// 椹冲洖璇锋眰
 			rejectForm: {
-				procInstIds: '',
-				comment: ''
+        id: "",
+        procInstId: "",
+        comment: "",
+        type: 0,
+        backTaskKey: "-1",
+        sendMessage: true,
+        sendSms: true,
+        sendEmail: true,
 			},
 			modalType: 0,
 			// 鍒犻櫎鐢宠妯℃�佹
@@ -579,6 +586,7 @@
 			};
 			this.$reqGet('xscarshippingdayplan', params)
 				.then(res => {
+          console.log('鍙戣繍鏃ヨ鍒�----------------------------------',res)
 					if (res.code == 0) {
 						this.fyData = res.data.records;
 						uni.hideLoading();
@@ -684,15 +692,20 @@
 		},
 		// 椹冲洖
 		rejectClick(v) {
+      console.log('椹冲洖====',v)
 			this.modalType = 1;
 			this.rejectModalShow = true;
-			this.rejectForm.procInstIds = v.procInstId;
+			this.rejectForm.procInstId = v.procInstId;
+      this.rejectForm.id = v.id;
+      this.rejectForm.procDefId = v.procDefId;
+      this.rejectForm.priority = v.priority;
+      this.rejectForm.type = 1;
 		},
 		// 椹冲洖妯℃�佹
 		rejectModalConfirm() {
 			this.rejectModalShow = false;
 
-			this.$reqPost('backAll', this.rejectForm).then(res => {
+			this.$reqPost('back', this.rejectForm).then(res => {
 				if (res.code == 0) {
 					this.$u.toast('鎿嶄綔鎴愬姛锛�');
 				} else {
@@ -856,6 +869,7 @@
 };
 </script>
 
+
 <style lang="scss" scoped>
 ::v-deep.home {
 	width: 100%;

--
Gitblit v1.9.1