Ver a proveniência

完善人员多选组件 实现部门的多选

长阳分支推送专用
杨晓琪 há 2 anos
ascendente
cometimento
c3f6f62cd6
5 ficheiros alterados com 11 adições e 12 eliminações
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/organize-picker.vue
  2. +2
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
  3. +2
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/MeetingManagement/list.vue
  4. +2
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/MeetingManagement/single.vue
  5. +4
    -4
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/common/select-organize-multiple.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/organize-picker.vue Ver ficheiro

@@ -67,7 +67,7 @@ export default {
let values = this.value.split(",")
if(values.length>1){
const orgItems = values.map(t=>list[t].name).toString()
const orgItems = values.map(t=>list[t]?list[t].name:'').toString()
return orgItems
}


+ 2
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js Ver ficheiro

@@ -21,9 +21,9 @@ export default {
// "http://192.168.2.98:8088/"
// ],
"apiHost": [
"http://cyzjzx.gnway.cc:30626/"//测试地址
// "http://cyzjzx.gnway.cc:30626/"//测试地址
// "http://cyzjzx.gnway.cc:29615/"//正式地址
// "http://192.168.10.31:8088/"
"http://192.168.10.58:8012/"
],
"webHost":"http://cyzjzx.gnway.cc:29618/",//测试地址
//"webHost":"http://wxd3f.cyzjzx.com/",//正式地址


+ 2
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/MeetingManagement/list.vue Ver ficheiro

@@ -106,13 +106,13 @@
title="会议地点"
placeholder="按会议地点查询"
/>
<l-organize-picker
<!-- <l-organize-picker
v-model="queryData.CreateUser"
@change="searchChange"
type="user"
title="申请人"
placeholder="按申请人查询"
/>
/> -->

<!-- 重置查询条件按钮 -->
<view class="padding-tb">


+ 2
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/MeetingManagement/single.vue Ver ficheiro

@@ -51,7 +51,7 @@
:readonly="!edit"
type="user"
title="参会人员"
multiple
:multiple="true"
/>
<l-organize-picker
@input="setValue('MeetingManagement.RecordPerson', $event)"
@@ -188,11 +188,10 @@ export default {
async fetchForm() {
if (this.mode === 'create') {
this.origin = await this.getDefaultForm()
console.log(this.origin)
} else {
const result = await this.HTTP_GET('learun/adms/PersonnelManagement/MeetingManagement/form', this.id)
this.origin = await this.formatFormData(result)
console.log(this.origin)
console.log(this.origin,this.origin.prototype)
}
this.current = this.COPY(this.origin)
},


+ 4
- 4
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/common/select-organize-multiple.vue Ver ficheiro

@@ -7,7 +7,7 @@
<!-- </view> -->
<view>
<view class="pearson">
已选择人员:{{names||'暂无'}}
已选择:{{names||'暂无'}}
</view>
<view style="display: flex;justify-content: center;">
<view class="cu-btn sm line-red" @tap="itemClear" style="font-size: 16px;margin: 4px;">
@@ -64,8 +64,8 @@ export default {
let arr = this.ids.split(",")
let items = []
for (let s of arr) {
if(this.GET_GLOBAL("user")[s]){
items.push({...this.GET_GLOBAL("user")[s],id:s})
if(this.GET_GLOBAL(type)[s]){
items.push({...this.GET_GLOBAL(type)[s],id:s})
}
}
this.items = items
@@ -82,7 +82,7 @@ export default {
this.type = type || 'user'

const selectType = { user: '职员', department: '部门', company: '公司' }[type]
this.SET_TITLE(`请选择一个${selectType}`)
this.SET_TITLE(`请选择${selectType}`)
},
findItem(arr,item){


Carregando…
Cancelar
Guardar