@@ -153,25 +153,6 @@ export default {
methods: {
...mapActions(['selectEnterpriseContact']),
- handleSelectUser(fieldDbName) {
- if (this.lockSelector) return
- this.lockSelector = true
- this.selectEnterpriseContact({
- fromDepartmentId: 0,
- type: ["user"],
- selectedUserIds: this.houseInfo[fieldDbName]?.map(e => e.id)
- }).then(res => {
- this.houseInfo[fieldDbName] = res?.userList || []
- this.lockSelector = false
- }).catch(() => {
- this.lockSelector = false
- })
- },
-
- toSelectUser() {
- console.log(111)
- uni.navigateTo({url: './selectResident'})
- },
tableRelationSelect(name, index) {
this.tableName = name
this.tableIndex = index