/// <summary>
        /// 导出计划列表
        /// </summary>
        /// <returns>路径让浏览器下载</returns>
        public ActionResult ExportPlanData()
        {
            GetWorkplanBars getWorkplanBars = new GetWorkplanBars();
            DataTable       table           = getWorkplanBars.GetAllPlanData();
            string          path            = ExportExcel.Excel(table, "计划列表_" + PMUser.UserGuid + ".xlsx", "计划数据");

            Task.Run(() =>
            {
                Thread.Sleep(30000);
                ExportExcel.DelExcel("计划列表_" + PMUser.UserGuid);
            });
            return(Ok(path));
        }
        /// <summary>
        /// 订单列表的导出功能
        /// </summary>
        /// <returns>路径让浏览器下载</returns>
        public ActionResult ExportDataCenter()
        {
            MDatacenter mDatacenter = new MDatacenter();
            DataTable   table       = mDatacenter.WorkOrderData();
            string      path        = ExportExcel.Excel(table, "订单列表_" + PMUser.UserGuid + ".xlsx", "订单数据");

            Task.Run(() =>
            {
                Thread.Sleep(30000);
                ExportExcel.DelExcel("订单列表_" + PMUser.UserGuid);
            });
            return(Ok(path));
        }