This commit is contained in:
熊成强 2020-11-11 10:54:24 +08:00
parent b99c2f252a
commit 4948d51014
3 changed files with 24 additions and 7 deletions

View File

@ -70,9 +70,11 @@
label="姓名"
width="55px"
><template slot-scope="scope">
<InfoHeader :isShow='false' :obj="{
<div class="header">
<InfoHeader :isShow='false' :obj="{
src:scope.row.avatar
}"/>
</div>
</template></el-table-column>
<el-table-column>
<template slot-scope="scope">
@ -234,7 +236,7 @@ export default {
//
let removeStaffIds = []
this.popupData.selectedList.forEach(item => {
removeStaffIds.push(item.id)
removeStaffIds.push(item.staffId)
})
let dicPara = {
changeType: 1,
@ -401,6 +403,10 @@ export default {
}
.popup {
.header{
height: 50px;
width: 50px;
}
max-width: 440px;
.el-button {
max-width: 104px;
@ -430,8 +436,8 @@ export default {
width: 100%;
}
&-img {
width: 34px;
height: 34px;
width: 50px;
height: 50px;
border-radius: 17px;
}
}

View File

@ -63,6 +63,7 @@ export default {
this.isLoading = false
this.$loadingStart()
let res = await apiAssessManagerChange(parmas)
console.log('res: ', res)
this.isLoading = true
if (res.code === 503) {
this.$confirm(res.msg, '提示', {
@ -72,15 +73,25 @@ export default {
}).then(async () => {
parmas.confirm = 1
let res1 = await apiAssessManagerChange(parmas)
this.isLoading = false
this.$loadingEnd()
if (res1.code !== 200) return this.$message.error(res1.msg)
history.go(-1)
}).catch(() => {
this.isLoading = false
this.$loadingEnd()
})
} else if (res.code !== 200) {
this.isLoading = false
this.$loadingEnd()
return this.$message.error(res.msg)
} else {
history.go(-1)
parmas.confirm = 1
let res1 = await apiAssessManagerChange(parmas)
this.isLoading = false
this.$loadingEnd()
if (res1.code !== 200) return this.$message.error(res1.msg)
// history.go(-1)
}
}
},

View File

@ -330,7 +330,7 @@ export default {
this.tableData = res.data.list
this.params.totalCount = res.data.totalCount
this.params.currPage = res.data.currPage
console.log('res: ', res)
console.log('this.params: ', this.params)
},
// 999
async handleStartsReq (type, handleNode) {
@ -433,7 +433,7 @@ export default {
//
this.showPopupMange = false
this.showPopupPerson = false
this.handleGetListContent()
this.handleGetChartList()
}
},
watch: {