劳务管理(人员管理):重复数据导入问题
This commit is contained in:
parent
7d21a6787f
commit
850e040cc0
@ -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')) //导入失败
|
||||
|
||||
@ -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'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user