25840
This commit is contained in:
@@ -2,23 +2,13 @@
|
|||||||
<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>
|
||||||
<template slot="left">
|
<template slot="left">
|
||||||
<el-button type="primary" icon="iconfont iconAdd" @click="handleAdd">添加</el-button>
|
<el-button type="primary" icon="iconfont iconAdd" @click="handleAdd">添加</el-button>
|
||||||
</template>
|
</template>
|
||||||
<!-- <template slot="right">-->
|
|
||||||
<!-- <el-input placeholder="标题" size="small" suffix-icon="iconfont iconSearch"></el-input>-->
|
|
||||||
<!-- <el-button type="primary" icon="iconfont iconSearch" size="small">查询</el-button>-->
|
|
||||||
<!-- <el-button icon="el-icon-refresh-right" size="small">重置</el-button>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-table
|
<ai-table
|
||||||
:tableData="tableData"
|
:tableData="tableData"
|
||||||
@@ -29,23 +19,20 @@
|
|||||||
:size.sync="page.size"
|
:size.sync="page.size"
|
||||||
style="margin-top: 10px;"
|
style="margin-top: 10px;"
|
||||||
@getList="getList">
|
@getList="getList">
|
||||||
<el-table-column slot="options" label="操作" align="center">
|
<el-table-column slot="options" label="操作" align="center" width="220px" fixed="right">
|
||||||
<div slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<!-- <el-button type="text" icon="iconfont iconChange" :title="row.status==1?'取消发布':'发布'"-->
|
<div class="table-options">
|
||||||
<!-- @click="handleUpdateCountYardstatus(row)"/>-->
|
<el-button type="text" title="详情" @click="handleDetail(row)">详情</el-button>
|
||||||
<el-button type="text" icon="iconfont iconShow" title="详情"
|
<el-button type="text" title="编辑" @click="handleEdit(row)">编辑</el-button>
|
||||||
@click="handleDetail(row)"/>
|
<el-button type="text" title="删除" @click="handleDelete(row)">删除</el-button>
|
||||||
<el-button type="text" icon="iconfont iconEdit" title="编辑"
|
</div>
|
||||||
@click="handleEdit(row)"/>
|
</template>
|
||||||
<el-button type="text" icon="iconfont iconDelete" title="删除"
|
|
||||||
@click="handleDelete(row)"/>
|
|
||||||
</div>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</ai-table>
|
</ai-table>
|
||||||
</template>
|
</template>
|
||||||
</ai-list>
|
</ai-list>
|
||||||
<component :is="comp" v-else :row="row" :instance="instance" :dict="dict" :permissions="permissions" @back="back"
|
<component :is="comp" v-else :row="row" :instance="instance" :dict="dict" :permissions="permissions" @back="back"
|
||||||
:isEdit="isEdit" :organizationId="organizationId" :organizationName="organizationName"></component>
|
:isEdit="isEdit"></component>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -71,11 +58,8 @@ export default {
|
|||||||
showList: true,
|
showList: true,
|
||||||
search: {},
|
search: {},
|
||||||
isEdit: false,
|
isEdit: false,
|
||||||
topOrgId: "",
|
|
||||||
partyList: [],
|
partyList: [],
|
||||||
treeData: [],
|
treeData: [],
|
||||||
organizationId: "",
|
|
||||||
organizationName: "",
|
|
||||||
page: {
|
page: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10
|
size: 10
|
||||||
@@ -173,10 +157,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
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.getList();
|
this.getList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,9 +75,7 @@
|
|||||||
dict: Object,
|
dict: Object,
|
||||||
permissions: Function,
|
permissions: Function,
|
||||||
row: Object,
|
row: Object,
|
||||||
isEdit: Boolean,
|
isEdit: Boolean
|
||||||
organizationId: String,
|
|
||||||
organizationName: String,
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
detailTitle() {
|
detailTitle() {
|
||||||
@@ -87,8 +85,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
organizationId: '',
|
|
||||||
organizationName: '',
|
|
||||||
title: '',
|
title: '',
|
||||||
type: '1',
|
type: '1',
|
||||||
analysis: '',
|
analysis: '',
|
||||||
@@ -185,8 +181,6 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.form.organizationId = this.organizationId;
|
|
||||||
this.form.organizationName = this.organizationName;
|
|
||||||
this.dict.load('partyHistoryType0', 'partyPublicCommentStatus')
|
this.dict.load('partyHistoryType0', 'partyPublicCommentStatus')
|
||||||
this.checkDetaiList(this.row?.id);
|
this.checkDetaiList(this.row?.id);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user