|
@@ -0,0 +1,51 @@
|
|
|
|
+import ShowExcel from "@/pages/com/sundata/product/temp/ShowExcel";
|
|
|
|
+import TaskInfo from "@/pages/com/sundata/product/temp/TaskInfo";
|
|
|
|
+import { EditType, SDPage } from "@sundata/ui-frame";
|
|
|
|
+
|
|
|
|
+type ShwoExcelParam = {
|
|
|
|
+ // ①固定变量:
|
|
|
|
+ /** 业务流程实例号 */
|
|
|
|
+ taskbussinessid: string,
|
|
|
|
+ /** 数据期次 */
|
|
|
|
+ term?: string,
|
|
|
|
+ /** 补录任务编号 */
|
|
|
|
+ taskCode?: string,
|
|
|
|
+ taskCodeName?:string,
|
|
|
|
+ /** 补录人 */
|
|
|
|
+ taskFirstPerson?: string,
|
|
|
|
+ taskFirstPersonName?: string,
|
|
|
|
+ /** 补录机构 */
|
|
|
|
+ taskOrgcode?: string,
|
|
|
|
+ taskOrgcodeName?: string,
|
|
|
|
+ /** 补录模板编号 */
|
|
|
|
+ tmpCode: string,
|
|
|
|
+ /** 补录模板名称 */
|
|
|
|
+ tmpCodeName?: string,
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+const TaskInfoViewShowExcel: React.FC<ShwoExcelParam> = (excelData) => {
|
|
|
|
+
|
|
|
|
+ console.log('excelData:',excelData);
|
|
|
|
+ // 其他数据暂时没有啥用
|
|
|
|
+
|
|
|
|
+ return (
|
|
|
|
+ <SDPage >
|
|
|
|
+ <ShowExcel
|
|
|
|
+ term={excelData.term}
|
|
|
|
+ taskbussinessid={excelData.taskbussinessid}
|
|
|
|
+ taskCode={excelData.taskCode}
|
|
|
|
+ taskCodeName={excelData.taskCodeName}
|
|
|
|
+ taskFirstPerson={excelData.taskFirstPerson}
|
|
|
|
+ taskFirstPersonName={excelData.taskFirstPersonName}
|
|
|
|
+ taskOrgcode={excelData.taskOrgcode}
|
|
|
|
+ taskOrgcodeName={excelData.taskOrgcodeName}
|
|
|
|
+ tmpCode={excelData.tmpCode}
|
|
|
|
+ tmpCodeName={excelData.tmpCodeName}
|
|
|
|
+ isShowDetail={true}
|
|
|
|
+ isShowButtons={false}
|
|
|
|
+ />
|
|
|
|
+ </SDPage>
|
|
|
|
+ );
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+export default TaskInfoViewShowExcel;
|