|
@@ -1,30 +1,28 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <My_listbox ref="List" @getlist="getDetail" bottomHeight="70">
|
|
|
- <view class="content">
|
|
|
- <view class="title" v-if="detail.title">
|
|
|
- {{ detail.title }}
|
|
|
- </view>
|
|
|
- <view v-if="detail.content" class="box">
|
|
|
- <u-parse :content="detail.content" />
|
|
|
- </view>
|
|
|
- <view v-if="showAttinfos" class="box">
|
|
|
- <view class="top">
|
|
|
- <view class="text">
|
|
|
- 附件
|
|
|
- </view>
|
|
|
- <view class="but" hover-class="navigator-hover" @click="showUModal = true">
|
|
|
- 发邮箱
|
|
|
- </view>
|
|
|
+ <view class="content">
|
|
|
+ <view class="title" v-if="detail.title">
|
|
|
+ {{ detail.title }}
|
|
|
+ </view>
|
|
|
+ <view v-if="detail.content" class="box">
|
|
|
+ <u-parse :content="detail.content" />
|
|
|
+ </view>
|
|
|
+ <view v-if="showAttinfos" class="box">
|
|
|
+ <view class="top">
|
|
|
+ <view class="text">
|
|
|
+ 附件
|
|
|
</view>
|
|
|
- <view class="list" v-for="item in detail.attinfos" :key="item.attachmentid"
|
|
|
- @click="previewAttinof(item)" hover-class="navigator-hover">
|
|
|
- {{ item.document }}
|
|
|
+ <view class="but" hover-class="navigator-hover" @click="showUModal = true">
|
|
|
+ 发邮箱
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="list" v-for="item in detail.attinfos" :key="item.attachmentid" @click="previewAttinof(item)"
|
|
|
+ hover-class="navigator-hover">
|
|
|
+ {{ item.document }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </My_listbox>
|
|
|
-
|
|
|
+ </view>
|
|
|
+ <view style="height: 80px;" />
|
|
|
<u-modal :show="showUModal" confirmColor='#C30D23' ref="uModal" showCancelButton :asyncClose="true"
|
|
|
@confirm="onSend" @cancel="showUModal = false">
|
|
|
<view class="slot-content">
|
|
@@ -72,7 +70,6 @@ export default {
|
|
|
"sat_noticeid": this.sat_noticeid
|
|
|
}
|
|
|
}).then(res => {
|
|
|
- this.$refs.List.RefreshToComplete()
|
|
|
console.log("获取通告详情", res)
|
|
|
if (this.cutoff(res.msg)) return;
|
|
|
res.data.attinfos = formattedFiles(res.data.attinfos)
|