路由修改

This commit is contained in:
MustangDeng 2022-03-10 10:58:26 +08:00
parent 7776827c45
commit 8ffb9e519a
17 changed files with 33 additions and 33 deletions

View File

@ -5,16 +5,16 @@ import MySalary from './pages/mySalary';
import Programme from './pages/socialSecurityBenefits/programme';
import Archives from './pages/socialSecurityBenefits/archives';
import StandingBook from './pages/socialSecurityBenefits/standingBook';
import SalaryItemManagement from './pages/salaryItemManagement';
import SalaryItem from './pages/salaryItem';
import SalaryFile from './pages/salaryFile';
import CumDeduct from './pages/dataAcquisition/cumDeduct';
import OtherTaxExemptDeductions from './pages/dataAcquisition/otherTaxExemptDeductions';
import CumulativeSituationInPreviousPeriods from './pages/dataAcquisition/cumulativeSituationInPreviousPeriods';
import AttendanceReference from './pages/dataAcquisition/attendanceReference';
import SalarySet from './pages/salarySet';
import SalaryAccounting from './pages/salaryAccounting';
import PayrollPayment from './pages/payrollPayment';
import IndividualIncomeTaxApplicationForm from './pages/individualIncomeTaxApplicationForm';
import OtherDeduct from './pages/dataAcquisition/otherDeduct';
import CumSituation from './pages/dataAcquisition/cumSituation';
import Attendance from './pages/dataAcquisition/attendance';
import Ledger from './pages/ledger';
import Calculate from './pages/calculate';
import Payroll from './pages/payroll';
import Declare from './pages/declare';
import TaxRate from './pages/taxRate';
import TaxAgent from './pages/taxAgent';
@ -42,18 +42,18 @@ const DataAcquisition = props => props.children;
// programme 社保福利方案
// archives 社保福利档案
// standingBook 社保福利台账
// salaryItemManagement 薪资项目管理
// salaryItem 薪资项目管理
// salaryFile 薪资档案
// dataAcquisition 数据采集
// CumDeduct 累计专项附加扣除
// otherTaxExemptDeductions 其他免税扣除
// cumulativeSituationInPreviousPeriods 往期累计情况
// attendanceReference 考勤引用
// salarySet 薪资账套
// salaryAccounting 薪资核算
// payrollPayment 工资单发放
// individualIncomeTaxApplicationForm 个税申请表
// individualIncomeTaxRateForm 个税税率表
// otherDeduct 其他免税扣除
// cumSituation 往期累计情况
// attendance 考勤引用
// ledger 薪资账套
// calculate 薪资核算
// payroll 工资单发放
// declare 个税申请表
// taxRate 个税税率表
// taxAgent 个税扣缴义务人
const Routes = (
@ -64,18 +64,18 @@ const Routes = (
<Route key='archives' path='archives' component={Archives} />
<Route key='standingBook' path='standingBook' component={StandingBook} />
</Route>
<Route key='salaryItemManagement' path='salaryItemManagement' component={SalaryItemManagement} />
<Route key='salaryItem' path='salaryItem' component={SalaryItem} />
<Route key='salaryFile' path='salaryFile' component={SalaryFile} />
<Route key='dataAcquisition' path='dataAcquisition' component={DataAcquisition}>
<Route key='cumDeduct' path='cumDeduct' component={CumDeduct} />
<Route key='otherTaxExemptDeductions' path='otherTaxExemptDeductions' component={OtherTaxExemptDeductions} />
<Route key='cumulativeSituationInPreviousPeriods' path='cumulativeSituationInPreviousPeriods' component={CumulativeSituationInPreviousPeriods} />
<Route key='attendanceReference' path='attendanceReference' component={AttendanceReference} />
<Route key='otherDeduct' path='otherDeduct' component={OtherDeduct} />
<Route key='cumSituation' path='cumSituation' component={CumSituation} />
<Route key='attendance' path='attendance' component={Attendance} />
</Route>
<Route key='salarySet' path='salarySet' component={SalarySet} />
<Route key='salaryAccounting' path='salaryAccounting' component={SalaryAccounting} />
<Route key='payrollPayment' path='payrollPayment' component={PayrollPayment} />
<Route key='individualIncomeTaxApplicationForm' path='individualIncomeTaxApplicationForm' component={IndividualIncomeTaxApplicationForm} />
<Route key='ledger' path='ledger' component={Ledger} />
<Route key='calculate' path='calculate' component={Calculate} />
<Route key='payroll' path='payroll' component={Payroll} />
<Route key='declare' path='declare' component={Declare} />
<Route key='taxRate' path='taxRate' component={TaxRate} />
<Route key='taxAgent' path='taxAgent' component={TaxAgent} />
</Route>

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class SalaryAccounting extends React.Component {
export default class Calculate extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class AttendanceReference extends React.Component {
export default class Attendance extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class CumulativeSituationInPreviousPeriods extends React.Component {
export default class CumSituation extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class OtherTaxExemptDeductions extends React.Component {
export default class OtherDeduct extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class IndividualIncomeTaxApplicationForm extends React.Component {
export default class Declare extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class SalarySet extends React.Component {
export default class Ledger extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class PayrollPayment extends React.Component {
export default class Payroll extends React.Component {
constructor(props) {
super(props);
this.state = {

View File

@ -16,7 +16,7 @@ const { MonthPicker } = DatePicker;
@inject('baseTableStore')
@observer
export default class SalaryItemManagement extends React.Component {
export default class SalaryItem extends React.Component {
constructor(props) {
super(props);
this.state = {