From 94503c7382778632731b36cf6ad47f7552e4ccf9 Mon Sep 17 00:00:00 2001
From: xuefei <564615061@qq.cm>
Date: 星期六, 29 十一月 2025 14:47:07 +0800
Subject: [PATCH] fix:批量通过参数错误
---
pages/home/home.vue | 30 ++++++++++++++++++++++--------
1 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 3179178..d14b171 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -4,8 +4,8 @@
<view class="home_swipe"><u-swiper :list="list3" indicator indicatorMode="line" circular></u-swiper></view>
<!-- 鍥捐〃 -->
- <combined-title title="鐓や粨搴撳瓨鏄庣粏"></combined-title>
- <view class="charts-box">
+ <combined-title v-if="uchartsData && uchartsData.length > 0" title="鐓や粨搴撳瓨鏄庣粏"></combined-title>
+ <view class="charts-box" v-if="uchartsData && uchartsData.length > 0">
<qiun-data-charts type="pie" :opts="opts" :chartData="chartData" v-if="uchartsData.length > 0" />
<u-empty mode="data" iconSize="200" textSize="25" width="350" height="350" icon="http://cdn.uviewui.com/uview/empty/data.png" v-if="uchartsData.length == 0"></u-empty>
</view>
@@ -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