修改页面bug

main
252535409 2 years ago
parent dc0628ea7a
commit 5e87e5f2ee

@ -11,18 +11,18 @@
<a-row :gutter="24" :style="{ textAlign: 'center' }">
<a-col :span="12">
<a-form-item label="资料袋编码" props="code">
<a-input placeholder="请输入资料袋编码" v-model="queryParams.code" />
<a-input placeholder="请输入资料袋编码" v-model="queryParams.materialBag" />
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="资料袋类型" props="type">
<a-input placeholder="请输入资料袋类型" v-model="queryParams.type" />
<a-input placeholder="请输入资料袋类型" v-model="queryParams.materialType" />
</a-form-item>
</a-col>
<a-divider dashed />
<a-col :span="12">
<a-form-item label="所属站点" props="site">
<a-input placeholder="请输入所属站点" v-model="queryParams.site" />
<a-input placeholder="请输入所属站点" v-model="queryParams.orgCode" />
</a-form-item>
</a-col>
<a-divider dashed />

@ -150,8 +150,10 @@
//
handleDeleteAnnualAssessment(index,data) {
console.log(data);
httpAction("/ai/preExaminationMattersField/delete", {id:data.id}, "post").then((res) => {
if(!data.id){
this.materialFields.splice(index, 1)
}else{
httpAction("/ai/preExaminationMattersField/delete", {id:data.id}, "post").then((res) => {
if (res.success) {
this.$message.success(res.message)
this.materialFields.splice(index, 1)
@ -159,6 +161,8 @@
this.$message.warning(res.message)
}
})
}
},
add () {
this.visible=true
@ -205,4 +209,9 @@
}
}
}
</script>
</script>
<style>
.ant-modal-footer{
display:none;
}
</style>
Loading…
Cancel
Save