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 cddbd1d5
authored
Mar 15, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第一轮测试bug修复
1 parent
db341a14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
38 deletions
src/views/orderManage/carDamage.vue
src/views/orderManage/crowdfunding.vue
src/views/orderManage/orderList.vue
src/views/rightsAndInterestsManage/ruleConfigurationList.vue
src/views/vehicleDamage/vehicleDamageList.vue
src/views/orderManage/carDamage.vue
View file @
cddbd1d
...
@@ -125,15 +125,6 @@
...
@@ -125,15 +125,6 @@
}}
<
/span
>
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"施工状态"
align
=
"center"
prop
=
"upgradeFlag"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
scope
.
row
.
constructionFlag
?
constructioOpts
[
scope
.
row
.
constructionFlag
]
:
"未施工"
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"订单状态"
align
=
"center"
prop
=
"status"
>
<
el
-
table
-
column
label
=
"订单状态"
align
=
"center"
prop
=
"status"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
statusOpts
[
scope
.
row
.
status
]
}}
<
/span
>
<
span
>
{{
statusOpts
[
scope
.
row
.
status
]
}}
<
/span
>
...
@@ -354,10 +345,10 @@ export default {
...
@@ -354,10 +345,10 @@ export default {
Y
:
"已升级"
,
Y
:
"已升级"
,
N
:
"不升级"
N
:
"不升级"
}
,
}
,
constructioOpts
:
{
//
constructioOpts:
{
Y
:
"已施工"
,
//
Y: "已施工",
N
:
"未施工"
//
N: "未施工"
}
,
//
}
,
showFormData
:
[
showFormData
:
[
{
{
label
:
"订单状态"
,
label
:
"订单状态"
,
...
@@ -377,14 +368,14 @@ export default {
...
@@ -377,14 +368,14 @@ export default {
optionLabel
:
"confLabel"
,
optionLabel
:
"confLabel"
,
optionsName
:
"upgradeList"
optionsName
:
"upgradeList"
}
,
}
,
{
//
{
label
:
"施工状态"
,
//
label: "施工状态",
name
:
"constructionFlag"
,
//
name: "constructionFlag",
type
:
"select"
,
//
type: "select",
optionId
:
"confId"
,
//
optionId: "confId",
optionLabel
:
"confLabel"
,
//
optionLabel: "confLabel",
optionsName
:
"constructionList"
//
optionsName: "constructionList"
}
,
//
}
,
{
{
label
:
"商品名称"
,
label
:
"商品名称"
,
...
@@ -775,6 +766,7 @@ export default {
...
@@ -775,6 +766,7 @@ export default {
subShopMerchantId
:
""
subShopMerchantId
:
""
}
}
this
.
baseData
.
storeIdList
=
[]
this
.
baseData
.
storeIdList
=
[]
this
.
handleSearch
()
this
.
getOptionsList
()
this
.
getOptionsList
()
}
,
}
,
getServiceStore
(
merchantId
)
{
getServiceStore
(
merchantId
)
{
...
...
src/views/orderManage/crowdfunding.vue
View file @
cddbd1d
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<d2-table
<d2-table
ref=
"crowdfundTable"
ref=
"crowdfundTable"
:has-num=
"true"
:has-num=
"true"
:search-form=
"
s
earchForm"
:search-form=
"
tableS
earchForm"
:table-params=
"tableParams"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
:before-search-fn=
"beforeSearchFn"
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
:show-btn-ids=
"['9040106']"
:show-btn-ids=
"['9040106']"
:data=
"scope.scope"
:data=
"scope.scope"
/>
/>
<span
style=
"margin-right: 40px"
>
<span>
<el-button
<el-button
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
...
@@ -465,6 +465,7 @@ export default {
...
@@ -465,6 +465,7 @@ export default {
})
})
})
})
}
}
console
.
log
(
merchantNameList
,
'9999999999'
)
const
merchantNamesIndex
=
this
.
searchFormData
.
findIndex
(
const
merchantNamesIndex
=
this
.
searchFormData
.
findIndex
(
(
e
)
=>
e
.
name
==
"merchantNames"
(
e
)
=>
e
.
name
==
"merchantNames"
)
)
...
@@ -1124,6 +1125,7 @@ export default {
...
@@ -1124,6 +1125,7 @@ export default {
this
.
tableParams
.
tableColumns
=
tableColumns
this
.
tableParams
.
tableColumns
=
tableColumns
this
.
searchFormData
=
searchFormData
this
.
searchFormData
=
searchFormData
this
.
getOptionsList
(
"searchFormData"
)
this
.
getOptionsList
(
"searchFormData"
)
this
.
getCrowdfundingParams
()
},
},
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
if
(
refreshSigle
)
{
if
(
refreshSigle
)
{
...
@@ -1201,7 +1203,8 @@ export default {
...
@@ -1201,7 +1203,8 @@ export default {
width
:
100%
;
width
:
100%
;
margin-top
:
16px
;
margin-top
:
16px
;
padding
:
20px
40px
;
padding
:
20px
40px
;
position
:
positive
;
position
:
relative
;
box-sizing
:
border-box
;
}
}
.tabs
{
.tabs
{
::v-deep
.el-tabs__header
{
::v-deep
.el-tabs__header
{
...
@@ -1212,7 +1215,7 @@ export default {
...
@@ -1212,7 +1215,7 @@ export default {
.btn-group
{
.btn-group
{
position
:
absolute
;
position
:
absolute
;
right
:
41px
;
right
:
41px
;
top
:
37
px
;
top
:
16
px
;
z-index
:
999
;
z-index
:
999
;
}
}
.assignLabel
{
.assignLabel
{
...
...
src/views/orderManage/orderList.vue
View file @
cddbd1d
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
name
:
"1"
name
:
"1"
},
},
{
{
label
:
"众筹订单"
,
label
:
"
1.3
众筹订单"
,
name
:
"2"
name
:
"2"
},
},
{
{
...
...
src/views/rightsAndInterestsManage/ruleConfigurationList.vue
View file @
cddbd1d
This diff is collapsed.
Click to expand it.
src/views/vehicleDamage/vehicleDamageList.vue
View file @
cddbd1d
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<d2-table-header>
<d2-table-header>
<el-button
<el-button
class=
"default-blue-btn"
class=
"default-blue-btn"
plain
plain
@
click=
"handleExport"
@
click=
"handleExport"
size=
"small"
size=
"small"
>
导出
</el-button
>
导出
</el-button
...
@@ -39,7 +39,8 @@
...
@@ -39,7 +39,8 @@
v-if=
"
v-if=
"
scope.scope.orderStatus == 1 ||
scope.scope.orderStatus == 1 ||
scope.scope.orderStatus == 2 ||
scope.scope.orderStatus == 2 ||
scope.scope.orderStatus == 3
scope.scope.orderStatus == 3 ||
scope.scope.orderStatus == -1
"
"
>
>
<auth-button
:data=
"scope.scope"
/>
<auth-button
:data=
"scope.scope"
/>
...
@@ -59,7 +60,7 @@
...
@@ -59,7 +60,7 @@
<
script
>
<
script
>
import
{
mapActions
,
mapState
}
from
"vuex"
import
{
mapActions
,
mapState
}
from
"vuex"
import
{
getList
,
quotationPrint
,
quotationExport
}
from
"@api/vehicleDamage"
import
{
getList
,
quotationPrint
,
quotationExport
}
from
"@api/vehicleDamage"
export
default
{
export
default
{
name
:
"StockList"
,
name
:
"StockList"
,
data
()
{
data
()
{
...
@@ -72,6 +73,12 @@ export default {
...
@@ -72,6 +73,12 @@ export default {
},
},
searchFormSearch
:
{},
searchFormSearch
:
{},
showFormData
:
[
showFormData
:
[
{
label
:
"客户姓名"
,
name
:
"customerName"
,
type
:
"input"
,
isClear
:
true
},
{
{
label
:
"服务状态"
,
label
:
"服务状态"
,
name
:
"orderStatus"
,
name
:
"orderStatus"
,
...
@@ -96,6 +103,12 @@ export default {
...
@@ -96,6 +103,12 @@ export default {
isClear
:
true
isClear
:
true
},
},
{
{
label
:
"车架号"
,
name
:
"carVin"
,
type
:
"input"
,
isClear
:
true
},
{
label
:
"创建时间"
,
label
:
"创建时间"
,
name
:
"createTime"
,
name
:
"createTime"
,
type
:
"datePicker"
,
type
:
"datePicker"
,
...
@@ -137,7 +150,7 @@ export default {
...
@@ -137,7 +150,7 @@ export default {
.
map
((
item
)
=>
item
.
severType
)
.
map
((
item
)
=>
item
.
severType
)
.
includes
(
cellValue
.
orderStatus
)
.
includes
(
cellValue
.
orderStatus
)
?
this
.
baseData
.
severTypeList
.
find
(
?
this
.
baseData
.
severTypeList
.
find
(
(
item
)
=>
item
.
severType
==
cellValue
.
orderStatus
(
item
)
=>
item
.
severType
==
=
cellValue
.
orderStatus
).
severName
).
severName
:
"-"
:
"-"
}
}
...
@@ -157,6 +170,11 @@ export default {
...
@@ -157,6 +170,11 @@ export default {
width
:
"200px"
width
:
"200px"
},
},
{
{
label
:
"预计权益金额/元"
,
prop
:
"estEquityPrice"
,
width
:
"250px"
},
{
label
:
"实际权益金额/元"
,
label
:
"实际权益金额/元"
,
prop
:
"equityPrice"
,
prop
:
"equityPrice"
,
width
:
"250px"
width
:
"250px"
...
@@ -174,7 +192,7 @@ export default {
...
@@ -174,7 +192,7 @@ export default {
{
severName
:
"待支付"
,
severType
:
2
},
{
severName
:
"待支付"
,
severType
:
2
},
{
severName
:
"已支付"
,
severType
:
3
},
{
severName
:
"已支付"
,
severType
:
3
},
{
severName
:
"战败"
,
severType
:
-
1
}
{
severName
:
"战败"
,
severType
:
-
1
}
]
,
]
},
},
stockMonthVisible
:
false
,
stockMonthVisible
:
false
,
...
@@ -205,13 +223,16 @@ export default {
...
@@ -205,13 +223,16 @@ export default {
quotationPrint
({
id
:
row
.
id
}).
then
((
res
)
=>
{
quotationPrint
({
id
:
row
.
id
}).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
let
oWin
=
window
.
open
(
res
)
let
oWin
=
window
.
open
(
res
)
oWin
.
document
.
fn
=
function
()
{
oWin
.
document
.
fn
=
function
()
{
if
(
oWin
)
{
if
(
oWin
)
{
oWin
.
print
()
oWin
.
print
()
oWin
.
close
()
oWin
.
close
()
}
}
}
}
let
html
=
'<div style="height: 100%;width: 100%;">'
+
`<img src="
${
res
}
" onload="fn()" style="max-height:100%;max-width: 100%;" />`
+
'</div>'
let
html
=
'<div style="height: 100%;width: 100%;">'
+
`<img src="
${
res
}
" onload="fn()" style="max-height:100%;max-width: 100%;" />`
+
"</div>"
oWin
.
document
.
open
()
oWin
.
document
.
open
()
oWin
.
document
.
write
(
html
)
oWin
.
document
.
write
(
html
)
oWin
.
document
.
close
()
oWin
.
document
.
close
()
...
@@ -219,23 +240,23 @@ export default {
...
@@ -219,23 +240,23 @@ export default {
},
},
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
if
(
this
.
searchForm
.
create
Dat
e
?.
length
)
{
if
(
this
.
searchForm
.
create
Tim
e
?.
length
)
{
params
.
minCreateTime
=
params
.
minCreateTime
=
new
Date
(
this
.
searchForm
.
create
Dat
e
[
0
])
new
Date
(
this
.
searchForm
.
create
Tim
e
[
0
])
.
toLocaleDateString
()
.
toLocaleDateString
()
.
replace
(
/
\/
/g
,
"-"
)
+
" 00:00:00"
.
replace
(
/
\/
/g
,
"-"
)
+
" 00:00:00"
params
.
maxCreateTime
=
params
.
maxCreateTime
=
new
Date
(
this
.
searchForm
.
create
Dat
e
[
1
])
new
Date
(
this
.
searchForm
.
create
Tim
e
[
1
])
.
toLocaleDateString
()
.
toLocaleDateString
()
.
replace
(
/
\/
/g
,
"-"
)
+
" 23:59:59"
.
replace
(
/
\/
/g
,
"-"
)
+
" 23:59:59"
}
}
delete
params
.
create
Dat
e
delete
params
.
create
Tim
e
return
params
return
params
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
this
.
searchFormSearch
=
this
.
getParams
()
this
.
searchFormSearch
=
this
.
getParams
()
delete
this
.
searchFormSearch
.
create
Dat
e
delete
this
.
searchFormSearch
.
create
Tim
e
resolve
()
resolve
()
})
})
},
},
...
...
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