劳务管理(人员管理):批量导入更新问题修复
This commit is contained in:
parent
2c45d1ddc7
commit
5aa38fcb23
@ -80,7 +80,7 @@
|
|||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right2">
|
<div class="right2" v-if="refreshPage">
|
||||||
<div class="title flex whiteBlock">
|
<div class="title flex whiteBlock">
|
||||||
<span>{{ $t('message.laborMange.crewInfo') }}</span>
|
<span>{{ $t('message.laborMange.crewInfo') }}</span>
|
||||||
<div class="team_number flex2">
|
<div class="team_number flex2">
|
||||||
@ -2017,6 +2017,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
refreshPage:true, //静默刷新
|
||||||
radio: '',
|
radio: '',
|
||||||
key: false, //判断是否显示一件下发按钮
|
key: false, //判断是否显示一件下发按钮
|
||||||
COMPANY: COMPANY,
|
COMPANY: COMPANY,
|
||||||
@ -2326,10 +2327,16 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSuccessE() {
|
handleSuccessE(file) {
|
||||||
this.$message.success(this.$t('message.laborMange.hint6')) //登录成功!
|
this.refreshPage = false
|
||||||
|
if(file.code == 200){
|
||||||
|
this.$message.success(this.$t('message.laborMange.hint6')) //导入成功
|
||||||
this.refreshBtn()
|
this.refreshBtn()
|
||||||
this.getTeamList()
|
this.getTeamList()
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.refreshPage = true
|
||||||
|
},100)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleErrorE() {
|
handleErrorE() {
|
||||||
this.$message.error(this.$t('message.laborMange.hint7'))
|
this.$message.error(this.$t('message.laborMange.hint7'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user