Browse Source

不完整分类页面完整度查询

dlt_manageScope_0428
mk 2 years ago
parent
commit
a2a4c120b7
  1. 25
      src/views/modules/base/nonIntResi/nonIntResi.vue

25
src/views/modules/base/nonIntResi/nonIntResi.vue

@ -80,6 +80,14 @@
> >
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="完整度得分">
<el-input v-model.trim="formData.integrityScoreFrom" @change="informationChange(formData.integrityScoreFrom,'from')" class="u-item-width-daterange" placeholder="请输入" clearable size="small">
</el-input>
<span class="u-data-tag"></span>
<el-input v-model.trim="formData.integrityScoreTo" @change="informationChange(formData.integrityScoreTo,'to')" class="u-item-width-daterange u-data-tag"
placeholder="请输入" clearable size="small">
</el-input>
</el-form-item>
<el-row type="flex"> <el-row type="flex">
<el-col :span="24" align="right"> <el-col :span="24" align="right">
<el-button <el-button
@ -202,7 +210,7 @@
<el-table-column <el-table-column
prop="homeFullName" prop="homeFullName"
align="center" align="center"
width="100" width="300"
label="居住房屋" label="居住房屋"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
@ -437,6 +445,21 @@ export default {
} }
} }
}, },
informationChange(val,type) {
if(isNaN(val)){
this.$message.warning('请输入数字');
if(type === 'from'){
this.formData.integrityScoreFrom = null;
}else{
this.formData.integrityScoreTo = null;
}
}
if (this.formData.integrityScoreFrom&&this.formData.integrityScoreTo) {
if (this.formData.integrityScoreFrom > this.formData.integrityScoreTo) {
this.$message.warning('结束分数不能小于开始分数')
}
}
},
// //
handleSearch(val) { handleSearch(val) {
console.log(this.formData); console.log(this.formData);

Loading…
Cancel
Save