zcy 3 سال پیش
والد
کامیت
40d556974d

+ 1 - 1
src/views/catenary/stand/view/fb/CheckAndEditModel.vue

@@ -61,7 +61,7 @@
       <a-form-model-item label="采取措施" prop="measures">
         <a-textarea v-model="model.measures" :max-length="300" :rows="4" />
       </a-form-model-item>
-      </a-form-model-item></a-form-model>
+    </a-form-model>
   </j-modal>
 </template>
 <script>

+ 5 - 0
src/views/catenary/stand/view/fnh/CheckAndEditModel.vue

@@ -43,6 +43,7 @@
         <j-list-select-tag
           v-if="substationShow"
           v-model="model.substationId"
+          :dept-id="model.deptId"
           :line-id="model.lineId"
           dict-code="substation"
         />
@@ -117,8 +118,12 @@ export default {
       immediate: true,
       handler: function(newV, oldV) {
         this.lineShow = false
+        this.stationShow = false
+        this.substationShow = false
         this.$nextTick(() => {
           this.lineShow = true
+          this.stationShow = true
+          this.substationShow = true
         })
       }
     },

+ 6 - 0
src/views/catenary/stand/view/fxs/CheckAndEditModel.vue

@@ -43,6 +43,7 @@
         <j-list-select-tag
           v-if="substationShow"
           v-model="model.substationId"
+          :dept-id="model.deptId"
           :line-id="model.lineId"
           dict-code="substation"
         />
@@ -81,6 +82,7 @@
 <script>
 import { getAction, httpAction } from '@/api/request'
 import JModal from '@/components/JModal'
+
 export default {
   name: 'CheckAndEditModel',
   components: {
@@ -125,8 +127,12 @@ export default {
       immediate: true,
       handler: function(newV, oldV) {
         this.lineShow = false
+        this.stationShow = false
+        this.substationShow = false
         this.$nextTick(() => {
           this.lineShow = true
+          this.stationShow = true
+          this.substationShow = true
         })
       }
     },