Merge branch 'master' of http://47.115.223.229:8888/yangjun/huanzi-vue
# 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:
commit
b892d57c6c
|
@ -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',
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
},
|
||||
];
|
||||
|
||||
// 高级查询数据
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue