修改禅道已知bug

This commit is contained in:
qq787203167
2022-03-11 10:07:10 +08:00
parent 0001dc9035
commit 86e4f56f90
3 changed files with 46 additions and 25 deletions
@@ -3,15 +3,18 @@
<div class="search-text-wrap">
<div class="text-left">
<div class="text-left-wrap">
<div class="text-left-select" v-for="item in searchOption" :key="item.id">
<span class="text-sel">{{item.value}}</span>
<a-select class="text-select" :default-value="item.option[0].value" style="width: 120px"
@change="handleChange">
<a-select-option v-for="opt in item.option" :value="opt.value">
{{opt.value}}
</a-select-option>
</a-select>
<div v-for="item in searchOption" :key="item.id">
<div class="text-left-select">
<span class="text-sel">{{item.value}}</span>
<a-select class="text-select" :default-value="item.option[0].value" style="width: 120px"
@change="handleChange">
<a-select-option v-for="opt in item.option" :value="opt.value">
{{opt.value}}
</a-select-option>
</a-select>
</div>
</div>
<div class="text-left-select">
<span class="text-sel">发布日期</span>
<a-date-picker class="text-select" @change="onChange"/>
@@ -39,7 +42,6 @@
v-if="isTrue"
ref="table"
size="middle"
bordered
:scroll="{x: true}"
rowKey="id"
:data-source="tableData"
@@ -53,7 +55,7 @@
<a @click="subscribe(record)" class="text-operation">
{{!record.subscribeFlag || record.subscribeFlag == 0 ? $t('subscribe') :$t('CancelSubscribe')}}
</a>
<a> {{$t('Push')}}</a>
<a @click="handleCompare(record)" class="text-operation"> {{$t('Push')}}</a>
</span>
<!-- 字符串超长截取省略号显示-->
<!-- <span slot="templateContent" slot-scope="text">-->
@@ -106,9 +108,10 @@
import eventBUs from '../../../../common/event'
import { getAction, postAction } from '@/api/manage'
import libraryPush from '@/components/libraryPush/index'
export default {
name: 'DocumentLibrary',
components:{
components: {
libraryPush
},
data() {
@@ -220,9 +223,11 @@
]
}
],
tableData: [],
url:{
pullMessage: 'document/bussDocumentLibraryEO/pullMessage',//推送
tableData: [
{}
],
url: {
pullMessage: 'document/bussDocumentLibraryEO/pullMessage'//推送
},
columns: [
{
@@ -415,7 +420,7 @@
},
//推送
handleCompare(val) {
let item = JSON.parse(JSON.stringify(val))
let item = JSON.parse(JSON.stringify(val))
this.$nextTick(() => {
this.$refs.libraryPushRef.visible = true
this.$refs.libraryPushRef.tableKey = item.id.split(',')