Forráskód Böngészése

驾驶舱-复启操作人

wanglt 2 hónapja
szülő
commit
08a361dd44
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      ygtx-ui/src/views/index4.vue

+ 5 - 1
ygtx-ui/src/views/index4.vue

@@ -190,7 +190,7 @@
                 <i class="fa fa-chevron-left text-neutral-400 transition-transform duration-300" :class="{'rotate-90': treeExpanded.other}"></i>
               </div>
               <div id="other-content" class="tree-content" :class="{'show': treeExpanded.other}">
-                <label class="checkbox-item ml-2">
+                <label v-if="!(indicatorFilters.workorder.restartNum && !indicatorFilters.workorder.workorder)" class="checkbox-item ml-2">
                   <el-checkbox v-model="dimensionFilters.other.repairman" label="工作班成员" />
                 </label>
                 <label class="checkbox-item ml-2">
@@ -1349,6 +1349,10 @@ export default {
       }else{
         this.queryParams.score = null;
       }
+      if (this.indicatorFilters.workorder.restartNum && !this.indicatorFilters.workorder.workorder) {
+        this.queryParams.repairPerson = null;
+        this.dimensionFilters.other.repairman = false;
+      }
       console.log(this.queryParams);
       
       getHomePageOrderListData(this.queryParams).then(response => {