修改禅道已知bug

This commit is contained in:
sunFlower
2022-09-30 11:04:11 +08:00
parent 13f3933ca0
commit 21b20a8a87
2 changed files with 14 additions and 5 deletions
@@ -458,6 +458,8 @@
id: this.formInline.bussDocumentLibraryId.split(',')[index]
})
})
} else {
this.formInline.standNumber = []
}
this.formInline = { ...this.formInline }
} else {
@@ -575,7 +577,7 @@
this.$refs.ruleForm.validate(valid => {
if (valid) {
let formInline = JSON.parse(JSON.stringify(this.formInline))
if (formInline.standNumber && formInline.standNumber.length > 0){
if (formInline.standNumber && formInline.standNumber.length > 0) {
formInline.standNumber = formInline.standNumber.join(',')
}
this.loading = true
@@ -805,6 +807,7 @@
height: 38px;
margin-right: 10px;
}
.itemOption {
display: inline-block;
width: 100%;
@@ -14,7 +14,7 @@
</span>
</div>
<div class="content-box-content">
<div class="content-box-content-top" v-html="queryForm.content">
<div class="content-box-content-top ql-editor" v-html="queryForm.content">
</div>
<div class="content-box-content-botton">
@@ -102,7 +102,7 @@
<div class="commentContent-text-one" v-for="(val,index1) in item.problemKnowledgeBaseCommentVOList"
v-if="item.problemKnowledgeBaseCommentVOList && item.problemKnowledgeBaseCommentVOList.length > 0">
<div class="commentContent-header">
<!-- <span class="commentContent-yuan"></span>-->
<!-- <span class="commentContent-yuan"></span>-->
<span class="commentContent-title">{{val.createBy}}</span>
<span class="commentContent-time">{{val.createTime}}</span>
</div>
@@ -151,6 +151,10 @@
<script>
import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import { quillEditor } from 'vue-quill-editor'
import SelectedBy from '@/components/SelectedBy/index'
import { mapGetters } from 'vuex'
import { Base64 } from 'js-base64'
@@ -210,7 +214,7 @@
let index2 = fileName.length
let fileSuffix = fileName.substring(index1, index2)
if (fileSuffix == '.pdf') {
window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id+'&userName='+this.userInfo().username))
window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id + '&userName=' + this.userInfo().username))
} else if (fileSuffix == '.docx' || fileSuffix == '.doc') {
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
window.open(url, '_blank')
@@ -223,7 +227,7 @@
}
},
download(item) {
downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id ,userName:this.userInfo().username})
downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username })
},
getData(val) {
this.queryBase = val
@@ -426,6 +430,7 @@
border-bottom: 1px solid #E6E6E9;
display: flex;
align-items: center;
.icon-left {
font-size: 16px;
margin-right: 6px;
@@ -700,6 +705,7 @@
display: inline-block;
margin-left: 3px;
}
.Required {
color: red;
margin-right: 4px;