|
@ -256,7 +256,7 @@ |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ scope.row.tableMode === 0 ? "DN模式" : "KV模式" }} |
|
|
{{ scope.row.tableMode === 0 ? "SN模式" : "KV模式" }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -490,7 +490,7 @@ |
|
|
> |
|
|
> |
|
|
<el-radio-group v-model="form.tableMode" @change="changeTableMode"> |
|
|
<el-radio-group v-model="form.tableMode" @change="changeTableMode"> |
|
|
<el-radio :label="0"> |
|
|
<el-radio :label="0"> |
|
|
DN模式 |
|
|
SN模式 |
|
|
</el-radio> |
|
|
</el-radio> |
|
|
<el-radio :label="1"> |
|
|
<el-radio :label="1"> |
|
|
KV模式 |
|
|
KV模式 |
|
@ -503,7 +503,7 @@ |
|
|
label-width="150px" |
|
|
label-width="150px" |
|
|
> |
|
|
> |
|
|
<el-radio-group v-model="form.writeMode"> |
|
|
<el-radio-group v-model="form.writeMode"> |
|
|
<el-radio v-for="(item, writeModeIndex) in writeModes" :key="writeModeIndex" :label="writeModeIndex" :disabled="(form.tableMode === 0 && writeModeIndex === 1) || (form.tableMode === 1 && writeModeIndex !== 1)"> |
|
|
<el-radio v-for="(item, writeModeIndex) in writeModes" :key="writeModeIndex" :label="writeModeIndex" :disabled="(form.tableMode === 0 && writeModeIndex === 2) || (form.tableMode === 1 && writeModeIndex !== 2)"> |
|
|
{{ item }} |
|
|
{{ item }} |
|
|
</el-radio> |
|
|
</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
@ -767,7 +767,7 @@ export default { |
|
|
templateSettingId: '' |
|
|
templateSettingId: '' |
|
|
}, |
|
|
}, |
|
|
totalCount1: 0, |
|
|
totalCount1: 0, |
|
|
writeModes: ['DN模式', 'KV模式', 'CFI模式', 'SA模式'] |
|
|
writeModes: ['CN模式', 'DN模式', 'KV模式', 'CFI模式', 'SA模式'] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() {}, |
|
|
mounted() {}, |
|
@ -783,7 +783,7 @@ export default { |
|
|
this.form.affiliatedTableRowCount = 0 |
|
|
this.form.affiliatedTableRowCount = 0 |
|
|
break |
|
|
break |
|
|
case 1: |
|
|
case 1: |
|
|
this.form.writeMode = 1 |
|
|
this.form.writeMode = 2 |
|
|
this.form.tableIndex = 0 |
|
|
this.form.tableIndex = 0 |
|
|
this.form.tableStartRow = 0 |
|
|
this.form.tableStartRow = 0 |
|
|
this.form.tableRowCount = 0 |
|
|
this.form.tableRowCount = 0 |
|
|