diff --git a/src/components/popupPerson/index.vue b/src/components/popupPerson/index.vue
index 0479edc..b8babe1 100644
--- a/src/components/popupPerson/index.vue
+++ b/src/components/popupPerson/index.vue
@@ -70,9 +70,11 @@
label="姓名"
width="55px"
>
-
+
+
@@ -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;
}
}
diff --git a/src/views/kpi/assessment/stepList/addPerson.vue b/src/views/kpi/assessment/stepList/addPerson.vue
index 68b18b4..7a0182d 100644
--- a/src/views/kpi/assessment/stepList/addPerson.vue
+++ b/src/views/kpi/assessment/stepList/addPerson.vue
@@ -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)
}
}
},
diff --git a/src/views/kpi/assessment/stepList/index.vue b/src/views/kpi/assessment/stepList/index.vue
index ac95568..b9ade3a 100644
--- a/src/views/kpi/assessment/stepList/index.vue
+++ b/src/views/kpi/assessment/stepList/index.vue
@@ -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: {