|
@ -250,7 +250,7 @@ |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ scope.row.tableMode === 1 ? "DN模式" : "KV模式" }} |
|
|
{{ scope.row.tableMode === 0 ? "DN模式" : "KV模式" }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -262,7 +262,7 @@ |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ scope.row.writeMode && writeModes[scope.row.writeMode - 1] }} |
|
|
{{ scope.row.writeMode && writeModes[scope.row.writeMode] }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -483,10 +483,10 @@ |
|
|
label-width="150px" |
|
|
label-width="150px" |
|
|
> |
|
|
> |
|
|
<el-radio-group v-model="form.tableMode" @change="changeTableMode"> |
|
|
<el-radio-group v-model="form.tableMode" @change="changeTableMode"> |
|
|
<el-radio :label="1"> |
|
|
<el-radio :label="0"> |
|
|
DN模式 |
|
|
DN模式 |
|
|
</el-radio> |
|
|
</el-radio> |
|
|
<el-radio :label="2"> |
|
|
<el-radio :label="1"> |
|
|
KV模式 |
|
|
KV模式 |
|
|
</el-radio> |
|
|
</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
@ -497,7 +497,7 @@ |
|
|
label-width="150px" |
|
|
label-width="150px" |
|
|
> |
|
|
> |
|
|
<el-radio-group v-model="form.writeMode" @change="changeWriteMode"> |
|
|
<el-radio-group v-model="form.writeMode" @change="changeWriteMode"> |
|
|
<el-radio v-for="(item, writeModeIndex) in writeModes" :key="writeModeIndex" :label="writeModeIndex + 1" :disabled="form.tableMode === 2"> |
|
|
<el-radio v-for="(item, writeModeIndex) in writeModes" :key="writeModeIndex" :label="writeModeIndex" :disabled="form.tableMode === 2"> |
|
|
{{ item }} |
|
|
{{ item }} |
|
|
</el-radio> |
|
|
</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
|