|
@@ -127,6 +127,7 @@
|
|
|
<el-table-column width="150" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
+ v-if="showunlock"
|
|
|
v-model="scope.row.status"
|
|
|
:class="{
|
|
|
'status0':scope.row.status===0,
|
|
@@ -143,6 +144,7 @@
|
|
|
>
|
|
|
<el-option v-for="item in scope.row.availableStatusList" :key="item.code" :label="item.name" :value="item.code" />
|
|
|
</el-select>
|
|
|
+ <div v-else>{{ scope.row.statusString }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="任">
|
|
@@ -239,7 +241,8 @@ export default {
|
|
|
type: [Object, Array],
|
|
|
default: () => null,
|
|
|
required: false
|
|
|
- }
|
|
|
+ },
|
|
|
+ showunlock: { type: Boolean, required: true }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|