25775
This commit is contained in:
@@ -2,12 +2,7 @@
|
||||
<section class="AppFoundingHundred">
|
||||
<ai-list v-if="showList">
|
||||
<template #title>
|
||||
<ai-title title="党员学习" isShowBottomBorder>
|
||||
<template #rightBtn>
|
||||
<ai-party :instance="instance" v-model="organizationId" :topOrgId="topOrgId" size="small"
|
||||
@origin="changeParty"/>
|
||||
</template>
|
||||
</ai-title>
|
||||
<ai-title title="党员学习" isShowBottomBorder></ai-title>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-search-bar>
|
||||
@@ -159,22 +154,6 @@
|
||||
this.page.current = 1;
|
||||
this.getList();
|
||||
},
|
||||
// 查询所有单位 树形结构
|
||||
searchSysAll(id) {
|
||||
this.instance.post('/admin/partyOrganization/queryAllChildren', null, {
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res?.data) {
|
||||
res.data = res.data.map(a => {
|
||||
return {...a, label: a.name}
|
||||
});
|
||||
this.treeData = res.data.filter(e => e.id == this.user.info.organizationId);
|
||||
this.treeData.map(t => this.addChild(t, res.data));
|
||||
}
|
||||
})
|
||||
},
|
||||
// 点击树节点
|
||||
handleNodeClick(data) {
|
||||
this.partyList = data;
|
||||
@@ -206,7 +185,6 @@
|
||||
},
|
||||
created() {
|
||||
this.topOrgId = this.user.info?.organizationId;
|
||||
this.searchSysAll(this.user.info?.organizationId);
|
||||
this.organizationId = this.user.info?.organizationId;
|
||||
this.organizationName = this.user.info?.organizationName;
|
||||
this.dict.load("classroomUpdateStatus",'newsCenterStatus');
|
||||
|
||||
@@ -75,8 +75,6 @@
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
organizationId: '',
|
||||
organizationName: '',
|
||||
title: '',
|
||||
num: '',
|
||||
videoUrl: "",
|
||||
@@ -158,8 +156,6 @@
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.form.organizationId = this.organizationId;
|
||||
this.form.organizationName = this.organizationName;
|
||||
this.checkDetaiList(this.parentRow?.id);
|
||||
if (this.row?.id) {
|
||||
this.getDetail();
|
||||
|
||||
Reference in New Issue
Block a user