Commit 4eebf5d9 by cwq0219

搜索筛选;去掉tab,缓存

1 parent 4265bcac
......@@ -53,6 +53,10 @@ $prefix: d2;
padding: 0 0;
}
.el-range-editor--small.el-input__inner {
width: 100%;
}
.up-btns {
// position: absolute;
// bottom: 7%;
......
......@@ -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;
// 多页面控制器
......
......@@ -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"
......
......@@ -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">
......
......@@ -26,7 +26,7 @@ export const home = {
title: '总览',
authId: '907',
parentId: '1',
cache: true
cache: false
},
component: _import('index')
}
......@@ -65,7 +65,7 @@ export const resources = {
title: '流量管理',
authId: '902',
parentId: '1',
cache: true
cache: false
}
},
'90201': {
......@@ -76,7 +76,7 @@ export const resources = {
title: '客户列表',
authId: '90201',
parentId: '902',
cache: true
cache: false
},
auth: [{
authId: '9020101',
......@@ -96,7 +96,7 @@ export const resources = {
title: '预录信息',
authId: '90202',
parentId: '902',
cache: true
cache: false
},
auth: [{
authId: '9020201',
......@@ -129,7 +129,7 @@ export const resources = {
title: '预录客户',
authId: '901',
parentId: '90202',
cache: true,
cache: false,
sideHidden: true
},
component: _import('customer/editCustomer')
......@@ -142,7 +142,7 @@ export const resources = {
title: '产品管理',
authId: '903',
parentId: '1',
cache: true
cache: false
}
},
'90301': {
......@@ -153,7 +153,7 @@ export const resources = {
title: '素材管理',
authId: '90301',
parentId: '903',
cache: true
cache: false
},
auth: [{
authId: '9030101',
......@@ -193,7 +193,7 @@ export const resources = {
title: '素材编辑',
authId: '90304',
parentId: '90301',
cache: true,
cache: false,
sideHidden: true
},
component: _import('goods/editProduct')
......@@ -206,7 +206,7 @@ export const resources = {
title: '商品管理',
authId: '90302',
parentId: '903',
cache: true
cache: false
},
auth: [{
authId: '9030201',
......@@ -256,7 +256,7 @@ export const resources = {
title: '商品编辑',
authId: '90305',
parentId: '90302',
// cache: true,
// cache: false,
sideHidden: true
},
component: _import('goods/editCommodity')
......@@ -269,7 +269,7 @@ export const resources = {
title: '订单管理',
authId: '904',
parentId: '1',
cache: true
cache: false
}
},
'90401': {
......@@ -280,7 +280,7 @@ export const resources = {
title: '订单列表',
authId: '90401',
parentId: '904',
cache: true
cache: false
},
auth: [{
authId: '9040101',
......@@ -305,7 +305,7 @@ export const resources = {
title: '订单详情',
authId: '90402',
parentId: '90401',
cache: true
cache: false
},
component: _import('orderManage/orderDetail')
},
......@@ -317,7 +317,7 @@ export const resources = {
title: '财务管理',
authId: '905',
parentId: '1',
cache: true
cache: false
}
},
'90501': {
......@@ -328,7 +328,7 @@ export const resources = {
title: '财务列表',
authId: '90501',
parentId: '905',
cache: true
cache: false
},
auth: [{
authId: '9050101',
......@@ -353,7 +353,7 @@ export const resources = {
title: '对账详情',
authId: '90502',
parentId: '90501',
cache: true
cache: false
},
component: _import('financeManage/financeDetail')
},
......@@ -365,7 +365,7 @@ export const resources = {
title: '系统设置',
authId: '906',
parentId: '1',
cache: true
cache: false
}
},
'90601': {
......@@ -376,7 +376,7 @@ export const resources = {
title: '个人信息',
authId: '90601',
parentId: '906',
cache: true
cache: false
},
component: _import('systemConfig/personalInfo')
},
......@@ -388,7 +388,7 @@ export const resources = {
title: '商户管理',
authId: '90603',
parentId: '906',
cache: true
cache: false
},
auth: [{
authId: '9060301',
......@@ -407,7 +407,7 @@ export const resources = {
title: '财务详情',
authId: '90604',
parentId: '90603',
cache: true
cache: false
},
component: _import('systemConfig/merchantDetail')
},
......@@ -419,7 +419,7 @@ export const resources = {
title: '服务4s店',
authId: '90602',
parentId: '906',
cache: true
cache: false
},
auth: [{
authId: '9060201',
......
......@@ -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: '',
......
......@@ -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,
// 表格参数
......
......@@ -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: ''
......
......@@ -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,
// 表格参数
......
......@@ -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,
// 表格参数
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!