Merge branch 'v1.3' of https://github.com/metersphere/metersphere into v1.3
This commit is contained in:
commit
a429bd8d1b
|
@ -39,8 +39,7 @@
|
||||||
:disabled="!row.edit || readOnly"
|
:disabled="!row.edit || readOnly"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-model="row.enable"
|
v-model="row.enable"
|
||||||
active-color="#13ce66"
|
inactive-color="#DCDFE6">
|
||||||
inactive-color="#ff4949">
|
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
<el-table-column prop="status" :label="$t('commons.status')">
|
<el-table-column prop="status" :label="$t('commons.status')">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<el-switch v-model="scope.row.status"
|
<el-switch v-model="scope.row.status"
|
||||||
active-color="#13ce66"
|
inactive-color="#DCDFE6"
|
||||||
inactive-color="#ff4949"
|
|
||||||
active-value="ACTIVE"
|
active-value="ACTIVE"
|
||||||
inactive-value="DISABLED"
|
inactive-value="DISABLED"
|
||||||
@change="changeSwitch(scope.row)"
|
@change="changeSwitch(scope.row)"
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
<el-table-column prop="status" :label="$t('test_resource_pool.enable_disable')">
|
<el-table-column prop="status" :label="$t('test_resource_pool.enable_disable')">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<el-switch v-model="scope.row.status"
|
<el-switch v-model="scope.row.status"
|
||||||
active-color="#13ce66"
|
inactive-color="#DCDFE6"
|
||||||
inactive-color="#ff4949"
|
|
||||||
active-value="VALID"
|
active-value="VALID"
|
||||||
inactive-value="INVALID"
|
inactive-value="INVALID"
|
||||||
@change="changeSwitch(scope.row)"
|
@change="changeSwitch(scope.row)"
|
||||||
|
|
|
@ -19,8 +19,7 @@
|
||||||
<el-table-column prop="status" :label="$t('commons.status')" width="120">
|
<el-table-column prop="status" :label="$t('commons.status')" width="120">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<el-switch v-model="scope.row.status"
|
<el-switch v-model="scope.row.status"
|
||||||
active-color="#13ce66"
|
inactive-color="#DCDFE6"
|
||||||
inactive-color="#ff4949"
|
|
||||||
active-value="1"
|
active-value="1"
|
||||||
inactive-value="0"
|
inactive-value="0"
|
||||||
@change="changeSwitch(scope.row)"
|
@change="changeSwitch(scope.row)"
|
||||||
|
|
Loading…
Reference in New Issue