From aa5be160e54d1519ad87b1d189c480f7baee498e Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 十一月 2023 14:36:00 +0800
Subject: [PATCH] aa
---
pages/business/plan/planDetails.vue | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/pages/business/plan/planDetails.vue b/pages/business/plan/planDetails.vue
index 25efd8a..4a4f5b4 100644
--- a/pages/business/plan/planDetails.vue
+++ b/pages/business/plan/planDetails.vue
@@ -31,8 +31,8 @@
</view>
<!-- 鍏朵粬淇℃伅 -->
- <view class="container">
- <view><y-title title="鍏朵粬淇℃伅"></y-title></view><view></view>
+ <view class="container" v-show="info.length > 0">
+ <view><y-title title="涓柊鍗庨厤缃�"></y-title></view><view></view>
</view>
<view class="detail-box">
<plan-detail :info="info"></plan-detail>
@@ -142,7 +142,6 @@
method: 'GET',
success(res) {
res = res.data
- console.log(res);
if (res.code === 200) {
that.detl = res.data
that.active = res.data.settle
@@ -190,6 +189,20 @@
{name:'鍏朵粬瑕佹眰鍙婃敞鎰忕偣',val:res.data.textarea_2 ? res.data.textarea_2 : '--'},
)
} else if(res.data.planType == 5) {
+ switch(res.data.select_3) {
+ case 'value1':
+ res.data.select_3 = '鐗涜吙寮�'
+ break;
+ case 'value2':
+ res.data.select_3 = '妯寮�'
+ break;
+ case 'value3':
+ res.data.select_3 = '鏂拌兘婧�'
+ break;
+ case 'value4':
+ res.data.select_3 = '鍏朵粬'
+ break;
+ }
that.info.push(
{name:'璐х墿瑙勬牸',val:res.data.input_2},
{name:'璐х墿閲嶉噺',val:res.data.input_5},
@@ -301,7 +314,7 @@
case 5:
url = `/pages/business/plan/modiPlan2?id=${id}`
break
- case 3:
+ case 6:
url = `/pages/business/plan/modiPlan3?id=${id}`
break
case 7:
--
Gitblit v1.9.1