以人找房、以房找人Vue版本、bug修改 --renpc

This commit is contained in:
Renpc-kilig 2023-11-03 11:02:12 +08:00
parent 803c831369
commit e01f67354c
6 changed files with 58 additions and 46 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
<script type="module" crossorigin src="./assets/index-f35c6193.js"></script>
<link rel="stylesheet" href="./assets/index-49dc3e44.css">
<script type="module" crossorigin src="./assets/index-f460f3b2.js"></script>
<link rel="stylesheet" href="./assets/index-4cb64be9.css">
</head>
<body>
<div id="app"></div>

View File

@ -72,7 +72,7 @@
<select id="buildingId" name="buildingId" lay-filter="buildingId" lay-verify="required" lay-search>
<option value="">请选择楼/排</option>
{{# for(var i = 0, item; item = d[i++];) { }}
<option value="{{item.buildingId}}_{{item.nuitNum}}_{{item.floorsNum}}">{{item.name}}</option>
<option value="{{item.buildingId}}_{{item.unitNum}}_{{item.floorsNum}}">{{item.name}}</option>
{{# } }}
</select>
</script>
@ -396,9 +396,15 @@
if(data.value) {
initCommunityNameSelect(data.value);
initResidentialNameSelect(data.value, '');
initAffiliationUnit('0');
initAffiliationFloors('0');
}else {
initCommunityNameSelect('9999');
initResidentialNameSelect('', '');
initAffiliationUnit('0');
initAffiliationFloors('0');
}
});

View File

@ -72,7 +72,7 @@
<select id="buildingId" name="buildingId" lay-filter="buildingId" lay-verify="required" lay-search>
<option value="">请选择楼/排</option>
{{# for(var i = 0, item; item = d[i++];) { }}
<option value="{{item.buildingId}}_{{item.nuitNum}}_{{item.floorsNum}}">{{item.name}}</option>
<option value="{{item.buildingId}}_{{item.unitNum}}_{{item.floorsNum}}">{{item.name}}</option>
{{# } }}
</select>
</script>
@ -397,9 +397,15 @@
if(data.value) {
initCommunityNameSelect(data.value);
initResidentialNameSelect(data.value, '');
initAffiliationUnit('0');
initAffiliationFloors('0');
}else {
initCommunityNameSelect('9999');
initResidentialNameSelect('', '');
initAffiliationUnit('0');
initAffiliationFloors('0');
}
});