Browse Source

表格模式与表格写入模式字段值变动

master
李磊 3 years ago
parent
commit
10ac2c5caf
  1. 10
      src/components/drawerDialog/index.vue

10
src/components/drawerDialog/index.vue

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

Loading…
Cancel
Save