修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-12 16:59:15 +08:00
parent 18a2bffc10
commit 2e69983ab6
3 changed files with 27 additions and 17 deletions
+1 -1
View File
@@ -1213,7 +1213,7 @@ module.exports = {
displayPermission: 'Display permission', displayPermission: 'Display permission',
authorizedUser: 'Authorized user', authorizedUser: 'Authorized user',
problemClassification: 'Problem classification', problemClassification: 'Problem classification',
market: 'market', market: 'Market',
documentNumber: 'Document Number', documentNumber: 'Document Number',
documentTitle: 'Document Title', documentTitle: 'Document Title',
bringInDocumentInformation: 'Bring in document information', bringInDocumentInformation: 'Bring in document information',
@@ -587,4 +587,7 @@
::v-deep .itemModel-explain .ant-form-explain { ::v-deep .itemModel-explain .ant-form-explain {
margin-top: 60px margin-top: 60px
} }
::v-deep .ql-tooltip {
z-index: 10 !important;
}
</style> </style>
@@ -22,7 +22,7 @@
{{$t('issuedBy')}}:{{this.queryForm.createBy}} {{$t('issuedBy')}}:{{this.queryForm.createBy}}
</span> </span>
<span> <span>
{{$t('releaseDate')}}:{{this.queryForm.createTime}} {{$t('releaseDate')}}:{{this.queryForm.createTime?this.queryForm.createTime.slice(0,11):''}}
</span> </span>
</div> </div>
<div class="content-text"> <div class="content-text">
@@ -254,21 +254,26 @@
this.$message.warning(this.$t('pleaseEnter')) this.$message.warning(this.$t('pleaseEnter'))
return return
} }
let query = { this.$refs.ruleForm.validate(valid => {
problemKnowledgeBaseId: this.$route.query.id, if (valid) {
commentContent: this.formInline.commentContent, let query = {
commentUserId: this.userInfo().id problemKnowledgeBaseId: this.$route.query.id,
} commentContent: this.formInline.commentContent,
this.loading = true commentUserId: this.userInfo().id
postAction('/problemKnowledgeBase/problemKnowledgeBaseCommentEO/add', query).then((res) => { }
if (res.success) { this.loading = true
this.$message.success(this.$t('OperationSuccessful')) postAction('/problemKnowledgeBase/problemKnowledgeBaseCommentEO/add', query).then((res) => {
this.releaseData() if (res.success) {
this.formInline = {} this.$message.success(this.$t('OperationSuccessful'))
this.loading = false this.$refs.ruleForm.clearValidate()
} else { this.releaseData()
this.$message.warning(this.$t('operationFailed')) this.formInline = {}
this.loading = false this.loading = false
} else {
this.$message.warning(this.$t('operationFailed'))
this.loading = false
}
})
} }
}) })
}, },
@@ -398,6 +403,7 @@
font-size: 16px; font-size: 16px;
color: #040B29; color: #040B29;
font-weight: 400; font-weight: 400;
word-break: break-word;
} }
.content-icon { .content-icon {
@@ -510,4 +516,5 @@
font-size: 16px; font-size: 16px;
margin-bottom: 20px; margin-bottom: 20px;
} }
</style> </style>