liuzhihui 2 年 前
コミット
802f86c74f
共有2 個のファイルを変更した15 個の追加43 個の削除を含む
  1. 0 36
      CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/repairList.vue
  2. 15 7
      CallCenterWeb.UI/RMYYAPP/pages/myTask/reportForm/reportForm.vue

+ 0 - 36
CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/repairList.vue

@@ -276,42 +276,6 @@
276 276
 
277 277
 <style lang="scss" scoped>
278 278
 	@import '@/common/uni-ui.scss';
279
-	// --
280
-	// 	.uni-badge {
281
-	// 		margin-left: 20rpx;
282
-	// 	}
283
-	
284
-	// 	/* #endif */
285
-	// 	.example-body {
286
-	// 		flex-direction: row;
287
-	// 		justify-content: flex-start;
288
-	// 	}
289
-	
290
-	// 	.uni-badge-left-margin {
291
-	// 		width: 20%;
292
-	// 	}
293
-	
294
-	// 	.uni-badge-absolute {
295
-	// 	}
296
-	
297
-	// 	.box {
298
-	// 		height: 40px;
299
-	// 		display: flex;
300
-	// 		justify-content: center;
301
-	// 		align-items: center;
302
-	// 		text-align: center;
303
-	// 		color: #fff;
304
-	// 		font-size: 12px;
305
-	// 	}
306
-	
307
-	// 	.box-text {
308
-	// 		text-align: center;
309
-	// 		color: #333;
310
-	// 		font-size: 12px;
311
-	// 		width: 100%;
312
-	// 	}
313
-	// --
314
-
315 279
 	/deep/ .segmented-control__text {
316 280
 		font-size: 1rem;
317 281
 	}

+ 15 - 7
CallCenterWeb.UI/RMYYAPP/pages/myTask/reportForm/reportForm.vue

@@ -231,13 +231,17 @@
231 231
 		},
232 232
 		onLoad(option) {
233 233
 			this.reportType = option.reportType
234
-			if (option.reportType == 1 && !option.starttime) {
234
+			if(option.reportType == 1){
235 235
 				uni.setNavigationBarTitle({
236 236
 					title: '月报'
237 237
 				})
238
+			}
239
+			//默认页面入口日期
240
+			if (option.reportType == 1 && !option.starttime) {				
238 241
 				this.defaultStartTime = this.getDateFirstTime()
239 242
 				this.defaultEndTime = this.getDateLastTime()
240 243
 			}
244
+			//获取消息入口日期
241 245
 			if(option.starttime){
242 246
 				this.defaultStartTime = option.starttime
243 247
 				this.defaultEndTime = option.endtime
@@ -295,10 +299,10 @@
295 299
 						}
296 300
 						var rowData = []
297 301
 						var colData = []
298
-						if (response.data.dt > 0) {
302
+						if (response.data.dt.length > 0) {
299 303
 							response.data.dt.forEach((item, index) => {
300 304
 								rowData.push(item.dateshownew)
301
-								colData.push(item.allcountnew)
305
+								colData.push(Number(item.allcountnew))
302 306
 								this.chartData(rowData, colData)
303 307
 							})
304 308
 						} else {
@@ -553,25 +557,29 @@
553 557
 		margin-right: 10rpx;
554 558
 		text-align: right;
555 559
 		color: #333;
556
-		font-size: 18rpx;
560
+		font-size: 20rpx;
557 561
 	}
558 562
 
559 563
 	.pertitcon {
560 564
 		width: 10%;
561 565
 		display: inline-block;
562
-		margin-right: 10rpx;
563
-		text-align: right;
566
+		/* margin-left: 10rpx; */
567
+		text-align: center;
564 568
 		color: #333;
565
-		font-size: 17rpx;
569
+		font-size: 20rpx;
566 570
 	}
567 571
 
568 572
 	.perbox {
569 573
 		margin-bottom: 30rpx;
574
+		height: 22px;
575
+		line-height: 22px;
570 576
 	}
571 577
 
572 578
 	.lineper {
573 579
 		display: inline-block;
574 580
 		width: 60%;
581
+		line-height: 22px;
582
+		vertical-align: middle;
575 583
 	}
576 584
 
577 585
 	#echartbox {