|
@@ -129,8 +129,10 @@ export default {
|
|
|
submitLog () {
|
|
submitLog () {
|
|
|
this.$refs.form.validate(async (valid)=>{
|
|
this.$refs.form.validate(async (valid)=>{
|
|
|
if (!valid) return false
|
|
if (!valid) return false
|
|
|
|
|
+ let resource = ''
|
|
|
if (this.$route.path == '/phonebookDetail'){
|
|
if (this.$route.path == '/phonebookDetail'){
|
|
|
this.form.dataextend.contactsid = [this.$route.query.id]
|
|
this.form.dataextend.contactsid = [this.$route.query.id]
|
|
|
|
|
+ resource = '通讯录'
|
|
|
}
|
|
}
|
|
|
const res = await this.$api.requested({
|
|
const res = await this.$api.requested({
|
|
|
"id": 20220930121601,
|
|
"id": 20220930121601,
|
|
@@ -145,7 +147,8 @@ export default {
|
|
|
"nextplan":this.form.nextplan,//下次跟进计划
|
|
"nextplan":this.form.nextplan,//下次跟进计划
|
|
|
"dataextend": {
|
|
"dataextend": {
|
|
|
"contactsid": this.form.dataextend.contactsid // 跟进对象
|
|
"contactsid": this.form.dataextend.contactsid // 跟进对象
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ "resource":resource
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|
|
this.tool.showMessage(res,()=>{
|