8/25 dev 权限,sse,账单
This commit is contained in:
@@ -151,16 +151,19 @@ function handleVillageChange(val: string) {
|
||||
queryParams.value.chargeItemId = '-1';
|
||||
}
|
||||
const chargeItemList = ref([]);
|
||||
listChargeType().then((res) => {
|
||||
chargeItemList.value = [
|
||||
{
|
||||
id: '-1',
|
||||
name: '全部项目'
|
||||
},
|
||||
...res.rows
|
||||
];
|
||||
});
|
||||
|
||||
// 忽略的收费项目id, 水费,电费,燃气费,上线前手工导入
|
||||
const ignoreChargeItemList = ['2049026503017136129', '2064181187503652865', '2091072780916981761', '2049026540430327809'];
|
||||
function getChargeList() {
|
||||
listChargeType().then((res) => {
|
||||
chargeItemList.value = [
|
||||
{
|
||||
id: '-1',
|
||||
name: '全部项目'
|
||||
},
|
||||
...res.rows.filter((item) => !ignoreChargeItemList.includes(item.id))
|
||||
];
|
||||
});
|
||||
}
|
||||
function handleViewTypeChange(val: number) {
|
||||
queryParams.value.viewType = val;
|
||||
getList();
|
||||
@@ -350,6 +353,7 @@ const handleExport = () => {
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
getChargeList();
|
||||
getList();
|
||||
handleQueryHouseUse();
|
||||
getAllVillage();
|
||||
|
||||
Reference in New Issue
Block a user