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