劳务管理(人员管理):重复数据导入问题

This commit is contained in:
骆乐 2022-09-29 17:35:28 +08:00
parent 7d21a6787f
commit 850e040cc0
2 changed files with 19 additions and 12 deletions

View File

@ -115,7 +115,7 @@
>
</div> -->
</div>
<div class="right2" style="width: 100%; margin-left: 0">
<div class="right2" style="width: 100%; margin-left: 0" v-if="refreshPage" >
<div class="title whiteBlock flex">
<span>{{ $t('message.laborMange.crewInfo') }}</span>
<div class="team_number flex2">
@ -436,7 +436,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="address" width="280px">
<el-table-column prop="address" width="300px">
<template slot-scope="scope">
<div class="tableBtns">
<el-button
@ -1773,6 +1773,7 @@ export default {
},
data() {
return {
refreshPage:true,
key: false,
isCheckeedData: true, //
COMPANY: COMPANY,
@ -1919,7 +1920,7 @@ export default {
if (item2.actionCode == 'akey_issued') {
this.key = true
}
console.log('this.key', this.key)
// console.log('this.key', this.key)
})
}
})
@ -2055,9 +2056,15 @@ export default {
}
}
},
handleSuccessE() {
this.$message.success(this.$t('message.laborMange.hint6')) //
this.refreshBtn()
handleSuccessE(file) {
this.refreshPage = false
if(file.code == 200){
this.$message.success(file.message) //
this.refreshBtn()
}
this.$nextTick(()=>{
this.refreshPage = true
})
},
handleErrorE() {
this.$message.error(this.$t('message.laborMange.hint7')) //

View File

@ -392,7 +392,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="address" width="270px">
<el-table-column prop="address" width="300px">
<template slot-scope="scope">
<div class="tableBtns">
<!-- 退场 -->
@ -2206,7 +2206,7 @@ export default {
if (item2.actionCode == 'akey_issued') {
this.key = true
}
console.log('this.key', this.key)
// console.log('this.key', this.key)
})
}
})
@ -2331,13 +2331,13 @@ export default {
this.refreshPage = false
console.log('==========',file)
if(file.code == 200){
this.$message.success(this.$t('message.laborMange.hint6')) //
this.$message.success(file.message) //
this.refreshBtn()
this.getTeamList()
setTimeout(()=>{
this.refreshPage = true
},100)
}
this.$nextTick(()=>{
this.refreshPage = true
})
},
handleErrorE() {
this.$message.error(this.$t('message.laborMange.hint7'))