no message
This commit is contained in:
parent
e076c31650
commit
58c8f4f633
@ -28,6 +28,14 @@
|
|||||||
<el-option v-for="option in item.options.items" :key="option.value" :label="option.label || option.name" :value="option.value"></el-option>
|
<el-option v-for="option in item.options.items" :key="option.value" :label="option.label || option.name" :value="option.value"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
|
<!-- selectgroup -->
|
||||||
|
<template v-else-if="item.component == 'selectgroup'">
|
||||||
|
<el-select v-model="data[item.name]" v-bind="item.bind" clearable filterable style="width: 100%;">
|
||||||
|
<el-option-group v-for="group in item.options" :key="group.label" :label="group.label">
|
||||||
|
<el-option v-for="item in group.options" :key="item.value" :label="item.label" :value="item.value" />
|
||||||
|
</el-option-group>
|
||||||
|
</el-select>
|
||||||
|
</template>
|
||||||
<!-- checkboxGroup -->
|
<!-- checkboxGroup -->
|
||||||
<template v-else-if="item.component == 'checkboxGroup'">
|
<template v-else-if="item.component == 'checkboxGroup'">
|
||||||
<el-checkbox-group v-model="data[item.name]">
|
<el-checkbox-group v-model="data[item.name]">
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<el-button @click="xupdate('message', '发送消息', 'drawer')" type="info" size="small">
|
<el-button @click="xupdate('message', '发送消息', 'drawer')" type="info" size="small">
|
||||||
系统消息
|
系统消息
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button @click="xupdate('user', '编辑信息')" type="info" color="#607d8b" size="small">
|
<el-button @click="xupdate('user.index@updateTable', '编辑信息')" type="info" color="#607d8b" size="small">
|
||||||
编辑资料
|
编辑资料
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -81,8 +81,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="save">确 认</el-button>
|
<el-button type="primary" @click="save">确 认</el-button>
|
||||||
@ -133,14 +131,12 @@
|
|||||||
this.value = data||[]
|
this.value = data||[]
|
||||||
this.selected = JSON.parse(JSON.stringify(data||[]))
|
this.selected = JSON.parse(JSON.stringify(data||[]))
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
|
|
||||||
if(this.type==1){
|
if(this.type==1){
|
||||||
this.getGroup()
|
this.getGroup()
|
||||||
this.getUser()
|
this.getUser()
|
||||||
}else if(this.type==2){
|
}else if(this.type==2){
|
||||||
this.getRole()
|
this.getRole()
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
//获取组织
|
//获取组织
|
||||||
async getGroup(){
|
async getGroup(){
|
||||||
|
Loading…
Reference in New Issue
Block a user