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