From 363a85214f8f16589688bd0b89095f546b02e359 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 27 六月 2024 14:35:01 +0800
Subject: [PATCH] ''
---
h5/pages/staff/task/index.vue | 2 +-
h5/static/ic_yizhenggai.png | 0
h5/static/ic_yituihui-1.png | 0
h5/App.vue | 3 +++
h5/pages/staff/task/vDangetAppr.vue | 48 +++++++++++++++++++++++++++++++++++++++++-------
5 files changed, 45 insertions(+), 8 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index cb8c3c8..31e5e5c 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -224,6 +224,9 @@
color: #666666;
font-size: 28rpx;
}
+.primaryColor{
+ color: $uni-color-primary;
+}
.placeholder9 {
color: #999999;
font-size: 28rpx;
diff --git a/h5/pages/staff/task/index.vue b/h5/pages/staff/task/index.vue
index 4a40c88..f3545ba 100644
--- a/h5/pages/staff/task/index.vue
+++ b/h5/pages/staff/task/index.vue
@@ -65,6 +65,7 @@
<view
class="box_list_item"
v-for="(item, index) in dataList"
+ @click="handleAppr(item)"
:key="index"
>
<view class="box_list_item_head">
@@ -117,7 +118,6 @@
<text
v-if="item.param2 == '0'"
class="btn"
- @click="handleAppr(item)"
>鍘诲鐞�</text
>
</view>
diff --git a/h5/pages/staff/task/vDangetAppr.vue b/h5/pages/staff/task/vDangetAppr.vue
index a632b34..f9df6eb 100644
--- a/h5/pages/staff/task/vDangetAppr.vue
+++ b/h5/pages/staff/task/vDangetAppr.vue
@@ -6,8 +6,14 @@
statusMap[info.status]
}}</view>
<image
+ v-if="info.status == '1'"
+ src="@/static/ic_yizhenggai.png"
+ mode="widthFix"
+ class="status_img"
+ ></image>
+ <image
v-if="info.status == '2'"
- src="@/static/ic_passed@2x.png"
+ src="@/static/ic_yituihui-1.png"
mode="widthFix"
class="status_img"
></image>
@@ -54,14 +60,14 @@
<view v-if="info.status == 1" class="module_list">
<view class="item">
<view class="label">澶勭悊缁撴灉</view>
- <!-- <view class="value">{{ info. }}</view> -->
+ <view class="value primaryColor">{{ statusMap[info.status] }}</view>
</view>
<view class="item">
<view class="label">鏁存敼鍓�</view>
<view class="value">
<view
class="adduser_list_item_ipt1_upload"
- v-for="(item, i) in dealBeforeFileList"
+ v-for="(item, i) in info.dealBeforeFileList"
:key="i"
><image
v-if="item.type == 0"
@@ -77,7 +83,7 @@
<view class="value">
<view
class="adduser_list_item_ipt1_upload"
- v-for="(item, i) in dealAfterFileList"
+ v-for="(item, i) in info.dealAfterFileList"
:key="i"
><image
v-if="item.type == 0"
@@ -171,7 +177,7 @@
</view>
</view>
<view class="emyty"></view>
- <view class="main_footer">
+ <view v-if="info.approveDateVO!=null&& info.approveDateVO.canBeApproved!=null &&info.approveDateVO.canBeApproved ==1 && info.status == 0" class="main_footer" >
<view class="btn" @click="handleBack">閫�鍥�</view>
<view class="btn transfer" @click="handleTransfer">杞氦</view>
<view class="btn handle" @click="handleOpen">澶勭悊</view>
@@ -472,8 +478,8 @@
],
statusMap: {
0: '寰呭鐞�',
- 1: '澶勭悊涓�',
- 2: '瀹℃壒閫氳繃',
+ 1: '宸叉暣鏀�',
+ 2: '宸查��鍥�',
3: '瀹℃壒鏈�氳繃',
4: '宸插彇娑�',
5: '浠栦汉鎴栫',
@@ -1017,6 +1023,34 @@
}
}
}
+ .adduser_list_item_ipt1_upload {
+ width: 120rpx;
+ height: 120rpx;
+ margin-right: 24rpx;
+ border: 2rpx solid #e5e5e5;
+ background: #f7f7f7;
+ color: #666666;
+ font-size: 22rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ .close {
+ position: absolute;
+ right: -20rpx;
+ top: -20rpx;
+ z-index: 9999;
+ }
+ image {
+ width: 100%;
+ height: 100%;
+ }
+ video {
+ width: 100%;
+ max-height: 120rpx;
+ }
+ }
.module_list {
.item {
diff --git a/h5/static/ic_yituihui-1.png b/h5/static/ic_yituihui-1.png
new file mode 100644
index 0000000..7f9ec21
--- /dev/null
+++ b/h5/static/ic_yituihui-1.png
Binary files differ
diff --git a/h5/static/ic_yizhenggai.png b/h5/static/ic_yizhenggai.png
new file mode 100644
index 0000000..fc874d8
--- /dev/null
+++ b/h5/static/ic_yizhenggai.png
Binary files differ
--
Gitblit v1.9.3