BUG 28456
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
</div>
|
||||
</ai-dialog>
|
||||
<ai-dialog :visible.sync="authDialog" title="授权" @onConfirm="handleAuth" @closed="form={}" width="500px">
|
||||
<ai-user-picker :instance="instance" v-model="form.operators" multiple/>
|
||||
<ai-user-picker :instance="instance" v-model="form.operators" multiple action="/user/page" label="name"/>
|
||||
</ai-dialog>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<section class="AiUserPicker">
|
||||
<el-select size="small" :value="value" placeholder="选择人员" clearable @change="v=>$emit('select',v)" v-bind="$attrs"
|
||||
filterable>
|
||||
<el-option v-for="row in list" :key="row.id" :value="row.id" :label="row.phone"/>
|
||||
<el-option v-for="row in list" :key="row.id" :value="row.id" :label="row[label]"/>
|
||||
</el-select>
|
||||
</section>
|
||||
</template>
|
||||
@@ -18,7 +18,8 @@ export default {
|
||||
value: {default: ""},
|
||||
instance: Function,
|
||||
action: {default: "/appportaluser/list"},
|
||||
params: {default: () => ({})}
|
||||
params: {default: () => ({})},
|
||||
label: {default: "phone"}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -43,7 +44,7 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AiUserPicker {
|
||||
.el-select{
|
||||
.el-select {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user