# Conflicts:
#	src/views/zh/housingestateInfo/HousingestateInfo.api.ts
#	src/views/zh/housingestateInfo/xqHyxzIndex.vue
#	src/views/zh/housingestateInfo/xqTdcsIndex.vue
#	src/views/zh/housingestateInfo/xqTdzlIndex.vue
This commit is contained in:
yangjun 2025-07-03 15:35:05 +08:00
commit b892d57c6c
6 changed files with 44 additions and 35 deletions

View File

@ -4,18 +4,17 @@ import { useMessage } from "/@/hooks/web/useMessage";
const { createConfirm } = useMessage();
enum Api {
list = '/housingestateInfo/blHousingestateInfo/list',
save='/housingestateInfo/blHousingestateInfo/add',
edit='/housingestateInfo/blHousingestateInfo/edit',
deleteOne = '/housingestateInfo/blHousingestateInfo/delete',
deleteBatch = '/housingestateInfo/blHousingestateInfo/deleteBatch',
importExcel = '/housingestateInfo/blHousingestateInfo/importExcel',
exportXls = '/housingestateInfo/blHousingestateInfo/exportXls',
queryXqHyXzList = '/housingestateInfo/blHousingestateInfo/queryXqHyXzList',
queryXqHyTdcsList = '/housingestateInfo/blHousingestateInfo/queryXqHyTdcsList',
queryXqHyTdcsPageList = '/housingestateInfo/blHousingestateInfo/queryXqHyTdcsPageList',
queryXqHyTdzlList = '/housingestateInfo/blHousingestateInfo/queryXqHyTdzlList',
list = '/zh/blHousingestateInfo/list',
save='/zh/blHousingestateInfo/add',
edit='/zh/blHousingestateInfo/edit',
deleteOne = '/zh/blHousingestateInfo/delete',
deleteBatch = '/zh/blHousingestateInfo/deleteBatch',
importExcel = '/zh/blHousingestateInfo/importExcel',
exportXls = '/zh/blHousingestateInfo/exportXls',
queryXqHyXzList = '/zh/blHousingestateInfo/queryXqHyXzList',
queryXqHyTdcsList = '/zh/blHousingestateInfo/queryXqHyTdcsList',
queryXqHyTdzlList = '/zh/blHousingestateInfo/queryXqHyTdzlList',
housingestateList = '/zh/hy/queryHousingestateList',
}

View File

@ -15,11 +15,11 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'name'
},
{
title: '地址',
align: "center",
dataIndex: 'address'
},
// {
// title: '地址',
// align: "center",
// dataIndex: 'address'
// },
{
title: '状态',
align: "center",
@ -30,6 +30,16 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'type'
},
{
title: '设备数量',
align: "center",
dataIndex: 'dtusCount'
},
{
title: '注册会员数',
align: "center",
dataIndex: 'hyCount'
},
];
// 高级查询数据

View File

@ -7,21 +7,21 @@
<a-col :lg="6">
<a-form-item name="name">
<template #label><span title="区域名称">区域名称</span></template>
<j-input placeholder="请输入区域名称" v-model:value="queryParam.name" allow-clear ></j-input>
</a-form-item>
</a-col>
<a-col :lg="6">
<a-form-item name="status">
<template #label><span title="状态">状态</span></template>
<j-input placeholder="请输入状态" v-model:value="queryParam.status" allow-clear ></j-input>
<a-input placeholder="请输入区域名称" v-model:value="queryParam.name" allow-clear ></a-input>
</a-form-item>
</a-col>
<!-- <a-col :lg="6">-->
<!-- <a-form-item name="status">-->
<!-- <template #label><span title="状态">状态</span></template>-->
<!-- <j-input placeholder="请输入状态" v-model:value="queryParam.status" allow-clear ></j-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
<a-col :lg="6">
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button>
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button>-->
</a-col>
</span>
</a-col>
@ -92,8 +92,8 @@
xs: 24,
sm: 20,
});
/**
* 成功回调
*/
@ -106,7 +106,7 @@
function searchQuery() {
reload();
}
/**
* 重置
*/
@ -116,7 +116,7 @@
//
reload();
}

View File

@ -105,7 +105,7 @@ const izList = ref(false)
dataSource.value = [];
for (let i = 0; i < res.length; i++) {
dataSource.value.push({
name: `${res[i].shortDay}`,
name: `${res[i].housingestateName}`,
value: res[i].cn,
});
}
@ -124,7 +124,7 @@ const izList = ref(false)
onMounted(() => {
// getHousingestates();
if(parmas.type=='0'){
parmas.beginTime=getPreviousDate(2)+' 00:00:00';
parmas.beginTime=getPreviousDate(0)+' 00:00:00';
parmas.endTime=getPreviousDate(0)+' 23:59:59';
parmas.pageSize=10
}

View File

@ -107,7 +107,7 @@ const izList = ref(false)
dataSource.value = [];
for (let i = 0; i < res.length; i++) {
dataSource.value.push({
name: res[i].phone,
name: res[i].housingestateName,
value: res[i].cn
});
}

View File

@ -106,8 +106,8 @@ const izList = ref(false)
dataSource.value = [];
for (let i = 0; i < res.length; i++) {
dataSource.value.push({
name: `${res[i].shortHour}`,
value: res[i].cn,
name: `${res[i].housingestateName}`,
value: res[i].weight,
});
}
}
@ -125,7 +125,7 @@ const izList = ref(false)
onMounted(() => {
// getHousingestates();
if(parmas.type=='0'){
parmas.beginTime=getPreviousDate(2)+' 00:00:00';
parmas.beginTime=getPreviousDate(0)+' 00:00:00';
parmas.endTime=getPreviousDate(0)+' 23:59:59';
parmas.pageSize=10
}