25775
This commit is contained in:
@@ -2,12 +2,7 @@
|
|||||||
<section class="AppFoundingHundred">
|
<section class="AppFoundingHundred">
|
||||||
<ai-list v-if="showList">
|
<ai-list v-if="showList">
|
||||||
<template #title>
|
<template #title>
|
||||||
<ai-title title="党员学习" isShowBottomBorder>
|
<ai-title title="党员学习" isShowBottomBorder></ai-title>
|
||||||
<template #rightBtn>
|
|
||||||
<ai-party :instance="instance" v-model="organizationId" :topOrgId="topOrgId" size="small"
|
|
||||||
@origin="changeParty"/>
|
|
||||||
</template>
|
|
||||||
</ai-title>
|
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
@@ -159,22 +154,6 @@
|
|||||||
this.page.current = 1;
|
this.page.current = 1;
|
||||||
this.getList();
|
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) {
|
handleNodeClick(data) {
|
||||||
this.partyList = data;
|
this.partyList = data;
|
||||||
@@ -206,7 +185,6 @@
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.topOrgId = this.user.info?.organizationId;
|
this.topOrgId = this.user.info?.organizationId;
|
||||||
this.searchSysAll(this.user.info?.organizationId);
|
|
||||||
this.organizationId = this.user.info?.organizationId;
|
this.organizationId = this.user.info?.organizationId;
|
||||||
this.organizationName = this.user.info?.organizationName;
|
this.organizationName = this.user.info?.organizationName;
|
||||||
this.dict.load("classroomUpdateStatus",'newsCenterStatus');
|
this.dict.load("classroomUpdateStatus",'newsCenterStatus');
|
||||||
|
|||||||
@@ -75,8 +75,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
organizationId: '',
|
|
||||||
organizationName: '',
|
|
||||||
title: '',
|
title: '',
|
||||||
num: '',
|
num: '',
|
||||||
videoUrl: "",
|
videoUrl: "",
|
||||||
@@ -158,8 +156,6 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.form.organizationId = this.organizationId;
|
|
||||||
this.form.organizationName = this.organizationName;
|
|
||||||
this.checkDetaiList(this.parentRow?.id);
|
this.checkDetaiList(this.parentRow?.id);
|
||||||
if (this.row?.id) {
|
if (this.row?.id) {
|
||||||
this.getDetail();
|
this.getDetail();
|
||||||
|
|||||||
Reference in New Issue
Block a user