|
@@ -22,7 +22,7 @@ var tempStyleComponent = `<style>
|
|
}
|
|
}
|
|
.van-dialog.ent-search-dialog.add-close-after .van-dialog__content {
|
|
.van-dialog.ent-search-dialog.add-close-after .van-dialog__content {
|
|
position: relative;
|
|
position: relative;
|
|
- pointer-events: none;
|
|
|
|
|
|
+ pointer-events: none;
|
|
}
|
|
}
|
|
.van-dialog.ent-search-dialog.add-close-after .van-dialog__content::after {
|
|
.van-dialog.ent-search-dialog.add-close-after .van-dialog__content::after {
|
|
content: "";
|
|
content: "";
|
|
@@ -52,22 +52,22 @@ var tempStyleComponent = `<style>
|
|
color: #171826;
|
|
color: #171826;
|
|
z-index: 2031 !important;
|
|
z-index: 2031 !important;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.z-2030 {
|
|
.z-2030 {
|
|
z-index: 2030 !important;
|
|
z-index: 2030 !important;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.van-dialog.ent-search-dialog .van-dialog__content .van-dialog__message {
|
|
.van-dialog.ent-search-dialog .van-dialog__content .van-dialog__message {
|
|
text-align: left;
|
|
text-align: left;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.van-dialog.ent-search-dialog .van-dialog__confirm,
|
|
.van-dialog.ent-search-dialog .van-dialog__confirm,
|
|
.van-dialog.ent-search-dialog .van-dialog__cancel {
|
|
.van-dialog.ent-search-dialog .van-dialog__cancel {
|
|
font-size: 0.36rem;
|
|
font-size: 0.36rem;
|
|
line-height: 0.52rem;
|
|
line-height: 0.52rem;
|
|
color: #171826;
|
|
color: #171826;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.van-dialog.ent-search-dialog .van-dialog__confirm {
|
|
.van-dialog.ent-search-dialog .van-dialog__confirm {
|
|
color: #2ABED1;
|
|
color: #2ABED1;
|
|
}
|
|
}
|
|
@@ -408,12 +408,13 @@ Vue.component('keep-component', {
|
|
}
|
|
}
|
|
if (type) {
|
|
if (type) {
|
|
$.post('/salesLeads/retainedCapital', { source: 'article_collection' }).done(function (r) {
|
|
$.post('/salesLeads/retainedCapital', { source: 'article_collection' }).done(function (r) {
|
|
|
|
+ var checkKeys = ['name', 'phone', 'company', 'mail', 'branch', 'position']
|
|
|
|
+ var result = checkRequiredKeys(checkKeys, r.info)
|
|
// 判断当前信息否在其他页面留资 如果全部留资 直接弹窗提交成功
|
|
// 判断当前信息否在其他页面留资 如果全部留资 直接弹窗提交成功
|
|
- if(r.info.branch && r.info.company && r.info.name && r.info.phone && r.info.position){
|
|
|
|
- tempFn()
|
|
|
|
- return true
|
|
|
|
|
|
+ if (result) {
|
|
|
|
+ return tempFn()
|
|
}
|
|
}
|
|
- if (r && r.error_msg === '' && r.data) {
|
|
|
|
|
|
+ if (r && r.data) {
|
|
if (r.data.retainedCapital) {
|
|
if (r.data.retainedCapital) {
|
|
_this.$dialog.close()
|
|
_this.$dialog.close()
|
|
_this.$dialog.confirm({
|
|
_this.$dialog.confirm({
|
|
@@ -604,4 +605,4 @@ $(function () {
|
|
}
|
|
}
|
|
}, false);
|
|
}, false);
|
|
}
|
|
}
|
|
-})
|
|
|
|
|
|
+})
|