diff --git a/pc4mobx/hrmSalary/index.js b/pc4mobx/hrmSalary/index.js index ae7aea5a..2d8d826e 100644 --- a/pc4mobx/hrmSalary/index.js +++ b/pc4mobx/hrmSalary/index.js @@ -30,6 +30,7 @@ import PlaceOnFileDetail from "./pages/calculateDetail/placeOnFileDetail"; import CompareDetail from "./pages/calculateDetail/compareDetail"; import DoCalcDetail from "./pages/calculate/doCalc"; import OfflineCompare from "./pages/calculate/calcOc"; +import CalcView from "./pages/calculate/calcView"; import GenerateDeclarationDetail from "./pages/declare/generateDeclarationDetail"; import TemplatePreview from "./pages/payroll/templatePreview"; import PayrollTemplatePreview from "./pages/payroll/templatePreview/tmpPreview"; //重构的工资单模板预览页面 @@ -81,6 +82,7 @@ const DataAcquisition = (props) => props.children; // calculate 薪资核算 // calculateDetail 核算详情 // DoCalcDetail 核算详情页面-新 +// CalcView 核算查看页面-新 // OfflineCompare 薪资核算线下对比-新 // placeOnFileDetail 核算归档详情 // compareDetail 线下线上对比 @@ -142,7 +144,8 @@ const Routes = ( - + + diff --git a/pc4mobx/hrmSalary/pages/calculate/calcView/index.js b/pc4mobx/hrmSalary/pages/calculate/calcView/index.js new file mode 100644 index 00000000..19cb4c5f --- /dev/null +++ b/pc4mobx/hrmSalary/pages/calculate/calcView/index.js @@ -0,0 +1,22 @@ +/* + * Author: 黎永顺 + * name: 薪资核算查看 + * Description: + * Date: 2023/12/7 + */ +import React, { Component } from "react"; +import { WeaLocaleProvider } from "ecCom"; + +const getLabel = WeaLocaleProvider.getLabel; + +class Index extends Component { + render() { + return ( +
+ 薪资核算查看 +
+ ); + } +} + +export default Index; diff --git a/pc4mobx/hrmSalary/pages/calculate/calculate.js b/pc4mobx/hrmSalary/pages/calculate/calculate.js index ae98e007..ca6e7cf0 100644 --- a/pc4mobx/hrmSalary/pages/calculate/calculate.js +++ b/pc4mobx/hrmSalary/pages/calculate/calculate.js @@ -123,7 +123,7 @@ class Calculate extends Component { break; case "3": //查看详情 - window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/placeOnFileDetail?id=${id}`); + window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/calcOc/${id}`); break; case "4": //重新核算