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