fix: 1990 维修已完成,外部显示依然是维修进行中
This commit is contained in:
parent
57efbcfbf9
commit
439b344ec4
|
|
@ -160,7 +160,7 @@
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
border
|
border
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" :selectable="disabledSelection"/>
|
||||||
<!-- <el-table-column
|
<!-- <el-table-column
|
||||||
label="序号"
|
label="序号"
|
||||||
align="center"
|
align="center"
|
||||||
|
|
@ -368,6 +368,7 @@
|
||||||
width="55"
|
width="55"
|
||||||
align="center"
|
align="center"
|
||||||
v-if="repairTitle == '维修'"
|
v-if="repairTitle == '维修'"
|
||||||
|
:selectable="selectableDialog"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="序号"
|
label="序号"
|
||||||
|
|
@ -377,7 +378,7 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{
|
<span>{{
|
||||||
(dialogQueryParams.pageNum - 1) * 10 +
|
(dialogQueryParams.pageNum - 1) * dialogQueryParams.pageSize +
|
||||||
scope.$index +
|
scope.$index +
|
||||||
1
|
1
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
@ -450,7 +451,7 @@
|
||||||
width="300px"
|
width="300px"
|
||||||
v-if="type == 'update'"
|
v-if="type == 'update'"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope" v-if="scope.row.status !== '1'">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
@ -1012,6 +1013,13 @@ export default {
|
||||||
})
|
})
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
|
// 禁止勾选已完成
|
||||||
|
disabledSelection(row) {
|
||||||
|
return row.repairStatusCode !== '44'
|
||||||
|
},
|
||||||
|
selectableDialog(row) {
|
||||||
|
return row.status !== '1'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue