|
@@ -168,7 +168,7 @@
|
|
|
</a-modal>
|
|
|
|
|
|
<!-- 企业公告详情 弹框-->
|
|
|
- <detAnn-modal ref="DetAnnModal" @ok="modalFormOk" :fatherData="annDetail"></detAnn-modal>
|
|
|
+ <detAnn-modal ref="DetAnnModal" @ok="modalFormOk" :fatherData="annDetail" style="z-index: 111;"></detAnn-modal>
|
|
|
<!-- 企业公告更多 弹框-->
|
|
|
<j-modal
|
|
|
:visible.sync="modal.visible"
|
|
@@ -179,7 +179,7 @@
|
|
|
>
|
|
|
|
|
|
<!-- <dv-scroll-board class="board" :config="config" style="height:280px;" @click="getMethod" /> -->
|
|
|
- <a-table :columns="columns" id="Notice" :dataSource="annList" style="height:280px;" :pagination ='false' :showHeader="false" :bordered="false"></a-table>
|
|
|
+ <a-table :columns="columns" id="Notice" :dataSource="annList" style="height:280px;" :customRow="clickRow" :pagination ='false' :showHeader="false" :bordered="false"></a-table>
|
|
|
<!-- <template v-for="(i,k) of 30">
|
|
|
<p :key="k">这是主体内容,高度是自适应的</p>
|
|
|
</template> -->
|
|
@@ -728,7 +728,26 @@ export default {
|
|
|
this.calendarApi.prev()
|
|
|
console.log(this.calendarApi.prev)
|
|
|
},
|
|
|
- modalFormOk() {}
|
|
|
+ modalFormOk() {},
|
|
|
+ clickRow(record){
|
|
|
+ return {
|
|
|
+ on: {
|
|
|
+ click: () => {
|
|
|
+ this.$refs.DetAnnModal.annVisible = true
|
|
|
+ // console.log('轮播自带的数据', item)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ enterpriseEQueryById({ id: record.id}).then(res => {
|
|
|
+ this.$refs.DetAnnModal.annVisible = true
|
|
|
+ if (res.success) {
|
|
|
+ console.log(res.result)
|
|
|
+ this.annDetail = res.result
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|