| 
					
				 | 
			
			
				@@ -99,6 +99,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { ref, onMounted } from "vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { useStore } from "vuex"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import personList from "../personList.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import placeActivityServer from "@/api/placeActivity/placeActivityServer"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import tools from "@/api/sys/tools"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -113,6 +114,7 @@ import WangEditor from "@/components/editor/WangEditor"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { personList, WangEditor }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   setup() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  const store = useStore(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 加载 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let isLoading = ref(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 返回 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -299,20 +301,23 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let fileList = ref([]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let fileupList = ref([]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const chooseImg = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      xm.chooseFile({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        count: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        name: "file", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        url: $base + `/sys/file/webupload/upload?uploadPath=reporting/reportingActivities`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        headers: { 'Content-Type': 'multipart/form-data', "token": window.localStorage.getItem('MZ_TOKEN') }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let data = res[0].data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        data.name = decodeURIComponent( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          data.id.substring(data.url.lastIndexOf("/") + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        data.url = $base + data.url; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fileupList.value.push(data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fileList.value.push(data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if (store.state.pctoken != "") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			xm.chooseFile({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  count: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  name: "file", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  url: $base + `/sys/file/webupload/upload?uploadPath=reporting/reportingActivities`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  headers: { 'Content-Type': 'multipart/form-data', "token": store.state.pctoken }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  let data = res[0].data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  data.name = decodeURIComponent( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			    data.id.substring(data.url.lastIndexOf("/") + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  data.url = $base + data.url; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  fileupList.value.push(data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  fileList.value.push(data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 删除文件 
			 |