|  | @@ -19,6 +19,12 @@
 | 
	
		
			
				|  |  |        </el-tab-pane>
 | 
	
		
			
				|  |  |        <el-tab-pane label="分部数据" name="second">
 | 
	
		
			
				|  |  |          <div v-if="activeName == 'second'">
 | 
	
		
			
				|  |  | +          <el-button
 | 
	
		
			
				|  |  | +            type="primary"
 | 
	
		
			
				|  |  | +            @click="exportQuestion"
 | 
	
		
			
				|  |  | +            v-permission="'export/now/EXPORT_INDEX_COOPALL'"
 | 
	
		
			
				|  |  | +            >导出</el-button
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  |            <manageOrgan
 | 
	
		
			
				|  |  |              :data="data"
 | 
	
		
			
				|  |  |              :search="search"
 | 
	
	
		
			
				|  | @@ -42,6 +48,7 @@ import { descs, chioseNum } from "../constant";
 | 
	
		
			
				|  |  |  import { orderType } from "@/constant";
 | 
	
		
			
				|  |  |  import manageOrganAll from "./modals/manageOrganAll";
 | 
	
		
			
				|  |  |  import manageOrgan from "./modals/manageOrgan";
 | 
	
		
			
				|  |  | +import { Export } from "@/utils/downLoadFile";
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    props: ["data", "search"],
 | 
	
		
			
				|  |  |    components: {
 | 
	
	
		
			
				|  | @@ -237,6 +244,23 @@ export default {
 | 
	
		
			
				|  |  |      this.init();
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | +    exportQuestion() {
 | 
	
		
			
				|  |  | +      Export(
 | 
	
		
			
				|  |  | +        this,
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +          url: "/api-web/export/now",
 | 
	
		
			
				|  |  | +          fileName: "合作单位回款.xls",
 | 
	
		
			
				|  |  | +          method: "post",
 | 
	
		
			
				|  |  | +          params: {
 | 
	
		
			
				|  |  | +            exportEnum: "EXPORT_INDEX_COOP",
 | 
	
		
			
				|  |  | +            queryInfo: {
 | 
	
		
			
				|  |  | +              ...getTimes(this.mdate, ["startTime", "endTime"])
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        "您确定导出合作单位回款?"
 | 
	
		
			
				|  |  | +      );
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      init() {
 | 
	
		
			
				|  |  |        // this.$refs.searchHeader.initStatue("month");
 | 
	
		
			
				|  |  |        this.mdate = this.getInitDate();
 |