|
@@ -6,13 +6,10 @@
|
|
|
<el-select v-model="mixins_query.guid" clearable placeholder="门禁机">
|
|
|
<el-option v-for="(item, index) in organList" :key="index" :label="item.deviceName" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
- <el-select v-model="mixins_query.householdType" clearable placeholder="人员类型">
|
|
|
- <el-option :value="1" label="业主"></el-option>
|
|
|
- <el-option :value="2" label="亲属"></el-option>
|
|
|
- <el-option :value="3" label="租客"></el-option>
|
|
|
- <el-option :value="4" label="物业员工"></el-option>
|
|
|
- <el-option :value="5" label="陌生人"></el-option>
|
|
|
- <el-option :value="6" label="其他"></el-option>
|
|
|
+ <el-select v-model="mixins_query.userTypeId" clearable placeholder="人员类型">
|
|
|
+ <el-option :value="0" label="全部"></el-option>
|
|
|
+ <el-option :value="1" label="住户"></el-option>
|
|
|
+ <el-option :value="2" label="陌生人"></el-option>
|
|
|
</el-select>
|
|
|
<el-date-picker
|
|
|
v-model="pickerTime"
|
|
@@ -22,6 +19,7 @@
|
|
|
start-placeholder="开始日期"
|
|
|
end-placeholder="结束日期"
|
|
|
@change="timeToggle"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
:editable="false"
|
|
|
></el-date-picker>
|
|
|
<el-button
|
|
@@ -42,6 +40,11 @@
|
|
|
:pageset="mixins_pageset"
|
|
|
@page-change="pageChange"
|
|
|
>
|
|
|
+ <template slot-scope="scope" slot="imageObject">
|
|
|
+ <div class="imgVdio">
|
|
|
+ <el-image class="imgs" :src="scope.row.imageObject" :preview-src-list="[scope.row.imageObject]"></el-image>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</zz-table>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -79,13 +82,19 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: '抓拍图片',
|
|
|
- prop: 'imageObject'
|
|
|
+ prop: 'imageObject',
|
|
|
+ slot: 'imageObject'
|
|
|
},
|
|
|
{
|
|
|
label: '抓拍时间',
|
|
|
prop: 'createdAt'
|
|
|
}
|
|
|
],
|
|
|
+ pickerOptions: {
|
|
|
+ disabledDate(time) {
|
|
|
+ return time.getTime() > Date.now();
|
|
|
+ }
|
|
|
+ },
|
|
|
thisLeftData: {},
|
|
|
communityArr: [],
|
|
|
organList: [],
|
|
@@ -128,19 +137,20 @@ export default {
|
|
|
let start = '00:00:00',
|
|
|
end = '23:59:59';
|
|
|
if (!!e) {
|
|
|
- this.mixins_query.startTime = `${e[0]} ${start}`;
|
|
|
- this.mixins_query.endTime = `${e[1]} ${end}`;
|
|
|
+ this.mixins_query.beginDate = `${e[0]} ${start}`;
|
|
|
+ this.mixins_query.endDate = `${e[1]} ${end}`;
|
|
|
} else {
|
|
|
- this.mixins_query.startTime = ``;
|
|
|
- this.mixins_query.endTime = ``;
|
|
|
+ this.mixins_query.beginDate = ``;
|
|
|
+ this.mixins_query.endDate = ``;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
currentId(newValue, oldValue) {
|
|
|
- this.mixins_query.communityId = newValue.communityId;
|
|
|
+ this.mixins_query.depId = newValue.communityId;
|
|
|
+ this.mixins_query.depName = newValue.communityName;
|
|
|
this.mixins_query.buildingId = newValue.buildingId;
|
|
|
- this.mixins_query.unitName = newValue.unitName;
|
|
|
+ this.mixins_query.unitId = newValue.unitName;
|
|
|
this.thisLeftData = newValue;
|
|
|
this.mixins_search();
|
|
|
}
|
|
@@ -149,6 +159,9 @@ export default {
|
|
|
this.getorgTree();
|
|
|
this.getOrganList();
|
|
|
this.mixins_dataUrl = '/sc-gate-web/record/visitor/page'; // 分页查询接口
|
|
|
+ this.mixins_query = {
|
|
|
+ userTypeId: 0
|
|
|
+ };
|
|
|
this.mixins_search();
|
|
|
}
|
|
|
};
|