Jelajahi Sumber

文档对比图固定图片大小

jwyu 1 tahun lalu
induk
melakukan
c66d396ac8

+ 1 - 1
src/views/report_manage/addreportNew.vue

@@ -320,7 +320,7 @@
 						v-model="taskTime"
 						type="datetime"
 						placeholder="选择日期时间"
-						value-format="yyyy-MM-dd HH:mm:ss"
+						value-format="yyyy-MM-dd HH:mm"
 						:picker-options="timePickerOpt"
 					/>
 				</div>

+ 1 - 1
src/views/report_manage/editreportNew.vue

@@ -317,7 +317,7 @@
 						v-model="taskTime"
 						type="datetime"
 						placeholder="选择日期时间"
-						value-format="yyyy-MM-dd HH:mm:ss"
+						value-format="yyyy-MM-dd HH:mm"
 						:picker-options="timePickerOpt"
 					/>
 				</div>

+ 4 - 2
src/views/report_manage/mixins/reportMixin.js

@@ -9,7 +9,8 @@ import {
 export default {
   watch:{
     'taskTime'(){
-			const date = this.$moment(this.taskTime).startOf('day').format('x');
+          this.taskTime=this.$moment(this.taskTime).format('YYYY-MM-DD HH:mm')+':00'
+			    const date = this.$moment(this.taskTime).startOf('day').format('x');
 	        const nowDate = this.$moment().startOf('day').format('x');
 	        // 如果选择的是今天 则需要禁用已经过去的时间节点
 	        if (date <= nowDate) {
@@ -187,7 +188,8 @@ export default {
 				disabledDate(e){
 					return e.getTime()< new Date().getTime()-24 * 60 * 60 * 1000
 				},
-				selectableRange:'00:00:00 - 23:59:59'
+				selectableRange:'00:00:00 - 23:59:59',
+        format:'HH:mm'
 			},
     };
   },

+ 1 - 1
src/views/report_manage/reportEn/reportEditor.vue

@@ -337,7 +337,7 @@
 						v-model="taskTime"
 						type="datetime"
 						placeholder="选择日期时间"
-						value-format="yyyy-MM-dd HH:mm:ss"
+						value-format="yyyy-MM-dd HH:mm"
 						:picker-options="timePickerOpt"
 					/>
 				</div>

+ 2 - 2
src/views/semantics_manage/components/canvasTable.vue

@@ -112,7 +112,7 @@ export default {
   height: 450px;
   overflow: scroll;
   table{
-    width:100%;
+    width:1000px;
     height: 100%;
     border-collapse: collapse;
     /* position: relative; */
@@ -164,7 +164,7 @@ export default {
       }
     }
     td{
-      min-width: 200px;
+      // min-width: 200px;
       min-height: 45px;
       border: 1px solid black;
       padding:5px;