This commit is contained in:
zds
2022-11-16 20:16:27 +08:00
parent 7c22c914ad
commit 396ceb97f8
17 changed files with 224 additions and 92 deletions

View File

@@ -133,6 +133,7 @@ export default {
name: 'Devicerepairrequest',
components: { pagination, crudOperation, rrOperation, udOperation, DateRangePicker, Treeselect, PicDialog },
mixins: [presenter(), header(), form(defaultForm), crud()],
dicts: ['EM_FAULT_LEVEL'],
cruds() {
return CRUD({
title: '设备报修处理',
@@ -212,14 +213,8 @@ export default {
})
})
},
formaLevelName(row, cloum) {
if (row.fault_level === '01') {
return '一级'
} else if (row.fault_level === '02') {
return '二级'
} else if (row.fault_level === '03') {
return '三级'
}
formaLevelName(row) {
return this.dict.label.EM_FAULT_LEVEL[row.fault_level]
},
formatStatusName(row, cloum) {
if (row.status === '01') {

View File

@@ -11,7 +11,7 @@
<el-form ref="form" :inline="true" :model="form4" size="mini" label-width="120px" label-suffix=":">
<el-row>
<el-col :span="24">
<el-form-item label="维修人" prop="update_optname">
<el-form-item label="保养人" prop="update_optname">
<el-input v-model="form4.update_optname" style="width: 200px;" />
</el-form-item>
</el-col>

View File

@@ -11,7 +11,7 @@
<el-form ref="form" :inline="true" :model="form4" size="mini" label-width="120px" label-suffix=":">
<el-row>
<el-col :span="24">
<el-form-item label="维修人" prop="update_optname">
<el-form-item label="保养人" prop="update_optname">
<el-input v-model="form4.update_optname" style="width: 200px;" />
</el-form-item>
</el-col>

View File

@@ -114,17 +114,6 @@
>
开始保养
</el-button>
<!-- <el-button
slot="right"
class="filter-item"
type="success"
icon="el-icon-position"
size="mini"
:disabled="execu_flag"
@click="executeMaintain"
>
保养执行
</el-button>-->
<el-button
slot="right"
class="filter-item"