|
@@ -16,10 +16,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="db_body">
|
|
|
- <school v-if="type == 1" :oid="oid"></school>
|
|
|
- <course v-if="type == 2" :oid="oid"></course>
|
|
|
- <student v-if="type == 3" :oid="oid"></student>
|
|
|
- <teacher v-if="type == 4" :oid="oid"></teacher>
|
|
|
+ <school v-if="type == 1" :oid="oid" :org="org"></school>
|
|
|
+ <course v-if="type == 2" :oid="oid" :org="org"></course>
|
|
|
+ <student v-if="type == 3" :oid="oid" :org="org"></student>
|
|
|
+ <teacher v-if="type == 4" :oid="oid" :org="org"></teacher>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -40,6 +40,7 @@ export default {
|
|
|
return {
|
|
|
type: 1,
|
|
|
oid: this.$route.query.oid,
|
|
|
+ org: this.$route.query.org,
|
|
|
};
|
|
|
},
|
|
|
methods: {
|