From 8df2f9a64bbf727d3946af4db331f560c0624a3d Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 9 Mar 2026 08:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/biz/nuBaseInfo/QyxxList.vue | 11 ++ .../components/NuBaseInfoAddForm.vue | 172 ++++++++++++++++++ .../components/NuBaseInfoAddModal.vue | 84 +++++++++ src/views/elder/elderinfo/ElderInfo.data.ts | 7 +- .../elder/elderinfo/ElderModifyInfoList.vue | 6 + .../components/ElderAuditHistoryList.vue | 1 + .../elderinfo/components/GuaUpInfoForm.vue | 30 +++ .../NuBizSuppliersMaterialInfoList.vue | 8 +- 8 files changed, 314 insertions(+), 5 deletions(-) create mode 100644 src/views/biz/nuBaseInfo/components/NuBaseInfoAddForm.vue create mode 100644 src/views/biz/nuBaseInfo/components/NuBaseInfoAddModal.vue diff --git a/src/views/biz/nuBaseInfo/QyxxList.vue b/src/views/biz/nuBaseInfo/QyxxList.vue index 6bbba76..1c95de5 100644 --- a/src/views/biz/nuBaseInfo/QyxxList.vue +++ b/src/views/biz/nuBaseInfo/QyxxList.vue @@ -40,6 +40,7 @@ 查询 重置 + 新增 @@ -98,6 +99,7 @@ + @@ -113,6 +115,7 @@ import { qyList, saveOrUpdate } from './NuBaseInfo.api'; import { downloadFile } from '/@/utils/common/renderUtils'; import NuBaseInfoModal from './components/NuBaseInfoModal.vue' + import NuBaseInfoAddModal from './components/NuBaseInfoAddModal.vue' import BaseWlsbListModal from './components/BaseWlsbListModal.vue' import CameraPreviewModal from '/@/views/iot/tplink/camera/components/CameraPreviewModal.vue' import { useUserStore } from '/@/store/modules/user'; @@ -139,6 +142,7 @@ const { createMessage } = useMessage(); const tableData = ref([]); const toggleSearchStatus = ref(false); const registerModal = ref(); + const registerAddModal = ref(); const userStore = useUserStore(); const labelCol = reactive({ xs:24, @@ -164,6 +168,13 @@ const { createMessage } = useMessage(); wlsbModal.value.edit(record); } + /** + * 新增事件 + */ + function handleAdd() { + registerAddModal.value.disableSubmit = false; + registerAddModal.value.add(); + } //清口区域状态 function changeAreaFlag(value) { queryParam.status = ''; diff --git a/src/views/biz/nuBaseInfo/components/NuBaseInfoAddForm.vue b/src/views/biz/nuBaseInfo/components/NuBaseInfoAddForm.vue new file mode 100644 index 0000000..930a476 --- /dev/null +++ b/src/views/biz/nuBaseInfo/components/NuBaseInfoAddForm.vue @@ -0,0 +1,172 @@ + + + + + diff --git a/src/views/biz/nuBaseInfo/components/NuBaseInfoAddModal.vue b/src/views/biz/nuBaseInfo/components/NuBaseInfoAddModal.vue new file mode 100644 index 0000000..2cb122a --- /dev/null +++ b/src/views/biz/nuBaseInfo/components/NuBaseInfoAddModal.vue @@ -0,0 +1,84 @@ + + + + + + diff --git a/src/views/elder/elderinfo/ElderInfo.data.ts b/src/views/elder/elderinfo/ElderInfo.data.ts index 25715be..5b6e8d5 100644 --- a/src/views/elder/elderinfo/ElderInfo.data.ts +++ b/src/views/elder/elderinfo/ElderInfo.data.ts @@ -45,6 +45,11 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'guardianPhone', }, + { + title: '入驻日期', + align: 'center', + dataIndex: 'checkinTime', + }, ]; export const auditHisColumns: BasicColumn[] = [ @@ -105,7 +110,7 @@ export const auditHisColumns: BasicColumn[] = [ if (text == '2') { applyStatus = '审核通过'; } else if (text == '3') { - applyStatus = '审核未通过'; + applyStatus = '审核驳回'; } return applyStatus; }, diff --git a/src/views/elder/elderinfo/ElderModifyInfoList.vue b/src/views/elder/elderinfo/ElderModifyInfoList.vue index 4479c05..0a304b3 100644 --- a/src/views/elder/elderinfo/ElderModifyInfoList.vue +++ b/src/views/elder/elderinfo/ElderModifyInfoList.vue @@ -17,6 +17,12 @@ + + + + + + diff --git a/src/views/elder/elderinfo/components/ElderAuditHistoryList.vue b/src/views/elder/elderinfo/components/ElderAuditHistoryList.vue index 16605b4..b9fda64 100644 --- a/src/views/elder/elderinfo/components/ElderAuditHistoryList.vue +++ b/src/views/elder/elderinfo/components/ElderAuditHistoryList.vue @@ -119,6 +119,7 @@ const superQueryConfig = reactive(superQuerySchema); * 详情 */ function handleDetail(record: Recordable) { + record.status = record.modifyStatus; registerModal.value.hisDetail(record, props.querySign); } diff --git a/src/views/elder/elderinfo/components/GuaUpInfoForm.vue b/src/views/elder/elderinfo/components/GuaUpInfoForm.vue index bd60be2..7b83f05 100644 --- a/src/views/elder/elderinfo/components/GuaUpInfoForm.vue +++ b/src/views/elder/elderinfo/components/GuaUpInfoForm.vue @@ -38,6 +38,9 @@ + +{{ izAudit }} 1 + @@ -57,6 +60,29 @@ + + + @@ -68,6 +94,7 @@ import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.v import { getModifyInfo, getHisModifyInfo, guaAudit } from '../ElderInfo.api' import { useMessage } from '/@/hooks/web/useMessage'; import { initDictOptions } from '/@/utils/dict'; +import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue'; const props = defineProps({ sndjDicts: null @@ -202,6 +229,7 @@ const setRowClassName = (record) => { }; const izAudit = ref(false) async function show(record, sign) { + console.log("🚀 ~ show ~ record, sign:", record, sign) let data = null; if (sign == 'audit') { data = await getModifyInfo({ id: record.id, queryModifyType: 'gua' }) @@ -217,6 +245,8 @@ async function show(record, sign) { formData.guardianOpenId = record.guardianOpenId formData.name = record.name formData.sysOrgCode = record.sysOrgCode + formData.status = record.status + formData.auditContent = record.auditContent tableData.value = data.map(item => ({ ...item, diff --git a/src/views/invoicing/bizSuppliers/NuBizSuppliersMaterialInfoList.vue b/src/views/invoicing/bizSuppliers/NuBizSuppliersMaterialInfoList.vue index 7dbff59..c5dfb4e 100644 --- a/src/views/invoicing/bizSuppliers/NuBizSuppliersMaterialInfoList.vue +++ b/src/views/invoicing/bizSuppliers/NuBizSuppliersMaterialInfoList.vue @@ -79,13 +79,13 @@ const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext; const labelCol = reactive({ xs:24, - sm:4, - xl:6, - xxl:4 + sm:8, + xl:8, + xxl:8 }); const wrapperCol = reactive({ xs: 24, - sm: 20, + sm: 16, });