|
|
@@ -9,7 +9,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="text-content" v-if="tool.checkAuth($route.name,'read')">
|
|
|
- <span class="title">正文小标题</span>
|
|
|
<div id="fwb"></div>
|
|
|
</div>
|
|
|
<div class="file-content" v-if="detailData.attinfos && detailData.attinfos.length > 0">
|
|
|
@@ -50,8 +49,6 @@
|
|
|
|
|
|
<script>
|
|
|
import FileItem from '@/components/file-block/index'
|
|
|
-import FileType from '@/utils/matchingFeilType'
|
|
|
-
|
|
|
import {weAtob,weBtoa} from "@/utils/weapp-jwt"
|
|
|
export default {
|
|
|
name: "NoticeDetail",
|
|
|
@@ -59,12 +56,13 @@ export default {
|
|
|
return {
|
|
|
//拉取数据配置
|
|
|
param: {
|
|
|
- "accesstoken": "c94ae676c321f1ce91e05797ba2f9bc3",
|
|
|
- "classname": "saletool.notice.notice",
|
|
|
- "method": "queryNoticeMain",
|
|
|
- "content": {
|
|
|
- "sat_noticeid": 4
|
|
|
- }
|
|
|
+ "accesstoken": "c94ae676c321f1ce91e05797ba2f9bc3",
|
|
|
+ "classname": "saletool.notice.notice",
|
|
|
+ "method": "queryNoticeMain",
|
|
|
+ "content": {
|
|
|
+ "sat_noticeid":4
|
|
|
+
|
|
|
+ }
|
|
|
},
|
|
|
//发表配置
|
|
|
send: {
|
|
|
@@ -121,8 +119,12 @@ export default {
|
|
|
getNoticeDetail () {
|
|
|
this.param.content.sat_noticeid = this.$route.query.sat_noticeid
|
|
|
this.$api.requested(this.param).then(res => {
|
|
|
+ console.log(res);
|
|
|
+
|
|
|
this.detailData = res.data
|
|
|
- this.detailData.attinfos = FileType.fileList(this.detailData.attinfos)
|
|
|
+ console.log(this.detailData);
|
|
|
+
|
|
|
+ this.detailData.attinfos = this.fileType.fileList(this.detailData.attinfos)
|
|
|
this.compileFWB()
|
|
|
})
|
|
|
},
|