Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4eebf5d9
authored
Feb 02, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
搜索筛选;去掉tab,缓存
1 parent
4265bcac
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
73 additions
and
37 deletions
src/assets/style/public.scss
src/assets/style/theme/theme-base.scss
src/components/d2-search/index.vue
src/layout/header-aside/layout.vue
src/router/routes.js
src/views/customer/customerList.vue
src/views/customer/recordList.vue
src/views/financeManage/financeList.vue
src/views/goods/commodity.vue
src/views/goods/product.vue
src/assets/style/public.scss
View file @
4eebf5d
...
...
@@ -53,6 +53,10 @@ $prefix: d2;
padding
:
0
0
;
}
.el-range-editor--small.el-input__inner
{
width
:
100%
;
}
.up-btns
{
// position: absolute;
// bottom: 7%;
...
...
src/assets/style/theme/theme-base.scss
View file @
4eebf5d
...
...
@@ -245,7 +245,8 @@
.d2-theme-container-main
{
// 主体部分分为多页面控制器 和主体
.d2-theme-container-main-header
{
height
:
40px
;
// height: 40px;
height
:
2px
;
// margin: 20px 16px;
margin-bottom
:
20px
;
// 多页面控制器
...
...
src/components/d2-search/index.vue
View file @
4eebf5d
...
...
@@ -17,7 +17,7 @@
<el-form-item
:label=
"item.label ? (item.label + ':') : ''"
>
<el-input
v-if=
"item.type === 'input'"
:placeholder=
"
'请输入' + item.label
"
:placeholder=
"
item.placeholder || ('请输入' + item.label)
"
v-model=
"searchForm[item.name]"
:disabled=
"item.isDisabled"
:clearable=
"item.isClear || false"
...
...
src/layout/header-aside/layout.vue
View file @
4eebf5d
...
...
@@ -64,7 +64,7 @@
<div
v-if=
"!searchActive"
class=
"d2-theme-container-main-layer"
flex=
"dir:top"
>
<!-- tab -->
<div
class=
"d2-theme-container-main-header"
flex-box=
"0"
>
<
d2-tabs/
>
<
!--
<d2-tabs/>
--
>
</div>
<!-- 页面 -->
<div
class=
"d2-theme-container-main-body"
flex-box=
"1"
>
...
...
src/router/routes.js
View file @
4eebf5d
...
...
@@ -26,7 +26,7 @@ export const home = {
title
:
'总览'
,
authId
:
'907'
,
parentId
:
'1'
,
cache
:
tru
e
cache
:
fals
e
},
component
:
_import
(
'index'
)
}
...
...
@@ -65,7 +65,7 @@ export const resources = {
title
:
'流量管理'
,
authId
:
'902'
,
parentId
:
'1'
,
cache
:
tru
e
cache
:
fals
e
}
},
'90201'
:
{
...
...
@@ -76,7 +76,7 @@ export const resources = {
title
:
'客户列表'
,
authId
:
'90201'
,
parentId
:
'902'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9020101'
,
...
...
@@ -96,7 +96,7 @@ export const resources = {
title
:
'预录信息'
,
authId
:
'90202'
,
parentId
:
'902'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9020201'
,
...
...
@@ -129,7 +129,7 @@ export const resources = {
title
:
'预录客户'
,
authId
:
'901'
,
parentId
:
'90202'
,
cache
:
tru
e
,
cache
:
fals
e
,
sideHidden
:
true
},
component
:
_import
(
'customer/editCustomer'
)
...
...
@@ -142,7 +142,7 @@ export const resources = {
title
:
'产品管理'
,
authId
:
'903'
,
parentId
:
'1'
,
cache
:
tru
e
cache
:
fals
e
}
},
'90301'
:
{
...
...
@@ -153,7 +153,7 @@ export const resources = {
title
:
'素材管理'
,
authId
:
'90301'
,
parentId
:
'903'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9030101'
,
...
...
@@ -193,7 +193,7 @@ export const resources = {
title
:
'素材编辑'
,
authId
:
'90304'
,
parentId
:
'90301'
,
cache
:
tru
e
,
cache
:
fals
e
,
sideHidden
:
true
},
component
:
_import
(
'goods/editProduct'
)
...
...
@@ -206,7 +206,7 @@ export const resources = {
title
:
'商品管理'
,
authId
:
'90302'
,
parentId
:
'903'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9030201'
,
...
...
@@ -256,7 +256,7 @@ export const resources = {
title
:
'商品编辑'
,
authId
:
'90305'
,
parentId
:
'90302'
,
// cache:
tru
e,
// cache:
fals
e,
sideHidden
:
true
},
component
:
_import
(
'goods/editCommodity'
)
...
...
@@ -269,7 +269,7 @@ export const resources = {
title
:
'订单管理'
,
authId
:
'904'
,
parentId
:
'1'
,
cache
:
tru
e
cache
:
fals
e
}
},
'90401'
:
{
...
...
@@ -280,7 +280,7 @@ export const resources = {
title
:
'订单列表'
,
authId
:
'90401'
,
parentId
:
'904'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9040101'
,
...
...
@@ -305,7 +305,7 @@ export const resources = {
title
:
'订单详情'
,
authId
:
'90402'
,
parentId
:
'90401'
,
cache
:
tru
e
cache
:
fals
e
},
component
:
_import
(
'orderManage/orderDetail'
)
},
...
...
@@ -317,7 +317,7 @@ export const resources = {
title
:
'财务管理'
,
authId
:
'905'
,
parentId
:
'1'
,
cache
:
tru
e
cache
:
fals
e
}
},
'90501'
:
{
...
...
@@ -328,7 +328,7 @@ export const resources = {
title
:
'财务列表'
,
authId
:
'90501'
,
parentId
:
'905'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9050101'
,
...
...
@@ -353,7 +353,7 @@ export const resources = {
title
:
'对账详情'
,
authId
:
'90502'
,
parentId
:
'90501'
,
cache
:
tru
e
cache
:
fals
e
},
component
:
_import
(
'financeManage/financeDetail'
)
},
...
...
@@ -365,7 +365,7 @@ export const resources = {
title
:
'系统设置'
,
authId
:
'906'
,
parentId
:
'1'
,
cache
:
tru
e
cache
:
fals
e
}
},
'90601'
:
{
...
...
@@ -376,7 +376,7 @@ export const resources = {
title
:
'个人信息'
,
authId
:
'90601'
,
parentId
:
'906'
,
cache
:
tru
e
cache
:
fals
e
},
component
:
_import
(
'systemConfig/personalInfo'
)
},
...
...
@@ -388,7 +388,7 @@ export const resources = {
title
:
'商户管理'
,
authId
:
'90603'
,
parentId
:
'906'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9060301'
,
...
...
@@ -407,7 +407,7 @@ export const resources = {
title
:
'财务详情'
,
authId
:
'90604'
,
parentId
:
'90603'
,
cache
:
tru
e
cache
:
fals
e
},
component
:
_import
(
'systemConfig/merchantDetail'
)
},
...
...
@@ -419,7 +419,7 @@ export const resources = {
title
:
'服务4s店'
,
authId
:
'90602'
,
parentId
:
'906'
,
cache
:
tru
e
cache
:
fals
e
},
auth
:
[{
authId
:
'9060201'
,
...
...
src/views/customer/customerList.vue
View file @
4eebf5d
...
...
@@ -11,7 +11,7 @@
:searchForm=
"searchForm"
:formData=
"showFormData"
>
<p>
<
!--
<
p>
<el-input
size=
"small"
class=
"custom-input"
...
...
@@ -26,7 +26,7 @@
placeholder=
"车架号或客户姓名或钥匙号"
suffix-icon=
"el-icon-search"
></el-input>
</p>
</p>
-->
</d2-search>
<div
class=
"up-btns"
>
<el-button
...
...
@@ -294,6 +294,18 @@ export default {
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'sourceList'
},
{
label
:
'流量信息'
,
name
:
'name'
,
type
:
'input'
,
placeholder
:
'请输入推荐人或转化员姓名'
,
isClear
:
true
},
{
label
:
'客户信息'
,
name
:
'keyword'
,
type
:
'input'
,
placeholder
:
'车架号或客户姓名或钥匙号'
,
isClear
:
true
}],
searchForm
:
{
merchantId
:
''
,
...
...
src/views/customer/recordList.vue
View file @
4eebf5d
...
...
@@ -11,14 +11,14 @@
:searchForm=
"searchForm"
:formData=
"showFormData"
>
<p
class=
"custom-input"
>
<
!--
<
p
class=
"custom-input"
>
<el-input
size=
"small"
v-model=
"searchForm.standNoOrCustomerName"
placeholder=
"客户姓名或车架号或钥匙号"
suffix-icon=
"el-icon-search"
></el-input>
</p>
</p>
-->
</d2-search>
<div
class=
"up-btns"
>
<el-button
...
...
@@ -91,9 +91,7 @@
label=
"园区店:"
prop=
"yqMerchantId"
>
<el-select
v-model=
"fileForm.yqMerchantId"
>
<el-select
v-model=
"fileForm.yqMerchantId"
>
<el-option
v-for=
"item in baseData.parkServiceList.filter(i => i.merchantName !== '全部')"
:key=
"item.merchantId"
...
...
@@ -247,6 +245,12 @@ export default {
name
:
'entryTime'
,
type
:
'datePicker'
,
pickerOptions
:
'rangePickerOptions'
},
{
label
:
'客户信息'
,
name
:
'standNoOrCustomerName'
,
type
:
'input'
,
placeholder
:
'客户姓名或车架号或钥匙号'
,
isClear
:
true
}],
getListApi
:
getList
,
// 表格参数
...
...
src/views/financeManage/financeList.vue
View file @
4eebf5d
...
...
@@ -95,7 +95,7 @@
:formData=
"showFormData"
style=
"background: #fff;"
>
<p>
<
!--
<
p>
<el-input
size=
"small"
class=
"custom-input"
...
...
@@ -103,7 +103,7 @@
placeholder=
"请输入订单编号"
suffix-icon=
"el-icon-search"
></el-input>
</p>
</p>
-->
<!--
<el-row
style=
"clear: both"
>
<el-col
span=
"8"
>
<el-select
...
...
@@ -362,6 +362,11 @@ export default {
optionId
:
'merchantId'
,
optionLabel
:
'merchantName'
,
optionsName
:
'storeIdList'
},
{
label
:
'订单编号'
,
name
:
'subOrderCode'
,
type
:
'input'
,
isClear
:
true
}],
tableParams
:
{
btnId
:
''
...
...
src/views/goods/commodity.vue
View file @
4eebf5d
...
...
@@ -11,7 +11,7 @@
:searchForm=
"searchForm"
:formData=
"showFormData"
>
<p>
<
!--
<
p>
<el-input
size=
"small"
class=
"custom-input"
...
...
@@ -19,7 +19,7 @@
placeholder=
"请输入商品名称"
suffix-icon=
"el-icon-search"
></el-input>
</p>
</p>
-->
</d2-search>
<div
class=
"up-btns"
>
<el-button
...
...
@@ -134,6 +134,11 @@ export default {
name
:
'createTime'
,
type
:
'datePicker'
,
pickerOptions
:
'rangePickerOptions'
},
{
label
:
'商品名称'
,
name
:
'goodsName'
,
type
:
'input'
,
isClear
:
true
}],
getListApi
:
getList
,
// 表格参数
...
...
src/views/goods/product.vue
View file @
4eebf5d
...
...
@@ -11,7 +11,7 @@
:searchForm=
"searchForm"
:formData=
"showFormData"
>
<p>
<
!--
<
p>
<el-input
size=
"small"
class=
"custom-input"
...
...
@@ -19,7 +19,7 @@
placeholder=
"请输入素材名称"
suffix-icon=
"el-icon-search"
></el-input>
</p>
</p>
-->
</d2-search>
<div
class=
"up-btns"
>
<el-button
...
...
@@ -125,6 +125,11 @@ export default {
name
:
'createTime'
,
type
:
'datePicker'
,
pickerOptions
:
'rangePickerOptions'
},
{
label
:
'素材名称'
,
name
:
'goodsName'
,
type
:
'input'
,
isClear
:
true
}],
getListApi
:
getList
,
// 表格参数
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment