修改禅道已知bug
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
:visible="visible">
|
||||
<div class="button-box">
|
||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('comment')"
|
||||
v-model="commentText"></j-input>
|
||||
v-model="commentContent"></j-input>
|
||||
<a-button @click="submitQuery" style="margin-right: 8px;" type="primary">{{$t('query')}}</a-button>
|
||||
<a-button @click="handleSubmit" type="primary">{{$t('publishComment')}}</a-button>
|
||||
</div>
|
||||
@@ -102,7 +102,7 @@
|
||||
visible: false,
|
||||
dataList: [],
|
||||
formInline: {},
|
||||
commentText:'',
|
||||
commentContent:'',
|
||||
loading: false,
|
||||
title: this.$t('comment'),
|
||||
confirmLoading: false,
|
||||
@@ -153,7 +153,7 @@
|
||||
},
|
||||
getList() {
|
||||
this.loading = true
|
||||
getAction(this.url.list, { projectLibraryId: this.$route.query.id }).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 || []
|
||||
|
||||
@@ -24,31 +24,31 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction, postAction, } from '@/api/manage'
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
|
||||
export default {
|
||||
name: 'historicalVersionList',
|
||||
data(){
|
||||
return{
|
||||
visible:false,
|
||||
confirmLoading:false,
|
||||
dataSource:[],
|
||||
loading:false,
|
||||
url:{
|
||||
list:'project/projectHistoryVersionsEO/list',
|
||||
data() {
|
||||
return {
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
dataSource: [],
|
||||
loading: false,
|
||||
url: {
|
||||
list: 'project/projectHistoryVersionsEO/list'
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('versionName'),
|
||||
dataIndex: 'versionName',
|
||||
dataIndex: 'versionsName',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('finalizationTime'),
|
||||
dataIndex: 'finalizationTime',
|
||||
dataIndex: 'createTime',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
width: 180
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
@@ -61,8 +61,8 @@
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
methods:{
|
||||
getList(){
|
||||
methods: {
|
||||
getList() {
|
||||
this.visible = true
|
||||
this.historicalList()
|
||||
},
|
||||
@@ -72,7 +72,7 @@
|
||||
handleCancel() {
|
||||
this.visible = false
|
||||
},
|
||||
historicalList(){
|
||||
historicalList() {
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
@@ -86,9 +86,13 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
seeClick(item){
|
||||
|
||||
},
|
||||
seeClick(item) {
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/historicalVersion',
|
||||
query: item
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user