|
|
@ -150,8 +150,10 @@
|
|
|
|
//删除字段
|
|
|
|
//删除字段
|
|
|
|
handleDeleteAnnualAssessment(index,data) {
|
|
|
|
handleDeleteAnnualAssessment(index,data) {
|
|
|
|
console.log(data);
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
if(!data.id){
|
|
|
|
httpAction("/ai/preExaminationMattersField/delete", {id:data.id}, "post").then((res) => {
|
|
|
|
this.materialFields.splice(index, 1)
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
httpAction("/ai/preExaminationMattersField/delete", {id:data.id}, "post").then((res) => {
|
|
|
|
if (res.success) {
|
|
|
|
if (res.success) {
|
|
|
|
this.$message.success(res.message)
|
|
|
|
this.$message.success(res.message)
|
|
|
|
this.materialFields.splice(index, 1)
|
|
|
|
this.materialFields.splice(index, 1)
|
|
|
@ -159,6 +161,8 @@
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
add () {
|
|
|
|
add () {
|
|
|
|
this.visible=true
|
|
|
|
this.visible=true
|
|
|
@ -206,3 +210,8 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.ant-modal-footer{
|
|
|
|
|
|
|
|
display:none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|