- {/*{*/}
- {/* background &&*/}
- {/*
*/}
- {/*}*/}
- {
- !onlyOneGrup && tipPosi.toString() === "1" && tip &&
-
{tip}
- }
-
+
+
+
+
{theme || ""}
+ {/*
{moment(sendTime).format("YYYY-MM-DD HH:mm:ss")}
*/}
+
+
+ {/*{*/}
+ {/* background &&*/}
+ {/*
*/}
+ {/*}*/}
{
- showData.map((groupItem, index) => {
- // 如果当前组下没有条目 当前组直接不展示。
- if (!groupItem) return null;
- const { groupId, groupName, items = [] } = groupItem;
- return (
-
- {
- groupName ?
{groupName}
: null
- }
-
+ !onlyOneGrup && tipPosi.toString() === "1" && tip &&
+
+ }
+
+ {
+ showData.map((groupItem, index) => {
+ // 如果当前组下没有条目 当前组直接不展示。
+ if (!groupItem) return null;
+ const { groupId, groupName, items = [] } = groupItem;
+ return (
+
{
- (onlyOneGrup && tipPosi.toString() === "1" && tip) && (
-
{getLabel(111, "发放说明")}
-
{tip}
-
)
+ groupName ?
{groupName}
: null
}
- {
- items.map((templatItem, index) => {
- const { salaryItemValue, name, salaryItemShowName } = templatItem || {};
- return
-
- {salaryItemShowName || name || ""}
-
-
{salaryItemValue || ""}
-
;
+
+ {
+ (onlyOneGrup && tipPosi.toString() === "1" && tip) && (
+
{getLabel(111, "发放说明")}
+
{tip}
+
)
+ }
+ {
+ items.map((templatItem, index) => {
+ const { salaryItemValue, name, salaryItemShowName, id } = templatItem || {};
+ return
+
+ {salaryItemShowName || name || ""}
+
+
{salaryItemValue || ""}
+
;
- })
- }
- {
- (onlyOneGrup && tipPosi.toString() === "2" && tip) && (
-
{getLabel(111, "发放说明")}
-
{tip}
-
)
- }
-
-
);
- })
+ })
+ }
+ {
+ (onlyOneGrup && tipPosi.toString() === "2" && tip) && (
+
{getLabel(111, "发放说明")}
+
{tip}
+
)
+ }
+
+
);
+ })
+ }
+
+ {
+ !onlyOneGrup && tipPosi.toString() === "2" && tip &&
+
}
- {
- !onlyOneGrup && tipPosi.toString() === "2" && tip &&
-
{tip}
- }
+ {this.props.children}
- {this.props.children}
);
}
diff --git a/pc4mobx/hrmSalary/components/pcTemplate/index.js b/pc4mobx/hrmSalary/components/pcTemplate/index.js
index 824722e6..ba6cd4a0 100644
--- a/pc4mobx/hrmSalary/components/pcTemplate/index.js
+++ b/pc4mobx/hrmSalary/components/pcTemplate/index.js
@@ -28,11 +28,11 @@ export const dealTemplate = (itemTypeList, type) => {
});
if (items.length % 2 && type === "pc") items.push({});
// 未分类不展示标题
- if (!groupId.includes("222222222222222222")) {
+ // if (!groupId.includes("222222222222222222")) {
showData.push({ groupId, groupName, items });
- } else {
- showData.push({ items });
- }
+ // } else {
+ // showData.push({ items });
+ // }
}
});
if (cloneItemTypeList.length === 1) {
diff --git a/pc4mobx/hrmSalary/components/pcTemplate/index.less b/pc4mobx/hrmSalary/components/pcTemplate/index.less
index 54d2cbdd..610f591b 100644
--- a/pc4mobx/hrmSalary/components/pcTemplate/index.less
+++ b/pc4mobx/hrmSalary/components/pcTemplate/index.less
@@ -42,6 +42,7 @@
line-height: 22px;
font-weight: 400;
text-align: center;
+ font-weight: bolder;
}
.header-salary-date-time {
@@ -69,13 +70,12 @@
.corporate-culture-text {
width: 100%;
- margin-top: 16px;
- text-align: center;
- min-height: 12px;
- font-size: 12px;
+ text-align: left;
color: #111;
+ padding: 8px 16px;
white-space: pre-wrap;
word-break: break-all;
+ margin-top: 16px;
}
.data-detail {
@@ -83,12 +83,13 @@
.salary-group {
margin-bottom: 16px;
- padding-bottom: 16px;
+ padding-bottom: 16px;
background: #FFF;
.group-title {
font-size: 14px;
padding: 16px 0 0 8px;
+ font-weight: bolder;
}
.group-list {
diff --git a/pc4mobx/hrmSalary/pages/calculate/calculate.js b/pc4mobx/hrmSalary/pages/calculate/calculate.js
index 7f9f791d..48018983 100644
--- a/pc4mobx/hrmSalary/pages/calculate/calculate.js
+++ b/pc4mobx/hrmSalary/pages/calculate/calculate.js
@@ -27,7 +27,7 @@ class Calculate extends Component {
queryParams: {
name: "",
dateRange: [
- moment(new Date()).startOf("year").format("YYYY-MM"),
+ moment(new Date()).subtract(1, 'year').startOf("year").format("YYYY-MM"),
moment(new Date()).endOf("year").format("YYYY-MM")
]
}, isRefresh: false,
diff --git a/pc4mobx/hrmSalary/pages/declare/declare.js b/pc4mobx/hrmSalary/pages/declare/declare.js
index 23abefd1..f524c784 100644
--- a/pc4mobx/hrmSalary/pages/declare/declare.js
+++ b/pc4mobx/hrmSalary/pages/declare/declare.js
@@ -25,7 +25,7 @@ class Calculate extends Component {
queryParams: {
taxAgentName: "",
dateRange: [
- moment(new Date()).startOf("year").format("YYYY-MM"),
+ moment(new Date()).subtract(1, 'year').startOf("year").format("YYYY-MM"),
moment(new Date()).endOf("year").format("YYYY-MM")
]
}, isRefresh: false,
diff --git a/pc4mobx/hrmSalary/pages/mySalary/index.less b/pc4mobx/hrmSalary/pages/mySalary/index.less
index 258288c9..d4fd9324 100644
--- a/pc4mobx/hrmSalary/pages/mySalary/index.less
+++ b/pc4mobx/hrmSalary/pages/mySalary/index.less
@@ -30,7 +30,7 @@
.salary-preview-container {
max-width: 1000px;
margin: 0 auto;
- border: 1px solid #e5e5e5;
+ border: 2px solid #FFF;
padding-top: 32px;
}
diff --git a/pc4mobx/hrmSalary/pages/mySalaryBenefits/index.js b/pc4mobx/hrmSalary/pages/mySalaryBenefits/index.js
index 51277169..89d25e4d 100644
--- a/pc4mobx/hrmSalary/pages/mySalaryBenefits/index.js
+++ b/pc4mobx/hrmSalary/pages/mySalaryBenefits/index.js
@@ -18,7 +18,11 @@ class Index extends Component {
constructor(props) {
super(props);
this.state = {
- selectedKey: "1", salaryYearMonth: [moment().startOf("year").format("YYYY-MM"), moment().endOf("year").format("YYYY-MM")]
+ selectedKey: "1",
+ salaryYearMonth: [
+ moment().subtract(1, 'year').startOf("year").format("YYYY-MM"),
+ moment().endOf("year").format("YYYY-MM")
+ ]
};
}
diff --git a/pc4mobx/hrmSalary/pages/payrollRelease/index.js b/pc4mobx/hrmSalary/pages/payrollRelease/index.js
index 6e406620..8fa3d35e 100644
--- a/pc4mobx/hrmSalary/pages/payrollRelease/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollRelease/index.js
@@ -28,7 +28,7 @@ class Index extends Component {
queryParams: {
salarySobId: "", name: "",
dateRange: [
- moment(new Date()).startOf("year").format("YYYY-MM"),
+ moment(new Date()).subtract(1, 'year').startOf("year").format("YYYY-MM"),
moment(new Date()).endOf("year").format("YYYY-MM")
]
}