添加典型装配工艺模块及修复一些问题

This commit is contained in:
liushuai
2018-11-17 15:22:57 +08:00
parent 08683fbe0c
commit 613cacecb0
13 changed files with 796 additions and 39 deletions

View File

@@ -143,6 +143,12 @@ export default {
this.projectValue ? this.check = 1 : this.check = 0
this.machineNumberValue ? this.check1 = 1 : this.check1 = 0
searchTable(this.check, this.projectValue, this.check1, this.machineNumberValue, this.check2, this.startEndDate[0], this.startEndDate[1], this.pageCurrent, this.pageSize).then(response => {
for (let i = 0; i < response.data.rows.length; i++) {
console.log(response.data.rows[i].项目计划完成时间)
if (response.data.rows[i].项目计划完成时间 !== '') {
response.data.rows[i].项目计划完成时间 = (response.data.rows[i].项目计划完成时间).split(' ')[0]
}
}
this.tableData = response.data.rows
this.total = response.data.total
this.loading = false