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 fda5320f
authored
Jun 03, 2021
by
冒粤蓉
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
0c68ad61
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
13 deletions
src/App.vue
src/components/basic-table/index.vue
src/main.js
src/views/specialShop/addShop/index.vue
src/views/specialShop/index.vue
src/views/testDrive/checkList.vue
src/views/vehicleManage/index.vue
src/views/vehicleSubmit/vehicleCheck/index.vue
src/App.vue
View file @
fda5320
...
...
@@ -72,7 +72,8 @@ export default {
this
.
$root
.
parentRouter
.
push
(
path
);
}
},
created
()
{
mounted
()
{
}
}
</
script
>
...
...
src/components/basic-table/index.vue
View file @
fda5320
...
...
@@ -288,6 +288,7 @@ export default {
this
.
data
=
data
[
this
.
tableParams
.
listName
]
this
.
total
=
data
.
totalElements
this
.
loading
=
false
this
.
$emit
(
'dataFinished'
);
}).
catch
(()
=>
{
this
.
loading
=
false
})
...
...
src/main.js
View file @
fda5320
...
...
@@ -34,7 +34,8 @@ function render({ data = {} , container } = {}) {
data
(){
return
{
parentRouter
:
data
.
router
,
parentVuex
:
data
.
store
parentVuex
:
data
.
store
,
parentCommon
:
data
.
common
}
},
render
:
h
=>
h
(
App
),
...
...
src/views/specialShop/addShop/index.vue
View file @
fda5320
...
...
@@ -12,7 +12,7 @@
<el-form-item
class=
"special-shop-input"
label=
"特约店名称:"
prop=
"specialShop"
>
<el-cascader
ref=
"specialShopCascader"
v-model=
"form.specialShop
Id
"
v-model=
"form.specialShop
Name
"
:value=
"form.specialShopName"
placeholder=
"请选择特约店名称"
:options=
"specialShopOptions"
...
...
@@ -25,7 +25,7 @@
</el-form-item>
<el-form-item
label=
"特约店编码:"
>
<el-input
v-model=
"form.specialShop
Id
"
v-model=
"form.specialShop
Code
"
:size=
"btn_size"
readonly
disabled
...
...
@@ -346,8 +346,8 @@ export default {
// 特约店级联选项
if
(
val
&&
val
.
length
>
1
)
{
const
thisNodes
=
this
.
$refs
[
'specialShopCascader'
].
getCheckedNodes
()[
0
];
this
.
form
.
specialShopId
=
val
[
1
]
;
this
.
form
.
specialShop
Name
=
thisNodes
.
label
;
this
.
form
.
specialShopId
=
thisNodes
.
data
.
id
;
this
.
form
.
specialShop
Code
=
thisNodes
.
data
.
code
;
}
},
updateFence
(){
...
...
src/views/specialShop/index.vue
View file @
fda5320
...
...
@@ -80,6 +80,7 @@
:tableParams=
"shopTableParams"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
@
dataFinished=
"tableDataFinished"
:hasNum=
"false"
>
<span
...
...
@@ -211,6 +212,11 @@ export default {
})
},
methods
:
{
tableDataFinished
()
{
this
.
$nextTick
(()
=>
{
this
.
$root
.
parentCommon
.
setAuthBtn
();
})
},
refresh
()
{
this
.
searchForm
=
{}
this
.
$refs
.
shopTable
.
refreshTable
()
...
...
src/views/testDrive/checkList.vue
View file @
fda5320
...
...
@@ -31,6 +31,7 @@
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:hasNum=
"false"
@
dataFinished=
"tableDataFinished"
>
<span
slot=
"status"
...
...
@@ -48,13 +49,13 @@
>
<template
v-for=
"(j, idx) in testDriveTableParams.tableOption.btnList"
>
<!-- approvalStatus为1也就是未审核状态展示全部按钮 -->
<template
v-if=
"scope.scope.approvalStatus == 1"
>
<template
v-if=
"scope.scope.approvalStatus == 1
&& j.remark !== 'viewOrigin'
"
>
<el-button
:key=
"idx"
:type=
"j.type || 'text'"
size=
"mini"
plain
@
click=
"btnClick(j.pType, scope.scope)"
@
click=
"btnClick(j.pType, scope.scope
, j.remark
)"
>
{{
j
.
name
}}
</el-button>
</
template
>
<
template
v-if=
"(j.pType !== 'pass' && j.pType !== 'reject') && scope.scope.approvalStatus != 1 && scope.scope.isAdd == 2"
>
...
...
@@ -63,17 +64,17 @@
:type=
"j.type || 'text'"
size=
"mini"
plain
@
click=
"btnClick(j.pType, scope.scope)"
@
click=
"btnClick(j.pType, scope.scope
, j.remark
)"
>
{{
j
.
name
}}
</el-button>
</
template
>
<!-- isAdd => 1: 只展示查看原围栏 2: 展示查看原围栏和修改后的围栏 -->
<
template
v-if=
"(j.remark == 'view
Origin
') && scope.scope.approvalStatus != 1 && scope.scope.isAdd == 1"
>
<
template
v-if=
"(j.remark == 'view
Updated
') && scope.scope.approvalStatus != 1 && scope.scope.isAdd == 1"
>
<el-button
:key=
"idx"
:type=
"j.type || 'text'"
size=
"mini"
plain
@
click=
"btnClick(j.pType, scope.scope)"
@
click=
"btnClick(j.pType, scope.scope
, j.remark
)"
>
{{
j
.
name
}}
</el-button>
</
template
>
</template>
...
...
@@ -200,7 +201,12 @@ export default {
}
},
methods
:
{
btnClick
(
pType
,
scope
)
{
tableDataFinished
()
{
this
.
$nextTick
(()
=>
{
this
.
$root
.
parentCommon
.
setAuthBtn
();
})
},
btnClick
(
pType
,
scope
,
remark
)
{
const
{
approvalId
}
=
scope
;
this
.
approvalParams
.
id
=
approvalId
;
switch
(
pType
)
{
...
...
@@ -215,7 +221,8 @@ export default {
break
case
'view'
:
let
query
=
{
fenceId
:
scope
.
bizId
,
fenceId
:
remark
===
'viewUpdated'
?
scope
.
bizId
:
scope
.
fenceId
,
btnRemark
:
remark
,
readonlyStatus
:
true
};
const
path
=
'/oEshield#/monitor/editFence'
;
...
...
src/views/vehicleManage/index.vue
View file @
fda5320
...
...
@@ -42,6 +42,7 @@
:tableParams=
"vehicleTableParams"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
@
dataFinished=
"tableDataFinished"
:hasNum=
"false"
>
<span
...
...
@@ -370,6 +371,11 @@ export default {
},
methods
:
{
tableDataFinished
()
{
this
.
$nextTick
(()
=>
{
this
.
$root
.
parentCommon
.
setAuthBtn
();
})
},
refresh
()
{
this
.
searchForm
=
{}
this
.
$refs
.
vehicleForm
.
refreshTable
()
...
...
src/views/vehicleSubmit/vehicleCheck/index.vue
View file @
fda5320
...
...
@@ -37,6 +37,7 @@
:tableParams=
"checkTableParams"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
@
dataFinished=
"tableDataFinished"
:hasNum=
"false"
>
<span
...
...
@@ -192,6 +193,11 @@ export default {
})
},
methods
:
{
tableDataFinished
()
{
this
.
$nextTick
(()
=>
{
this
.
$root
.
parentCommon
.
setAuthBtn
();
})
},
refresh
()
{
this
.
searchForm
=
{}
this
.
$refs
.
vehicleCheckTable
.
refreshTable
()
...
...
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