人员管理 - 新增人员重新推送功能
parent
0730ef2aa7
commit
110d32c3cd
|
@ -7,6 +7,13 @@
|
|||
<el-input v-model="KEYWORDS" placeholder="请输入用户名"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="推送状态">
|
||||
<el-select v-model="SENDSTATUS" placeholder="请选择推送状态" style="width: 100%;" clearable>
|
||||
<el-option v-for="item in sendStatusList" :key="item.value" :label="item.label" :value="item.value"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="false" :span="6">
|
||||
<el-form-item label="培训状态">
|
||||
<el-select v-model="STATUS" placeholder="请选择培训状态" style="width: 100%;" clearable>
|
||||
|
@ -48,7 +55,7 @@
|
|||
<el-table-column label="操作" align="center" width="250">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)">详情</el-button>
|
||||
<el-button type="primary" icon="el-icon-s-claim" size="mini" @click="sendMessage([row])">推送</el-button>
|
||||
<el-button type="primary" icon="el-icon-s-claim" size="mini" @click="sendMessage([row])">{{row.EMPLOY_FLAG == '1' ? '重新推送' : '推送'}}</el-button>
|
||||
<el-button v-if="false" type="success" icon="el-icon-edit" size="mini" @click="getUserInfo(row)">电子合格证</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -110,6 +117,8 @@ export default {
|
|||
value: 2,
|
||||
label: '已培训(合格)'
|
||||
}, { value: 3, label: '已培训(不合格)' }, { value: 9, label: '申请中' }],
|
||||
sendStatusList:[{value:'0', label:'未推送'},{value:'1', label:'已推送'}],
|
||||
SENDSTATUS:'0',
|
||||
STATUS: '',
|
||||
add: false, // 新增按钮
|
||||
del: false, // 删除按钮
|
||||
|
@ -147,7 +156,8 @@ export default {
|
|||
{
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
STATUS: this.STATUS,
|
||||
UN_EMPLOY_FLAG: '0'
|
||||
UN_EMPLOY_FLAG: this.SENDSTATUS == '0' ? '0' : '',
|
||||
EMPLOY_FLAG:this.SENDSTATUS == '1'? '1' : ''
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
|
Loading…
Reference in New Issue