lilei vor 4 Jahren
Ursprung
Commit
210ba31531

+ 6 - 3
pages/shopTourDetails/shopTourDetails.vue

@@ -21,8 +21,8 @@
 				</view>
 			</scroll-view>
 		</view>
-		<view style="width: 100%;padding-top: 10vh;">
-			<u-empty text="暂无数据" img-width="120" v-if="itemList.length == 0" mode="list"></u-empty>
+		<view style="width: 100%;padding-top: 10vh;" v-if="itemList.length == 0">
+			<u-empty text="暂无数据" img-width="120" mode="list"></u-empty>
 		</view>
 		<!-- 查看评论 -->
 		<comment-popup :openPopup="openPopup" :comments="comments" :taskTargetPhotoList="taskTargetPhotoList" @close="closePopup" />
@@ -95,6 +95,9 @@
 		background-color: #f8f8f8;
 		height: calc(100vh - 48px);
 	}
+	.shopTourDetails{
+		height: 100%;
+	}
 	.shopTourDetails-wrap{
 		height: 100%;
 		background-color: #f8f8f8;
@@ -109,7 +112,7 @@
 			.item-con{
 				.item-tit{
 					text-align: center;
-					padding: 26upx 0;
+					padding: 26upx 20upx;
 					margin-bottom: 12upx;
 					background-color: #fff;
 					position: relative;

+ 5 - 2
pages/spotCheckConfigure/spotCheckDetail/spotCheckDetail.vue

@@ -11,7 +11,7 @@
 			</view>
 			<view class="content-item">
 				<text>执行日期:</text>
-				<view>{{pageData.buildDateDay||pageData.buildDateWeekDictValue}}</view>
+				<view>{{pageData.cycleType=='DAY'?pageData.buildDateDay:pageData.buildDateWeekDictValue}}</view>
 			</view>
 			<view class="content-item">
 				<text>执行时间:</text>
@@ -39,7 +39,7 @@
 				</view>
 			</view>
 			<view class="content-item">
-				<text>任务有效期天数:</text>
+				<text>有效期天数:</text>
 				<view>{{pageData.effectiveDay}}天</view>
 			</view>
 		</view>
@@ -112,6 +112,9 @@
 				justify-content: space-between;
 				padding: 30rpx;
 				border-bottom: 1px solid #e5e5e5;
+				> text{
+					width: 30%;
+				}
 				> view{
 					color: #666;
 				}

+ 1 - 1
pages/toDoList/addBacklog.vue

@@ -28,7 +28,7 @@
 				</u-form-item>
 			</u-form>
 			<view class="remarks">
-				<u-input v-model="remarks" type="textarea" placeholder="请输入备注..." />
+				<u-input v-model="remarks" maxlength="500" type="textarea" placeholder="请输入备注(最多500字符)..." />
 			</view>
 		</view>
 		<u-button @click="handleSave" :loading="loading" class="save-btn" type="primary">保存</u-button>

+ 2 - 3
pages/userCenter/userCenter.vue

@@ -45,17 +45,16 @@ export default {
 		const curVer = getApp().globalData.version;
 		return {
 			list: [
-				{ type: 'line', auth: true },
 				{
 					title: '个人信息',
-					auth: true,
+					auth: this.$hasPermissions("M_userInfoView_mobile"),
 					url: '/pages/userCenter/personInfo',
 					icon: 'tarenxundian',
 					color: '#55aaff'
 				},
 				{
 					title: '修改密码',
-					auth: true,
+					auth: this.$hasPermissions("M_editUserPws_mobile"),
 					url: '/pages/userCenter/changePwd',
 					icon: 'mimaxiugai',
 					color: '#ff5500'