mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
执行子组件
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</a-tab-pane>
|
||||
<!-- v-if="lecturerAdmin('lecturer-admin')" -->
|
||||
<a-tab-pane key="2" tab="审批中心">
|
||||
<OrganizationApproval :organizationActive="organizationActive"/>
|
||||
<OrganizationApproval ref="organizationApprovalRef" :organizationActive="organizationActive"/>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@ export default {
|
||||
organizationActive:"0"
|
||||
});
|
||||
|
||||
|
||||
const organizationApprovalRef = ref(null)
|
||||
onMounted(() => {
|
||||
if (route.query.activeKey) {
|
||||
state.activeKey = '2';
|
||||
@@ -47,7 +47,8 @@ export default {
|
||||
|
||||
|
||||
const activeKeyFn = () => {
|
||||
state.activeKey = '2'
|
||||
state.activeKey = '2';
|
||||
organizationApprovalRef.value.getTableDate()
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -757,6 +757,7 @@ export default {
|
||||
const tableData = ref([]);
|
||||
// List接口数据
|
||||
const getTableDate = (obj) => {
|
||||
console.log("执行 gx getTableDate 111111111111111111111")
|
||||
state.tableLoading = true;
|
||||
let objA = {
|
||||
...state.searchParam ,
|
||||
|
||||
Reference in New Issue
Block a user