修改禅道已知bug
This commit is contained in:
@@ -185,7 +185,7 @@
|
||||
:confirm-loading="confirmLoading"
|
||||
@ok="modalOk"
|
||||
@cancel="batSetCancel"
|
||||
style="width: 1000px"
|
||||
style="width: 1000px;height: auto"
|
||||
>
|
||||
<split-bat-form
|
||||
ref="fileForm"
|
||||
@@ -1306,6 +1306,14 @@
|
||||
min-width: 700px;
|
||||
}
|
||||
|
||||
.ant-select-dropdown--multiple {
|
||||
max-height: 39vh !important;
|
||||
}
|
||||
|
||||
.ant-modal-body {
|
||||
overflow-y: visible !important;
|
||||
}
|
||||
|
||||
.ant-modal-footer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -9,10 +9,14 @@
|
||||
@close="handleCancel"
|
||||
:visible="visible">
|
||||
<div class="button-box">
|
||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('comment')"
|
||||
v-model="commentContent"></j-input>
|
||||
<a-input-search class="box-input box-input-search" allowClear
|
||||
@search="allowClearChange"
|
||||
:placeholder="$t('PleaseEnter')+$t('comment')"
|
||||
v-model="commentContent"></a-input-search>
|
||||
<a-button @click="submitQuery" style="margin-right: 8px;" type="primary">{{$t('query')}}</a-button>
|
||||
<a-button @click="handleSubmit" class="button-text" :title="$t('publishComment')" type="primary">{{$t('publishComment')}}</a-button>
|
||||
<a-button @click="handleSubmit" class="button-text" :title="$t('publishComment')" type="primary">
|
||||
{{$t('publishComment')}}
|
||||
</a-button>
|
||||
</div>
|
||||
<div class="comment-box" v-if="dataList && dataList.length > 0">
|
||||
<div class="comment-box-top-box" v-for="(item,index) in dataList" :key="index">
|
||||
@@ -102,7 +106,7 @@
|
||||
visible: false,
|
||||
dataList: [],
|
||||
formInline: {},
|
||||
commentContent:'',
|
||||
commentContent: '',
|
||||
loading: false,
|
||||
title: this.$t('comment'),
|
||||
confirmLoading: false,
|
||||
@@ -148,12 +152,18 @@
|
||||
this.$refs.ruleForm.clearValidate()
|
||||
})
|
||||
},
|
||||
submitQuery(){
|
||||
|
||||
allowClearChange() {
|
||||
this.getList()
|
||||
},
|
||||
submitQuery() {
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
this.loading = true
|
||||
getAction(this.url.list, { projectLibraryId: this.$route.query.id,commentContent:this.commentContent }).then((res) => {
|
||||
getAction(this.url.list, {
|
||||
projectLibraryId: this.$route.query.id,
|
||||
commentContent: this.commentContent
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
this.loading = false
|
||||
this.dataList = res.result || []
|
||||
@@ -315,7 +325,7 @@
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index:100;
|
||||
z-index: 100;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
padding: 10px 16px;
|
||||
text-align: right;
|
||||
@@ -363,14 +373,21 @@
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
}
|
||||
.box-input{
|
||||
width: calc(100% - 168px);
|
||||
margin-right: 8px;
|
||||
|
||||
.box-input {
|
||||
width: calc(100% - 168px);
|
||||
margin-right: 8px;
|
||||
}
|
||||
.button-text{
|
||||
width: 80px;
|
||||
|
||||
.button-text {
|
||||
width: 73px;
|
||||
overflow: hidden;
|
||||
padding:0 10px;
|
||||
padding: 0 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.box-input-search .ant-input-suffix .ant-input-search-icon{
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user