关注场所展示字段隐藏、酒店去除姓名身份证号搜索条件-时间加快捷选择
1 files modified
31 ■■■■ changed files
src/views/home/index.vue 31 ●●●● patch | view | raw | blame | history
src/views/home/index.vue
@@ -484,7 +484,7 @@
                    prop="securityLevel" label="安保级别"></el-table-column>
                <el-table-column v-if="currentGzcsItemShow('attentionType')" :show-overflow-tooltip="true"
                    prop="attentionType" label="关注类型"></el-table-column>
                <el-table-column v-if="currentGzcsItemShow('status')" :show-overflow-tooltip="true" prop="status"
                <!-- <el-table-column v-if="currentGzcsItemShow('status')" :show-overflow-tooltip="true" prop="status"
                    label="状态"></el-table-column>
                <el-table-column v-if="currentGzcsItemShow('scale')" :show-overflow-tooltip="true" prop="scale"
                    label="规模"></el-table-column>
@@ -493,7 +493,7 @@
                <el-table-column v-if="currentGzcsItemShow('studentScale')" :show-overflow-tooltip="true"
                    prop="studentScale" label="学生规模"></el-table-column>
                <el-table-column v-if="currentGzcsItemShow('officeArea')" :show-overflow-tooltip="true" prop="officeArea"
                    label="办公区域"></el-table-column>
                    label="办公区域"></el-table-column> -->
                <el-table-column v-if="currentGzcsItemShow('officeMain')" :show-overflow-tooltip="true" prop="officeMain"
                    label="办公主体"></el-table-column>
                <el-table-column v-if="currentGzcsItemShow('hazardousGoodsName')" :show-overflow-tooltip="true"
@@ -574,18 +574,19 @@
            v-loading="zhuHuInfoLoading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading"
            :before-close="zhuHuBeforeClose" element-loading-background="rgba(0, 0, 0, 0.5)">
            <div class="header">
                <div>
                <!-- <div>
                    姓名:
                    <input type="text" v-model="zhuHuInfoName" placeholder="请输入住户名称" />
                </div>
                <div>
                    身份证号:
                    <input type="text" v-model="zhuHuInfoID" placeholder="请输入住户身份证号" />
                </div>
                </div> -->
                <div>时间:</div>
                <div>
                    <el-date-picker v-model="zhuHuInfoDate" type="daterange" range-separator="至" start-placeholder="开始日期"
                        end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd">
                        end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
                        :picker-options="pickerOptions">
                    </el-date-picker>
                </div>
@@ -966,6 +967,26 @@
                }
            ],
            zhuSuName: '',
            pickerOptions: {
                shortcuts: [{
                    text: '最近三天',
                    onClick (picker) {
                        const end = new Date()
                        const start = new Date()
                        start.setTime(start.getTime() - 3600 * 1000 * 24 * 3)
                        picker.$emit('pick', [start, end])
                    }
                }, {
                    text: '最近七天',
                    onClick (picker) {
                        const end = new Date()
                        const start = new Date()
                        start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)
                        picker.$emit('pick', [start, end])
                    }
                }]
            },
        }
    },