Commit 5511ac9bbf5dd7d6ef7c4f14b93f0219a79a3304

Authored by 张红振
1 parent 108d96ac

fix bug

src/views/community/housekeeper/houseDetail.vue
... ... @@ -85,7 +85,7 @@ const rules = reactive({
85 85 required: true,
86 86 message: "请输入建筑面积",
87 87 trigger: "blur",
88   - whitespace: true,
  88 + // whitespace: true,
89 89 },
90 90 {
91 91 type: "number",
... ... @@ -107,7 +107,7 @@ const rules = reactive({
107 107 required: true,
108 108 message: "请输入使用面积",
109 109 trigger: "blur",
110   - whitespace: true,
  110 + // whitespace: true,
111 111 },
112 112 {
113 113 type: "number",
... ... @@ -217,7 +217,7 @@ defineExpose({
217 217 <el-form-item label="建筑面积:" prop="grossArea">
218 218 <el-input
219 219 v-model="props.formObj.grossArea"
220   - placeholder="请输入使用面积"
  220 + placeholder="请输入建筑面积"
221 221 ></el-input>
222 222 </el-form-item>
223 223  
... ...
src/views/community/housekeeper/index.vue
... ... @@ -59,7 +59,7 @@ const search = (): void =&gt; {
59 59 const edit = (row: Object) => {
60 60 data.title = "编辑楼宇";
61 61 data.formObj = JSON.parse(JSON.stringify(row));
62   - console.log(data.formObj);
  62 + console.log( typeof data.formObj.grossArea);
63 63 data.formObj.neighborhoodId = JSON.parse(JSON.stringify(row)).neighborhoodId;
64 64 data.dialogVisible = true;
65 65 };
... ...
src/views/ownerManagement/owner/index.vue
... ... @@ -243,7 +243,8 @@ watchEffect(() =&gt; {
243 243 <span>{{ parseTime(new Date(scope.row.bindDate).getTime()) }}</span>
244 244 </template>
245 245 </el-table-column>
246   - <el-table-column label="类型" prop="isOwner"></el-table-column>
  246 + <el-table-column label="居住状态" prop="isLiving"></el-table-column>
  247 + <el-table-column label="居民类型" prop="isOwner"></el-table-column>
247 248 <el-table-column label="操作">
248 249 <template #default="scope">
249 250 <el-button type="text" size="mini" @click="checkDetail(scope.row.id,true)">
... ... @@ -256,7 +257,7 @@ watchEffect(() =&gt; {
256 257 编辑</el-button
257 258 >
258 259 <el-button type="text" size="mini" @click="changeInfo(scope.row.id,0)"
259   - >删除</el-button
  260 + >删除居民</el-button
260 261 >
261 262 </template>
262 263 </el-table-column>
... ...