服装智能制造软件平台V3.0
http://182.92.169.222/hhxy/#/user/login
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
喻忠伟
dbc64be672
|
2 years ago | |
---|---|---|
.. | ||
JSelectBizComponent | 2 years ago | |
modal | 2 years ago | |
thirdApp | 2 years ago | |
JSelectDepart.vue | 2 years ago | |
JSelectMultiUser.vue | 2 years ago | |
JSelectPosition.vue | 2 years ago | |
JSelectRole.vue | 2 years ago | |
JSelectUserByDep.vue | 2 years ago | |
README.md | 2 years ago |
README.md
JSelectDepart 部门选择组件
选择部门组件,存储部门ID,显示部门名称
参数配置
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
modalWidth | Number | 弹框宽度 默认500 | |
multi | Boolean | 是否多选 默认false | |
rootOpened | Boolean | 是否展开根节点 默认true | |
disabled | Boolean | 是否禁用 默认false |
使用示例
<template>
<a-form :form="form">
<a-form-item label="部门选择v-decorator" style="width: 300px">
<j-select-depart v-decorator="['bumen']"/>
{{ getFormFieldValue('bumen') }}
</a-form-item>
<a-form-item label="部门选择v-model" style="width: 300px">
<j-select-depart v-model="bumen"/>
{{ bumen }}
</a-form-item>
<a-form-item label="部门多选v-model" style="width: 300px">
<j-select-depart v-model="bumens" :multi="true"/>
{{ bumens }}
</a-form-item>
</a-form >
</template>
<script>
import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
export default {
components: {JSelectDepart},
data() {
return {
form: this.$form.createForm(this),
bumen:"",
bumens:""
}
},
methods:{
getFormFieldValue(field){
return this.form.getFieldValue(field)
}
}
}
</script>
JSelectMultiUser 用户多选组件
使用示例
<template>
<a-form :form="form">
<a-form-item label="用户选择v-decorator" style="width: 500px">
<j-select-multi-user v-decorator="['users']"/>
{{ getFormFieldValue('users') }}
</a-form-item>
<a-form-item label="用户选择v-model" style="width: 500px">
<j-select-multi-user v-model="users" ></j-select-multi-user>
{{ users }}
</a-form-item>
</a-form >
</template>
<script>
import JSelectMultiUser from '@/components/jeecgbiz/JSelectMultiUser'
export default {
components: {JSelectMultiUser},
data() {
return {
form: this.$form.createForm(this),
users:"",
}
},
methods:{
getFormFieldValue(field){
return this.form.getFieldValue(field)
}
}
}
</script>
JSelectUserByDep 根据部门选择用户
参数配置
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
modalWidth | Number | 弹框宽度 默认1250 | |
disabled | Boolean | 是否禁用 |
使用示例
<template>
<a-form :form="form">
<a-form-item label="用户选择v-decorator" style="width: 500px">
<j-select-user-by-dep v-decorator="['users']"/>
{{ getFormFieldValue('users') }}
</a-form-item>
<a-form-item label="用户选择v-model" style="width: 500px">
<j-select-user-by-dep v-model="users" ></j-select-user-by-dep>
{{ users }}
</a-form-item>
</a-form >
</template>
<script>
import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
export default {
components: {JSelectUserByDep},
data() {
return {
form: this.$form.createForm(this),
users:"",
}
},
methods:{
getFormFieldValue(field){
return this.form.getFieldValue(field)
}
}
}
</script>