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

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() this.$refs['ruleForm'].resetFields()
}, },
handleSubmit() { 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')) this.$message.warning(this.$t('certificationCategory')+this.$t('cannotEmpty'))
return return
} }
@@ -738,12 +739,12 @@ export default {
}) })
let querycontentList = JSON.parse(JSON.stringify(this.contentList)) let querycontentList = JSON.parse(JSON.stringify(this.contentList))
query.certCategoryParamsInfoEOList = querycontentList query.certCategoryParamsInfoEOList = querycontentList
if(this.formInline.controlType == 11){ // if(this.formInline.controlType == 11){
query.certCategoryParamsInfoEOList = [] // query.certCategoryParamsInfoEOList = []
query.certCategory = '' // query.certCategory = ''
}else{ // }else{
query.titleDefaultValue = '' // query.titleDefaultValue = ''
} // }
this.confirmLoading = true this.confirmLoading = true
Action(url, query).then((res) => { Action(url, query).then((res) => {
if (res.success) { if (res.success) {