Browse Source

fix: 结构化数据增加日志统计接口

yangfeng 4 years ago
parent
commit
d04b4777e4

+ 1 - 1
src/web/staticres/common-module/pc-dialog/css/leave-info-dialog.css

@@ -276,7 +276,7 @@
   min-height: 36px!important;
   min-height: 36px!important;
 }
 }
 .el-select-dropdown__wrap{
 .el-select-dropdown__wrap{
-  max-height: 140px;
+  max-height:130px;
 }
 }
 
 
 
 

+ 11 - 0
src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

@@ -383,9 +383,20 @@ var vm = new Vue({
         }
         }
       })
       })
     },
     },
+    // 日志统计
+    logAjax: function(source) {
+      $.ajax({
+        type:'POST',
+        url:'/front/portraitClassify?source=' + source,
+        success:function (res) {
+          console.log(res)
+        }
+      })
+    },
     // 是否留资
     // 是否留资
     isNeedSubmit: function(source, callback, dom) {
     isNeedSubmit: function(source, callback, dom) {
       this.source = source
       this.source = source
+      this.logAjax(source)
       var _this = this
       var _this = this
       $.ajax({
       $.ajax({
         type:'POST',
         type:'POST',