From dfc962db07b0b81b0a464947b1d30aebac072c40 Mon Sep 17 00:00:00 2001 From: liushuai Date: Tue, 23 Apr 2019 15:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue | 2 +- src/views/Outsourcing/OutsourcingTaskExecution/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue index 363ad391..b1f11e64 100644 --- a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue +++ b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue @@ -384,7 +384,7 @@ export default { }, methods: { colorJudge(time1, time2) { - if(time2 === null) { + if (time2 === null) { if ((new Date(time1) - this.now) > 0 && (new Date(time1) - this.now) < (86400000 * this.warningValue)) { return 'orange' } else if ((new Date(time1) - this.now) < 0) { diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue index f48e1ff4..a12d16fe 100644 --- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue +++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue @@ -709,7 +709,7 @@ export default { tr[i].setAttribute('class', 'tableData') tr[i].innerHTML = '' + '' + '' + '' + '' + '' + '' - document.getElementById('tableHead').after(tr[i]) + $('#tableHead').after(tr[i]) } for (let j = 0; j < this.returns.length; j++) { document.getElementsByClassName('tableData')[j].children[0].innerHTML = j + 1