注释选择标题时隐藏认证类别

This commit is contained in:
zyx.net
2022-08-25 14:34:41 +08:00
parent 2c65718524
commit 12d3533663
@@ -676,7 +676,8 @@ export default {
this.$refs['ruleForm'].resetFields()
},
handleSubmit() {
if(this.formInline.certCategory == undefined && this.formInline.controlType != 11) {
// && this.formInline.controlType != 11
if(this.formInline.certCategory == undefined ) {
this.$message.warning(this.$t('certificationCategory')+this.$t('cannotEmpty'))
return
}
@@ -738,12 +739,12 @@ export default {
})
let querycontentList = JSON.parse(JSON.stringify(this.contentList))
query.certCategoryParamsInfoEOList = querycontentList
if(this.formInline.controlType == 11){
query.certCategoryParamsInfoEOList = []
query.certCategory = ''
}else{
query.titleDefaultValue = ''
}
// if(this.formInline.controlType == 11){
// query.certCategoryParamsInfoEOList = []
// query.certCategory = ''
// }else{
// query.titleDefaultValue = ''
// }
this.confirmLoading = true
Action(url, query).then((res) => {
if (res.success) {