|  | @@ -19,9 +19,10 @@ Page({
 | 
	
		
			
				|  |  |          isEvaluate: false
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      onLoad(options) {
 | 
	
		
			
				|  |  | -        console.log(options)
 | 
	
		
			
				|  |  | -        let dataAuth = '';
 | 
	
		
			
				|  |  | -        if (options.auth.includes('团队内部数据分析') && options.auth.includes('经销商数据分析')) {
 | 
	
		
			
				|  |  | +        console.log(options.auth)
 | 
	
		
			
				|  |  | +        let auth = options.auth.split(","),
 | 
	
		
			
				|  |  | +            dataAuth = '';
 | 
	
		
			
				|  |  | +        if (auth.includes('团队内部数据分析') && auth.includes('经销商数据分析')) {
 | 
	
		
			
				|  |  |              dataAuth = 'all';
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |              dataAuth = options.auth.includes('团队内部数据分析') ? '内部' : '经销商'
 | 
	
	
		
			
				|  | @@ -30,10 +31,10 @@ Page({
 | 
	
		
			
				|  |  |          this.setData({
 | 
	
		
			
				|  |  |              viewData,
 | 
	
		
			
				|  |  |              dataAuth,
 | 
	
		
			
				|  |  | +            auth,
 | 
	
		
			
				|  |  |              sat_noticeid: options.id
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |          this.queryNoticeMain(); //获取详情
 | 
	
		
			
				|  |  | -        if (viewData) this.queryReadRecord(); //查询数据
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      /* 通告详情 */
 | 
	
		
			
				|  |  |      queryNoticeMain() {
 | 
	
	
		
			
				|  | @@ -48,6 +49,7 @@ Page({
 | 
	
		
			
				|  |  |                  title: res.msg,
 | 
	
		
			
				|  |  |                  icon: "none"
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  | +            if (this.data.viewData) this.queryReadRecord(); //查询数据
 | 
	
		
			
				|  |  |              let list = MFT.fileList(res.data.attinfos.filter(v => v.usetype != 'cover')), //过滤封面文件
 | 
	
		
			
				|  |  |                  videoList = [], //视频附件列表
 | 
	
		
			
				|  |  |                  attinfos = []; //其他附件
 |