人员管理 - 新增人员重新推送功能

xuyifeng-0724-人员中台对接-pet
water_xu 2024-07-08 11:16:45 +08:00
parent 0730ef2aa7
commit 110d32c3cd
1 changed files with 12 additions and 2 deletions

View File

@ -7,6 +7,13 @@
<el-input v-model="KEYWORDS" placeholder="请输入用户名"/> <el-input v-model="KEYWORDS" placeholder="请输入用户名"/>
</el-form-item> </el-form-item>
</el-col> </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-col v-if="false" :span="6">
<el-form-item label="培训状态"> <el-form-item label="培训状态">
<el-select v-model="STATUS" placeholder="请选择培训状态" style="width: 100%;" clearable> <el-select v-model="STATUS" placeholder="请选择培训状态" style="width: 100%;" clearable>
@ -48,7 +55,7 @@
<el-table-column label="操作" align="center" width="250"> <el-table-column label="操作" align="center" width="250">
<template slot-scope="{row}"> <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-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> <el-button v-if="false" type="success" icon="el-icon-edit" size="mini" @click="getUserInfo(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -110,6 +117,8 @@ export default {
value: 2, value: 2,
label: '已培训(合格)' label: '已培训(合格)'
}, { value: 3, label: '已培训(不合格)' }, { value: 9, label: '申请中' }], }, { value: 3, label: '已培训(不合格)' }, { value: 9, label: '申请中' }],
sendStatusList:[{value:'0', label:'未推送'},{value:'1', label:'已推送'}],
SENDSTATUS:'0',
STATUS: '', STATUS: '',
add: false, // add: false, //
del: false, // del: false, //
@ -147,7 +156,8 @@ export default {
{ {
KEYWORDS: this.KEYWORDS, KEYWORDS: this.KEYWORDS,
STATUS: this.STATUS, STATUS: this.STATUS,
UN_EMPLOY_FLAG: '0' UN_EMPLOY_FLAG: this.SENDSTATUS == '0' ? '0' : '',
EMPLOY_FLAG:this.SENDSTATUS == '1'? '1' : ''
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false