|
|
|
|
@ -709,8 +709,9 @@ |
|
|
|
|
<!-- {{ |
|
|
|
|
projectForm.status == 0 ? "停用" : "启用" |
|
|
|
|
}} --> |
|
|
|
|
<span v-if="projectForm.status === 1" style="color: #e56926">停用</span> |
|
|
|
|
<span v-if="projectForm.status === 0" style="color: #34c447">启用</span> |
|
|
|
|
<span v-if="projectForm.status === 0" style="color: #e56926">未保养</span> |
|
|
|
|
<span v-if="projectForm.status === 1" style="color: #34c447">已保养</span> |
|
|
|
|
<span v-if="projectForm.status === 2" style="color: #999">不保养</span> |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<el-descriptions-item span="1" label="保养类型"> |
|
|
|
|
{{projectForm.maintainType | maintainTypeName}} |
|
|
|
|
@ -891,6 +892,7 @@ |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div v-if="scope.row.status == 1">已保养</div> |
|
|
|
|
<div v-if="scope.row.status == 0">未保养</div> |
|
|
|
|
<div v-if="scope.row.status == 2">不保养</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
@ -1592,7 +1594,7 @@ export default { |
|
|
|
|
if(this.addForm.orderList.length !== 0){ |
|
|
|
|
this.addForm.orderList.forEach(row => { |
|
|
|
|
this.tableData.map((item,index) =>{ |
|
|
|
|
if(item.id == row.projectId){ |
|
|
|
|
if(item.id == row.id){ |
|
|
|
|
this.$nextTick(() =>{ |
|
|
|
|
this.$refs.maintainTable.toggleRowSelection(this.tableData[index],true); |
|
|
|
|
}) |
|
|
|
|
@ -1693,8 +1695,8 @@ export default { |
|
|
|
|
this.page[0].current = 1 |
|
|
|
|
this.$nextTick(() =>{ |
|
|
|
|
this.$refs.maintainTable.clearSelection(); |
|
|
|
|
this.searchProject() |
|
|
|
|
}) |
|
|
|
|
this.searchProject() |
|
|
|
|
// getProList({current:1,size:200}).then(res =>{ |
|
|
|
|
// this.tableData = res.data.data.records |
|
|
|
|
// this.showProjectDialog = true; |
|
|
|
|
|