From 51e18e190dafdec70dc1f4a3a9ecd76fb2116726 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期六, 12 十月 2024 16:25:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
admin/src/views/business/visitEvent.vue | 42 ++++++++++++++++++++++--------------------
1 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/admin/src/views/business/visitEvent.vue b/admin/src/views/business/visitEvent.vue
index 4ef5aa8..c53bf54 100644
--- a/admin/src/views/business/visitEvent.vue
+++ b/admin/src/views/business/visitEvent.vue
@@ -8,13 +8,14 @@
<el-form-item label="杞︾墝鍙�" prop="carNo">
<el-input v-model="searchForm.carNo" placeholder="璇疯緭鍏ヨ溅鐗屽彿" @keypress.enter.native="search"></el-input>
</el-form-item>
- <el-form-item label="鍏徃鍚嶇О" prop="companyName">
- <el-input v-model="searchForm.companyName" placeholder="璇疯緭鍏ュ叕鍙稿悕绉�" @keypress.enter.native="search"></el-input>
+ <el-form-item label="缁勭粐鍚嶇О" prop="visitorWorkUint">
+ <el-input v-model="searchForm.visitorWorkUint" placeholder="璇疯緭鍏ョ粍缁囧悕绉�" @keypress.enter.native="search"></el-input>
</el-form-item>
<el-form-item label="浜嬩欢绫诲瀷" prop="eventType">
<el-select v-model="searchForm.eventType" placeholder="璇烽�夋嫨">
- <el-option label="璁垮鐧昏" value="1392513025"></el-option>
- <el-option label="璁垮绛剧" value="1392513026"></el-option>
+ <el-option label="璁垮鐧昏" value="541200006"></el-option>
+ <el-option label="璁垮绛剧" value="541200007"></el-option>
+ <el-option label="璁垮閫氳" value="541200060"></el-option>
</el-select>
</el-form-item>
<el-form-item label="璧峰鏃堕棿" prop="carNo">
@@ -52,12 +53,12 @@
<el-table-column prop="personName" label="濮撳悕" min-width="100px"></el-table-column>
<el-table-column prop="phone" label="鎵嬫満鍙风爜" min-width="100px"></el-table-column>
<el-table-column prop="idcardDecode" label="韬唤璇佸彿鐮�" min-width="100px"></el-table-column>
- <el-table-column prop="visitorWorkUint" label="鍏徃" min-width="100px"></el-table-column>
+ <el-table-column prop="visitorWorkUint" label="缁勭粐" min-width="100px"></el-table-column>
<el-table-column prop="carNo" label="杞︾墝鍙�" min-width="100px"></el-table-column>
<el-table-column prop="beVisitedPersonName" label="琚浜�" min-width="100px"></el-table-column>
<el-table-column prop="beVisitedPersonOrg" label="琚浜虹粍缁�" min-width="100px"></el-table-column>
<el-table-column prop="eventTypeName" label="浜嬩欢绫诲瀷" min-width="100px"></el-table-column>
- <el-table-column label="鎶撴媿鍥剧墖" min-width="100px">
+ <el-table-column label="鎶撴媿鍥�" min-width="100px">
<template slot-scope="{row}">
<el-image v-if="row.captureUrlFull!=null"
style="width: 80px; height: 80px"
@@ -97,8 +98,8 @@
startTime: '',
endTime: '',
eventType: '',
- companyName: '',
- radio: null
+ visitorWorkUint: '',
+ radio: '0'
},
time: []
}
@@ -110,6 +111,8 @@
'field.id': 'id',
'field.main': 'id'
})
+
+ this.changeRadio('0')
this.search()
},
methods: {
@@ -121,26 +124,25 @@
},
changeRadio (e) {
if (e === '0') {
- this.searchForm.startTime = timeForMat(1)[0]
- this.searchForm.endTime = timeForMat(1)[1]
- this.time = timeForMat(1)
+ this.searchForm.startTime = timeForMat(0)[0]
+ this.searchForm.endTime = timeForMat(0)[1]
+ this.time = timeForMat(0)
} else if (e === '1') {
- this.searchForm.startTime = timeForMat(7)[0]
- this.searchForm.endTime = timeForMat(7)[1]
- this.time = timeForMat(7)
+ this.searchForm.startTime = timeForMat(6)[0]
+ this.searchForm.endTime = timeForMat(6)[1]
+ this.time = timeForMat(6)
} else if (e === '2') {
- this.searchForm.startTime = timeForMat(30)[0]
- this.searchForm.endTime = timeForMat(30)[1]
- this.time = timeForMat(30)
+ this.searchForm.startTime = timeForMat(29)[0]
+ this.searchForm.endTime = timeForMat(29)[1]
+ this.time = timeForMat(29)
}
this.search()
},
reset () {
this.$refs.searchForm.resetFields()
- this.searchForm.startTime = ''
- this.searchForm.endTime = ''
this.time = []
- this.searchForm.radio = null
+ this.searchForm.radio = '0'
+ this.changeRadio('0')
this.search()
}
}
--
Gitblit v1.9.3