Browse Source

首页跳转居民列表不生效,智能导入字段绑定

feature
mk 1 year ago
parent
commit
b2b0b6d5ff
  1. 4
      src/views/modules/base/resi.vue
  2. 2
      src/views/modules/base/smartImport/index.vue
  3. 2
      src/views/modules/home/index.vue

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

@ -445,7 +445,7 @@ export default {
// this.handleSearchFrom(); // this.handleSearchFrom();
}, },
activated() { activated() {
this.handleSearchFrom(); // this.handleSearchFrom();
}, },
methods: { methods: {
mouseOverNode(event) { mouseOverNode(event) {
@ -1193,7 +1193,7 @@ export default {
watch: { watch: {
$route: { $route: {
handler: function (newVal, oldVal) { handler: function (newVal, oldVal) {
if (newVal.name == "base-resi" && oldVal.name!='edit-resi') { if (newVal.name == "base-resi" && !oldVal) {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.myResiSearch.form.attentionCrowds = []; this.$refs.myResiSearch.form.attentionCrowds = [];
this.$refs.myResiSearch.form.healthStatus = []; this.$refs.myResiSearch.form.healthStatus = [];

2
src/views/modules/base/smartImport/index.vue

@ -4,7 +4,7 @@
<div class="m-search"> <div class="m-search">
<el-form :inline="true" :model="formData" :label-width="'100px'"> <el-form :inline="true" :model="formData" :label-width="'100px'">
<el-form-item label="任务类型"> <el-form-item label="任务类型">
<el-select v-model.trim="formData.importCategory" placeholder="请输入" size="small" class="u-item-width-normal" clearable> <el-select v-model.trim="formData.importCategoryName" placeholder="请输入" size="small" class="u-item-width-normal" clearable>
<el-option v-for="item in dicts.resident_category_import" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in dicts.resident_category_import" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</el-select> </el-select>

2
src/views/modules/home/index.vue

@ -157,7 +157,7 @@
</el-table-column> </el-table-column>
<el-table-column label="总人数" width="105" align="center"> <el-table-column label="总人数" width="105" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="color:#006fd6" @click="handelClickToResi(scope.row)">{{scope.row.total}}</span> <span style="color:#006fd6;cursor: pointer;" @click="handelClickToResi(scope.row)">{{scope.row.total}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="分类信息不完整数" align="center" :show-overflow-tooltip="true"> <el-table-column label="分类信息不完整数" align="center" :show-overflow-tooltip="true">

Loading…
Cancel
Save