diff --git a/ruoyi-ui/src/views/kaohe/pingce/index.vue b/ruoyi-ui/src/views/kaohe/pingce/index.vue
index 270af1c..b5701cb 100644
--- a/ruoyi-ui/src/views/kaohe/pingce/index.vue
+++ b/ruoyi-ui/src/views/kaohe/pingce/index.vue
@@ -415,7 +415,7 @@
-
@@ -424,8 +424,8 @@
{{ item.bkhdxName }}
-
+
@@ -451,8 +451,7 @@
-
@@ -1260,10 +1259,21 @@ export default {
Vote.voteItems = '1,2,3,4'
}
if (Vote.id != null && flag ) {
+
+ if(Vote.state==='2'){
+ Vote.state='1';
+ }
updateVote(Vote).then(response => {
this.$modal.msgSuccess("修改成功")
this.cancelVote()
})
+ if(this.pcSetUp.row.state==='2'){
+ // 修改考核任务状态 进行中
+ this.pcSetUp.row.state='1'
+ updatePingce(this.pcSetUp.row).then(response => {
+ this.getList()
+ })
+ }
} else if(Vote.id === null && flag){
Vote.state = '0';
addVote(Vote).then(response => {