|
@@ -81,17 +81,17 @@ export default {
|
|
|
/* 获取报告详情 */
|
|
|
getReport(id,token,type) {
|
|
|
if(type == 'mpwechat') {
|
|
|
- console.log('mpwechat');
|
|
|
+ // console.log('mpwechat');
|
|
|
RaiApi.reportDtl({
|
|
|
ArticleId: id,
|
|
|
Authorization: token
|
|
|
}).then(res => {
|
|
|
- console.log(res);
|
|
|
+ //console.log(res);
|
|
|
if(res.Ret === 200) {
|
|
|
this.haveData = res.Data.HasPermission === 1 ? true : false
|
|
|
if(res.Data.HasPermission === 1) { //有访问权限
|
|
|
this.reportInfo = res.Data.Detail;
|
|
|
- console.log(this.reportInfo,'------');
|
|
|
+ //console.log(this.reportInfo,'------');
|
|
|
$(document).on('click', '#report-content img',function(event) {
|
|
|
let imgArray = [];
|
|
|
let src_tag = $(this).attr('src');
|
|
@@ -112,7 +112,7 @@ export default {
|
|
|
ArticleIdMd5: id,
|
|
|
}).then(res => {
|
|
|
if(res.Ret === 200) {
|
|
|
- console.log(res);
|
|
|
+ //console.log(res);
|
|
|
this.haveData = res.Data.HasPermission === 1 ? true : false;
|
|
|
if(res.Data.HasPermission === 1) { //有访问权限
|
|
|
this.reportInfo = res.Data.Detail;
|
|
@@ -141,7 +141,7 @@ export default {
|
|
|
ArticleId: id,
|
|
|
Authorization: token
|
|
|
}).then(res => {
|
|
|
- console.log(res);
|
|
|
+ //console.log(res);
|
|
|
if(res.Ret === 200) {
|
|
|
this.haveData = res.Data.HasPermission === 1 ? true : false
|
|
|
if(res.Data.HasPermission === 1) { //有访问权限
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
ArticleIdMd5: id,
|
|
|
}).then(res => {
|
|
|
if(res.Ret === 200) {
|
|
|
- console.log(res);
|
|
|
+ //console.log(res);
|
|
|
this.haveData = res.Data.HasPermission === 1 ? true : false;
|
|
|
if(res.Data.HasPermission === 1) { //有访问权限
|
|
|
this.reportInfo = res.Data.Detail;
|
|
@@ -271,18 +271,18 @@ export default {
|
|
|
this.resetCss()
|
|
|
},
|
|
|
mounted() {
|
|
|
- // console.log(this.$route.query);
|
|
|
- document.title = '纪要详情';
|
|
|
if(this.$route.query.id) {
|
|
|
+ // console.log(this.$route.query.idReport,'纪要详情');
|
|
|
this.id = this.$route.query.id
|
|
|
this.from_type = this.$route.query.fromType;
|
|
|
+ document.title = '纪要详情';
|
|
|
// console.log( this.from_type );
|
|
|
let access_token = this.$route.query.token || '';
|
|
|
localStorage.setItem('access_token',access_token)
|
|
|
this.getReport(this.id,access_token,this.from_type)
|
|
|
- // console.log(123);
|
|
|
}else if(this.$route.query.idReport) {
|
|
|
- console.log(this.$route.query.idReport);
|
|
|
+ // console.log(this.$route.query.idReport);
|
|
|
+ document.title = '报告详情';
|
|
|
this.id = this.$route.query.idReport
|
|
|
this.from_type = this.$route.query.fromType;
|
|
|
// console.log( this.from_type );
|
|
@@ -317,7 +317,7 @@ export default {
|
|
|
color: #333 !important;
|
|
|
}
|
|
|
.van-button--danger {
|
|
|
- color: #365595 !important;
|
|
|
+ color: #3385FF !important;
|
|
|
}
|
|
|
.van-button--warning,.van-button--danger {
|
|
|
height: 60px !important;
|