luowei 1 ano atrás
pai
commit
7fbd46388d

+ 1 - 1
src/views/core/reportForms/monitorAccessReport.vue

@@ -203,8 +203,8 @@ setWeekNum() {
   const fromTime = newTime - day * oneDayTime;
   const endTime = newTime + (7 - day) * oneDayTime;
   const fromDate = new Date(fromTime);
-  this.startDate = fromDate.getFullYear() + '-' + this.p((fromDate.getMonth() + 1)) + '-' + this.p(fromDate.getDate() + 1);
   const toDate = new Date(endTime);
+  this.startDate = fromDate.getFullYear() + '-' + this.p((fromDate.getMonth() + 1)) + '-' + this.p(fromDate.getDate() + 1);
   this.endDate = toDate.getFullYear() + '-' + this.p((toDate.getMonth() + 1)) + '-' + this.p(toDate.getDate());
   this.queryParams.startDate = this.startDate;
   this.queryParams.endDate = this.endDate;

+ 3 - 3
src/views/system/dept/extend.vue

@@ -294,7 +294,7 @@
             <el-descriptions-item v-if="type === org_type.jkzx" labelClassName="gx_info_label" label="最近一次改造时间">
               <el-date-picker
                 clearable
-                v-model="constructionTime"
+                v-model="lastUpdateTime"
                 type="date"
                 value-format="yyyy-MM-dd HH:mm:ss"
                 placeholder="请选择最近一次改造时间"
@@ -511,8 +511,6 @@
   import {selectCityInfoVoList} from "@/api/core/weather";
   import TreeNodeDialogVue from "../../tool/build/TreeNodeDialog.vue";
 export default {
-  fillter: {},
-
   dicts: [
   "duty_options",
     "sys_org_type",
@@ -530,6 +528,8 @@ export default {
   
   ],
 
+  fillter: {},
+
   components: {
     ImgsUpload,
     "el-image-viewer": () =>