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-select>
|
||||
</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 -->
|
||||
<template v-else-if="item.component == 'checkboxGroup'">
|
||||
<el-checkbox-group v-model="data[item.name]">
|
||||
@ -105,7 +113,7 @@
|
||||
<el-tab-pane v-for="t in item.options.items" :key="t.value" :label="t.label" :name="t.value">
|
||||
<template #label>
|
||||
<el-badge is-dot v-if="data[item.name][t.value]"> </el-badge>
|
||||
<span>{{ t.label }}</span>
|
||||
<span>{{ t.label }}</span>
|
||||
</template>
|
||||
<el-input v-model="data[item.name][t.value]" type="textarea" :rows="item.options.rows || 6" show-word-limit></el-input>
|
||||
</el-tab-pane>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<el-button @click="xupdate('message', '发送消息', 'drawer')" type="info" size="small">
|
||||
系统消息
|
||||
</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>
|
||||
</div>
|
||||
|
@ -81,8 +81,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<template #footer>
|
||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||
<el-button type="primary" @click="save">确 认</el-button>
|
||||
@ -133,14 +131,12 @@
|
||||
this.value = data||[]
|
||||
this.selected = JSON.parse(JSON.stringify(data||[]))
|
||||
this.dialogVisible = true
|
||||
|
||||
if(this.type==1){
|
||||
this.getGroup()
|
||||
this.getUser()
|
||||
}else if(this.type==2){
|
||||
this.getRole()
|
||||
}
|
||||
|
||||
},
|
||||
//获取组织
|
||||
async getGroup(){
|
||||
|
Loading…
Reference in New Issue
Block a user