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 daf1384a
authored
May 30, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
8b223115
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
src/views/reportManage/index.vue
src/views/toDo/index.vue
src/views/vehicleManage/index.vue
src/views/vehicleSubmit/addVehicle/index.vue
src/views/vehicleSubmit/vehicleCheck/index.vue
src/views/reportManage/index.vue
View file @
daf1384
...
@@ -88,7 +88,7 @@ export default {
...
@@ -88,7 +88,7 @@ export default {
prop
:
'vehicleTypeName'
prop
:
'vehicleTypeName'
},
{
},
{
label
:
'车架号VIN码'
,
label
:
'车架号VIN码'
,
prop
:
'
s
n'
,
prop
:
'
vi
n'
,
width
:
120
width
:
120
},
{
},
{
label
:
'时间'
,
label
:
'时间'
,
...
...
src/views/toDo/index.vue
View file @
daf1384
...
@@ -17,11 +17,12 @@
...
@@ -17,11 +17,12 @@
type=
"primary"
type=
"primary"
:size=
"btn_size"
:size=
"btn_size"
icon=
"el-icon-refresh"
icon=
"el-icon-refresh"
@
click=
"reset"
>
重置
</el-button>
>
重置
</el-button>
</slot>
</slot>
</search-form>
</search-form>
<basic-table
<basic-table
ref=
"
role
Table"
ref=
"
todo
Table"
:tableParams=
"todoTableParams"
:tableParams=
"todoTableParams"
:getListApi=
"getListApi"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:searchForm=
"searchForm"
...
@@ -122,6 +123,10 @@ export default {
...
@@ -122,6 +123,10 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
reset
()
{
this
.
searchForm
=
{}
this
.
$refs
.
todoTable
.
refreshTable
()
},
btnClick
(
type
,
scope
)
{
btnClick
(
type
,
scope
)
{
switch
(
type
)
{
switch
(
type
)
{
case
'todo'
:
case
'todo'
:
...
...
src/views/vehicleManage/index.vue
View file @
daf1384
...
@@ -564,6 +564,6 @@ export default {
...
@@ -564,6 +564,6 @@ export default {
<
style
scope
>
<
style
scope
>
.vehicle
.el-form
.el-input__inner
{
.vehicle
.el-form
.el-input__inner
{
width
:
3
2
0px
;
width
:
3
5
0px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/vehicleSubmit/addVehicle/index.vue
View file @
daf1384
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
],
],
vehicleRules
:
{
vehicleRules
:
{
licensePlate
:
[{
required
:
true
,
message
:
'请输入车牌'
,
trigger
:
'blur'
}],
licensePlate
:
[{
required
:
true
,
message
:
'请输入车牌'
,
trigger
:
'blur'
}],
buyType
:
[{
required
:
true
,
message
:
'请选择购置方式'
,
trigger
:
'
change
'
}],
buyType
:
[{
required
:
true
,
message
:
'请选择购置方式'
,
trigger
:
'
blur
'
}],
saleManager
:
[{
required
:
true
,
message
:
'请输入销售经理'
,
trigger
:
'blur'
}],
saleManager
:
[{
required
:
true
,
message
:
'请输入销售经理'
,
trigger
:
'blur'
}],
saleManagerPhone
:
[{
required
:
true
,
message
:
'请输入销售经理电话'
,
trigger
:
'blur'
}]
saleManagerPhone
:
[{
required
:
true
,
message
:
'请输入销售经理电话'
,
trigger
:
'blur'
}]
},
},
...
@@ -190,12 +190,14 @@ export default {
...
@@ -190,12 +190,14 @@ export default {
'$route.params'
(
val
)
{
'$route.params'
(
val
)
{
console
.
log
(
val
,
'watch'
)
console
.
log
(
val
,
'watch'
)
if
(
val
.
vehicleId
)
{
if
(
val
.
vehicleId
)
{
this
.
vehicleForm
=
_
.
cloneDeep
(
this
.
vehicleDefalutForm
)
if
(
this
.
$refs
.
vehicleSubmitForm
)
this
.
$refs
.
vehicleSubmitForm
.
$children
[
0
].
clearValidate
()
if
(
this
.
$refs
.
vehicleSubmitForm
)
this
.
$refs
.
vehicleSubmitForm
.
$children
[
0
].
clearValidate
()
findVehDoc
({
vehicleId
:
val
.
vehicleId
}).
then
(
res
=>
{
findVehDoc
({
vehicleId
:
val
.
vehicleId
}).
then
(
res
=>
{
if
(
val
.
url
==
'submit'
)
{
if
(
val
.
url
==
'submit'
)
{
this
.
submitData
.
forEach
(
item
=>
{
this
.
submitData
.
forEach
(
item
=>
{
this
.
$set
(
this
.
vehicleForm
,
item
,
res
.
data
[
item
])
this
.
$set
(
this
.
vehicleForm
,
item
,
res
.
data
[
item
])
})
})
}
else
{
}
else
{
this
.
checkData
.
forEach
(
item
=>
{
this
.
checkData
.
forEach
(
item
=>
{
this
.
$set
(
this
.
vehicleForm
,
item
,
res
.
data
[
item
])
this
.
$set
(
this
.
vehicleForm
,
item
,
res
.
data
[
item
])
...
@@ -215,6 +217,7 @@ export default {
...
@@ -215,6 +217,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
params
=
this
.
$route
.
params
let
params
=
this
.
$route
.
params
this
.
vehicleForm
=
_
.
cloneDeep
(
this
.
vehicleDefalutForm
)
if
(
this
.
$refs
.
vehicleSubmitForm
)
this
.
$refs
.
vehicleSubmitForm
.
$children
[
0
].
clearValidate
()
if
(
this
.
$refs
.
vehicleSubmitForm
)
this
.
$refs
.
vehicleSubmitForm
.
$children
[
0
].
clearValidate
()
findVehDoc
({
vehicleId
:
params
.
vehicleId
}).
then
(
res
=>
{
findVehDoc
({
vehicleId
:
params
.
vehicleId
}).
then
(
res
=>
{
if
(
params
.
url
==
'submit'
)
{
if
(
params
.
url
==
'submit'
)
{
...
...
src/views/vehicleSubmit/vehicleCheck/index.vue
View file @
daf1384
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
label
:
'关键字:'
,
label
:
'关键字:'
,
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
prop
:
'
status
'
,
prop
:
'
keyword
'
,
placeholder
:
'特约店编码|店名称|围栏名称'
,
placeholder
:
'特约店编码|店名称|围栏名称'
,
},
},
{
{
...
...
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