Преглед на файлове

通用审核 分公司日常汇报

zhongtianhaoyuan преди 2 години
родител
ревизия
c9481216ce
променени са 2 файла, в които са добавени 43 реда и са изтрити 23 реда
  1. 42 22
      pages/task/audit/universalityAudit.vue
  2. 1 1
      pages/universalityAudit/list.vue

+ 42 - 22
pages/task/audit/universalityAudit.vue

@@ -64,7 +64,7 @@
 				</view>
 				</u-form-item>
 			</u-form>
-			<u-form style='padding-bottom: 180rpx;' ref="uForm">
+			<u-form style='padding-bottom: 80rpx;' ref="uForm">
 				<view class="form_top">审批流</view>
 				<view class="content2">
 					<view v-for="(item,index) in auditList" :key='index' class="audit">
@@ -111,7 +111,7 @@
 								</view>
 								<view class="flex audit_img">
 									<view v-for="(items,indexs) in item.fileUrl" class="url_css">
-										<image :src="items" mode="" class="url_img" @click="auditFile(items)"></image>
+										<image :src="items" mode="aspectFill" class="url_img" @click="auditFile(items)"></image>
 									</view>
 								</view>
 							</view>
@@ -148,17 +148,21 @@
 					<view class="right-bottom">
 						{{auditMind.length}}/1000个字
 					</view>
-					<u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
-						maxlength="1000" />
+					<!-- <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
+						maxlength="1000" /> -->
+						<textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
 				</view>
 				<view class="upload_css">
 					上传附件
-					<upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="2"
+					<upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="99"
 						:size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
 						@on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
 				</view>
-				<view @click='close()' class="cancel">取消</view>
-				<view @click='passSubmit()' class="confirm">确定</view>
+				<view class="audit_btn">
+					<view @click='close()' class="cancel">取消</view>
+					<view @click='passSubmit()' class="confirm">确定</view>
+				</view>
+				
 			</view>
 		</view>
 		<view style='padding:10px;' class='flex bottom-btn'>
@@ -307,7 +311,8 @@
 			//审核方法
 			audit(list, index, status, status2, reason) {
 				uni.showLoading({
-					title: "审核中"
+					title: "审核中",
+					mask: true
 				})
 				let that = this
 				var info = that.auditMind
@@ -532,7 +537,7 @@
 	
 			.left {
 				display: flex;
-				align-items: center;
+	// 			align-items: center;
 	
 				.item1 {
 					position: relative;
@@ -549,11 +554,15 @@
 					}
 	
 					.status {
-						position: absolute;
+						text-align: center;
+						position: relative;
+						width: 18px;
+						height: 18px;
 						border-radius: 50%;
 						padding: 0px 2px;
-						right: -3px;
-						bottom: -3px;
+						margin: auto;
+						margin-right: -5px;
+						top: -16px;
 						background: #fff;
 					}
 	
@@ -619,18 +628,21 @@
 				}
 				.audit_img {
 					flex-wrap: wrap;
-					margin: 0 20rpx;
+					// margin: 0 10rpx;
+					margin-left: 20rpx;
 				
 					.url_css {
 						border: 1px solid #999999;
 						border-radius: 10px;
 						margin-top: 10px;
-						margin-right: 10px;
-				
+						margin-right: 4px;
+						overflow: hidden;
+						width: 73px;
+						height: 73px;
 						.url_img {
-							width: 80px;
-							height: 80px;
-							border-radius: 10px;
+							width: 73px;
+							height: 73px;
+							// border-radius: 10px;
 						}
 					}
 				}
@@ -768,6 +780,7 @@
 		width: 100%;
 		background: rgba(0, 0, 0, 0.4);
 		z-index: 3;
+		overflow-y: scroll;
 	
 		.wrap {
 			position: absolute;
@@ -778,7 +791,9 @@
 			margin: auto;
 			background: #fff;
 			width: calc(100% - 198rpx);
-			height: 820rpx;
+			height: 840rpx;
+			overflow-y: scroll;
+			// overflow: hidden;
 			border-radius: 20rpx;
 	
 			.alert-top {
@@ -804,17 +819,22 @@
 			}
 		}
 	}
+	.audit_btn{
+		display: flex;
+		top: 0px;
+	}
 	
 	.cancel,
 	.confirm {
-		position: absolute;
-		display: inline-block;
+		// position: absolute;
+		// display: inline-block;
 		width: 50%;
 		text-align: center;
-		bottom: 0;
+		// bottom: 0;
 		padding: 10px;
 		border-top: 1px solid #eee;
 		font-size: 34rpx;
+		margin: auto;
 	}
 	
 	.cancel {

+ 1 - 1
pages/universalityAudit/list.vue

@@ -19,7 +19,7 @@
 				<view>{{item.createDate}}</view>
 			</view>
 		</view>
-		<view v-if='show' style='text-align:center;background:#F2F6FA;'>暂无更多数据</view>
+		<view v-if='show' style='text-align:center;background:#F2F6FA;margin-top: 20rpx;'>暂无更多数据</view>
 	</view>
 </template>