{item.status === 6 && (item.agreementSigning === 1 || (item.agreementSigning === 2 && item.auditing && item.auditing.pass === 1)) && 待签订协议}
diff --git a/src/military/task/components/itemListMyTask/index.scss b/src/military/task/components/itemListMyTask/index.scss
index 31f6ca909..6a48c6c0f 100644
--- a/src/military/task/components/itemListMyTask/index.scss
+++ b/src/military/task/components/itemListMyTask/index.scss
@@ -27,10 +27,10 @@
.mytask-title {
justify-content: left;
- a{
+ a {
word-break: break-all;
}
- span{
+ span {
flex: 0 0 auto;
}
}
@@ -52,6 +52,14 @@
background: #ffb121;
}
+ .s_red {
+ background: #fe0e36;
+ }
+
+ .s_blue {
+ background: #4cacff;
+ }
+
.needs_condition_content_t {
height: 40px;
padding: 0px 20px;
diff --git a/src/military/task/components/itemListPaper/index.jsx b/src/military/task/components/itemListPaper/index.jsx
index 4946c7bc1..498d62bab 100644
--- a/src/military/task/components/itemListPaper/index.jsx
+++ b/src/military/task/components/itemListPaper/index.jsx
@@ -190,7 +190,6 @@ export default Form.create()((props) => {
{commentsItem.user.nickname || commentsItem.user.login}
{timeAgo(commentsItem.createdAt)}
-
diff --git a/src/military/task/static.js b/src/military/task/static.js
index d1dcd674d..9e3156b45 100644
--- a/src/military/task/static.js
+++ b/src/military/task/static.js
@@ -110,6 +110,8 @@ export const showUserModeArr=[
{ dicItemCode: 2, name: "手动公示", dicItemName: '手动公示' },
]
+export const myPaperStatusArr =["待确认","未采纳","评选胜出"]
+
export const formItemLayout = {
labelCol: {
xs: { span: 10 },
diff --git a/src/military/task/taskDetail/index.jsx b/src/military/task/taskDetail/index.jsx
index b0a3ba3a0..807eea8d9 100644
--- a/src/military/task/taskDetail/index.jsx
+++ b/src/military/task/taskDetail/index.jsx
@@ -157,8 +157,9 @@ export default Form.create()(
surplus = detailData.signingDays * 24 * 3600 - (new Date() - new Date(detailData.publicityCompleteAt)) / 1000;
}
if (status === 7) {
- surplus = detailData.payingDays * 24 * 3600 - (new Date() - new Date(detailData.payingCompleteAt)) / 1000;
+ surplus = detailData.payingDays * 24 * 3600 - (new Date() - new Date(detailData.signingCompleteAt)) / 1000;
}
+ console.log(surplus);
surplusTimetext = formatDuring(surplus);
}
diff --git a/src/military/task/taskList/index.jsx b/src/military/task/taskList/index.jsx
index eab6d6764..ce8041e7e 100644
--- a/src/military/task/taskList/index.jsx
+++ b/src/military/task/taskList/index.jsx
@@ -99,7 +99,7 @@ export default ({ history, current_user, showLoginDialog }) => {
surplus = item.signingDays * 24 * 3600 - (new Date() - new Date(item.publicityCompleteAt)) / 1000;
}
if (status === 7) {
- surplus = item.payingDays * 24 * 3600 - (new Date() - new Date(item.payingCompleteAt)) / 1000;
+ surplus = item.payingDays * 24 * 3600 - (new Date() - new Date(item.signingCompleteAt)) / 1000;
}
let surplusTimetext = formatDuring(surplus);