平台端页面修复
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
|||||||
.label_page .el_col_text[data-v-f06e62ea]{text-align:center;font-size:14px;color:#3a68f2}.label_page .el_col_text[data-v-f06e62ea]:hover{cursor:pointer}[data-v-f06e62ea] .el-dialog__body{width:80%;margin:0 auto}.custom_page[data-v-340ab790]{padding:10px 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.custom_page .content[data-v-340ab790]{background-color:#fff;padding:20px}.custom_page .content .toolbar[data-v-340ab790]{padding:10px}[data-v-340ab790] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-340ab790] .el-table td{font-size:14px;text-align:center;color:#666}[data-v-340ab790] .el-dialog__wrapper .el-dialog__header{height:70px;background-color:#3a68f2}[data-v-340ab790] .el-dialog__wrapper .el-dialog__header .el-dialog__title{font-size:24px;color:#fff}[data-v-340ab790] .el-message-box__btns .el-button{margin-right:10px!important}
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
[data-v-231eadc0] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-231eadc0] .el-table td{font-size:14px;text-align:center;color:#666}.detail_page ul[data-v-4cc9bd96],.detail_page ul li[data-v-4cc9bd96]{overflow:hidden}.detail_page ul li p[data-v-4cc9bd96]{overflow:hidden;font-size:16px;float:left}.detail_page ul li p[data-v-4cc9bd96]:first-child{font-weight:600;width:70px}.detail_page ul li p[data-v-4cc9bd96]:nth-child(2){width:calc(100% - 75px)}.detail_page ul li p:nth-child(2) img[data-v-4cc9bd96]{float:left;width:calc(25% - 8px);height:135px;border-radius:4px;margin-right:8px;margin-bottom:10px}.detail_page ul .active_li[data-v-4cc9bd96]{border-top:1px solid #e0e5eb;padding-top:50px;position:relative}.detail_page ul .active_li[data-v-4cc9bd96]:after{content:attr(time);position:absolute;top:10px;left:0;display:block;color:#f18b48;font-size:16px}.detail_page .btn_list[data-v-4cc9bd96]{text-align:center}.detail_page .btn_list .delete[data-v-4cc9bd96]{margin-left:20px!important}[data-v-86078720] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-86078720] .el-table td{font-size:14px;text-align:center;color:#666}[data-v-7204a7bb] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-7204a7bb] .el-table td{font-size:14px;text-align:center;color:#666}h2[data-v-6176e083]{font-size:24px;font-weight:500;position:relative}h2[data-v-6176e083]:before{content:"";height:24px;width:4px;background-color:#3a68f2;position:absolute;left:-10px;top:2px;display:block}.custom_info_page[data-v-6176e083]{margin-top:20px;padding:20px 100px;background-color:#fff;min-height:500px}.custom_info_page .custom_info[data-v-6176e083]{overflow:hidden;margin-bottom:30px}.custom_info_page .custom_info .info_item[data-v-6176e083]{float:left}.custom_info_page .custom_info .info_item[data-v-6176e083]:first-child{height:180px;width:100px}.custom_info_page .custom_info .info_item:first-child img[data-v-6176e083]{width:100px;height:100px;border-radius:50px;text-align:center;margin-top:40px}.custom_info_page .custom_info .info_item[data-v-6176e083]:nth-child(2){width:50%}.custom_info_page .custom_info .info_item:nth-child(2) ul[data-v-6176e083]{overflow:hidden;list-style:none}.custom_info_page .custom_info .info_item:nth-child(2) ul li[data-v-6176e083]{float:left}.custom_info_page .custom_info .info_item:nth-child(2) ul li p[data-v-6176e083]{font-size:16px;color:#333}.custom_info_page .custom_info .info_item:nth-child(2) ul li p span[data-v-6176e083]:nth-child(2){color:#666}.custom_info_page .custom_info .info_item:nth-child(2) ul li[data-v-6176e083]:nth-child(odd){width:30%}.custom_info_page .custom_info .info_item:nth-child(2) ul li[data-v-6176e083]:nth-child(2n){width:70%}.custom_info_page .custom_tag[data-v-6176e083]{margin-bottom:30px}.custom_info_page .custom_tag p[data-v-6176e083]{display:inline-block;background-color:#d8e1fc;font-size:16px;color:#333;text-align:center;margin-right:20px;border-radius:4px;padding:8px 15px}.custom_info_page .custom_tag p[data-v-6176e083]:last-child{background-color:#fff;color:#3a68f2}.custom_info_page .custom_tag p[data-v-6176e083]:last-child:hover{cursor:pointer}.custom_info_page .custom_data .data_list p[data-v-6176e083]{font-size:16px}.custom_info_page .custom_data .data_list p font[data-v-6176e083]{color:#666}.custom_info_page .custom_data .data_list p span[data-v-6176e083]{display:inline-block;width:200px}.custom_info_page .custom_data .tab_list[data-v-6176e083]{overflow:hidden}.custom_info_page .custom_data .tab_list p[data-v-6176e083]{float:left;padding:0 50px;font-size:16px;border:1px solid #e0e5eb;-webkit-box-sizing:border-box;box-sizing:border-box;color:#999;height:48px;line-height:48px}.custom_info_page .custom_data .tab_list p[data-v-6176e083]:nth-child(-n+2){border-right:0}.custom_info_page .custom_data .tab_list p[data-v-6176e083]:first-child{border-radius:4px 0 0 4px}.custom_info_page .custom_data .tab_list p[data-v-6176e083]:nth-child(3){border-radius:0 4px 4px 0}.custom_info_page .custom_data .tab_list p[data-v-6176e083]:hover{cursor:pointer}.custom_info_page .custom_data .tab_list .active[data-v-6176e083]{background-color:#3a68f2;color:#fff;border:0}
|
||||||
@@ -1 +0,0 @@
|
|||||||
@supports (-webkit-mask:none) and (not (cater-color:#555)){.login-container .el-input input{color:#555}}.login-container .el-input{display:inline-block}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;color:#000;height:28px;caret-color:#555}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset!important;box-shadow:inset 0 0 0 1000px #fff!important;-webkit-text-fill-color:#555!important}.login-container .el-form-item{border:1px solid #dedede;border-radius:2px;color:#454545;-webkit-transition:all .3s;transition:all .3s}.login-container .el-form-item:hover{border-color:#57a3f3}.login-container[data-v-5fea583e]{background:url(../../static/img/beijing.aa90917f.png) 50% no-repeat;background-size:cover;width:100%;height:100vh}.login-container .login-info[data-v-5fea583e]{position:absolute;left:15%;top:44%;margin-top:-100px;color:#fff}.login-container .login-info .title[data-v-5fea583e]{font-size:1.8rem;font-weight:600}.login-container .login-info .sub-title[data-v-5fea583e]{font-size:1.5rem;margin:.3rem 0 .7rem 1rem}.login-container .login-info .desc[data-v-5fea583e]{font-size:.96rem;line-height:1.9rem}.login-container .login-form[data-v-5fea583e]{position:absolute;top:50%;left:50%;margin:-180px 0 0 -160px;width:350px;height:380px;padding:36px;background:#fff;border-radius:3px}.login-container .login-form .code-input[data-v-5fea583e]{width:50%;display:inline-block;vertical-align:middle}.login-container .login-form .code-image[data-v-5fea583e]{display:inline-block;vertical-align:top;cursor:pointer}.login-container .login-form .login-type[data-v-5fea583e]{text-align:right;display:inline-block;width:100%}.login-container .login-form .logo-wrapper[data-v-5fea583e]{display:inline-block;margin:10px 0}.login-container .login-form .logo-wrapper img[data-v-5fea583e]{width:1.9rem;display:inline-block;margin:.8rem .8rem -.8rem .8rem;cursor:pointer}.login-container .login-form .logo-wrapper img.radius[data-v-5fea583e]{border-radius:50%}.login-container .login-footer[data-v-5fea583e]{position:fixed;bottom:1rem;width:100%;text-align:center;color:#fff;font-size:.85rem;line-height:1rem;height:1rem}.login-container .tips[data-v-5fea583e]{font-size:14px;color:#fff;margin-bottom:10px}.login-container .tips span[data-v-5fea583e]:first-of-type{margin-right:16px}.login-container .title-container[data-v-5fea583e]{position:relative}.login-container .title-container .title[data-v-5fea583e]{font-size:20px;color:rgba(0,0,0,.85);margin:0 auto 40px auto;text-align:center;font-weight:700}.login-container .title-container .set-language[data-v-5fea583e]{color:#aaa;position:absolute;top:3px;font-size:18px;right:0;cursor:pointer}.login-container .thirdparty-button[data-v-5fea583e]{position:absolute;right:0;bottom:6px}@media only screen and (max-width:470px){.login-container .thirdparty-button[data-v-5fea583e]{display:none}}@media screen and (max-width:1100px){.login-container .login-info[data-v-5fea583e]{left:8%}}@media screen and (max-width:970px){.login-container .login-form[data-v-5fea583e]{left:50%}.login-container .login-info[data-v-5fea583e]{display:none}}
|
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
.search-bar-component .el-form-item{margin-bottom:8px}.search-bar-component[data-v-4ca63d19]{padding:15px 20px}.add-dialog-component[data-v-7af95246]{padding:15px 20px;max-height:80vh;overflow:auto}.add-dialog-component .tree-box[data-v-7af95246]{margin:15px 0}.add-dialog-component .tree-box .custom-tree-node[data-v-7af95246]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;text-align:left}.add-dialog-component .tree-box .custom-tree-node .content[data-v-7af95246]{-webkit-box-flex:1;-ms-flex:1;flex:1}.add-dialog-component .add-btn-wrap[data-v-7af95246]{text-align:center}.management-container-component[data-v-616f30d9]{padding:0 20px}[data-v-616f30d9] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-616f30d9] .el-table td{font-size:14px;text-align:center;color:#666}[data-v-616f30d9] .el-table .cell{text-align:center;white-space:pre-line}.add-dialog-component .tree-box .el-tree-node__content{margin-bottom:15px;height:auto}.add-dialog-component[data-v-589e9446]{padding:15px 20px;max-height:80vh;overflow:auto}.add-dialog-component .tree-box[data-v-589e9446]{margin:15px 0}.add-dialog-component .tree-box .custom-tree-node[data-v-589e9446]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;text-align:left}.add-dialog-component .tree-box .custom-tree-node .content[data-v-589e9446]{-webkit-box-flex:1;-ms-flex:1;flex:1}.add-dialog-component .add-btn-wrap[data-v-589e9446]{text-align:center}.management-page[data-v-4c2f171c] .el-dialog{margin-top:50px!important}
|
.search-bar-component .el-form-item{margin-bottom:8px}.search-bar-component[data-v-4ca63d19]{padding:15px 20px}.add-dialog-component[data-v-5b3280ab]{padding:15px 20px;max-height:80vh;overflow:auto}.add-dialog-component .tree-box[data-v-5b3280ab]{margin:15px 0}.add-dialog-component .tree-box .custom-tree-node[data-v-5b3280ab]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;text-align:left}.add-dialog-component .tree-box .custom-tree-node .content[data-v-5b3280ab]{-webkit-box-flex:1;-ms-flex:1;flex:1}.add-dialog-component .add-btn-wrap[data-v-5b3280ab]{text-align:center}.management-container-component[data-v-616f30d9]{padding:0 20px}[data-v-616f30d9] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-616f30d9] .el-table td{font-size:14px;text-align:center;color:#666}[data-v-616f30d9] .el-table .cell{text-align:center;white-space:pre-line}.add-dialog-component .tree-box .el-tree-node__content{margin-bottom:15px;height:auto}.add-dialog-component[data-v-5eea0f38]{padding:15px 20px;max-height:80vh;overflow:auto}.add-dialog-component .tree-box[data-v-5eea0f38]{margin:15px 0}.add-dialog-component .tree-box .custom-tree-node[data-v-5eea0f38]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;text-align:left}.add-dialog-component .tree-box .custom-tree-node .content[data-v-5eea0f38]{-webkit-box-flex:1;-ms-flex:1;flex:1}.add-dialog-component .add-btn-wrap[data-v-5eea0f38]{text-align:center}.management-page[data-v-4c2f171c] .el-dialog{margin-top:50px!important}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.label_page .el_col_text[data-v-f06e62ea]{text-align:center;font-size:14px;color:#3a68f2}.label_page .el_col_text[data-v-f06e62ea]:hover{cursor:pointer}[data-v-f06e62ea] .el-dialog__body{width:80%;margin:0 auto}.custom_page[data-v-32f0b4f2]{padding:10px 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.custom_page .content[data-v-32f0b4f2]{background-color:#fff;padding:20px}.custom_page .content .toolbar[data-v-32f0b4f2]{padding:10px}[data-v-32f0b4f2] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-32f0b4f2] .el-table td{font-size:14px;text-align:center;color:#666}[data-v-32f0b4f2] .el-dialog__wrapper .el-dialog__header{height:70px;background-color:#3a68f2}[data-v-32f0b4f2] .el-dialog__wrapper .el-dialog__header .el-dialog__title{font-size:24px;color:#fff}[data-v-32f0b4f2] .el-message-box__btns .el-button{margin-right:10px!important}
|
||||||
@@ -1 +0,0 @@
|
|||||||
[data-v-231eadc0] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-231eadc0] .el-table td{font-size:14px;text-align:center;color:#666}.detail_page ul[data-v-4cc9bd96],.detail_page ul li[data-v-4cc9bd96]{overflow:hidden}.detail_page ul li p[data-v-4cc9bd96]{overflow:hidden;font-size:16px;float:left}.detail_page ul li p[data-v-4cc9bd96]:first-child{font-weight:600;width:70px}.detail_page ul li p[data-v-4cc9bd96]:nth-child(2){width:calc(100% - 75px)}.detail_page ul li p:nth-child(2) img[data-v-4cc9bd96]{float:left;width:calc(25% - 8px);height:135px;border-radius:4px;margin-right:8px;margin-bottom:10px}.detail_page ul .active_li[data-v-4cc9bd96]{border-top:1px solid #e0e5eb;padding-top:50px;position:relative}.detail_page ul .active_li[data-v-4cc9bd96]:after{content:attr(time);position:absolute;top:10px;left:0;display:block;color:#f18b48;font-size:16px}.detail_page .btn_list[data-v-4cc9bd96]{text-align:center}.detail_page .btn_list .delete[data-v-4cc9bd96]{margin-left:20px!important}[data-v-86078720] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-86078720] .el-table td{font-size:14px;text-align:center;color:#666}[data-v-7204a7bb] .el-table th{background:#eef3ff;color:#333;font-size:16px;font-weight:400;border-color:#e0e5eb;text-align:center}[data-v-7204a7bb] .el-table td{font-size:14px;text-align:center;color:#666}.label_page .el_col_text[data-v-f06e62ea]{text-align:center;font-size:14px;color:#3a68f2}.label_page .el_col_text[data-v-f06e62ea]:hover{cursor:pointer}[data-v-f06e62ea] .el-dialog__body{width:80%;margin:0 auto}h2[data-v-3518c7d3]{font-size:24px;font-weight:500;position:relative}h2[data-v-3518c7d3]:before{content:"";height:24px;width:4px;background-color:#3a68f2;position:absolute;left:-10px;top:2px;display:block}.custom_info_page[data-v-3518c7d3]{margin-top:20px;padding:20px 100px;background-color:#fff;min-height:500px}.custom_info_page .custom_info[data-v-3518c7d3]{overflow:hidden;margin-bottom:30px}.custom_info_page .custom_info .info_item[data-v-3518c7d3]{float:left}.custom_info_page .custom_info .info_item[data-v-3518c7d3]:first-child{height:180px;width:100px}.custom_info_page .custom_info .info_item:first-child img[data-v-3518c7d3]{width:100px;height:100px;border-radius:50px;text-align:center;margin-top:40px}.custom_info_page .custom_info .info_item[data-v-3518c7d3]:nth-child(2){width:50%}.custom_info_page .custom_info .info_item:nth-child(2) ul[data-v-3518c7d3]{overflow:hidden;list-style:none}.custom_info_page .custom_info .info_item:nth-child(2) ul li[data-v-3518c7d3]{float:left}.custom_info_page .custom_info .info_item:nth-child(2) ul li p[data-v-3518c7d3]{font-size:16px;color:#333}.custom_info_page .custom_info .info_item:nth-child(2) ul li p span[data-v-3518c7d3]:nth-child(2){color:#666}.custom_info_page .custom_info .info_item:nth-child(2) ul li[data-v-3518c7d3]:nth-child(odd){width:30%}.custom_info_page .custom_info .info_item:nth-child(2) ul li[data-v-3518c7d3]:nth-child(2n){width:70%}.custom_info_page .custom_tag[data-v-3518c7d3]{margin-bottom:30px}.custom_info_page .custom_tag p[data-v-3518c7d3]{display:inline-block;background-color:#d8e1fc;font-size:16px;color:#333;text-align:center;margin-right:20px;border-radius:4px;padding:8px 15px}.custom_info_page .custom_tag p[data-v-3518c7d3]:last-child{background-color:#fff;color:#3a68f2}.custom_info_page .custom_tag p[data-v-3518c7d3]:last-child:hover{cursor:pointer}.custom_info_page .custom_data .data_list p[data-v-3518c7d3]{font-size:16px}.custom_info_page .custom_data .data_list p font[data-v-3518c7d3]{color:#666}.custom_info_page .custom_data .data_list p span[data-v-3518c7d3]{display:inline-block;width:200px}.custom_info_page .custom_data .tab_list[data-v-3518c7d3]{overflow:hidden}.custom_info_page .custom_data .tab_list p[data-v-3518c7d3]{float:left;padding:0 50px;font-size:16px;border:1px solid #e0e5eb;-webkit-box-sizing:border-box;box-sizing:border-box;color:#999;height:48px;line-height:48px}.custom_info_page .custom_data .tab_list p[data-v-3518c7d3]:nth-child(-n+2){border-right:0}.custom_info_page .custom_data .tab_list p[data-v-3518c7d3]:first-child{border-radius:4px 0 0 4px}.custom_info_page .custom_data .tab_list p[data-v-3518c7d3]:nth-child(3){border-radius:0 4px 4px 0}.custom_info_page .custom_data .tab_list p[data-v-3518c7d3]:hover{cursor:pointer}.custom_info_page .custom_data .tab_list .active[data-v-3518c7d3]{background-color:#3a68f2;color:#fff;border:0}
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
@supports (-webkit-mask:none) and (not (cater-color:#555)){.login-container .el-input input{color:#555}}.login-container .el-input{display:inline-block}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;color:#000;height:28px;caret-color:#555}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset!important;box-shadow:inset 0 0 0 1000px #fff!important;-webkit-text-fill-color:#555!important}.login-container .el-form-item{border:1px solid #dedede;border-radius:2px;color:#454545;-webkit-transition:all .3s;transition:all .3s}.login-container .el-form-item:hover{border-color:#57a3f3}.login-container[data-v-e2978f12]{background:url(../../static/img/beijing.aa90917f.png) 50% no-repeat;background-size:cover;width:100%;height:100vh}.login-container .login-info[data-v-e2978f12]{position:absolute;left:15%;top:44%;margin-top:-100px;color:#fff}.login-container .login-info .title[data-v-e2978f12]{font-size:1.8rem;font-weight:600}.login-container .login-info .sub-title[data-v-e2978f12]{font-size:1.5rem;margin:.3rem 0 .7rem 1rem}.login-container .login-info .desc[data-v-e2978f12]{font-size:.96rem;line-height:1.9rem}.login-container .login-form[data-v-e2978f12]{position:absolute;top:50%;left:50%;margin:-180px 0 0 -160px;width:350px;height:380px;padding:36px;background:#fff;border-radius:3px}.login-container .login-form .code-input[data-v-e2978f12]{width:50%;display:inline-block;vertical-align:middle}.login-container .login-form .code-image[data-v-e2978f12]{display:inline-block;vertical-align:top;cursor:pointer}.login-container .login-form .login-type[data-v-e2978f12]{text-align:right;display:inline-block;width:100%}.login-container .login-form .logo-wrapper[data-v-e2978f12]{display:inline-block;margin:10px 0}.login-container .login-form .logo-wrapper img[data-v-e2978f12]{width:1.9rem;display:inline-block;margin:.8rem .8rem -.8rem .8rem;cursor:pointer}.login-container .login-form .logo-wrapper img.radius[data-v-e2978f12]{border-radius:50%}.login-container .login-footer[data-v-e2978f12]{position:fixed;bottom:1rem;width:100%;text-align:center;color:#fff;font-size:.85rem;line-height:1rem;height:1rem}.login-container .tips[data-v-e2978f12]{font-size:14px;color:#fff;margin-bottom:10px}.login-container .tips span[data-v-e2978f12]:first-of-type{margin-right:16px}.login-container .title-container[data-v-e2978f12]{position:relative}.login-container .title-container .title[data-v-e2978f12]{font-size:20px;color:rgba(0,0,0,.85);margin:0 auto 40px auto;text-align:center;font-weight:700}.login-container .title-container .set-language[data-v-e2978f12]{color:#aaa;position:absolute;top:3px;font-size:18px;right:0;cursor:pointer}.login-container .thirdparty-button[data-v-e2978f12]{position:absolute;right:0;bottom:6px}@media only screen and (max-width:470px){.login-container .thirdparty-button[data-v-e2978f12]{display:none}}@media screen and (max-width:1100px){.login-container .login-info[data-v-e2978f12]{left:8%}}@media screen and (max-width:970px){.login-container .login-form[data-v-e2978f12]{left:50%}.login-container .login-info[data-v-e2978f12]{display:none}}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.pagination-container[data-v-6bb784f3]{background:#fff;padding:32px 16px 16px 0;margin-top:0}.hidebtn .el-upload,.pagination-container.hidden[data-v-6bb784f3]{display:none}
|
||||||
@@ -1 +0,0 @@
|
|||||||
.pagination-container[data-v-23edaaf6]{background:#fff;padding:32px 16px 16px 0;margin-top:0}.hidebtn .el-upload,.pagination-container.hidden[data-v-23edaaf6]{display:none}
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+21
-2
@@ -1,16 +1,35 @@
|
|||||||
import axiosApi from './AxiosApi.js'
|
import axiosApi from './AxiosApi.js'
|
||||||
|
|
||||||
const apiList = {
|
const apiList = {
|
||||||
getMemberList: `/member/page`,
|
getMemberList: `/member/adminPage`,
|
||||||
addTag: `/member/addTag`,
|
addTag: `/member/addTag`,
|
||||||
forbiddenMember: `/member/forbidden`,
|
forbiddenMember: `/member/forbidden`,
|
||||||
getMemberInfo: `/member/query/`,
|
getMemberInfo: `/member/query/`,
|
||||||
getMemberAddress: `/memberAddress/page`,
|
getMemberAddress: `/memberAddress/page`,
|
||||||
getOrderList: `/order/findAdminOrderList`,
|
getOrderList: `/order/findAdminOrderList`,
|
||||||
getCustomData: `/order/getOrderStatisticsByMid/`,
|
getCustomData: `/order/getOrderStatisticsByMid/`,
|
||||||
getCommentList: `/comment/findCommentList`
|
getCommentList: `/comment/findCommentList`,
|
||||||
|
getMemberBillDetials: `/member/getMemberBillDetials`,
|
||||||
|
editMemberBill: `/member/editMemberBill`
|
||||||
|
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
|
// 平台会员余额修改
|
||||||
|
editMemberBill(data) {
|
||||||
|
return axiosApi({
|
||||||
|
method: 'POST',
|
||||||
|
url: apiList.editMemberBill,
|
||||||
|
data
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 平台会员余额明细
|
||||||
|
getMemberBillDetials(data) {
|
||||||
|
return axiosApi({
|
||||||
|
method: 'POST',
|
||||||
|
url: apiList.getMemberBillDetials,
|
||||||
|
data
|
||||||
|
})
|
||||||
|
},
|
||||||
// 客户管理列表
|
// 客户管理列表
|
||||||
getMemberList(data) {
|
getMemberList(data) {
|
||||||
return axiosApi({
|
return axiosApi({
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :class="{'hidden':hidden}" class="pagination-container">
|
<div style="display:block" :class="{'hidden':hidden}" class="pagination-container">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
:background="background"
|
:background="background"
|
||||||
:current-page.sync="currentPage"
|
:current-page.sync="currentPage"
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
|
style="display:block"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -63,14 +63,14 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: '/marketing',
|
// path: '/marketing',
|
||||||
name: '营销活动',
|
// name: '营销活动',
|
||||||
meta: {
|
// meta: {
|
||||||
title: '营销活动',
|
// title: '营销活动',
|
||||||
icon: 'el-icon-s-ticket'
|
// icon: 'el-icon-s-ticket'
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
path: '/finance',
|
path: '/finance',
|
||||||
meta: {
|
meta: {
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<template>
|
||||||
|
<div>123</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -19,25 +19,65 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="custom_tag">
|
<div class="custom_tag">
|
||||||
<h2>客户标签</h2>
|
<h2>客户标签</h2>
|
||||||
<p v-for="(item,index) in tagList" :key="index">{{ item.tagName }}</p>
|
<p v-for="(item, index) in tagList" :key="index">{{ item.tagName }}</p>
|
||||||
<p @click="addTag">贴标签</p>
|
<p @click="addTag">贴标签</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="custom_data">
|
<div class="custom_data">
|
||||||
<h2>消费数据</h2>
|
<h2 style="float:left">余额明细</h2>
|
||||||
|
<p style="float: left;margin-top: 28px;font-size: 12px;font-weight: 700;margin-left: 10px;">(明细字体红色为支出,绿色为收入,黑色则为修改)</p>
|
||||||
<div class="data_list">
|
<div class="data_list">
|
||||||
<p><span>下 单 数: <font>{{ customData.orderCount }}</font></span> 支付成功数: <font>{{ customData.payOrderCount }}</font></p>
|
<el-table :data="tableData" border style="width: 100%">
|
||||||
<p><span>售后次数: <font>{{ customData.returnCount }}</font></span> 售后单数: <font>{{ customData.returnOrderCount }}</font></p>
|
<el-table-column prop="createTime" label="日期" align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="title" label="标题" align="center"> </el-table-column>
|
||||||
|
<el-table-column label="剩余(元)" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{'¥'}}{{scope.row.balance}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column >
|
||||||
|
<el-table-column label="消费商户" align="center">
|
||||||
|
<template slot-scope="scope" >
|
||||||
|
<span>{{scope.row.tenantName}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label='明细(元)' align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.pm == 0" style="color:red">
|
||||||
|
-{{scope.row.number}}
|
||||||
|
</span>
|
||||||
|
<span v-if="scope.row.pm == 1" style="color:#11b95c">
|
||||||
|
+{{scope.row.number}}
|
||||||
|
</span>
|
||||||
|
<span v-if="scope.row.pm == 2" style="color:#303133">
|
||||||
|
{{scope.row.number}}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<!-- <p><span>下 单 数: <font>{{ customData.orderCount }}</font></span> 支付成功数: <font>{{ customData.payOrderCount }}</font></p>
|
||||||
|
<p><span>售后次数: <font>{{ customData.returnCount }}</font></span> 售后单数: <font>{{ customData.returnOrderCount }}</font></p> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="tab_list">
|
<el-pagination
|
||||||
|
style="margin-top:20px"
|
||||||
|
background
|
||||||
|
@size-change="handleSizeChange"
|
||||||
|
@current-change="handleCurrentChange"
|
||||||
|
:current-page="currentPage4"
|
||||||
|
:page-sizes="[5, 10, 20, 30]"
|
||||||
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
|
:total="Number(totals)">
|
||||||
|
</el-pagination>
|
||||||
|
<!-- <div class="tab_list">
|
||||||
<p v-for="(item,index) in tabList" :key="index" :class="[{'active': componentName === item.componentName}]" @click="changeTab(item)">
|
<p v-for="(item,index) in tabList" :key="index" :class="[{'active': componentName === item.componentName}]" @click="changeTab(item)">
|
||||||
{{ item.tabName }}
|
{{ item.tabName }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="component_content">
|
<!-- <div class="component_content">
|
||||||
<component :is="componentName" />
|
<component :is="componentName" />
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<labels v-if="dialog.visible" :dialog="dialog" @close="close" @confirm="confirm" />
|
<!-- <labels v-if="dialog.visible" :dialog="dialog" @close="close" @confirm="confirm" /> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -45,41 +85,81 @@
|
|||||||
import order from './component/order/index'
|
import order from './component/order/index'
|
||||||
import comment from './component/comment/index'
|
import comment from './component/comment/index'
|
||||||
import addressInfo from './component/address/index'
|
import addressInfo from './component/address/index'
|
||||||
|
import consumption from './component/consumption/index'
|
||||||
|
// import Pagination from '@/components/Pagination'
|
||||||
import Member from '@/api/Member'
|
import Member from '@/api/Member'
|
||||||
import labels from './component/label/index'
|
// import labels from './component/label/index'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
order,
|
// Pagination,
|
||||||
comment,
|
// order,
|
||||||
addressInfo,
|
// comment,
|
||||||
labels
|
// addressInfo,
|
||||||
|
// labels,
|
||||||
|
// consumption
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
totals:null,
|
||||||
|
currentPage4: 1,
|
||||||
|
formParams: {
|
||||||
|
size: 10,
|
||||||
|
current: 1,
|
||||||
|
model: {
|
||||||
|
mid:0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
tableData: [],
|
||||||
infoList: [
|
infoList: [
|
||||||
{ name: '用户昵称', value: '', fields: 'nickname' },
|
{ name: '用户昵称', value: '', fields: 'nickname' },
|
||||||
{ name: '手 机 号', value: '', fields: 'phone' },
|
{ name: '手 机 号', value: '', fields: 'phone' },
|
||||||
{ name: '性 别', value: '', fields: 'sex' },
|
{ name: '性 别', value: '', fields: 'sex' },
|
||||||
{ name: '注册时间', value: '', fields: 'createTime' },
|
{ name: '注册时间', value: '', fields: 'createTime' },
|
||||||
{ name: '生 日', value: '', fields: 'birth' }
|
{ name: '生 日', value: '', fields: 'birth' },
|
||||||
],
|
],
|
||||||
tagList: [],
|
tagList: [],
|
||||||
tabList: [
|
tabList: [
|
||||||
{ tabName: 'TA的订单', componentName: 'order' },
|
{ tabName: 'TA的订单', componentName: 'order' },
|
||||||
{ tabName: 'TA的评论', componentName: 'comment' },
|
{ tabName: 'TA的评论', componentName: 'comment' },
|
||||||
{ tabName: 'TA的收货地址', componentName: 'addressInfo' }
|
{ tabName: 'TA的收货地址', componentName: 'addressInfo' },
|
||||||
|
{ tabName: 'TA的消费记录', componentName: 'consumption' },
|
||||||
],
|
],
|
||||||
componentName: 'order',
|
componentName: 'order',
|
||||||
customData: {},
|
customData: {},
|
||||||
memberBaseInfo: {},
|
memberBaseInfo: {},
|
||||||
dialog: {}
|
dialog: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getMemberInfo()
|
this.getMemberInfo()
|
||||||
this.getCustomData()
|
this.getCustomData()
|
||||||
|
this.getMemberBillDetials()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
handleSizeChange(val) {
|
||||||
|
console.log(`每页 ${val} 条`);
|
||||||
|
this.formParams.size = val
|
||||||
|
|
||||||
|
this.getMemberBillDetials()
|
||||||
|
},
|
||||||
|
handleCurrentChange(val) {
|
||||||
|
console.log(`当前页: ${val}`);
|
||||||
|
this.formParams.current = val
|
||||||
|
this.getMemberBillDetials()
|
||||||
|
},
|
||||||
|
|
||||||
|
async getMemberBillDetials(){
|
||||||
|
this.formParams.model.mid = this.$route.query.id
|
||||||
|
// console.log(this.formParams,'消费数据')
|
||||||
|
const res = await Member.getMemberBillDetials(this.formParams)
|
||||||
|
this.tableData = res.data.data.records
|
||||||
|
this.totals = res.data.data.total
|
||||||
|
console.log(res,'小飞鼠')
|
||||||
|
},
|
||||||
|
fetch() {
|
||||||
|
this.getMemberBillDetials()
|
||||||
|
},
|
||||||
async getMemberInfo() {
|
async getMemberInfo() {
|
||||||
const res = await Member.getMemberInfo(this.$route.query.id)
|
const res = await Member.getMemberInfo(this.$route.query.id)
|
||||||
const resData = res.data
|
const resData = res.data
|
||||||
@@ -100,7 +180,7 @@ export default {
|
|||||||
// 获取客户信息
|
// 获取客户信息
|
||||||
getInfoList(ob) {
|
getInfoList(ob) {
|
||||||
const _ = this
|
const _ = this
|
||||||
_.infoList.map(item => {
|
_.infoList.map((item) => {
|
||||||
item.value = ob[item.fields] || ''
|
item.value = ob[item.fields] || ''
|
||||||
if (item.fields === 'sex') {
|
if (item.fields === 'sex') {
|
||||||
item.value = item.value === '1' ? '男' : '女'
|
item.value = item.value === '1' ? '男' : '女'
|
||||||
@@ -112,16 +192,16 @@ export default {
|
|||||||
this.dialog = {
|
this.dialog = {
|
||||||
title: '选择标签',
|
title: '选择标签',
|
||||||
visible: true,
|
visible: true,
|
||||||
id: this.$route.query.id
|
id: this.$route.query.id,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
confirm(ids) {
|
confirm(ids) {
|
||||||
const params = {
|
const params = {
|
||||||
mid: this.$route.query.id,
|
mid: this.$route.query.id,
|
||||||
tagIds: ids
|
tagIds: ids,
|
||||||
}
|
}
|
||||||
const _ = this
|
const _ = this
|
||||||
Member.addTag(params).then(res => {
|
Member.addTag(params).then((res) => {
|
||||||
if (res.data.code === 0) {
|
if (res.data.code === 0) {
|
||||||
_.$message.success('操作成功')
|
_.$message.success('操作成功')
|
||||||
_.getMemberInfo()
|
_.getMemberInfo()
|
||||||
@@ -134,139 +214,139 @@ export default {
|
|||||||
},
|
},
|
||||||
changeTab(item) {
|
changeTab(item) {
|
||||||
this.componentName = item.componentName
|
this.componentName = item.componentName
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
position: relative;
|
position: relative;
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
height: 24px;
|
height: 24px;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
background-color: #3A68F2;
|
background-color: #3a68f2;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.custom_info_page {
|
.custom_info_page {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 20px 100px;
|
padding: 20px 100px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
|
|
||||||
.custom_info {
|
.custom_info {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
.info_item {
|
.info_item {
|
||||||
|
float: left;
|
||||||
|
&:nth-child(1) {
|
||||||
|
height: 180px;
|
||||||
|
width: 100px;
|
||||||
|
img {
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
border-radius: 50px;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:nth-child(2) {
|
||||||
|
width: 50%;
|
||||||
|
ul {
|
||||||
|
overflow: hidden;
|
||||||
|
list-style: none;
|
||||||
|
li {
|
||||||
float: left;
|
float: left;
|
||||||
&:nth-child(1) {
|
|
||||||
height: 180px;
|
|
||||||
width: 100px;
|
|
||||||
img {
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
border-radius: 50px;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:nth-child(2) {
|
|
||||||
width: 50%;
|
|
||||||
ul {
|
|
||||||
overflow: hidden;
|
|
||||||
list-style: none;
|
|
||||||
li {
|
|
||||||
float: left;
|
|
||||||
p {
|
|
||||||
font-size: 16px;
|
|
||||||
color: #333;
|
|
||||||
span:nth-child(2) {
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:nth-child(odd) {
|
|
||||||
width: 30%;
|
|
||||||
}
|
|
||||||
&:nth-child(even) {
|
|
||||||
width: 70%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom_tag {
|
|
||||||
margin-bottom: 30px;
|
|
||||||
p {
|
|
||||||
display: inline-block;
|
|
||||||
background-color: #D8E1FC;
|
|
||||||
font-size: 16px;
|
|
||||||
color: #333;
|
|
||||||
text-align: center;
|
|
||||||
margin-right: 20px;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 8px 15px;
|
|
||||||
&:last-child {
|
|
||||||
background-color: #fff;
|
|
||||||
color: #3A68F2;
|
|
||||||
&:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom_data {
|
|
||||||
.data_list {
|
|
||||||
p {
|
p {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font{
|
color: #333;
|
||||||
color:#666;
|
span:nth-child(2) {
|
||||||
}
|
color: #666;
|
||||||
span {
|
}
|
||||||
display: inline-block;
|
|
||||||
width: 200px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.tab_list {
|
|
||||||
overflow: hidden;
|
|
||||||
p {
|
|
||||||
float: left;
|
|
||||||
padding: 0 50px;
|
|
||||||
font-size: 16px;
|
|
||||||
border: 1px #E0E5EB solid;
|
|
||||||
box-sizing: border-box;
|
|
||||||
color: #999999;
|
|
||||||
height: 48px;
|
|
||||||
line-height: 48px;
|
|
||||||
&:nth-child(-n + 2) {
|
|
||||||
border-right: 0;
|
|
||||||
}
|
|
||||||
&:nth-child(1) {
|
|
||||||
border-radius: 4px 0 0 4px;
|
|
||||||
}
|
|
||||||
&:nth-child(3) {
|
|
||||||
border-radius: 0 4px 4px 0;
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
background-color: #3A68F2;
|
|
||||||
color: #fff;
|
|
||||||
border: 0;
|
|
||||||
}
|
}
|
||||||
|
&:nth-child(odd) {
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
&:nth-child(even) {
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom_tag {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
p {
|
||||||
|
display: inline-block;
|
||||||
|
background-color: #d8e1fc;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #333;
|
||||||
|
text-align: center;
|
||||||
|
margin-right: 20px;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 8px 15px;
|
||||||
|
&:last-child {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #3a68f2;
|
||||||
|
&:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom_data {
|
||||||
|
.data_list {
|
||||||
|
p {
|
||||||
|
font-size: 16px;
|
||||||
|
font {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tab_list {
|
||||||
|
overflow: hidden;
|
||||||
|
p {
|
||||||
|
float: left;
|
||||||
|
padding: 0 50px;
|
||||||
|
font-size: 16px;
|
||||||
|
border: 1px #e0e5eb solid;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #999999;
|
||||||
|
height: 48px;
|
||||||
|
line-height: 48px;
|
||||||
|
&:nth-child(-n + 2) {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
&:nth-child(1) {
|
||||||
|
border-radius: 4px 0 0 4px;
|
||||||
|
}
|
||||||
|
&:nth-child(3) {
|
||||||
|
border-radius: 0 4px 4px 0;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
background-color: #3a68f2;
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2,10 +2,7 @@
|
|||||||
<div class="custom_page">
|
<div class="custom_page">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<el-form
|
<el-form :model="formParams" label-width="120px">
|
||||||
:model="formParams"
|
|
||||||
label-width="120px"
|
|
||||||
>
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="20">
|
<el-col :span="20">
|
||||||
<el-row>
|
<el-row>
|
||||||
@@ -17,14 +14,14 @@
|
|||||||
|
|
||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
<el-form-item label="手机号">
|
<el-form-item label="手机号">
|
||||||
<el-input v-model="formParams.tel" size="mini" />
|
<el-input v-model="formParams.model.phone" size="mini" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="5">
|
<!-- <el-col :span="5">
|
||||||
<el-form-item label="标签">
|
<el-form-item label="标签">
|
||||||
<el-input v-model="formParams.model.tagId" size="mini" />
|
<el-input v-model="formParams.model.tagId" size="mini" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col> -->
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="最近消费时间">
|
<el-form-item label="最近消费时间">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
@@ -44,13 +41,22 @@
|
|||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
<el-form-item label="累计金额">
|
<el-form-item label="累计金额">
|
||||||
<el-col :span="11">
|
<el-col :span="11">
|
||||||
<el-input v-model="formParams.model.totalConsumAmountStart" size="mini" />
|
<el-input
|
||||||
|
v-model="formParams.model.totalConsumAmountStart"
|
||||||
|
size="mini"
|
||||||
|
/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2" style="text-align: center;color: #DCDFE6;">
|
<el-col
|
||||||
|
:span="2"
|
||||||
|
style="text-align: center; color: #dcdfe6"
|
||||||
|
>
|
||||||
-
|
-
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="11">
|
||||||
<el-input v-model="formParams.model.totalConsumAmountEnd" size="mini" />
|
<el-input
|
||||||
|
v-model="formParams.model.totalConsumAmountEnd"
|
||||||
|
size="mini"
|
||||||
|
/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -58,13 +64,22 @@
|
|||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
<el-form-item label="购买次数">
|
<el-form-item label="购买次数">
|
||||||
<el-col :span="11">
|
<el-col :span="11">
|
||||||
<el-input v-model="formParams.model.buyTimesStart" size="mini" />
|
<el-input
|
||||||
|
v-model="formParams.model.buyTimesStart"
|
||||||
|
size="mini"
|
||||||
|
/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2" style="text-align: center;color: #DCDFE6;">
|
<el-col
|
||||||
|
:span="2"
|
||||||
|
style="text-align: center; color: #dcdfe6"
|
||||||
|
>
|
||||||
-
|
-
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="11">
|
||||||
<el-input v-model="formParams.model.buyTimesEnd" size="mini" />
|
<el-input
|
||||||
|
v-model="formParams.model.buyTimesEnd"
|
||||||
|
size="mini"
|
||||||
|
/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -72,22 +87,23 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<el-form-item label-width="0">
|
<el-form-item label-width="0">
|
||||||
<el-button
|
<el-button type="primary" size="mini" @click="query">
|
||||||
type="primary"
|
|
||||||
size="mini"
|
|
||||||
@click="query"
|
|
||||||
>
|
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button plain size="mini" @click="reset"> 重置 </el-button>
|
||||||
plain
|
<span
|
||||||
size="mini"
|
style="
|
||||||
@click="reset"
|
margin-left: 10px;
|
||||||
|
dispaly: inline-block;
|
||||||
|
font-size: 16px;
|
||||||
|
"
|
||||||
|
@click="dispalyMore"
|
||||||
>
|
>
|
||||||
重置
|
<i
|
||||||
</el-button>
|
:class="[
|
||||||
<span style="margin-left: 10px;dispaly:inline-block;font-size: 16px;" @click="dispalyMore">
|
showMore ? 'el-icon-arrow-up' : 'el-icon-arrow-down',
|
||||||
<i :class="[showMore?'el-icon-arrow-up':'el-icon-arrow-down']"></i>
|
]"
|
||||||
|
></i>
|
||||||
</span>
|
</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -97,40 +113,35 @@
|
|||||||
|
|
||||||
<div class="content_table">
|
<div class="content_table">
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<el-table
|
<el-table :data="tableData.records" border style="width: 100%">
|
||||||
:data="tableData.records"
|
<el-table-column prop="nickname" label="客户昵称" />
|
||||||
border
|
<el-table-column prop="phone" label="手机号" />
|
||||||
style="width: 100%"
|
|
||||||
>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="nickname"
|
|
||||||
label="客户昵称"
|
label="消费总额(元)"
|
||||||
/>
|
|
||||||
<el-table-column
|
>
|
||||||
prop="phone"
|
<template slot-scope="scope">
|
||||||
label="手机号"
|
<span>{{'¥'}}{{scope.row.expendAmount /100 }}</span>
|
||||||
/>
|
</template>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="expendAmount"
|
<el-table-column prop="buyTimes" label="购买次数" />
|
||||||
label="消费总额"
|
<el-table-column label="余额(元)" >
|
||||||
:formatter="getPrice"
|
<template slot-scope="scope">
|
||||||
/>
|
<span>{{'¥'}}{{scope.row.money}}</span>
|
||||||
<el-table-column
|
</template>
|
||||||
prop="buyTimes"
|
</el-table-column>
|
||||||
label="购买次数"
|
<el-table-column prop="lastBuyTime" label="最近消费时间" />
|
||||||
/>
|
<el-table-column prop="createTime" label="注册时间" />
|
||||||
<el-table-column
|
<el-table-column label="操作" width="300px">
|
||||||
prop="lastBuyTime"
|
<template slot-scope="scope">
|
||||||
label="最近消费时间"
|
<el-button
|
||||||
/>
|
type="text"
|
||||||
<el-table-column
|
size="small"
|
||||||
prop="registerTime"
|
@click.native.prevent="Balance(scope.row)"
|
||||||
label="注册时间"
|
>
|
||||||
/>
|
修改余额
|
||||||
<el-table-column label="操作">
|
</el-button>
|
||||||
<template
|
|
||||||
slot-scope="scope"
|
|
||||||
>
|
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
size="small"
|
size="small"
|
||||||
@@ -164,8 +175,28 @@
|
|||||||
@pagination="fetch"
|
@pagination="fetch"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<el-dialog title="修改余额" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
|
||||||
|
<el-form :model="form">
|
||||||
|
<el-form-item label="余额" :label-width="formLabelWidth" >
|
||||||
|
<el-input v-model="form.money" autocomplete="off" :disabled = true onkeyup="value=value.replace(/[^\d]/g,'')" ></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="修改余额" :label-width="formLabelWidth" >
|
||||||
|
<el-input v-model="form.moneys" autocomplete="off" onkeyup="value=value.replace(/[^\d]/g,'')"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="dialogVisiblemo">确 定</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<labels v-if="dialog.visible" :dialog="dialog" @close="close" @confirm="confirm" />
|
<labels
|
||||||
|
v-if="dialog.visible"
|
||||||
|
:dialog="dialog"
|
||||||
|
@close="close"
|
||||||
|
@confirm="confirm"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -174,12 +205,20 @@ import Member from '@/api/Member'
|
|||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
import labels from './custom-info/component/label/index'
|
import labels from './custom-info/component/label/index'
|
||||||
export default {
|
export default {
|
||||||
|
inject:['reload'],
|
||||||
components: {
|
components: {
|
||||||
Pagination,
|
Pagination,
|
||||||
labels
|
labels,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
form:{
|
||||||
|
moneys:'',
|
||||||
|
money:'',
|
||||||
|
id:''
|
||||||
|
},
|
||||||
|
formLabelWidth: '120px',
|
||||||
|
dialogVisible:false,
|
||||||
showMore: false,
|
showMore: false,
|
||||||
formParams: {
|
formParams: {
|
||||||
size: 10,
|
size: 10,
|
||||||
@@ -192,21 +231,56 @@ export default {
|
|||||||
nickname: '',
|
nickname: '',
|
||||||
tagId: '',
|
tagId: '',
|
||||||
lastConsumTimeStart: '',
|
lastConsumTimeStart: '',
|
||||||
lastConsumTimeEnd: ''
|
lastConsumTimeEnd: '',
|
||||||
}
|
phone: '',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
date: [],
|
date: [],
|
||||||
tableData: {},
|
tableData: {},
|
||||||
dialog: {}
|
dialog: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
Balance(row) {
|
||||||
|
console.log(row, 'uiuoiuio')
|
||||||
|
this.dialogVisible = true
|
||||||
|
this.form.money = row.money
|
||||||
|
this.form.id = row.id
|
||||||
|
console.log(this.form,'修改的数据')
|
||||||
|
},
|
||||||
|
async dialogVisiblemo(){
|
||||||
|
let plame = {
|
||||||
|
id:this.form.id,
|
||||||
|
money:this.form.moneys
|
||||||
|
}
|
||||||
|
this.dialogVisible = false
|
||||||
|
const res = await Member.editMemberBill(plame)
|
||||||
|
console.log(res,'resres')
|
||||||
|
if(res.data.msg == 'ok'){
|
||||||
|
this.$message({
|
||||||
|
message: '修改成功',
|
||||||
|
type: 'success'
|
||||||
|
});
|
||||||
|
this.reload()
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
handleClose(done) {
|
||||||
|
this.$confirm('确认关闭?')
|
||||||
|
.then(_ => {
|
||||||
|
done();
|
||||||
|
this.reload()
|
||||||
|
})
|
||||||
|
.catch(_ => {});
|
||||||
|
},
|
||||||
async getList() {
|
async getList() {
|
||||||
const res = await Member.getMemberList(this.formParams)
|
const res = await Member.getMemberList(this.formParams)
|
||||||
const resData = res.data
|
const resData = res.data
|
||||||
|
console.log(res.data.data.records, 'resresres')
|
||||||
if (resData.code === 0) {
|
if (resData.code === 0) {
|
||||||
this.tableData = resData.data
|
this.tableData = resData.data
|
||||||
}
|
}
|
||||||
@@ -218,22 +292,23 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
details(id) {
|
details(id) {
|
||||||
this.$router.push({ path: '/customer-manage/custom-info', query: { id }})
|
console.log(id)
|
||||||
|
this.$router.push({ path: '/customer-manage/custom-info', query: { id } })
|
||||||
},
|
},
|
||||||
makeTag(id) {
|
makeTag(id) {
|
||||||
this.dialog = {
|
this.dialog = {
|
||||||
title: '选择标签',
|
title: '选择标签',
|
||||||
visible: true,
|
visible: true,
|
||||||
id
|
id,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
confirm(ids) {
|
confirm(ids) {
|
||||||
const params = {
|
const params = {
|
||||||
mid: this.dialog.id,
|
mid: this.dialog.id,
|
||||||
tagIds: ids
|
tagIds: ids,
|
||||||
}
|
}
|
||||||
const _ = this
|
const _ = this
|
||||||
Member.addTag(params).then(res => {
|
Member.addTag(params).then((res) => {
|
||||||
if (res.data.code === 0) {
|
if (res.data.code === 0) {
|
||||||
_.$message.success('操作成功')
|
_.$message.success('操作成功')
|
||||||
_.getList()
|
_.getList()
|
||||||
@@ -243,23 +318,34 @@ export default {
|
|||||||
},
|
},
|
||||||
addBlackList(item) {
|
addBlackList(item) {
|
||||||
const _ = this
|
const _ = this
|
||||||
_.$confirm(`${item.status ? '确认是否取消黑名单' : '加入黑名单后,对方将无法登录商城'}`, `${item.status ? '取消黑名单' : '加入黑名单'}`, {
|
_.$confirm(
|
||||||
confirmButtonText: '确定',
|
`${
|
||||||
cancelButtonText: '取消',
|
item.status
|
||||||
type: 'warning'
|
? '确认是否取消黑名单'
|
||||||
}).then(() => {
|
: '加入黑名单后,对方将无法登录商城'
|
||||||
Member.forbiddenMember({ mid: item.id, status: !item.status }).then(res => {
|
}`,
|
||||||
if (res.data.code === 0) {
|
`${item.status ? '取消黑名单' : '加入黑名单'}`,
|
||||||
_.getList()
|
{
|
||||||
_.$message.success(`成功${item.status ? '取消' : '加入'}黑名单`)
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning',
|
||||||
|
}
|
||||||
|
).then(() => {
|
||||||
|
Member.forbiddenMember({ mid: item.id, status: !item.status }).then(
|
||||||
|
(res) => {
|
||||||
|
if (res.data.code === 0) {
|
||||||
|
_.getList()
|
||||||
|
_.$message.success(`成功${item.status ? '取消' : '加入'}黑名单`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.dialog = {}
|
this.dialog = {}
|
||||||
},
|
},
|
||||||
reset() {
|
reset() {
|
||||||
|
this.reload()
|
||||||
this.formParams = {
|
this.formParams = {
|
||||||
size: 10,
|
size: 10,
|
||||||
current: 1,
|
current: 1,
|
||||||
@@ -271,8 +357,8 @@ export default {
|
|||||||
nickname: '',
|
nickname: '',
|
||||||
tagId: '',
|
tagId: '',
|
||||||
lastConsumTimeStart: '',
|
lastConsumTimeStart: '',
|
||||||
lastConsumTimeEnd: ''
|
lastConsumTimeEnd: '',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fetch() {
|
fetch() {
|
||||||
@@ -287,33 +373,32 @@ export default {
|
|||||||
},
|
},
|
||||||
dispalyMore() {
|
dispalyMore() {
|
||||||
this.showMore = !this.showMore
|
this.showMore = !this.showMore
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
|
.custom_page {
|
||||||
.custom_page{
|
padding: 10px 20px;
|
||||||
padding: 10px 20px;
|
box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
.content {
|
||||||
.content {
|
background-color: #fff;
|
||||||
background-color: #fff;
|
padding: 20px;
|
||||||
padding: 20px;
|
.toolbar {
|
||||||
.toolbar {
|
padding: 10px;
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-table {
|
/deep/ .el-table {
|
||||||
th {
|
th {
|
||||||
background: #EEF3FF;
|
background: #eef3ff;
|
||||||
color:#333333;
|
color: #333333;
|
||||||
font-size:16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
border-color: #E0E5EB;
|
border-color: #e0e5eb;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@@ -325,16 +410,16 @@ export default {
|
|||||||
/deep/ .el-dialog__wrapper {
|
/deep/ .el-dialog__wrapper {
|
||||||
.el-dialog__header {
|
.el-dialog__header {
|
||||||
height: 70px;
|
height: 70px;
|
||||||
background-color: #3A68F2;
|
background-color: #3a68f2;
|
||||||
.el-dialog__title {
|
.el-dialog__title {
|
||||||
font-size:24px;
|
font-size: 24px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-message-box__btns .el-button {
|
/deep/ .el-message-box__btns .el-button {
|
||||||
margin-right: 10px !important;
|
margin-right: 10px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span class="login-footer">
|
<span class="login-footer">
|
||||||
© 2019
|
© 2020
|
||||||
回乡POS平台端
|
回乡POS平台端
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user