浏览代码

缺陷修复 低分辨率下样式优化

wenmenghao 3 年之前
父节点
当前提交
ab654941c0

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

@@ -96,6 +96,11 @@
   box-sizing: border-box;
   /* overflow-y: auto; */
 }
+@media screen and (min-width: 800px) and (max-width: 1366px) {
+  #collectUserInfoDialog .dialog-container {
+    top: 65%; 
+  }
+}
 #collectUserInfoDialog .dialog-header{
   margin-top: -114px;
   height: 250px;

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

@@ -488,7 +488,7 @@ var vm = new Vue({
                 // 原有赋值回显逻辑
                 _this.form.oldPhone = res.info.phone ? res.info.phone : ''
                 _this.form.companyName = res.info.company ? res.info.company : ''
-                _this.form.companyType = res.data.companyType ? res.data.companyType.split(',') : []
+                _this.form.companyType = res.info.companyType ? res.info.companyType.split(',') : []
                 if (res.info.position) {
                   if (jobJson.indexOf(res.info.position) == -1) {
                     // _this.form.job = '其他'

+ 1 - 1
src/web/staticres/js/pc-collect-user-info.js

@@ -579,7 +579,7 @@ var vm = new Vue({
         },
         success:function (res) {
           // 判断当前信息否在其他页面留资  如果全部留资 直接弹窗提交成功
-          if(entranceType=='freeDownload'){
+          if(entranceType=='freeDownload'){ //结构化数据调用留资弹框 单独判断个类型不影响原逻辑 表单如有更改可区分
             var checkKeys = ['name', 'phone','companyType', 'company', 'position','branch']
           }else{
             var checkKeys = ['name', 'phone','companyType', 'company', 'branch', 'position']