| 
					
				 | 
			
			
				@@ -10,7 +10,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-button size="small" style="margin-right: 8px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            :loading="saveLoading" :disabled="!form.id" @click="previewreportfun" >预 览 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button size="small" style="margin-right: 8px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button size="small" style="margin-right: 8px" v-if="roleName.indexOf('admin') != -1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            :loading="saveLoading" :disabled="!form.id" @click="DesignreportDialog = true" >报表设计 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-button size="small" type="success" style="margin-right: 8px" v-if="form.status == 0 || form.status == 4" :disabled="!form.id" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -503,6 +503,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             responsiblePartyData:[], // AMEND 原因 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             multipleChoiceDArr: [], // 应收多选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             multipleChoiceCArr: [], // 应付多选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            roleName:[], // 当前的角色权限 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 是否编辑状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             editType: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             buttonDisable:false, // 按钮的是否禁用 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -571,6 +572,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             immediate: false  // 第一次改变就执行 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.roleName =  localStorage.getItem('roleName').split(',') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 报表预览 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         previewreportfun(){ 
			 |