|
@@ -276,7 +276,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log(this.options, this.subjectId)
|
|
|
|
|
|
+ // console.log(this.options, this.subjectId)
|
|
if(this.multiSelect) {
|
|
if(this.multiSelect) {
|
|
for(var i in this.options) {
|
|
for(var i in this.options) {
|
|
for(var j in this.subjectId) {
|
|
for(var j in this.subjectId) {
|
|
@@ -288,7 +288,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log(this.subject, this.subjectId)
|
|
|
|
|
|
+ // console.log(this.subject, this.subjectId)
|
|
|
|
|
|
var thats = this
|
|
var thats = this
|
|
var phoneArr = []
|
|
var phoneArr = []
|
|
@@ -300,7 +300,7 @@ export default {
|
|
}, 500)
|
|
}, 500)
|
|
|
|
|
|
thats.fistArrList = phoneArr
|
|
thats.fistArrList = phoneArr
|
|
- console.log(thats.fistArrList)
|
|
|
|
|
|
+ // console.log(thats.fistArrList)
|
|
this.dailyListIndex = this.idx
|
|
this.dailyListIndex = this.idx
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -315,9 +315,9 @@ export default {
|
|
"selectedDepartmentIds": [],// 非必填,已选部门ID列表。用于多次选人时可重入,single模式下请勿填入多个id
|
|
"selectedDepartmentIds": [],// 非必填,已选部门ID列表。用于多次选人时可重入,single模式下请勿填入多个id
|
|
"selectedUserIds": []// 非必填,已选用户ID列表。用于多次选人时可重入,single模式下请勿填入多个id
|
|
"selectedUserIds": []// 非必填,已选用户ID列表。用于多次选人时可重入,single模式下请勿填入多个id
|
|
},function(res){
|
|
},function(res){
|
|
- console.log(res)
|
|
|
|
|
|
+ // console.log(res)
|
|
if (res.err_msg == "selectEnterpriseContact:ok"){
|
|
if (res.err_msg == "selectEnterpriseContact:ok"){
|
|
- console.log(res, '数据来源')
|
|
|
|
|
|
+ // console.log(res, '数据来源')
|
|
if(typeof res.result == 'string'){
|
|
if(typeof res.result == 'string'){
|
|
res.result = JSON.parse(res.result) //由于目前各个终端尚未完全兼容,需要开发者额外判断result类型以保证在各个终端的兼容性
|
|
res.result = JSON.parse(res.result) //由于目前各个终端尚未完全兼容,需要开发者额外判断result类型以保证在各个终端的兼容性
|
|
}
|
|
}
|
|
@@ -328,7 +328,7 @@ export default {
|
|
var user = selectedUserList[i];
|
|
var user = selectedUserList[i];
|
|
userId = user.id; // 已选的单个成员ID
|
|
userId = user.id; // 已选的单个成员ID
|
|
userName = user.name;// 已选的单个成员名称
|
|
userName = user.name;// 已选的单个成员名称
|
|
- console.log(userId, userName)
|
|
|
|
|
|
+ // console.log(userId, userName)
|
|
}
|
|
}
|
|
for(var s in that.options) {
|
|
for(var s in that.options) {
|
|
if(that.options[s].name == userId) {
|
|
if(that.options[s].name == userId) {
|
|
@@ -349,7 +349,7 @@ export default {
|
|
other: this.other,
|
|
other: this.other,
|
|
name: this.selectName
|
|
name: this.selectName
|
|
}
|
|
}
|
|
- console.log(obj)
|
|
|
|
|
|
+ // console.log(obj)
|
|
this.$emit("selectCal", obj)
|
|
this.$emit("selectCal", obj)
|
|
},
|
|
},
|
|
selectCli() {
|
|
selectCli() {
|
|
@@ -400,11 +400,11 @@ export default {
|
|
this.transitionBoxLiIdx = index
|
|
this.transitionBoxLiIdx = index
|
|
},
|
|
},
|
|
liClick(item, itemIndex) {
|
|
liClick(item, itemIndex) {
|
|
- console.log(item, '进来的')
|
|
|
|
|
|
+ // console.log(item, '进来的')
|
|
let nameId = item.auditorId || item.id
|
|
let nameId = item.auditorId || item.id
|
|
this.selectName = item.auditorName || item.name
|
|
this.selectName = item.auditorName || item.name
|
|
if(!this.multiSelect) {
|
|
if(!this.multiSelect) {
|
|
- console.log('我进来了', this.flg)
|
|
|
|
|
|
+ // console.log('我进来了', this.flg)
|
|
if(this.flgs) {
|
|
if(this.flgs) {
|
|
let obj = {
|
|
let obj = {
|
|
id: nameId,
|
|
id: nameId,
|
|
@@ -540,7 +540,7 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// this.options = arr
|
|
// this.options = arr
|
|
- console.log('将要赋值')
|
|
|
|
|
|
+ // console.log('将要赋值')
|
|
var newArr = arr.length > 0 ? arr : res.data.records
|
|
var newArr = arr.length > 0 ? arr : res.data.records
|
|
this.$set(this, 'options', newArr)
|
|
this.$set(this, 'options', newArr)
|
|
this.cursor = res.data.nextCursor
|
|
this.cursor = res.data.nextCursor
|