分公司隐患考评 - 支持根据本人考评时间范围查询
parent
ca3900e474
commit
f2bfc5f4c7
|
@ -82,6 +82,19 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</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-col :span="4">
|
||||||
<el-form-item label-width="10px">
|
<el-form-item label-width="10px">
|
||||||
<el-button v-waves type="primary" icon="el-icon-search" @click="getList">
|
<el-button v-waves type="primary" icon="el-icon-search" @click="getList">
|
||||||
|
@ -154,6 +167,13 @@
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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">
|
<el-table-column label="操作" width="400px">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="info" icon="el-icon-view" @click="fnViewHidden(row.HIDDEN_ID)">查看隐患详情</el-button>
|
<el-button type="info" icon="el-icon-view" @click="fnViewHidden(row.HIDDEN_ID)">查看隐患详情</el-button>
|
||||||
|
@ -267,7 +287,8 @@ export default {
|
||||||
DEPARTMENT_ID: null,
|
DEPARTMENT_ID: null,
|
||||||
STATE: '',
|
STATE: '',
|
||||||
hiddendescr: '',
|
hiddendescr: '',
|
||||||
userIs: ''
|
userIs: '',
|
||||||
|
userIsDate : []
|
||||||
},
|
},
|
||||||
evaluationDialog: {
|
evaluationDialog: {
|
||||||
visible: false,
|
visible: false,
|
||||||
|
@ -325,6 +346,7 @@ export default {
|
||||||
this.searchForm.STATE = ''
|
this.searchForm.STATE = ''
|
||||||
this.searchForm.hiddendescr = ''
|
this.searchForm.hiddendescr = ''
|
||||||
this.searchForm.userIs = ''
|
this.searchForm.userIs = ''
|
||||||
|
this.searchForm.userIsDate = ''
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
// 获取列表
|
// 获取列表
|
||||||
|
@ -336,6 +358,8 @@ export default {
|
||||||
...this.searchForm,
|
...this.searchForm,
|
||||||
START_TIME: this.searchForm.dates && this.searchForm.dates[0],
|
START_TIME: this.searchForm.dates && this.searchForm.dates[0],
|
||||||
END_TIME: this.searchForm.dates && this.searchForm.dates[1],
|
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,
|
CORPINFO_ID: this.$parent.CORPINFO_ID,
|
||||||
EVALUATIONCONFIG_ID: this.$parent.EVALUATIONCONFIG_ID,
|
EVALUATIONCONFIG_ID: this.$parent.EVALUATIONCONFIG_ID,
|
||||||
TYPE: this.$parent.TYPE
|
TYPE: this.$parent.TYPE
|
||||||
|
|
Loading…
Reference in New Issue