瀏覽代碼

提交信息

maxiaoxiao 3 月之前
父節點
當前提交
63f4d6555c
共有 2 個文件被更改,包括 10 次插入5 次删除
  1. 6 3
      pages/index/common/hcDetails.vue
  2. 4 2
      pages/index/common/tjDialog.vue

+ 6 - 3
pages/index/common/hcDetails.vue

@@ -31,11 +31,11 @@
 					<view class="list-cell list-cell-arrow" v-if="infoObj.qsxtif">
 						<view>前期影像</view>
 						{{infoObj.qsxtifimg}}
-						<image :src="infoObj.qsxtifimg" mode="widthFix"></image>
+						<image class="yximage" :src="infoObj.qsxtifimg" mode="widthFix"></image>
 					</view>
 					<view class="list-cell list-cell-arrow" v-if="infoObj.hsxtif">
 						<view>后期影像</view>
-						<image :src="infoObj.hsxtifimg" mode="widthFix"></image>
+						<image class="yximage" :src="infoObj.hsxtifimg" mode="widthFix"></image>
 					</view>
 				</view>
 				<!-- <van-cell v-for="(item, i) in jbxxs" :key="i" :title="item.name" :value="infoObj[item.prop]" /> -->
@@ -391,7 +391,10 @@
 			background: #fff;
 			padding: 10rpx;
 
-
+			.yximage {
+				width: 200rpx;
+				height: 200rpx;
+			}
 		}
 
 		.btns {

+ 4 - 2
pages/index/common/tjDialog.vue

@@ -59,8 +59,10 @@
 						this.tjform = response.data
 					else
 						this.$modal.msgError("提交信息获取失败")
-					this.tjform.dkbh = uni.$globalData.dkbh
-					this.tjform.auditflowStep = pram.auditflowStep
+					if (uni.$globalData && uni.$globalData.dkbh)
+						this.tjform.dkbh = uni.$globalData.dkbh
+					if (pram && pram.auditflowStep)
+						this.tjform.auditflowStep = pram.auditflowStep
 				})
 			},
 			submit(ref) {