Browse Source

修复首页跳转input无法清空

Shannon_mu 3 years ago
parent
commit
c8e98cf47b

+ 4 - 1
operationSupport/src/views/ownerManagement/ownerReview/index.vue

@@ -146,7 +146,10 @@ export default {
             questParams: ''
         };
         if (this.$route.query.showDialog && !this.$route.query.closeDialog) {
-            this.mixins_query.auditStatus = 0;
+            this.mixins_query = {
+                questParams: '',
+                auditStatus: 0
+            };
         }
         this.mixins_search('search');
     }

+ 1 - 2
operationSupport/src/views/propertyManagement/index.vue

@@ -337,9 +337,8 @@ export default {
     created() {
         this.getCommunityList();
         this.mixins_dataUrl = '/sc-community-web/feedback/page';
-        this.mixins_query = {};
         if (this.$route.query.showDialog && !this.$route.query.closeDialog) {
-            this.mixins_query.handleStatus = 1;
+            this.mixins_query = { handleStatus: 1 };
         }
         this.mixins_search();
     },

+ 5 - 3
operationSupport/src/views/workOrders/index.vue

@@ -26,9 +26,11 @@
             @page-change="pageChange"
         >
             <template slot="repairFile" slot-scope="scope">
-                <div class="imgVdio" v-for="item in scope.row.repairFile.split(',')" :key="item">
-                    <video v-if="typeVideo(item)" :src="item" @click="lookVideos(item)"></video>
-                    <el-image class="imgs" v-else :src="item" :preview-src-list="[item]"></el-image>
+                <div v-if="!!scope.row.repairFile">
+                    <div class="imgVdio" v-for="item in scope.row.repairFile.split(',')" :key="item">
+                        <video v-if="typeVideo(item)" :src="item" @click="lookVideos(item)"></video>
+                        <el-image class="imgs" v-else :src="item" :preview-src-list="[item]"></el-image>
+                    </div>
                 </div>
             </template>
             <template slot-scope="scope" slot="opt">