Browse Source

居民信息年龄columnName空

dev
mk 2 years ago
parent
commit
6c00b46dea
  1. 9
      src/views/components/rangeInput.vue
  2. 959
      src/views/components/resiSearch.vue
  3. 6
      src/views/modules/base/resi.vue

9
src/views/components/rangeInput.vue

@ -10,7 +10,7 @@
:type="inputType" :type="inputType"
clearable clearable
placeholder="请输入" placeholder="请输入"
@change="handleChange" /> @change="handleChange($event,'s')" />
</el-form-item> </el-form-item>
<div class="div_middle">-</div> <div class="div_middle">-</div>
<el-form-item prop="end"> <el-form-item prop="end">
@ -20,7 +20,7 @@
:type="inputType" :type="inputType"
clearable clearable
placeholder="请输入" placeholder="请输入"
@change="handleChange" @change="handleChange($event,'e')"
@blur="handleBlur" /> @blur="handleBlur" />
</el-form-item> </el-form-item>
</div> </div>
@ -87,10 +87,9 @@ export default {
}, },
}, },
methods: { methods: {
handleChange (val) { handleChange (val,type) {
// if () // if ()
this.$emit('change', { ...this.inputForm }) this.$emit('change', { ...this.inputForm },type)
}, },
handleBlur () { handleBlur () {

959
src/views/components/resiSearch.vue

File diff suppressed because it is too large

6
src/views/modules/base/resi.vue

@ -670,11 +670,7 @@ export default {
}, },
handleSearch (val) { handleSearch (val) {
this.currentPage = 1; this.currentPage = 1;
val.forEach(item=>{ console.log(val);
if(item.columnName == "BIRTHDAY"){
item.queryType = 'agerange'
}
})
this.conditions = val; this.conditions = val;
this.getTableData(); this.getTableData();
}, },

Loading…
Cancel
Save