修改禅道已知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] id: this.formInline.bussDocumentLibraryId.split(',')[index]
}) })
}) })
} else {
this.formInline.standNumber = []
} }
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
} else { } else {
@@ -575,7 +577,7 @@
this.$refs.ruleForm.validate(valid => { this.$refs.ruleForm.validate(valid => {
if (valid) { if (valid) {
let formInline = JSON.parse(JSON.stringify(this.formInline)) 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(',') formInline.standNumber = formInline.standNumber.join(',')
} }
this.loading = true this.loading = true
@@ -805,6 +807,7 @@
height: 38px; height: 38px;
margin-right: 10px; margin-right: 10px;
} }
.itemOption { .itemOption {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
@@ -14,7 +14,7 @@
</span> </span>
</div> </div>
<div class="content-box-content"> <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>
<div class="content-box-content-botton"> <div class="content-box-content-botton">
@@ -102,7 +102,7 @@
<div class="commentContent-text-one" v-for="(val,index1) in item.problemKnowledgeBaseCommentVOList" <div class="commentContent-text-one" v-for="(val,index1) in item.problemKnowledgeBaseCommentVOList"
v-if="item.problemKnowledgeBaseCommentVOList && item.problemKnowledgeBaseCommentVOList.length > 0"> v-if="item.problemKnowledgeBaseCommentVOList && item.problemKnowledgeBaseCommentVOList.length > 0">
<div class="commentContent-header"> <div class="commentContent-header">
<!-- <span class="commentContent-yuan"></span>--> <!-- <span class="commentContent-yuan"></span>-->
<span class="commentContent-title">{{val.createBy}}</span> <span class="commentContent-title">{{val.createBy}}</span>
<span class="commentContent-time">{{val.createTime}}</span> <span class="commentContent-time">{{val.createTime}}</span>
</div> </div>
@@ -151,6 +151,10 @@
<script> <script>
import { getAction, postAction, downloadFile, putAction } from '@/api/manage' 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 SelectedBy from '@/components/SelectedBy/index'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { Base64 } from 'js-base64' import { Base64 } from 'js-base64'
@@ -210,7 +214,7 @@
let index2 = fileName.length let index2 = fileName.length
let fileSuffix = fileName.substring(index1, index2) let fileSuffix = fileName.substring(index1, index2)
if (fileSuffix == '.pdf') { 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') { } else if (fileSuffix == '.docx' || fileSuffix == '.doc') {
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix) let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
window.open(url, '_blank') window.open(url, '_blank')
@@ -223,7 +227,7 @@
} }
}, },
download(item) { 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) { getData(val) {
this.queryBase = val this.queryBase = val
@@ -426,6 +430,7 @@
border-bottom: 1px solid #E6E6E9; border-bottom: 1px solid #E6E6E9;
display: flex; display: flex;
align-items: center; align-items: center;
.icon-left { .icon-left {
font-size: 16px; font-size: 16px;
margin-right: 6px; margin-right: 6px;
@@ -700,6 +705,7 @@
display: inline-block; display: inline-block;
margin-left: 3px; margin-left: 3px;
} }
.Required { .Required {
color: red; color: red;
margin-right: 4px; margin-right: 4px;