forked from github/dataease
Merge branch 'dev' of github.com:dataease/dataease into dev
This commit is contained in:
commit
96a830ebaf
frontend/src
@ -23,7 +23,9 @@
|
|||||||
|
|
||||||
<div v-else class="radio-group-container">
|
<div v-else class="radio-group-container">
|
||||||
<el-radio-group v-model="value" @change="changeRadioBox">
|
<el-radio-group v-model="value" @change="changeRadioBox">
|
||||||
<el-radio v-for="(item, index) in datas" :key="index" :label="item.id">{{ item.id }}</el-radio>
|
<el-radio v-for="(item, index) in datas" :key="index" :label="item.id" @click.native.prevent="testChange(item)">
|
||||||
|
<span>{{ item.id }}</span>
|
||||||
|
</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -209,6 +211,10 @@ export default {
|
|||||||
this.checkAll = checkedCount === this.datas.length
|
this.checkAll = checkedCount === this.datas.length
|
||||||
this.isIndeterminate = checkedCount > 0 && checkedCount < this.datas.length
|
this.isIndeterminate = checkedCount > 0 && checkedCount < this.datas.length
|
||||||
this.changeValue(values)
|
this.changeValue(values)
|
||||||
|
},
|
||||||
|
testChange(item) {
|
||||||
|
this.value = this.value === item.id ? null : item.id
|
||||||
|
this.changeRadioBox(this.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,18 @@
|
|||||||
{{ $t('panel.component_hidden') }}
|
{{ $t('panel.component_hidden') }}
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="component-wait-main">
|
<el-row class="component-wait-main">
|
||||||
<component-wait-item
|
<el-col
|
||||||
|
:span="8"
|
||||||
v-for="(config, index) in pcComponentData"
|
v-for="(config, index) in pcComponentData"
|
||||||
v-if="!config.mobileSelected"
|
v-if="!config.mobileSelected"
|
||||||
:id="'wait' + config.id"
|
:id="'wait' + config.id"
|
||||||
:key="index"
|
:key="index"
|
||||||
:config="config"
|
>
|
||||||
/>
|
<component-wait-item
|
||||||
|
:config="config"
|
||||||
|
/>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -81,7 +86,7 @@ export default {
|
|||||||
.component-wait-main {
|
.component-wait-main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100% - 30px);
|
height: calc(100% - 30px);
|
||||||
text-align: left;
|
float: left;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.component-custom {
|
.component-custom {
|
||||||
|
@ -69,9 +69,7 @@ export default {
|
|||||||
},
|
},
|
||||||
componentItemStyle() {
|
componentItemStyle() {
|
||||||
return {
|
return {
|
||||||
padding: '5px',
|
padding: '5px'
|
||||||
float: 'left',
|
|
||||||
width: '33%'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...mapState([
|
...mapState([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user