分公司隐患考评 - 支持根据本人考评时间范围查询

hyx_2024-9-29_tongbu
water_xu 2024-08-23 10:26:58 +08:00
parent ca3900e474
commit f2bfc5f4c7
1 changed files with 25 additions and 1 deletions

View File

@ -82,6 +82,19 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="8" v-if="searchForm.userIs == '1'">
<el-form-item label="本人考评时间">
<el-date-picker
v-model="searchForm.userIsDate"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
style="width: 100%;"/>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label-width="10px">
<el-button v-waves type="primary" icon="el-icon-search" @click="getList">
@ -154,6 +167,13 @@
</template>
</template>
</el-table-column>
<el-table-column prop="userIsTime" label="本人考评时间" v-if="searchForm.userIsDate != undefined && searchForm.userIsDate != '' && searchForm.userIsDate[0]">
<template slot-scope="{row}">
<template>
<span>{{ row.userIsTime }}</span>
</template>
</template>
</el-table-column>
<el-table-column label="操作" width="400px">
<template slot-scope="{row}">
<el-button type="info" icon="el-icon-view" @click="fnViewHidden(row.HIDDEN_ID)"></el-button>
@ -267,7 +287,8 @@ export default {
DEPARTMENT_ID: null,
STATE: '',
hiddendescr: '',
userIs: ''
userIs: '',
userIsDate : []
},
evaluationDialog: {
visible: false,
@ -325,6 +346,7 @@ export default {
this.searchForm.STATE = ''
this.searchForm.hiddendescr = ''
this.searchForm.userIs = ''
this.searchForm.userIsDate = ''
this.getList()
},
//
@ -336,6 +358,8 @@ export default {
...this.searchForm,
START_TIME: this.searchForm.dates && this.searchForm.dates[0],
END_TIME: this.searchForm.dates && this.searchForm.dates[1],
USER_IS_START_TIME: this.searchForm.userIsDate && this.searchForm.userIsDate[0],
USER_IS_END_TIME: this.searchForm.userIsDate && this.searchForm.userIsDate[1],
CORPINFO_ID: this.$parent.CORPINFO_ID,
EVALUATIONCONFIG_ID: this.$parent.EVALUATIONCONFIG_ID,
TYPE: this.$parent.TYPE