Commit c196bbe8 authored by zhengke's avatar zhengke

1

parents 1df6ed62 c9c5d6e6
...@@ -19,3 +19,4 @@ yarn-error.log* ...@@ -19,3 +19,4 @@ yarn-error.log*
*.njsproj *.njsproj
*.sln *.sln
*.sw* *.sw*
yarn.lock
.customerManage .tools{ .customerManage .tools {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding-bottom: 20px; padding-bottom: 20px;
border-bottom: 1px solid rgba(226,228,235,1); border-bottom: 1px solid rgba(226, 228, 235, 1);
align-items: center; align-items: center;
} }
.customerManage .tools h1{ .customerManage .tools h1 {
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
font-family: perfectFont; font-family: perfectFont;
} }
.customerManage .tools .rightmenu{ .customerManage .tools .rightmenu {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.customerManage .tools .gaoji{ .customerManage .tools .gaoji {
font-size:12px; font-size: 12px;
font-weight:400; font-weight: 400;
color:rgba(13,36,129,1); color: #409efe;
margin-right: 35px; margin-right: 35px;
cursor: pointer; cursor: pointer;
} }
.customerManage .tools .gaoji:hover{ .customerManage .tools .gaoji:hover {
color:rgba(13,36,129,.8); color: #409efecc;
} }
.customerManage .tools .gaoji .iconfont{ .customerManage .tools .gaoji .iconfont {
font-size: 12px; font-size: 12px;
padding-left: 5px; padding-left: 5px;
} }
.customerManage .query-box{ .customerManage .query-box {
padding: 15px 10px; padding: 15px 10px;
background-color: white; background-color: white;
} }
.customerManage .table-btn{ .customerManage .table-btn {
display: inline-block; display: inline-block;
width: 24px; width: 24px;
height: 24px; height: 24px;
line-height: 24px; line-height: 24px;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
margin-right: 10px; margin-right: 10px;
} }
.customerManage .table-btn.blue{ .customerManage .table-btn.blue {
color: rgba(13, 36, 129, 1); color: #409efe;
background-color: rgba(13, 36, 129, .3); background-color: rgba(13, 36, 129, 0.3);
} }
.customerManage .table-btn.org{ .customerManage .table-btn.org {
color: #FFA475; color: #ffa475;
background-color: rgba(255, 164, 117, .3); background-color: rgba(255, 164, 117, 0.3);
} }
.customerManage .table-btn.green{ .customerManage .table-btn.green {
color: rgba(148, 184, 119, 1); color: rgba(148, 184, 119, 1);
background-color: rgba(148, 184, 119, .3); background-color: rgba(148, 184, 119, 0.3);
} }
.customerManage .table-btn.blue:hover{ .customerManage .table-btn.blue:hover {
background-color: rgba(13, 36, 129, .5); background-color: rgba(13, 36, 129, 0.5);
} }
.customerManage .table-btn.org:hover{ .customerManage .table-btn.org:hover {
background-color: rgba(255, 164, 117, .5); background-color: rgba(255, 164, 117, 0.5);
} }
.customerManage .table-btn.green:hover{ .customerManage .table-btn.green:hover {
background-color: rgba(148, 184, 119, .5); background-color: rgba(148, 184, 119, 0.5);
} }
.customerManage .add-box1 .el-dialog{ .customerManage .add-box1 .el-dialog {
min-width: 760px; min-width: 760px;
} }
.customerManage .add-box1 .el-tag.el-tag--info{ .customerManage .add-box1 .el-tag.el-tag--info {
background-color: rgba(0,0,0,0); background-color: rgba(0, 0, 0, 0);
border-color: rgba(0,0,0,0); border-color: rgba(0, 0, 0, 0);
display: inline-block; display: inline-block;
white-space: nowrap; white-space: nowrap;
width: 60%; width: 60%;
overflow: hidden; overflow: hidden;
text-overflow:ellipsis; text-overflow: ellipsis;
} }
.customerManage .add-box2 .el-tag.el-tag--info{ .customerManage .add-box2 .el-tag.el-tag--info {
background-color: rgba(0,0,0,0); background-color: rgba(0, 0, 0, 0);
border-color: rgba(0,0,0,0); border-color: rgba(0, 0, 0, 0);
display: inline-block; display: inline-block;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow:ellipsis; text-overflow: ellipsis;
} }
.customerManage .add-box2 .el-form-item__label{ .customerManage .add-box2 .el-form-item__label {
text-align: left; text-align: left;
} }
.customerManage .selection-box{ .customerManage .selection-box {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.customerManage .selection-box span{ .customerManage .selection-box span {
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
} }
.customerManage .selection-box .el-button { .customerManage .selection-box .el-button {
color: #666; color: #666;
background-color: #f6f8fa; background-color: #f6f8fa;
border-color: #f6f8fa; border-color: #f6f8fa;
font-size: 12px; font-size: 12px;
height: 28px; height: 28px;
border-radius: 14px; border-radius: 14px;
padding: 5px 12px; padding: 5px 12px;
margin-left: 15px; margin-left: 15px;
} }
.customerManage .selection-box .el-button i{ .customerManage .selection-box .el-button i {
margin-right: 5px; margin-right: 5px;
} }
.customerManage .selection-box .el-button:hover { .customerManage .selection-box .el-button:hover {
background: #2362fb; background: #2362fb;
border-color: #2362fb; border-color: #2362fb;
color: #fff; color: #fff;
} }
.customerManage .dialog-footer{ .customerManage .dialog-footer {
text-align: center; text-align: center;
background-color: rgba(248,250,251,1); background-color: rgba(248, 250, 251, 1);
padding-bottom: 20px; padding-bottom: 20px;
} }
.customerManage .el-dialog__footer{ .customerManage .el-dialog__footer {
padding: 0; padding: 0;
} }
.transfer-box .add-tit{ .transfer-box .add-tit {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: 20px; height: 20px;
} }
.transfer-box .add-tit p{ .transfer-box .add-tit p {
display: flex; display: flex;
align-items: center; align-items: center;
font-weight: bold; font-weight: bold;
color:rgba(17,17,17,1); color: rgba(17, 17, 17, 1);
font-size:14px; font-size: 14px;
} }
.transfer-box .add-tit p span{ .transfer-box .add-tit p span {
display: inline-block; display: inline-block;
width:6px; width: 6px;
height:6px; height: 6px;
background:rgba(13,36,129,1); background: #409efe;
border-radius:50%; border-radius: 50%;
margin-right: 10px; margin-right: 10px;
} }
.iconstar_full{ .iconstar_full {
color: #fac23d; color: #fac23d;
} }
.bold18{ .bold18 {
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
} }
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
@font-face{ @font-face {
font-family: 'pingfang'; font-family: 'pingfang';
src:url('../fonts/pingfang.woff2') format('woff'); src: url('../fonts/PingFangMedium.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: "PingFangR"; font-family: "PingFangR";
src: url("../fonts/Semibold.eot"); /* IE9 */ src: url("../fonts/PingFangBold.ttf") format('truetype');
src: url("../fonts/Semibold.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/Semibold.woff") format("woff"), /* chrome, firefox */
url("../fonts/Semibold.ttf") format("truetype"); /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
} }
@font-face{
@font-face {
font-family: 'perfectFont'; font-family: 'perfectFont';
src:url('../fonts/MicrosoftYaHeiLight.woff') format('woff'); src: url('../fonts/MicrosoftYaHeiUISemilight.ttf') format('truetype');
} }
\ No newline at end of file
...@@ -379,14 +379,14 @@ export default { ...@@ -379,14 +379,14 @@ export default {
components: { components: {
ticheng, ticheng,
notincome, notincome,
sjld sjld,
}, },
data() { data() {
return { return {
rankType: 1, rankType: 1,
rankType2: "1", rankType2: "1",
RankingList: [], RankingList: [],
Briefing: { model: { TotalPrice: 0 } } Briefing: { model: { TotalPrice: 0 } },
}; };
}, },
mounted() { mounted() {
...@@ -395,7 +395,7 @@ export default { ...@@ -395,7 +395,7 @@ export default {
}, },
methods: { methods: {
GetBriefing() { GetBriefing() {
this.apipost("/api/CustomerDashboard/GetBriefing", {}, res => { this.apipost("/api/CustomerDashboard/GetBriefing", {}, (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Briefing = res.data.data; this.Briefing = res.data.data;
} }
...@@ -405,14 +405,14 @@ export default { ...@@ -405,14 +405,14 @@ export default {
this.apipost( this.apipost(
"/api/CustomerDashboard/GetRankingList", "/api/CustomerDashboard/GetRankingList",
{ rankType: this.rankType }, { rankType: this.rankType },
res => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.RankingList = res.data.data; this.RankingList = res.data.data;
} }
} }
); );
} },
} },
}; };
</script> </script>
...@@ -444,7 +444,7 @@ export default { ...@@ -444,7 +444,7 @@ export default {
padding: 0px 20px !important; padding: 0px 20px !important;
margin-top: 20px; margin-top: 20px;
} }
.box-card .el-card__body{ .box-card .el-card__body {
height: 237px; height: 237px;
} }
/* .box-card .el-card__body:hover, */ /* .box-card .el-card__body:hover, */
...@@ -465,7 +465,7 @@ export default { ...@@ -465,7 +465,7 @@ export default {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
text-align: center; text-align: center;
background: rgba(13, 36, 129, 1); background: #409efe;
color: #fff; color: #fff;
margin: 0 25px; margin: 0 25px;
} }
...@@ -473,9 +473,9 @@ export default { ...@@ -473,9 +473,9 @@ export default {
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
width: 80px; width: 80px;
padding-top:18px; padding-top: 18px;
font-weight: bold; font-weight: bold;
font-family: perfectFont; font-family: perfectFont;
} }
.box-card .shang-list .shang-list-item .result { .box-card .shang-list .shang-list-item .result {
flex: 1; flex: 1;
...@@ -485,7 +485,7 @@ export default { ...@@ -485,7 +485,7 @@ export default {
color: #000; color: #000;
font-weight: bold; font-weight: bold;
text-align: right; text-align: right;
padding-right:25px; padding-right: 25px;
} }
.box-card .shang-list .shang-list-item .eq { .box-card .shang-list .shang-list-item .eq {
width: 200px; width: 200px;
...@@ -573,13 +573,13 @@ export default { ...@@ -573,13 +573,13 @@ export default {
.zhou-card { .zhou-card {
padding: 0px; padding: 0px;
border: none; border: none;
background: rgba(13, 36, 129, 1); background: #409efe;
margin-top: 25px; margin-top: 25px;
height: 236px; height: 236px;
} }
.zhou-card .el-card__body { .zhou-card .el-card__body {
padding: 0px; padding: 0px;
background: url("../assets/img/home/zhouguan.png") rgba(13, 36, 129, 1); background: url("../assets/img/home/zhouguan.png") #409efe;
height: 100%; height: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
...@@ -655,7 +655,7 @@ export default { ...@@ -655,7 +655,7 @@ export default {
background: #94b877; background: #94b877;
} }
.sum-card .sum-list .sum-list-item .icon.blue { .sum-card .sum-list .sum-list-item .icon.blue {
background: #0d2481; background: #409efe;
} }
.sum-card .sum-list .sum-list-item .icon.zi { .sum-card .sum-list .sum-list-item .icon.zi {
background: rgb(210, 197, 240); background: rgb(210, 197, 240);
...@@ -737,7 +737,7 @@ export default { ...@@ -737,7 +737,7 @@ export default {
font-weight: bold; font-weight: bold;
} }
.rank-list .rank-list-item .rank.blue { .rank-list .rank-list-item .rank.blue {
color: #0d2481; color: #409efe;
} }
.rank-list .rank-list-item .rank.red { .rank-list .rank-list-item .rank.red {
color: rgb(195, 0, 82); color: rgb(195, 0, 82);
...@@ -772,25 +772,25 @@ export default { ...@@ -772,25 +772,25 @@ export default {
} }
.option-item .el-select > .el-input { .option-item .el-select > .el-input {
display: block; display: block;
background: #0d2481; background: #409efe;
border-radius: 0; border-radius: 0;
} }
.option-item .el-input--mini .el-input__inner { .option-item .el-input--mini .el-input__inner {
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
background: #0d2481; background: #409efe;
border-radius: 0; border-radius: 0;
color: #f1f1f1; color: #f1f1f1;
} }
.option-item .el-select .el-input.is-focus .el-input__inner { .option-item .el-select .el-input.is-focus .el-input__inner {
border-color: #0d2481; border-color: #409efe;
} }
.el-select-dropdown { .el-select-dropdown {
border-radius: 0px !important; border-radius: 0px !important;
} }
.el-select-dropdown__item.selected { .el-select-dropdown__item.selected {
font-family: perfectFont !important; font-family: perfectFont !important;
color: #0d2481 !important; color: #409efe !important;
} }
.el-select-dropdown__item { .el-select-dropdown__item {
/* font-family: perfectFont !important; */ /* font-family: perfectFont !important; */
...@@ -799,4 +799,4 @@ export default { ...@@ -799,4 +799,4 @@ export default {
.loudou-card .el-card__header { .loudou-card .el-card__header {
border: none; border: none;
} }
</style> </style>
\ No newline at end of file
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.log-box > div { .log-box > div {
height: 100%; height: 100%;
width: 100%; width: 100%;
background: rgba(13, 36, 129, 1); background: #3d3b4f;
/* border-radius:0px 40px 40px 0px; */ /* border-radius:0px 40px 40px 0px; */
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
width: 42px; width: 42px;
} }
.home-nav .home-menu { .home-nav .home-menu {
padding-left: 19px; padding: 0 8px;
} }
.home-nav .home-menu .home-menu-item { .home-nav .home-menu .home-menu-item {
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
...@@ -33,19 +33,22 @@ ...@@ -33,19 +33,22 @@
cursor: pointer; cursor: pointer;
transition: all linear 0.2s; transition: all linear 0.2s;
background-color: #f4f5f9; background-color: #f4f5f9;
border-radius: 4px;
overflow: hidden;
font-family: "perfectFont";
} }
.home-nav .home-menu .home-menu-item > div { .home-nav .home-menu .home-menu-item > div {
padding: 0 0 0 15px; padding: 0 0 0 15px;
background-color: rgba(13, 36, 129, 1); background-color: #3d3b4f;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
} }
.home-nav .home-menu .home-menu-item.active { .home-nav .home-menu .home-menu-item.active {
background-color: rgba(13, 36, 129, 1); background-color: #3d3b4f;
} }
.home-nav .home-menu .home-menu-item.active > div { .home-nav .home-menu .home-menu-item.active > div {
/* font-weight: bold; */ /* font-weight: bold; */
color: rgba(13, 36, 129, 1); color: #3d3b4f;
opacity: 1; opacity: 1;
transition: all linear 0.2s; transition: all linear 0.2s;
background-color: #f4f5f9; background-color: #f4f5f9;
...@@ -87,70 +90,70 @@ export default { ...@@ -87,70 +90,70 @@ export default {
{ {
class: "iconfont iconyibiaopan", class: "iconfont iconyibiaopan",
name: "仪表盘", name: "仪表盘",
path: '/Home' path: "/Home",
}, },
{ {
class: "iconfont icondaiban", class: "iconfont icondaiban",
name: "待办事项", name: "待办事项",
path: '/waitMatter' path: "/waitMatter",
}, },
{ {
class: "iconfont iconxiansuo", class: "iconfont iconxiansuo",
name: "线索", name: "线索",
path: '/clueManagement' path: "/clueManagement",
}, },
{ {
class: "iconfont iconkehu", class: "iconfont iconkehu",
name: "客户", name: "客户",
path: '/customerManage' path: "/customerManage",
}, },
{ {
class: "iconfont iconkehu1", class: "iconfont iconkehu1",
name: "联系人", name: "联系人",
path: "/contactsManagement" path: "/contactsManagement",
}, },
{ {
class: "iconfont icongonghaiguanli", class: "iconfont icongonghaiguanli",
name: "公海", name: "公海",
path: '/watersManagement' path: "/watersManagement",
}, },
{ {
class: "iconfont iconshangji", class: "iconfont iconshangji",
name: "商机", name: "商机",
path: '/businessManagement' path: "/businessManagement",
}, },
{ {
class: "iconfont iconhetong", class: "iconfont iconhetong",
name: "合同" name: "合同",
}, },
{ {
class: "iconfont iconchanpin1", class: "iconfont iconchanpin1",
name: "产品" name: "产品",
}, },
{ {
class: "iconfont icondingdan1", class: "iconfont icondingdan1",
name: "订单" name: "订单",
} },
] ],
}; };
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage();
this.userInfo = userInfo this.userInfo = userInfo;
this.navList = userInfo.UserMenu[0].ChildMenu[0].ChildMenu this.navList = userInfo.UserMenu[0].ChildMenu[0].ChildMenu;
let $this = this let $this = this;
this.MsgBus.$on('setLeftNav', function (val){ this.MsgBus.$on("setLeftNav", function(val) {
$this.activeIndex = 0; $this.activeIndex = 0;
$this.navList = userInfo.UserMenu[0].ChildMenu[val].ChildMenu $this.navList = userInfo.UserMenu[0].ChildMenu[val].ChildMenu;
}) });
}, },
methods: { methods: {
changeMenu: function(item, ind) { changeMenu: function(item, ind) {
this.activeIndex = ind; this.activeIndex = ind;
this.$router.push({ this.$router.push({
path: item.MenuUrl path: item.MenuUrl,
}); });
} },
} },
}; };
</script> </script>
...@@ -27,15 +27,16 @@ ...@@ -27,15 +27,16 @@
margin: 0 20px; margin: 0 20px;
color: #666; color: #666;
font-size: 16px; font-size: 16px;
font-weight: 600;
cursor: pointer; cursor: pointer;
font-family: perfectFont;
} }
.nav-right .nav-right-menu ul li:first-child { .nav-right .nav-right-menu ul li:first-child {
margin-left: 0px; margin-left: 0px;
} }
.nav-right .nav-right-menu ul li.active { .nav-right .nav-right-menu ul li.active {
color: rgba(13, 36, 129, 1); color: #409efe;
border-bottom-color: rgba(13, 36, 129, 1); border-bottom-color: #409efe;
font-family: pingfangR;
} }
.nav-right .nav-right-menu ul li i { .nav-right .nav-right-menu ul li i {
font-size: 16px; font-size: 16px;
...@@ -70,7 +71,7 @@ ...@@ -70,7 +71,7 @@
} }
.nav-right .nav-right-info .right-item i { .nav-right .nav-right-info .right-item i {
font-size: 20px; font-size: 20px;
color: #0d2481; color: #409efe;
} }
</style> </style>
<template> <template>
...@@ -102,7 +103,7 @@ ...@@ -102,7 +103,7 @@
退出 退出
</li> </li>
</ul> </ul>
<el-avatar slot="reference" :size="34" :src="userInfo.Icon" style="background:rgba(13, 36, 129, 1);" @error="errorHandler"> <el-avatar slot="reference" :size="34" :src="userInfo.Icon" style="background:#409efe;" @error="errorHandler">
{{userInfo.EmName.substring(0,1)}} {{userInfo.EmName.substring(0,1)}}
</el-avatar> </el-avatar>
</el-popover> </el-popover>
...@@ -116,36 +117,36 @@ export default { ...@@ -116,36 +117,36 @@ export default {
return { return {
activeIndex: 0, activeIndex: 0,
value: 0, value: 0,
menuList: [{ChildMenu: []}], menuList: [{ ChildMenu: [] }],
chosenMenuId: 0, chosenMenuId: 0,
userInfo: { userInfo: {
EmName: '', EmName: "",
Icon: '', Icon: "",
}, },
visible:false visible: false,
}; };
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage();
this.userInfo = userInfo this.userInfo = userInfo;
this.menuList = userInfo.UserMenu this.menuList = userInfo.UserMenu;
this.chosenMenuId = userInfo.UserMenu[0].ChildMenu[0].MenuId this.chosenMenuId = userInfo.UserMenu[0].ChildMenu[0].MenuId;
}, },
methods: { methods: {
chosenFirstLeaveMenu(item, index){ chosenFirstLeaveMenu(item, index) {
this.chosenMenuId = item.MenuId this.chosenMenuId = item.MenuId;
this.MsgBus.$emit('setLeftNav', index) this.MsgBus.$emit("setLeftNav", index);
this.$router.push({ this.$router.push({
path: item.ChildMenu[0].MenuUrl path: item.ChildMenu[0].MenuUrl,
}); });
}, },
errorHandler() { errorHandler() {
return true; return true;
}, },
signout(){ signout() {
window.localStorage.removeItem("userInfo"); window.localStorage.removeItem("userInfo");
this.$router.push('/login'); this.$router.push("/login");
} },
} },
}; };
</script> </script>
This diff is collapsed.
This diff is collapsed.
<style> <style>
.MyCoupon{ .MyCoupon {
background-color: RGBA(246, 245, 248, 1); background-color: RGBA(246, 245, 248, 1);
height: 100%; height: 100%;
} }
.MyCoupon .menu_list ul{ .MyCoupon .menu_list ul {
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
} }
.MyCoupon .menu_list ul li{ .MyCoupon .menu_list ul li {
float: left; float: left;
width: 137px; width: 137px;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
} }
.MyCoupon .menu_list ul li:last-child{ .MyCoupon .menu_list ul li:last-child {
float: right; float: right;
width: 60px; width: 60px;
} }
.MyCoupon .menu_list ul li .__cp i{ .MyCoupon .menu_list ul li .__cp i {
padding-left: 25px; padding-left: 25px;
} }
.MyCoupon .menu_list ul li span.__cp{ .MyCoupon .menu_list ul li span.__cp {
font-size: 14px; font-size: 14px;
} }
.MyCoupon .menu_list ul li span.__cp._active{ .MyCoupon .menu_list ul li span.__cp._active {
color: rgba(13, 36, 129, 1); color: #409efe;
border-bottom: 2px solid rgba(13, 36, 129, 1); border-bottom: 2px solid #409efe;
display: inline-block; display: inline-block;
} }
.Coupon-box{ .Coupon-box {
position: relative; position: relative;
max-height: calc(100vh - 45px); max-height: calc(100vh - 45px);
overflow: auto; overflow: auto;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-flow:row wrap; flex-flow: row wrap;
} }
.Coupon-item{ .Coupon-item {
position: relative; position: relative;
height: 205px; height: 205px;
margin-bottom: 25px; margin-bottom: 25px;
width: 218px; width: 218px;
margin-right: 25px; margin-right: 25px;
} }
.Coupon-item .top{ .Coupon-item .top {
position: absolute; position: absolute;
width: calc(100%); width: calc(100%);
height: 104px; height: 104px;
background: url('../../assets/img/cust/bg1.png'); background: url("../../assets/img/cust/bg1.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
padding: 10px 30px; padding: 10px 30px;
box-sizing: border-box; box-sizing: border-box;
color: white color: white;
} }
.Coupon-item .top2{ .Coupon-item .top2 {
background: url('../../assets/img/cust/bg2.png'); background: url("../../assets/img/cust/bg2.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.Coupon-item .top3{ .Coupon-item .top3 {
background: url('../../assets/img/cust/bg3.png'); background: url("../../assets/img/cust/bg3.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.Coupon-item .top .zhe{ .Coupon-item .top .zhe {
font-size: 30px; font-size: 30px;
} }
.Coupon-item .top .zhe span{ .Coupon-item .top .zhe span {
font-size: 20px; font-size: 20px;
} }
.Coupon-item .top .di{ .Coupon-item .top .di {
font-size: 20px; font-size: 20px;
} }
.Coupon-item .top .di span{ .Coupon-item .top .di span {
font-size: 30px; font-size: 30px;
} }
.Coupon-item .top .man{ .Coupon-item .top .man {
color: white; color: white;
font-size: 12px; font-size: 12px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.Coupon-item .top .time{ .Coupon-item .top .time {
font-size: 12px; font-size: 12px;
color: rgba(80, 105, 204, 1); color: rgba(80, 105, 204, 1);
} }
.Coupon-item .bottom{ .Coupon-item .bottom {
position: absolute; position: absolute;
top: 104px; top: 104px;
background-color: white; background-color: white;
width: calc(100%); width: calc(100%);
padding: 10px 14px; padding: 10px 14px;
box-sizing: border-box; box-sizing: border-box;
} }
.Coupon-item .bottom .bold{ .Coupon-item .bottom .bold {
margin-bottom: 4px; margin-bottom: 4px;
} }
</style> </style>
<template> <template>
...@@ -161,74 +161,73 @@ display: inline-block; ...@@ -161,74 +161,73 @@ display: inline-block;
</div> </div>
</template> </template>
<script> <script>
import moment from 'moment' import moment from "moment";
export default { export default {
props: ['CustomerAccountId'], props: ["CustomerAccountId"],
data() { data() {
return { return {
loading: false, loading: false,
dropdownText: "不限", dropdownText: "不限",
typeActive: 1, typeActive: 1,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 999, pageSize: 999,
useState: 1, useState: 1,
lineId: 0, lineId: 0,
lineteamId: 0, lineteamId: 0,
couponsName: "", couponsName: "",
couponsType: "", couponsType: "",
couponStatus: 1, couponStatus: 1,
couponEffectStatus: 1, couponEffectStatus: 1,
couponsUseScope: 0, couponsUseScope: 0,
userId:'', userId: "",
}, },
dataList: [], dataList: [],
totalCount: 0, totalCount: 0,
Count: 0, Count: 0,
}; };
},watch:{ },
watch: {},
},
mounted() { mounted() {
this.getList() this.getList();
}, },
methods: { methods: {
// 获取数据 // 获取数据
getList() { getList() {
this.msg.userId = this.CustomerAccountId this.msg.userId = this.CustomerAccountId;
this.loading = true; this.loading = true;
this.apiJavaPost( this.apiJavaPost(
"/api/b2b/user/getUserCouponAllotList", "/api/b2b/user/getUserCouponAllotList",
this.msg, this.msg,
res => { (res) => {
let nowTime = moment().format("YYYY-MM-DD HH:mm:ss"); let nowTime = moment().format("YYYY-MM-DD HH:mm:ss");
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data.pageData; let data = res.data.data.pageData;
data.forEach((x, i) => { data.forEach((x, i) => {
let cha = this.DateDiff(nowTime, x.expirationDate); let cha = this.DateDiff(nowTime, x.expirationDate);
if (cha < 3) { if (cha < 3) {
x.warning = true; x.warning = true;
} else { } else {
x.warning = false; x.warning = false;
} }
}); });
this.dataList = data; this.dataList = data;
this.totalCount = res.data.data.pageCount; this.totalCount = res.data.data.pageCount;
this.Count = res.data.data.count; this.Count = res.data.data.count;
this.$forceUpdate() this.$forceUpdate();
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
this.loading = false; this.loading = false;
}, },
null null
); );
}, },
//查询初始化页码 //查询初始化页码
resetPageIndex() { resetPageIndex() {
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
}, },
} },
} };
</script> </script>
\ No newline at end of file
<style> <style>
.Details{ .Details {
padding: 17px 20px; padding: 17px 20px;
margin-top: 20px; margin-top: 20px;
background-color: white; background-color: white;
height: calc(100% - 54px); height: calc(100% - 54px);
overflow-y: auto; overflow-y: auto;
font-size: 12px font-size: 12px;
} }
.Details .Details_box .tit{ .Details .Details_box .tit {
border: 4px solid rgba(13,36,129,1); border: 4px solid #409efe;
border-top: 0; border-top: 0;
border-bottom: 0; border-bottom: 0;
border-right: 0; border-right: 0;
padding-left: 10px; padding-left: 10px;
font-size: 14px; font-size: 14px;
color: #111; color: #111;
font-weight:bold; font-weight: bold;
} }
.Details_box_row{ .Details_box_row {
margin-top: 30px; margin-top: 30px;
} }
.Details_box_lable{ .Details_box_lable {
color: #999999 color: #999999;
} }
</style> </style>
<template> <template>
...@@ -181,23 +181,17 @@ ...@@ -181,23 +181,17 @@
</template> </template>
<script> <script>
export default { export default {
props:{ props: {
detailsData: { detailsData: {
type: Object, type: Object,
default: {} default: {},
} },
}, },
data() { data() {
return { return {};
};
},watch:{
},
mounted() {
}, },
methods: { watch: {},
mounted() {},
} methods: {},
} };
</script> </script>
\ No newline at end of file
This diff is collapsed.
<style> <style>
.Details{ .Details {
padding: 17px 20px; padding: 17px 20px;
margin-top: 20px; margin-top: 20px;
background-color: white; background-color: white;
height: calc(100% - 54px); height: calc(100% - 54px);
overflow-y: auto; overflow-y: auto;
font-size: 12px font-size: 12px;
} }
.Details .Details_box .tit{ .Details .Details_box .tit {
border: 4px solid rgba(13,36,129,1); border: 4px solid #409efe;
border-top: 0; border-top: 0;
border-bottom: 0; border-bottom: 0;
border-right: 0; border-right: 0;
padding-left: 10px; padding-left: 10px;
font-size: 14px; font-size: 14px;
color: #111; color: #111;
font-weight:bold; font-weight: bold;
} }
.Details_box_row{ .Details_box_row {
margin-top: 30px; margin-top: 30px;
} }
.Details_box_lable{ .Details_box_lable {
color: #999999 color: #999999;
} }
</style> </style>
<template> <template>
...@@ -136,23 +136,17 @@ ...@@ -136,23 +136,17 @@
</template> </template>
<script> <script>
export default { export default {
props:{ props: {
detailsData: { detailsData: {
type: Object, type: Object,
default: {} default: {},
} },
}, },
data() { data() {
return { return {};
};
},watch:{
},
mounted() {
}, },
methods: { watch: {},
mounted() {},
} methods: {},
} };
</script> </script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<style> <style>
.Details{ .Details {
padding: 17px 20px; padding: 17px 20px;
margin-top: 20px; margin-top: 20px;
background-color: white; background-color: white;
height: calc(100% - 54px); height: calc(100% - 54px);
overflow-y: auto; overflow-y: auto;
font-size: 12px font-size: 12px;
} }
.Details .Details_box .tit{ .Details .Details_box .tit {
border: 4px solid rgba(13,36,129,1); border: 4px solid #409efe;
border-top: 0; border-top: 0;
border-bottom: 0; border-bottom: 0;
border-right: 0; border-right: 0;
padding-left: 10px; padding-left: 10px;
font-size: 14px; font-size: 14px;
color: #111; color: #111;
font-weight:bold; font-weight: bold;
} }
.Details_box_row{ .Details_box_row {
margin-top: 30px; margin-top: 30px;
} }
.Details_box_lable{ .Details_box_lable {
color: #999999 color: #999999;
} }
</style> </style>
<template> <template>
...@@ -181,23 +181,17 @@ ...@@ -181,23 +181,17 @@
</template> </template>
<script> <script>
export default { export default {
props:{ props: {
detailsData: { detailsData: {
type: Object, type: Object,
default: {} default: {},
} },
}, },
data() { data() {
return { return {};
};
},watch:{
},
mounted() {
}, },
methods: { watch: {},
mounted() {},
} methods: {},
} };
</script> </script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-input v-if="!item.Setting.length && item.nameStr !== '负责人' && item.nameStr !== '创建人'" v-model="item.SceneName" placeholder="请输入筛选条件"></el-input> <el-input v-if="!item.Setting.length && item.nameStr !== '负责人' && item.nameStr !== '创建人'" v-model="item.SceneName" placeholder="请输入筛选条件"></el-input>
<el-select v-else-if="item.nameStr === '负责人' || item.nameStr === '创建人'" v-model="item.id" @change="changeFC(index)" placeholder="请选择" style="width: 100%;" > <el-select v-else-if="item.nameStr === '负责人' || item.nameStr === '创建人'" v-model="item.id" filterable @change="changeFC(index)" placeholder="请选择" style="width: 100%;" >
<el-option <el-option
filterable filterable
v-for="item in EmployeeList" v-for="item in EmployeeList"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
:key='item.EmployeeId'> :key='item.EmployeeId'>
</el-option> </el-option>
</el-select> </el-select>
<el-select v-else v-model="item.SceneName" placeholder="请选择" style="width: 100%;" > <el-select v-else v-model="item.SceneName" filterable placeholder="请选择" style="width: 100%;" >
<el-option v-for="(select, sIndex) in item.Setting" :label="select" :value="select" :key="sIndex"></el-option> <el-option v-for="(select, sIndex) in item.Setting" :label="select" :value="select" :key="sIndex"></el-option>
</el-select> </el-select>
</el-col> </el-col>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
Vue.prototype.domainManager = function() { Vue.prototype.domainManager = function() {
let domainUrl = "http://192.168.10.2:8098" let domainUrl = "http://192.168.10.2:8098"
let locationName = window.location.hostname; let locationName = window.location.hostname;
let domainPostUrl = "http://198.168.10.2:8083" let domainPostUrl = "http://192.168.10.2:8083"
if (this.isOnline()) { if (this.isOnline()) {
if (window.location.host.indexOf('fcrmyx.oytour.com') != -1) { if (window.location.host.indexOf('fcrmyx.oytour.com') != -1) {
domainUrl = "http://crm.oytour.com" domainUrl = "http://crm.oytour.com"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment