scorpio преди 2 години
родител
ревизия
ba99078b7d
променени са 2 файла, в които са добавени 4 реда и са изтрити 5 реда
  1. 0 1
      src/views/home/component/dash.vue
  2. 4 4
      src/views/home/component/owner_serach.vue

+ 0 - 1
src/views/home/component/dash.vue

@@ -386,7 +386,6 @@ export default {
       this.loading = true
       const data = { ...this.owerQuery, parentId: this.parentId }
       this.queryData = data
-      console.log(query.projectStage)
       this.$api.project.projectList(this.page.currentPage, this.page.pageSize, this.queryData).then(res => {
         this.loading = false
         if (res.code === 200) {

+ 4 - 4
src/views/home/component/owner_serach.vue

@@ -294,22 +294,22 @@ export default {
         return
       }
       if (this.form.isStart === 0) {
-        this.form.planCommencementTime = this.time1 === null ? '' : this.time1
+        this.form.planCommencementTime = this.time1 === null ? '' : this.time1.join(',')
         this.form.startTime = ''
       } else if (this.form.isStart === 1 && this.time1 !== null) {
         this.form.planCommencementTime = ''
-        this.form.startTime = this.time1
+        this.form.startTime = this.time1.join(',')
       } else {
         this.form.planCommencementTime = ''
         this.form.startTime = ''
       }
 
       if (this.form.isStorage === 0) {
-        this.form.planStorageTime = this.time2 === null ? '' : this.time2
+        this.form.planStorageTime = this.time2 === null ? '' : this.time2.join(',')
         this.form.storageTime = ''
       } else if (this.form.isStorage === 1 && this.time2 !== null) {
         this.form.planStorageTime = ''
-        this.form.storageTime = this.time2
+        this.form.storageTime = this.time2.join(',')
       } else {
         this.form.planStorageTime = ''
         this.form.storageTime = ''