Merge remote-tracking branch 'boe/zcwy-zsx0223' into zcwy-zsx0223

This commit is contained in:
zhangsir
2024-07-12 10:41:02 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -103,7 +103,7 @@
<a-tree v-model:selectedKeys="selectedOrgKeys"
:tree-data="searchOrgName.keyword ? orgData : treeOrgData" @select="onOrgSelectChange"
:loading="orgOrgLoading" :load-data="onLoadOrgData" :fieldNames="{
children: 'treeChildList',
children: 'directChildList',
key: 'id',
title: 'name',
value: 'name',
@@ -542,7 +542,7 @@ function onLoadData(treeNode) {
function onLoadOrgData(treeNode) {
return request(ORG_CHILD_LIST, { keyword: "", orgId: treeNode.id }).then(
(r) => {
treeNode.dataRef.treeChildList = r.data;
treeNode.dataRef.directChildList = r.data;
treeOrgData.value = [...treeOrgData.value];
}
);

View File

@@ -539,7 +539,7 @@ function handleOper(record, type, status = "") {
<div style="text-align: center; margin-top: 18px;">
<a-pagination :defaultPageSize="pageSize" :showSizeChanger="false" v-model:current="current1" show-quick-jumper :total="total" @change="onChange" />
<a-pagination v-if="total>15" :defaultPageSize="pageSize" :showSizeChanger="false" v-model:current="current1" show-quick-jumper :total="total" @change="onChange" />
</div>
<!--创建认证和编辑认证 -->
<a-modal v-model:visible="visible" :title="editId?'编辑认证':'创建认证'" @ok="!editId?handleOk():handleEdit()" width="610px">