bug修复
parent
f575847b82
commit
5a1ec5df35
|
@ -269,7 +269,7 @@ export default {
|
|||
}
|
||||
},
|
||||
created() {
|
||||
this.CORPINFO_ID = this.$parent.CORPINFO_ID
|
||||
this.CORPINFO_ID = this.$parent.CORPINFO_ID,
|
||||
this.getList()
|
||||
this.getUnitsList()
|
||||
this.getCorpList()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<OutSourced v-show="activeName=='OutSourced'" ref="outSourced" :other-show="true" active-name="List"/>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<List v-if="activeName=='List'" ref="list" />
|
||||
<Edit v-if="activeName=='Edit'" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
<videoList v-if="activeName=='videoList'" />
|
||||
|
@ -32,9 +32,6 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
if (val == 'List') {
|
||||
this.$refs.list.getQuery()
|
||||
}
|
||||
if (val == 'OutSourced') {
|
||||
this.$refs.outSourced.getQuery()
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<OutSourced v-show="activeName=='OutSourced'" ref="outSourced" :other-show="true" active-name="List"/>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<List v-if="activeName=='List'" ref="list" />
|
||||
<List2 v-if="activeName=='List2'" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
<hidden-info v-if="activeName==='HiddenInfo'"/>
|
||||
|
@ -32,8 +32,8 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
if (val == 'List') {
|
||||
this.$refs.list.getList()
|
||||
if (val == 'OutSourced') {
|
||||
this.$refs.outSourced.getQuery()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<OutSourced v-if="activeName=='OutSourced'" ref="outSourced" :other-show="true" active-name="List"/>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<List v-if="activeName=='List'" ref="list" />
|
||||
<videoList v-if="activeName=='videoList'" />
|
||||
<!-- <component :is="activeName"/>-->
|
||||
</div>
|
||||
|
@ -24,21 +24,11 @@ export default {
|
|||
activeName: 'OutSourced',
|
||||
UNITS_ID: '',
|
||||
OUTSOURCED_ID: '',
|
||||
CORPINFO_ID:''
|
||||
CORPINFO_ID: ''
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
if (val == 'List') {
|
||||
this.$refs.list.getList()
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
if (val == 'List') {
|
||||
this.$refs.list.getQuery()
|
||||
}
|
||||
if (val == 'OutSourced') {
|
||||
this.$refs.outSourced.getQuery()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue