劳务管理(人员管理):批量导入更新问题修复

This commit is contained in:
骆乐 2022-09-26 14:06:59 +08:00
parent 2c45d1ddc7
commit 5aa38fcb23

View File

@ -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
this.refreshBtn() if(file.code == 200){
this.getTeamList() this.$message.success(this.$t('message.laborMange.hint6')) //
this.refreshBtn()
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'))