瀏覽代碼

bug提交

twt 3 年之前
父節點
當前提交
9e5d925f87

+ 21 - 4
operatingCompany/pages/entryReport/entered.vue

@@ -217,7 +217,9 @@
 					a.reverse();
 					console.log(a)
 				    a.forEach(item=>{
-						item.sectionList.forEach(v=>{
+						var b=JSON.parse(JSON.stringify(item.sectionList))
+						b.reverse();
+						b.forEach(v=>{
 							if(v.isRequired==1){
 								if(!v.check){
 									go=false
@@ -286,12 +288,12 @@
 							id:v.id,
 							itemList:[]
 						}
-						if(v.isRequired==1){
+						/* if(v.isRequired==1){
 							if(!v.check){
 								go=false
 								name=v.checkName
 							}
-						}
+						} */
 						
 						v.itemList.forEach(i=>{
 							var itemObj={
@@ -315,7 +317,22 @@
 				})
 							
 				console.log('categoryList')
-				console.log(categoryList)
+				console.log(categoryList);
+				var a = JSON.parse(JSON.stringify(this.list));
+				a.reverse();
+				console.log(a)
+				a.forEach(item=>{
+					var b=JSON.parse(JSON.stringify(item.sectionList))
+					b.reverse();
+					b.forEach(v=>{
+						if(v.isRequired==1){
+							if(!v.check){
+								go=false
+								name=v.checkName
+							}
+						}
+					})
+				})
 				if(!go){
 					uni.showToast({
 					    title: '请填写'+name,

+ 1 - 1
operatingCompany/pages/entryReport/entryredItem.vue

@@ -29,7 +29,7 @@
 					    <image src="../../static/img/icon_delpic@2x.png" mode=""  class="delImg" @click="delimg(item,imgindex)"></image>
 					</view>
 					<view class="imgLine" @click="uploadImg(item)">
-						<image src="../../static/img/icon_addpic@2x.png" mode="" class="itemImg"></image>
+						<image src="../../static/img/icon_addpic@2x.png" mode="" class="itemImg" style="margin-right: 0;"></image>
 					</view>
 				</view>
 			</view>

+ 3 - 2
operatingCompany/pages/reportManage/reportDetail.vue

@@ -86,10 +86,11 @@
 						<view class="itemList" v-for="(v,index3) in list.itemList" :key="v.id" >
 							<view class="itemTOp">
 								<view class="itemName">{{v.itemName}}</view>
-								<view class="itemSorce" v-if="v.keyType==4">{{v.itemValue}}分</view>
+								<view class="itemSorce" v-if="v.keyType==4&&v.itemValue" >{{v.itemValue}}分</view>
+								<view class="itemSorce" v-else >暂无得分</view>
 							</view>
 							<view class="itemdescribe" v-if="v.describe">{{v.describe}}</view>
-							<view class="ckImemBox" v-if="v.keyType==1">
+							<view class="ckImemBox" v-if="v.keyType==1&&v.itemValue">
 								<view class="ckItemLIne" v-for="(ckv,i) in v.itemValue.split(',')" >
 									{{ckv}}
 								</view>

+ 2 - 2
operatingCompany/pages/shop/shopIndex/reviews.vue

@@ -28,7 +28,7 @@
 						<!-- 订单状态 1 待提交 2 待作业 3 待点评 4 待回复 5 已完成 -->
 						<view class="type" v-if="item.State == 1">待提交</view>
 						<view class="type" v-if="item.State == 2">待作业</view>
-						<view class="type" v-if="item.State == 3">待点评</view>
+						<view class="type" v-if="item.State == 3">待运营经理点评</view>
 						<view class="type" v-if="item.State == 4">待回复</view>
 						<view class="type" v-if="item.State == 5">已完成</view>
 			
@@ -263,7 +263,7 @@
 		font-size: 28rpx;
 		color: #3C3C3C;
 		font-weight: bold;
-		width: 500rpx;
+		width: 450rpx;
 	}
 
 	.type {