代码更新
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
append-to-body
|
||||
:visible.sync="dialogVisible"
|
||||
destroy-on-close
|
||||
width="1000px"
|
||||
width="1400px"
|
||||
@close="close"
|
||||
@open="open"
|
||||
>
|
||||
@@ -46,17 +46,17 @@
|
||||
size="mini"
|
||||
@selection-change="crud.selectionChangeHandler"
|
||||
>
|
||||
<el-table-column show-overflow-tooltip prop="create_time" label="报修时间" />
|
||||
<el-table-column show-overflow-tooltip prop="name" label="使用部门" />
|
||||
<el-table-column show-overflow-tooltip prop="class_name" label="故障类型" />
|
||||
<el-table-column show-overflow-tooltip prop="process_time" label="受理时间" />
|
||||
<el-table-column show-overflow-tooltip prop="real_start_date" label="开始维修" />
|
||||
<el-table-column show-overflow-tooltip prop="real_end_date" label="结束维修" />
|
||||
<el-table-column show-overflow-tooltip prop="create_time" label="报修时间" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="name" label="使用部门" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="class_name" label="故障类型" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="process_time" label="受理时间" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="real_start_date" label="开始维修" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="real_end_date" label="结束维修" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="outsourceaskfor_optid" label="是否委外" :formatter="formatName" />
|
||||
<el-table-column show-overflow-tooltip prop="confirm_time" label="生产验收" />
|
||||
<el-table-column show-overflow-tooltip prop="audit_time" label="维修确认" />
|
||||
<el-table-column show-overflow-tooltip prop="product_person_name" label="生产配合人" />
|
||||
<el-table-column show-overflow-tooltip prop="update_optname" label="维修人" />
|
||||
<el-table-column show-overflow-tooltip prop="confirm_time" label="生产验收" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="audit_time" label="维修确认" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="product_person_name" label="生产配合人" width="140px" />
|
||||
<el-table-column show-overflow-tooltip prop="update_optname" label="维修人" width="140px" />
|
||||
</el-table>
|
||||
<!--分页组件-->
|
||||
<pagination />
|
||||
|
||||
@@ -9,6 +9,16 @@
|
||||
@close="close"
|
||||
@open="open"
|
||||
>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="20" style="border: 1px solid white">
|
||||
<span />
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<span>
|
||||
<el-button icon="el-icon-close" size="mini" type="info" @click="close">关闭</el-button>
|
||||
</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div class="head-container">
|
||||
<el-form
|
||||
size="mini"
|
||||
|
||||
@@ -171,9 +171,10 @@ export default {
|
||||
})
|
||||
},
|
||||
openDtl(row) {
|
||||
if (!this.changeTimeAge) {
|
||||
return this.crud.notify('请选择日期', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
}
|
||||
// if (!this.changeTimeAge) {
|
||||
// return this.crud.notify('请选择日期', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
// }
|
||||
debugger
|
||||
this.openParam = {
|
||||
'dtlFrom': row,
|
||||
'time': this.changeTimeAge
|
||||
@@ -182,9 +183,13 @@ export default {
|
||||
},
|
||||
changeTime(val) {
|
||||
debugger
|
||||
this.changeTimeAge = {
|
||||
'startTime': val[0],
|
||||
'endTime': val[1]
|
||||
if (val === null) {
|
||||
this.changeTimeAge = {}
|
||||
} else {
|
||||
this.changeTimeAge = {
|
||||
'startTime': val[0],
|
||||
'endTime': val[1]
|
||||
}
|
||||
}
|
||||
this.crud.toQuery()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user