更新
This commit is contained in:
@@ -91,12 +91,12 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="设备预验节点" align="center" width="150px">
|
<el-table-column label="设备预验节点" align="center" width="150px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.设备预验收节点 }}
|
{{ scope.row.设备预验收节点 === '1900-01-01 00:00:00' ? '' : (scope.row.设备预验收节点 ? scope.row.设备预验收节点.split(' ')[0] : '') }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="安装调试节点" align="center" width="150px">
|
<el-table-column label="安装调试节点" align="center" width="150px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.安装调试节点 }}
|
{{ scope.row.安装调试节点 === '1900-01-01 00:00:00' ? '' : (scope.row.安装调试节点 ? scope.row.安装调试节点.split(' ')[0] : '') }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="审图(计划开始)" align="center" min-width="170px">
|
<el-table-column label="审图(计划开始)" align="center" min-width="170px">
|
||||||
@@ -226,6 +226,11 @@
|
|||||||
{{ scope.row.任务开始时间 }}
|
{{ scope.row.任务开始时间 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="实际开始时间" align="center" min-width="100px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.实际开始时间 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="计划完成时间" align="center" min-width="100px">
|
<el-table-column label="计划完成时间" align="center" min-width="100px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :class="colorJudge(scope.row.计划完成时间, scope.row.实际完成时间)">{{ scope.row.计划完成时间 }}</span>
|
<span :class="colorJudge(scope.row.计划完成时间, scope.row.实际完成时间)">{{ scope.row.计划完成时间 }}</span>
|
||||||
@@ -266,6 +271,11 @@
|
|||||||
{{ scope.row.任务开始时间 }}
|
{{ scope.row.任务开始时间 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="实际开始时间" align="center" min-width="100px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.实际开始时间 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="计划完成时间" align="center" min-width="100px">
|
<el-table-column label="计划完成时间" align="center" min-width="100px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :class="colorJudge(scope.row.计划完成时间, scope.row.实际完成时间)">{{ scope.row.计划完成时间 }}</span>
|
<span :class="colorJudge(scope.row.计划完成时间, scope.row.实际完成时间)">{{ scope.row.计划完成时间 }}</span>
|
||||||
@@ -465,12 +475,13 @@ export default {
|
|||||||
if (response.data[i].发货节点 !== '' && response.data[i].发货节点 !== null) {
|
if (response.data[i].发货节点 !== '' && response.data[i].发货节点 !== null) {
|
||||||
response.data[i].发货节点 = response.data[i].发货节点.split(' ')[0]
|
response.data[i].发货节点 = response.data[i].发货节点.split(' ')[0]
|
||||||
}
|
}
|
||||||
if (response.data.rows[i].设备预验收节点 !== '' && response.data.rows[i].设备预验收节点 !== null) {
|
console.log(response.data[i].设备预验收节点, 11111)
|
||||||
response.data.rows[i].设备预验收节点 = response.data.rows[i].设备预验收节点.split(' ')[0]
|
// if (response.data[i].设备预验收节点 !== '' && response.data[i].设备预验收节点 !== null) {
|
||||||
}
|
// response.data[i].设备预验收节点 = response.data[i].设备预验收节点.split(' ')[0]
|
||||||
if (response.data.rows[i].安装调试节点 !== '' && response.data.rows[i].安装调试节点 !== null) {
|
// }
|
||||||
response.data.rows[i].安装调试节点 = response.data.rows[i].安装调试节点.split(' ')[0]
|
// if (response.data[i].安装调试节点 !== '' && response.data[i].安装调试节点 !== null) {
|
||||||
}
|
// response.data[i].安装调试节点 = response.data[i].安装调试节点.split(' ')[0]
|
||||||
|
// }
|
||||||
if (response.data[i].审图计划开始时间 !== '' && response.data[i].审图计划开始时间 !== null) {
|
if (response.data[i].审图计划开始时间 !== '' && response.data[i].审图计划开始时间 !== null) {
|
||||||
response.data[i].审图计划开始时间 = response.data[i].审图计划开始时间.split(' ')[0]
|
response.data[i].审图计划开始时间 = response.data[i].审图计划开始时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
@@ -480,33 +491,33 @@ export default {
|
|||||||
if (response.data[i].审图实际完成时间 !== '' && response.data[i].审图实际完成时间 !== null) {
|
if (response.data[i].审图实际完成时间 !== '' && response.data[i].审图实际完成时间 !== null) {
|
||||||
response.data[i].审图实际完成时间 = response.data[i].审图实际完成时间.split(' ')[0]
|
response.data[i].审图实际完成时间 = response.data[i].审图实际完成时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
if (response.data[i].机床设计完成时间 !== '' && response.data[i].机床设计完成时间 !== null) {
|
// if (response.data[i].机床设计完成时间 !== '' && response.data[i].机床设计完成时间 !== null) {
|
||||||
response.data[i].机床设计完成时间 = response.data[i].机床设计完成时间.split(' ')[0]
|
// response.data[i].机床设计完成时间 = response.data[i].机床设计完成时间.split(' ')[0]
|
||||||
}
|
// }
|
||||||
if (response.data[i].机床设计实际完成时间 !== '' && response.data[i].机床设计实际完成时间 !== null) {
|
if (response.data[i].机床设计实际完成时间 !== '' && response.data[i].机床设计实际完成时间 !== null) {
|
||||||
response.data[i].机床设计实际完成时间 = response.data[i].机床设计实际完成时间.split(' ')[0]
|
response.data[i].机床设计实际完成时间 = response.data[i].机床设计实际完成时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
if (response.data[i].采购完成时间 !== '' && response.data[i].采购完成时间 !== null) {
|
// if (response.data[i].采购完成时间 !== '' && response.data[i].采购完成时间 !== null) {
|
||||||
response.data[i].采购完成时间 = response.data[i].采购完成时间.split(' ')[0]
|
// response.data[i].采购完成时间 = response.data[i].采购完成时间.split(' ')[0]
|
||||||
}
|
// }
|
||||||
if (response.data[i].采购实际完成时间 !== '' && response.data[i].采购实际完成时间 !== null) {
|
if (response.data[i].采购实际完成时间 !== '' && response.data[i].采购实际完成时间 !== null) {
|
||||||
response.data[i].采购实际完成时间 = response.data[i].采购实际完成时间.split(' ')[0]
|
response.data[i].采购实际完成时间 = response.data[i].采购实际完成时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
if (response.data[i].备料完成时间 !== '' && response.data[i].备料完成时间 !== null) {
|
// if (response.data[i].备料完成时间 !== '' && response.data[i].备料完成时间 !== null) {
|
||||||
response.data[i].备料完成时间 = response.data[i].备料完成时间.split(' ')[0]
|
// response.data[i].备料完成时间 = response.data[i].备料完成时间.split(' ')[0]
|
||||||
}
|
// }
|
||||||
if (response.data[i].备料实际完成时间 !== '' && response.data[i].备料实际完成时间 !== null) {
|
if (response.data[i].备料实际完成时间 !== '' && response.data[i].备料实际完成时间 !== null) {
|
||||||
response.data[i].备料实际完成时间 = response.data[i].备料实际完成时间.split(' ')[0]
|
response.data[i].备料实际完成时间 = response.data[i].备料实际完成时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
if (response.data[i].机床生产完成时间 !== '' && response.data[i].机床生产完成时间 !== null) {
|
// if (response.data[i].机床生产完成时间 !== '' && response.data[i].机床生产完成时间 !== null) {
|
||||||
response.data[i].机床生产完成时间 = response.data[i].机床生产完成时间.split(' ')[0]
|
// response.data[i].机床生产完成时间 = response.data[i].机床生产完成时间.split(' ')[0]
|
||||||
}
|
// }
|
||||||
if (response.data[i].机床生产实际完成时间 !== '' && response.data[i].机床生产实际完成时间 !== null) {
|
if (response.data[i].机床生产实际完成时间 !== '' && response.data[i].机床生产实际完成时间 !== null) {
|
||||||
response.data[i].机床生产实际完成时间 = response.data[i].机床生产实际完成时间.split(' ')[0]
|
response.data[i].机床生产实际完成时间 = response.data[i].机床生产实际完成时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
if (response.data[i].机床装配完成时间 !== '' && response.data[i].机床装配完成时间 !== null) {
|
// if (response.data[i].机床装配完成时间 !== '' && response.data[i].机床装配完成时间 !== null) {
|
||||||
response.data[i].机床装配完成时间 = response.data[i].机床装配完成时间.split(' ')[0]
|
// response.data[i].机床装配完成时间 = response.data[i].机床装配完成时间.split(' ')[0]
|
||||||
}
|
// }
|
||||||
if (response.data[i].机床装配实际完成时间 !== '' && response.data[i].机床装配实际完成时间 !== null) {
|
if (response.data[i].机床装配实际完成时间 !== '' && response.data[i].机床装配实际完成时间 !== null) {
|
||||||
response.data[i].机床装配实际完成时间 = response.data[i].机床装配实际完成时间.split(' ')[0]
|
response.data[i].机床装配实际完成时间 = response.data[i].机床装配实际完成时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
@@ -549,6 +560,9 @@ export default {
|
|||||||
// } else if ((this.arrival1[i] - this.now) > (86400000 * this.warningValue)) {
|
// } else if ((this.arrival1[i] - this.now) > (86400000 * this.warningValue)) {
|
||||||
// this.judge1[i] = 3 // 进度正常
|
// this.judge1[i] = 3 // 进度正常
|
||||||
// }
|
// }
|
||||||
|
if (response.data[i].实际开始时间 !== '' && response.data[i].实际开始时间 !== null) {
|
||||||
|
response.data[i].实际开始时间 = response.data[i].实际开始时间.split(' ')[0]
|
||||||
|
}
|
||||||
if (response.data[i].任务开始时间 !== '' && response.data[i].任务开始时间 !== null) {
|
if (response.data[i].任务开始时间 !== '' && response.data[i].任务开始时间 !== null) {
|
||||||
response.data[i].任务开始时间 = response.data[i].任务开始时间.split(' ')[0]
|
response.data[i].任务开始时间 = response.data[i].任务开始时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
@@ -562,6 +576,7 @@ export default {
|
|||||||
this.loading1 = false
|
this.loading1 = false
|
||||||
console.log(response.data, 3)
|
console.log(response.data, 3)
|
||||||
this.tableData2 = response.data
|
this.tableData2 = response.data
|
||||||
|
console.log(response.data, 2222)
|
||||||
})
|
})
|
||||||
searchtable2(this.machineValue, 3).then(response => {
|
searchtable2(this.machineValue, 3).then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
@@ -573,6 +588,9 @@ export default {
|
|||||||
// } else if ((this.arrival[i] - this.now) > (86400000 * this.warningValue)) {
|
// } else if ((this.arrival[i] - this.now) > (86400000 * this.warningValue)) {
|
||||||
// this.judge2[i] = 3 // 进度正常
|
// this.judge2[i] = 3 // 进度正常
|
||||||
// }
|
// }
|
||||||
|
if (response.data[i].实际开始时间 !== '' && response.data[i].实际开始时间 !== null) {
|
||||||
|
response.data[i].实际开始时间 = response.data[i].实际开始时间.split(' ')[0]
|
||||||
|
}
|
||||||
if (response.data[i].任务开始时间 !== '' && response.data[i].任务开始时间 !== null) {
|
if (response.data[i].任务开始时间 !== '' && response.data[i].任务开始时间 !== null) {
|
||||||
response.data[i].任务开始时间 = response.data[i].任务开始时间.split(' ')[0]
|
response.data[i].任务开始时间 = response.data[i].任务开始时间.split(' ')[0]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -640,11 +640,7 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.el-table .warning-row {
|
.el-table .warning-row {
|
||||||
<<<<<<< HEAD
|
|
||||||
background: yellowgreen;
|
|
||||||
=======
|
|
||||||
background: red;
|
background: red;
|
||||||
>>>>>>> fe0ba3d7bde1d5cfc6a4a87843e945deaff60a8d
|
|
||||||
}
|
}
|
||||||
.rgb196{
|
.rgb196{
|
||||||
background: palevioletred;
|
background: palevioletred;
|
||||||
|
|||||||
Reference in New Issue
Block a user