Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
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 b957e54c
authored
May 25, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交报表
1 parent
a55ccd2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
10 deletions
src/components/search-form/index.vue
src/views/reportManage/index.vue
src/views/vehicleManage/index.vue
src/components/search-form/index.vue
View file @
b957e54
...
...
@@ -47,6 +47,15 @@
>
</el-date-picker>
</
template
>
<
template
v-else-if=
"item.type === 'singleDate'"
>
<el-date-picker
v-model=
"formModel[item.prop]"
:type=
"item.dateType"
:value-format=
"item.format || 'yyyy-MM'"
:placeholder=
"item.placeholder"
>
</el-date-picker>
</
template
>
<
template
v-else-if=
"item.type === 'selectDate'"
>
<el-select
:style=
"item.selectStyle || 'width: 100px;'"
...
...
src/views/reportManage/index.vue
View file @
b957e54
...
...
@@ -18,12 +18,17 @@
:size=
"btn_size"
icon=
"el-icon-refresh"
>
重置
</el-button>
<el-button
type=
"primary"
:size=
"btn_size"
>
导出Excel
</el-button>
</slot>
</search-form>
<h3>
有效试驾信息
<el-button
class=
"pull-right"
type=
"primary"
:size=
"btn_size"
>
导出Excel
</el-button>
</h3>
<basic-table
ref=
"roleTable"
:tableParams=
"reportTableParams"
...
...
@@ -71,17 +76,19 @@ export default {
type
:
'input'
,
inputType
:
'text'
,
prop
:
'shopCode'
,
placeholder
:
'特约店
代码
'
,
placeholder
:
'特约店
编码|店名称
'
,
},
{
type
:
'
input
'
,
inputType
:
'text
'
,
type
:
'
singleDate
'
,
dateType
:
'month
'
,
prop
:
'shopName'
,
placeholder
:
'
特约店名称
'
,
placeholder
:
'
月份
'
,
}
],
reportTableParams
:
{
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
mutiSelectName
:
'reportManage'
,
mutiSelectUniqueKey
:
'shopCode'
,
listName
:
'list'
,
tableOption
:
false
,
tableColumns
:
[
...
...
src/views/vehicleManage/index.vue
View file @
b957e54
...
...
@@ -4,7 +4,7 @@
<search-form
class=
"searchTop border-shadow vehicle"
:formModel=
"searchForm"
:formList=
"
todo
FormList"
:formList=
"
vehicle
FormList"
>
<slot
name=
"form-slot"
>
<el-button
...
...
@@ -140,7 +140,7 @@ export default {
data
()
{
return
{
searchForm
:
{},
todo
FormList
:
[
vehicle
FormList
:
[
{
label
:
'关键字:'
,
type
:
'input'
,
...
...
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