address-book-shell 0.0.44 → 0.0.45
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.
- package/README.md +525 -266
- package/lib/address-book-shell.common.js +142 -137
- package/lib/address-book-shell.umd.js +142 -137
- package/lib/address-book-shell.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/address-book/src/components/address-updata.vue +9 -4
- package/packages/address-book/src/index.vue +1 -1
package/package.json
CHANGED
|
@@ -253,7 +253,6 @@ export default {
|
|
|
253
253
|
list: item,
|
|
254
254
|
})
|
|
255
255
|
})
|
|
256
|
-
console.log()
|
|
257
256
|
this.scene = 3
|
|
258
257
|
} else {
|
|
259
258
|
this.normalList = normalList
|
|
@@ -304,10 +303,16 @@ export default {
|
|
|
304
303
|
//
|
|
305
304
|
},
|
|
306
305
|
submit4() {
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
// 过滤出新增的人员(exist != '1')
|
|
307
|
+
const newPersonnel = this.normalList.filter(item => item.exist !== '1')
|
|
308
|
+
|
|
309
|
+
// 为所有人员设置fdOrgType,默认为'8'(人员类型)
|
|
310
|
+
newPersonnel.forEach(item => {
|
|
311
|
+
item.fdOrgType = item.fdOrgType || '8'
|
|
309
312
|
})
|
|
310
|
-
|
|
313
|
+
|
|
314
|
+
// 触发nameSubmit事件,传递新增人员列表
|
|
315
|
+
this.$emit('nameSubmit', newPersonnel)
|
|
311
316
|
},
|
|
312
317
|
},
|
|
313
318
|
}
|
|
@@ -784,7 +784,7 @@ export default {
|
|
|
784
784
|
this.selectedList = unique(this.selectedList, 'hrId')
|
|
785
785
|
this.onlyNewPersonnelList = unique(this.onlyNewPersonnelList, 'hrId')
|
|
786
786
|
this.$emit('add', deepClone(list), deepClone(this.selectedList))
|
|
787
|
-
|
|
787
|
+
this.$refs.addressContent.recoverySelect() //通讯录恢复勾选状态
|
|
788
788
|
// this.$refs.addressContentMyFriend.recoverySelect(true, list) //我的好友恢复勾选状态
|
|
789
789
|
},
|
|
790
790
|
// 删除人员
|