@sy-common/organize-select-help 1.0.0-beta.19 → 1.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.vue +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sy-common/organize-select-help",
3
- "version": "1.0.0-beta.19",
3
+ "version": "1.0.0-beta.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
package/src/index.vue CHANGED
@@ -214,6 +214,10 @@ export default {
214
214
  isQuickOpen:{
215
215
  type: Boolean,
216
216
  default: false
217
+ },
218
+ defaultOrgUnitId:{
219
+ type: String,
220
+ default: ''
217
221
  }
218
222
  },
219
223
  data(){
@@ -238,6 +242,7 @@ export default {
238
242
  includeLevelPost:[],
239
243
  positiontList:[],
240
244
  postTree:[],
245
+ defaultOrgUnitId:'',//人员选择默认组织编码
241
246
  //直接人员
242
247
  staffSearch:'',
243
248
  staffAllList:[],
@@ -551,6 +556,7 @@ export default {
551
556
  search:this.staffSearch,
552
557
  offset:this.offset,
553
558
  limit:10,
559
+ baComOrgCode:this.defaultOrgUnitId
554
560
  }
555
561
  }).then((res)=>{
556
562
  if(res.data.code === 1){