修改bug

This commit is contained in:
yangjun 2024-08-26 17:09:20 +08:00
parent 4f02c86f8a
commit 167dd37cd1
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@
</a-button>
<a-divider />
</a-col>
<a-col :span="24">
<a-col :span="24" v-if="addShow">
<a-row>
<a-col :span="24">
<div style="width: 100%; padding: 2px 20px; color: #666; font-size: 14px; background: #f6f6f6"
@ -516,6 +516,7 @@ const jxdgInfo = ref<any>({});
const kechengInfo = ref<any>({});
const jxdgbbDataSource = ref<any>([]);
const disabled = ref<boolean>(false);
const addShow = ref<boolean>(false);
const { createMessage, createConfirm } = useMessage();
let kcmbDataSource = ref<{ title: any }[]>([]);
@ -823,7 +824,9 @@ function handleShowType(type) {
defHttp.get({ url: '/zyJxdgBanben/zyJxdgBanben/list', params: { sfsy: '1', pageNo: -1 } }).then((res) => {
jxdgbbDataSource.value = res.records;
});
addShow.value = true;
} else if (type == 2) {
addShow.value = false;
type = 1;
defHttp.get({ url: '/zyJxdgBanben/zyJxdgBanben/list', params: { sfsy: '1', pageNo: -1 } }).then((res) => {