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