From c7eb853bf8baaf6e449a96520066cc10aff47214 Mon Sep 17 00:00:00 2001
From: Zhao Qiqi <1287235164@qq.com>
Date: Wed, 20 Jul 2022 09:16:20 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF---?=
=?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/api/business/intermediaryPerson.js | 44 +++----
.../src/components/pagination/index.vue | 6 +
.../src/components/tab-search/index.vue | 2 +-
.../src/layout/components/AppMain.vue | 2 +-
.../src/styles/element-table.scss | 21 +++-
.../anrui-base-ui/src/styles/index.scss | 99 ++++++++++-----
.../anrui-base-ui/src/styles/sidebar.scss | 3 -
.../changshangguanli/changshangguanli.vue | 21 +---
.../changshangguanli/changshangguanliAdd.vue | 114 ++++++++++--------
.../views/zhongjierenyuan/zhongjierenyuan.vue | 2 +-
10 files changed, 185 insertions(+), 129 deletions(-)
diff --git a/anrui-base/anrui-base-ui/src/api/business/intermediaryPerson.js b/anrui-base/anrui-base-ui/src/api/business/intermediaryPerson.js
index 9c7294b1fd..6cd4f4b639 100644
--- a/anrui-base/anrui-base-ui/src/api/business/intermediaryPerson.js
+++ b/anrui-base/anrui-base-ui/src/api/business/intermediaryPerson.js
@@ -2,35 +2,35 @@ import request from '@/utils/request'
// 中介人员条件查询
export function listPage(data) {
- return request({
- url: '/base/v1/basemiddleman/listPage',
- data,
- method: 'post',
- headers: {'Content-Type': 'application/json'}
- })
+ return request({
+ url: '/base/v1/basemiddleman/listPage',
+ data,
+ method: 'post',
+ headers: {'Content-Type': 'application/json'}
+ })
}
// 添加
export function save(data) {
- return request({
- url: '/base/v1/basemiddleman/save',
- data,
- method: 'post',
- headers: {'Content-Type': 'application/json'}
- })
+ return request({
+ url: '/base/v1/basemiddleman/save',
+ data,
+ method: 'post',
+ headers: {'Content-Type': 'application/json'}
+ })
}
// 删除
export function deleteBySids(data) {
- return request({
- url: '/base/v1/basemiddleman/delBySids',
- method: 'DELETE',
- data: data,
- headers: {'Content-Type': 'application/json'}
- })
+ return request({
+ url: '/base/v1/basemiddleman/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {'Content-Type': 'application/json'}
+ })
}
// 详情及修改回显
export function details(data) {
- return request({
- url: '/base/v1/basemiddleman/fetchDetailsBySid/' + data,
- method: 'get'
- })
+ return request({
+ url: '/base/v1/basemiddleman/fetchDetailsBySid/' + data,
+ method: 'get'
+ })
}
diff --git a/anrui-base/anrui-base-ui/src/components/pagination/index.vue b/anrui-base/anrui-base-ui/src/components/pagination/index.vue
index 6458cc1d16..29d8bc8c8f 100644
--- a/anrui-base/anrui-base-ui/src/components/pagination/index.vue
+++ b/anrui-base/anrui-base-ui/src/components/pagination/index.vue
@@ -110,6 +110,12 @@ export default {
.pagination-container.hidden {
display: none;
}
+.el-pagination {
+ white-space: nowrap;
+ color: #303133;
+ font-weight: bold;
+ height: 28px;
+}
.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev{
padding: 0 20px;
border: 1px solid #ccc;
diff --git a/anrui-base/anrui-base-ui/src/components/tab-search/index.vue b/anrui-base/anrui-base-ui/src/components/tab-search/index.vue
index 38177d7946..2e6efe3e7a 100644
--- a/anrui-base/anrui-base-ui/src/components/tab-search/index.vue
+++ b/anrui-base/anrui-base-ui/src/components/tab-search/index.vue
@@ -40,7 +40,7 @@
padding: 8px 20px;
margin-bottom: 15px;
.tab-search{
- padding: 8px 0px;
+ padding: 9px 0px;
}
.tab-btn{
.search-from{
diff --git a/anrui-base/anrui-base-ui/src/layout/components/AppMain.vue b/anrui-base/anrui-base-ui/src/layout/components/AppMain.vue
index 6e2882598c..b8c891f811 100644
--- a/anrui-base/anrui-base-ui/src/layout/components/AppMain.vue
+++ b/anrui-base/anrui-base-ui/src/layout/components/AppMain.vue
@@ -29,7 +29,7 @@ export default {
position: relative;
background-color: #FFFFFF;
/* margin-left:10px; */
- padding: 0 10px;
+ padding: 0 20px;
overflow-x: hidden;
overflow-y: hidden;
}
diff --git a/anrui-base/anrui-base-ui/src/styles/element-table.scss b/anrui-base/anrui-base-ui/src/styles/element-table.scss
index 727938ca3b..9c81717c95 100644
--- a/anrui-base/anrui-base-ui/src/styles/element-table.scss
+++ b/anrui-base/anrui-base-ui/src/styles/element-table.scss
@@ -1,19 +1,30 @@
.el-table {
- .el-table__header{
- tr th{
+ .el-table__header {
+ tr th {
background: #edf1f7;
color: #333333;
+ padding: 8px 0;
+ font-size: 16px;
}
}
}
-.table-describe{
+.el-table {
+ .el-table__body {
+ tr td {
+ padding: 6px 0 !important;
+ }
+ }
+}
+
+.table-describe {
border: 1px solid #dfe4ed;
border-bottom: 0px solid #dfe4ed;
- h4{
+
+ h4 {
float: left;
margin: 0;
line-height: 34px;
- padding:0 15px;
+ padding: 0 15px;
}
}
diff --git a/anrui-base/anrui-base-ui/src/styles/index.scss b/anrui-base/anrui-base-ui/src/styles/index.scss
index a87c52ba54..bca5f38c72 100644
--- a/anrui-base/anrui-base-ui/src/styles/index.scss
+++ b/anrui-base/anrui-base-ui/src/styles/index.scss
@@ -103,7 +103,8 @@ div:focus {
}
// 添加样式
-.app-container {margin: 5px;
+.app-container {
+ margin: 5px 0 5px 0;
background-color: #fff;
}
// 设置了滚动区域
@@ -120,6 +121,11 @@ div:focus {
flex-direction: row;
justify-content: space-between !important;
align-items: center; margin-bottom: 0px !important;
+ font-size: 20px;
+}
+.tab-header{
+ background-color: #edf1f7;
+ padding: 9px 20px;
}
.filter-item {
padding-right:10px;
@@ -131,17 +137,28 @@ div:focus {
flex-direction: row;
justify-content: space-between;
align-items: center;
- padding: 0px 0px 10px 15px;
+ padding: 0 0 0 15px;
+ margin-top: 0;
+ border: 1px solid #dfe4ed;
+ height: 42px;
+ line-height: 42px;
+}
+
+.listtop .tit {
+ font-weight: bold;
+ font-size: 16px
+}
+
+.listtop .pagination {
margin: 0;
+ padding: 0;
}
-.listtop .tit{font-weight: bold;}
-.listtop .pagination{margin: 0;padding: 0;}
.pages {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: flex-end;
- padding: 0px 0px 15px 15px;
+ padding: 0 0 15px 15px;
}
.pages .tit{font-weight: bold;}
.pages .pagination{margin: 0;}
@@ -152,13 +169,14 @@ div:focus {
margin-right: 4px;
}
.formadd {
- padding: 20px 0;
+ padding: 88px 20px 0 20px;
+ font-size: 16px;
// height: calc(100vh - 200px);overflow-y: auto;
.title {
- padding: 10px;font-weight: bold;
- font-size: 20px;
+ padding: 12px;font-weight: bold;
+ font-size: 16px;
background-color: $header-bg;
- text-align: center;
+ text-align: left;
color: #ffffff;
}
.el-row {
@@ -168,8 +186,8 @@ div:focus {
.el-col{
border-right: 1px solid $table-border-color;
border-bottom: 1px solid $table-border-color;
- padding: 5px 15px 5px 15px !important;
- min-height: 50px;
+ padding: 0 15px;
+ min-height: 42px;
line-height: 1;
.el-form-item{
margin-bottom: 0;
@@ -201,7 +219,7 @@ div:focus {
.el-col{
border-right: 1px solid $table-border-color;
border-bottom: 1px solid $table-border-color;
- padding: 0px 15px 0px 15px !important;
+ padding: 0 15px 0 15px !important;
min-height: 50px;
line-height: 50px;
font-size: 14px;
@@ -218,29 +236,56 @@ div:focus {
.bluezi{color: $header-bg;cursor:pointer;}
// 经销商添加样式
.titcon{
- display: flex;flex-direction: row;justify-content: space-around; background-color: #0294d7;flex: 3;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-around;
+ background-color: #0294d7;
+ flex: 3;
}
-.titcon .title{
- padding: 10px;font-weight: bold;
- font-size: 20px;
- text-align: center;
- color: #ffffff;
+
+.titcon .title {
+ padding: 10px;
+ font-weight: bold;
+ font-size: 20px;
+ text-align: center;
+ color: #ffffff;
+}
+
+.titcon .baocun {
+ text-align: right;
+ flex: 2;
+ padding: 5px 20px;
+}
+
+.addinputwda {
+ width: 600px;
}
-.titcon .baocun{text-align: right;flex: 2;padding: 5px 20px;}
-.addinputwda{width: 600px;}
-.searchcon{margin: 0px 0 10px 0;}
-.searchcon .searchbtn{margin: 10px 0;}
+//.searchcon{margin: 0px 0 10px 0;}
+.searchcon .searchbtn {
+ margin: 3px 0;
+}
+.search .btn {
+ padding: 5px 0;
+ border: 1px solid #e0e3eb;
+ text-align: center;
+ margin-bottom: 5px;
+}
// 弹出窗口按钮
-.btnCancel{
- background: #e84026 !important;outline: none;border: none;color: #fff !important;
+.btnCancel {
+ background: #e84026 !important;
+ outline: none;
+ border: none;
+ color: #fff !important;
}
-.btnCancel:hover{
- background: #ed6651 !important;
+
+.btnCancel:hover {
+ background: #ed6651 !important;
}
-.btnFalses{
+
+.btnFalses {
background: #2cab69 !important;outline: none;border: none;
}
.btnFalses:hover{
diff --git a/anrui-base/anrui-base-ui/src/styles/sidebar.scss b/anrui-base/anrui-base-ui/src/styles/sidebar.scss
index ef66650a63..8da05551fa 100644
--- a/anrui-base/anrui-base-ui/src/styles/sidebar.scss
+++ b/anrui-base/anrui-base-ui/src/styles/sidebar.scss
@@ -9,9 +9,6 @@
position: relative;
overflow: hidden;
}
- .TagsView{
- height: 50px;
- }
.home-box{
position: fixed;
top: 60px;
diff --git a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanli.vue b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanli.vue
index dd883568b6..59d82af19f 100644
--- a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanli.vue
+++ b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanli.vue
@@ -5,7 +5,7 @@