|
|
@@ -129,6 +129,14 @@ export default {
|
|
|
submitLog () {
|
|
|
this.$refs.form.validate(async (valid)=>{
|
|
|
if (!valid) return false
|
|
|
+ let resource = ''
|
|
|
+ if (this.$route.path == '/projectChangeDetail'){
|
|
|
+ resource = '项目商机'
|
|
|
+ }else if (this.$route.path == '/customerDetail'){
|
|
|
+ resource = '我的客户'
|
|
|
+ }else if (this.$route.path == 'PublicCustomerDetail'){
|
|
|
+ resource = '公海客户'
|
|
|
+ }
|
|
|
const res = await this.$api.requested({
|
|
|
"id": 20220930121601,
|
|
|
"content": {
|
|
|
@@ -142,7 +150,8 @@ export default {
|
|
|
"nextplan":this.form.nextplan,//下次跟进计划
|
|
|
"dataextend": {
|
|
|
"contactsid": this.form.dataextend.contactsid // 跟进对象
|
|
|
- }
|
|
|
+ },
|
|
|
+ "resource":resource
|
|
|
}
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|