|
@@ -573,6 +573,8 @@ var vm = new Vue({
|
|
|
success:function (res) {
|
|
|
// 判断当前信息否在其他页面留资 如果全部留资 直接弹窗提交成功
|
|
|
var checkKeys = ['name', 'phone','companyType', 'company', 'branch', 'position']
|
|
|
+ var sourceList = ['article_collection', 'article_original', 'jyarticle_see3_plus_app', 'jyarticle_see3_plus_pc', 'jyarticle_see3_plus_wx', 'jypush_see10_plus_app', 'jypush_see10_plus_wx']
|
|
|
+ var isCollect = sourceList.includes(source)
|
|
|
if (infoid != ""){
|
|
|
res.info.publish_id = infoid
|
|
|
}
|
|
@@ -581,7 +583,11 @@ var vm = new Vue({
|
|
|
_this.showForm = false
|
|
|
res.data.retainedCapital = false
|
|
|
callback && callback(res)
|
|
|
- _this.formAjax(_this.source, res.info)
|
|
|
+ // 包含这些source,不存记录
|
|
|
+ // 非主动触发留资节点,每点击一次数据库不会记录
|
|
|
+ if(!isCollect) {
|
|
|
+ _this.formAjax(_this.source, res.info)
|
|
|
+ }
|
|
|
switch (source) {
|
|
|
case 'member_freeuse': {
|
|
|
_this.showSuccess = true
|