劳务管理(人员管理):重复数据导入问题
This commit is contained in:
parent
7d21a6787f
commit
850e040cc0
@ -115,7 +115,7 @@
|
|||||||
>
|
>
|
||||||
</div> -->
|
</div> -->
|
||||||
</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">
|
<div class="title whiteBlock flex">
|
||||||
<span>{{ $t('message.laborMange.crewInfo') }}</span>
|
<span>{{ $t('message.laborMange.crewInfo') }}</span>
|
||||||
<div class="team_number flex2">
|
<div class="team_number flex2">
|
||||||
@ -436,7 +436,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="address" width="280px">
|
<el-table-column prop="address" width="300px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="tableBtns">
|
<div class="tableBtns">
|
||||||
<el-button
|
<el-button
|
||||||
@ -1773,6 +1773,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
refreshPage:true,
|
||||||
key: false,
|
key: false,
|
||||||
isCheckeedData: true, //判断一键下发是否有数据选中
|
isCheckeedData: true, //判断一键下发是否有数据选中
|
||||||
COMPANY: COMPANY,
|
COMPANY: COMPANY,
|
||||||
@ -1919,7 +1920,7 @@ export default {
|
|||||||
if (item2.actionCode == 'akey_issued') {
|
if (item2.actionCode == 'akey_issued') {
|
||||||
this.key = true
|
this.key = true
|
||||||
}
|
}
|
||||||
console.log('this.key', this.key)
|
// console.log('this.key', this.key)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -2055,9 +2056,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSuccessE() {
|
handleSuccessE(file) {
|
||||||
this.$message.success(this.$t('message.laborMange.hint6')) //导入成功!
|
this.refreshPage = false
|
||||||
|
if(file.code == 200){
|
||||||
|
this.$message.success(file.message) //导入成功
|
||||||
this.refreshBtn()
|
this.refreshBtn()
|
||||||
|
}
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.refreshPage = true
|
||||||
|
})
|
||||||
},
|
},
|
||||||
handleErrorE() {
|
handleErrorE() {
|
||||||
this.$message.error(this.$t('message.laborMange.hint7')) //导入失败
|
this.$message.error(this.$t('message.laborMange.hint7')) //导入失败
|
||||||
|
|||||||
@ -392,7 +392,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="address" width="270px">
|
<el-table-column prop="address" width="300px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="tableBtns">
|
<div class="tableBtns">
|
||||||
<!-- 退场 -->
|
<!-- 退场 -->
|
||||||
@ -2206,7 +2206,7 @@ export default {
|
|||||||
if (item2.actionCode == 'akey_issued') {
|
if (item2.actionCode == 'akey_issued') {
|
||||||
this.key = true
|
this.key = true
|
||||||
}
|
}
|
||||||
console.log('this.key', this.key)
|
// console.log('this.key', this.key)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -2331,13 +2331,13 @@ export default {
|
|||||||
this.refreshPage = false
|
this.refreshPage = false
|
||||||
console.log('==========',file)
|
console.log('==========',file)
|
||||||
if(file.code == 200){
|
if(file.code == 200){
|
||||||
this.$message.success(this.$t('message.laborMange.hint6')) //导入成功
|
this.$message.success(file.message) //导入成功
|
||||||
this.refreshBtn()
|
this.refreshBtn()
|
||||||
this.getTeamList()
|
this.getTeamList()
|
||||||
setTimeout(()=>{
|
|
||||||
this.refreshPage = true
|
|
||||||
},100)
|
|
||||||
}
|
}
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.refreshPage = true
|
||||||
|
})
|
||||||
},
|
},
|
||||||
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