|
|
@@ -506,7 +506,7 @@ export default {
|
|
|
this.form.enterprisename = this.data.enterprisename
|
|
|
},
|
|
|
onSubmit(){
|
|
|
- console.log(this.form,"添加联系人")
|
|
|
+
|
|
|
this.form.sa_projectid = this.data.sa_projectid
|
|
|
this.$refs['form'].validate(async (valid) => {
|
|
|
if (!valid) return false
|
|
|
@@ -600,14 +600,14 @@ export default {
|
|
|
this.myContacts.param.content.where.condition = this.form.name
|
|
|
this.myContacts.param.content.sys_enterpriseid = this.data.sys_enterpriseid
|
|
|
const res = await this.$api.requested(this.myContacts.param)
|
|
|
- console.log(res,"我的联系人")
|
|
|
+
|
|
|
this.myContacts.listData = res.data
|
|
|
this.myContacts.total = res.total
|
|
|
this.myContacts.currentPage = res.pageNumber
|
|
|
},
|
|
|
/*选择我的联系人*/
|
|
|
myContactSelect(val){
|
|
|
- console.log(val,"选择的联系人")
|
|
|
+
|
|
|
this.form.enterprisename = ''
|
|
|
this.form = Object.assign({},this.form,val)
|
|
|
this.enterpriseContact.show = false
|