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 65db206c
authored
Jan 16, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
紧急版本功能代码及BUG修复
1 parent
f2a1f08b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
164 additions
and
63 deletions
src/common/constants.js
src/views/earlyWarningManager/staff/indexControl.vue
src/views/orderManage/carDamage.vue
src/views/orderManage/images/fileIcon.png
src/views/orderManage/orderDetail.vue
src/views/residentManage/inStorePoints/components/editDialog.vue
src/views/systemConfig/sceneCategoryManage/categoryList_new.vue
src/views/systemConfig/sceneCategoryManage/index.vue
src/views/systemConfig/sceneCategoryManage/sceneList.vue
src/common/constants.js
View file @
65db206
...
...
@@ -1058,3 +1058,10 @@ export const operationResultOpt = [
{
confId
:
"Y"
,
confValue
:
"成功"
},
{
confId
:
"N"
,
confValue
:
"失败"
}
]
// 订单管理 会员权益订单 上传协议
export
const
zyVoucherStatusOpt
=
[
{
confId
:
"0"
,
confValue
:
"无需上传"
},
{
confId
:
"1"
,
confValue
:
"待上传"
},
{
confId
:
"2"
,
confValue
:
"已上传"
}
]
src/views/earlyWarningManager/staff/indexControl.vue
View file @
65db206
...
...
@@ -18,24 +18,6 @@
</div>
</div>
</div>
<!--
<d2-container
class=
"staffWarn"
>
<div
class=
"header"
slot=
"header"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClickTabs"
>
<el-tab-pane
label=
"预警看板"
name=
"noticeBoard"
/>
<el-tab-pane
label=
"预警明细"
name=
"details"
/>
</el-tabs>
</div>
<div>
<notice-board
v-if=
"activeName === 'noticeBoard'"
@
gotoDetail=
"gotoDetail"
/>
<staff-detail
v-if=
"activeName === 'details'"
:params-obj=
"recordInfo"
/>
</div>
</d2-container>
-->
</
template
>
<
script
>
...
...
src/views/orderManage/carDamage.vue
View file @
65db206
...
...
@@ -22,8 +22,8 @@
<d2-table-header>
<span
slot=
"left"
>
累计订单金额:¥
{{
totalCount
}}
元
</span>
<!-- 车损权益营收概况 分润&成本分析 导出 -->
<auth-button
:show-btn-ids=
"['9040129', '9040130', '9040131']"
category=
"Button"
/>
<auth-button
:show-btn-ids=
"['9040129', '9040130', '9040131']"
category=
"Button"
/>
</d2-table-header>
<el-table
:data=
"tableData"
v-loading=
"$store.state.d2admin.loading.value"
...
...
@@ -287,6 +287,13 @@
<span>
{{
invoiceStatusOpts
[
scope
.
row
.
invoiceStatus
]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"上传协议"
align=
"center"
prop=
"zyVoucherStatus"
>
<
template
slot-scope=
"scope"
>
<span>
{{
zyVoucherStatusOpts
[
scope
.
row
.
zyVoucherStatus
]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
>
...
...
@@ -406,7 +413,7 @@ import {
cancelDivideAccountsAPI
}
from
"@api/order"
import
{
getDiversionMerchantRef
,
listShop4sByRef
}
from
"@api/merchant"
import
{
manageTypeList
,
BaseData
}
from
"@/common/constants"
import
{
manageTypeList
,
BaseData
,
zyVoucherStatusOpt
}
from
"@/common/constants"
import
{
mapActions
,
mapState
,
mapMutations
}
from
"vuex"
import
{
getParkStore
}
from
"@api/editCustomer"
import
chooseRuleDialog
from
'./chooseRuleDialog'
...
...
@@ -451,12 +458,18 @@ export default {
1
:
'未分账'
,
2
:
'已分账'
,
4
:
'待分账'
,
5
:
'分账中'
5
:
'分账中'
,
6
:
'挂单'
},
invoiceStatusOpts
:
{
1
:
'未开票'
,
2
:
'已开票'
},
zyVoucherStatusOpts
:
{
0
:
'无需上传'
,
1
:
'待上传'
,
2
:
' 已上传'
},
showFormData
:
[
{
label
:
"客户姓名"
,
...
...
@@ -609,6 +622,7 @@ export default {
label
:
'分账状态'
,
name
:
'profitAllocationStatus'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'profitAllocationStatusList'
...
...
@@ -644,15 +658,23 @@ export default {
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'invoiceStatusList'
},{
label
:
'客户来源'
,
name
:
'salesType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'salesTypeList'
}
},
{
label
:
'客户来源'
,
name
:
'salesType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'salesTypeList'
},
{
label
:
'上传协议'
,
name
:
'zyVoucherStatus'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'zyVoucherStatusOpt'
}
],
searchForm
:
{
sceneType
:
0
,
...
...
@@ -671,7 +693,9 @@ export default {
paySuccessDate
:
''
,
provinceId
:
''
,
invoiceStatus
:
''
,
salesType
:
''
salesType
:
''
,
zyVoucherStatus
:
''
,
profitAllocationStatus
:
''
},
baseData
:
{
orderStatusList
:
[
...
...
@@ -768,6 +792,10 @@ export default {
{
confId
:
'5'
,
confLabel
:
'分账中'
},
{
confId
:
'6'
,
confLabel
:
'挂单'
}
],
businessTypeList
:
[
...
...
@@ -791,8 +819,8 @@ export default {
confLabel
:
'已开票'
}
],
salesTypeList
:[
{
salesTypeList
:
[
{
confId
:
'0'
,
confLabel
:
'售前'
},
...
...
@@ -800,7 +828,8 @@ export default {
confId
:
'1'
,
confLabel
:
'售后'
}
]
],
zyVoucherStatusOpt
:
Util
.
deepClone
(
zyVoucherStatusOpt
)
},
tableData
:
[],
total
:
0
,
...
...
@@ -1018,7 +1047,9 @@ export default {
businessType
:
""
,
paySuccessDate
:
''
,
provinceId
:
''
,
invoiceStatus
:
''
invoiceStatus
:
''
,
zyVoucherStatus
:
''
,
profitAllocationStatus
:
''
}
// this.baseData.storeIdList = []
this
.
handleSearch
()
...
...
src/views/orderManage/images/fileIcon.png
0 → 100644
View file @
65db206
521 Bytes
src/views/orderManage/orderDetail.vue
View file @
65db206
...
...
@@ -84,6 +84,18 @@
</div>
</el-form-item>
<el-form-item
label=
"延保协议:"
class=
"photoItem photoItemList"
v-if=
"$$(detail.payOrder, 'zyVoucherUrl')"
>
<div
class=
"picItem"
>
<img
class=
"icon"
src=
"./images/fileIcon.png"
>
<span
class=
"label"
>
文件
</span>
<span
class=
"handle"
@
click=
"handleEnlargeFile(detail.payOrder.zyVoucherUrl)"
>
点击查看
</span>
</div>
</el-form-item>
<el-form-item
class=
"remarkItem"
label=
"备注:"
>
{{
detail
.
remark
}}
<el-button
type=
"text"
...
...
@@ -436,6 +448,18 @@ export default {
this
.
imgList
=
url
.
map
(
item
=>
item
[
name
])
this
.
imgUrlName
=
name
},
handleEnlargeFile
(
url
)
{
url
=
'http://qcimg01.glsx.com.cn:7060/group1/M00/07/46/wKgD3mdD9oaARUE4AABxS-wgZWk991.pdf'
if
(
url
)
{
var
fileExtension
=
url
.
split
(
'.'
).
pop
().
toLowerCase
()
// 获取文件扩展名
if
(
fileExtension
===
'png'
||
fileExtension
===
'jpg'
||
fileExtension
===
'jpeg'
||
fileExtension
===
'gif'
)
{
this
.
imgVisible
=
!
this
.
imgVisible
this
.
imgList
=
[
url
]
}
else
if
(
fileExtension
===
'pdf'
)
{
window
.
open
(
url
)
}
}
},
getSummaries
(
param
)
{
const
{
columns
}
=
param
const
sums
=
[]
...
...
src/views/residentManage/inStorePoints/components/editDialog.vue
View file @
65db206
...
...
@@ -20,7 +20,8 @@
:precision=
"1"
:step=
"0.1"
:min=
"-9.9"
:max=
"9.9"
></el-input-number>
:max=
"9.9"
disabled
></el-input-number>
</div>
</glsx-combi-form>
</div>
...
...
@@ -56,15 +57,15 @@ export default {
},
editChildRef
:
'editChildRef'
,
formRules
:
{
ruleDescription
:
[{
required
:
true
,
message
:
'请填写规则说明'
,
trigger
:
'blur'
}]
,
pointsValue
:
[{
required
:
true
,
message
:
'请填写积分值'
,
trigger
:
'change'
},
{
validator
:
checkPointValue
,
trigger
:
'change'
}]
ruleDescription
:
[{
required
:
true
,
message
:
'请填写规则说明'
,
trigger
:
'blur'
}]
//
pointsValue: [{
//
required: true,
//
message: '请填写积分值',
//
trigger: 'change'
//
}, {
//
validator: checkPointValue,
//
trigger: 'change'
//
}]
},
editFormData
:
[{
label
:
'积分分类'
,
...
...
@@ -125,6 +126,7 @@ export default {
mounted
()
{
this
.
infoForm
=
deepClone
(
this
.
paramsObj
)
this
.
infoForm
.
pointsValue
=
this
.
infoForm
.
pointsValue
?
this
.
infoForm
.
pointsValue
:
undefined
console
.
log
(
this
.
infoForm
)
},
...
...
@@ -137,7 +139,7 @@ export default {
var
params
=
{}
params
.
id
=
infoForm
.
id
params
.
ruleDescription
=
infoForm
.
ruleDescription
params
.
pointsValue
=
infoForm
.
pointsValue
//
params.pointsValue = infoForm.pointsValue
updateStorePointsConfiguration
(
params
).
then
(
res
=>
{
this
.
notice
.
okTips
(
'操作成功'
)
this
.
visible
=
true
...
...
src/views/systemConfig/sceneCategoryManage/categoryList_new.vue
View file @
65db206
<!-- 类目配置 -->
<
template
>
<div>
<d2-container
class=
"m-t-40"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleQuery"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
<div
class=
"d2-container-content"
>
<d2-table-header>
<span
slot=
"left"
>
...
...
@@ -91,7 +109,7 @@
v-if=
"categoryVisible"
:category-info=
"categoryInfo"
@
dialogClose=
"dialogClose"
/>
</d
iv
>
</d
2-container
>
</template>
<
script
>
...
...
@@ -108,6 +126,16 @@ export default {
pageSize
:
10
},
layout
:
"sizes,total,->,prev,pager,next,jumper"
,
searchForm
:
{
categoryName
:
''
},
showFormData
:
[{
label
:
'类目名称'
,
name
:
'categoryName'
,
type
:
'input'
,
maxlength
:
'20'
,
isClear
:
true
}],
baseData
:
{
},
categoryVisible
:
false
,
...
...
@@ -137,7 +165,10 @@ export default {
},
getPageNew
()
{
var
params
=
this
.
page
var
params
=
{
...
this
.
page
,
...
this
.
searchForm
}
getCategoryList_new
(
params
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
list
this
.
total
=
res
.
total
...
...
@@ -236,10 +267,25 @@ export default {
.
catch
((
err
)
=>
{
console
.
log
(
err
)
})
},
handleQuery
()
{
this
.
page
.
currentPage
=
1
this
.
getPageNew
()
},
handleReset
()
{
this
.
searchForm
=
{
categoryName
:
''
}
this
.
refreshTable
()
}
}
}
</
script
>
<
style
scoped
>
.m-t-40
{
margin-top
:
40px
;
}
</
style
>
src/views/systemConfig/sceneCategoryManage/index.vue
View file @
65db206
<!-- 场景&类目管理 -->
<
template
>
<d
2-container
class=
"account
"
>
<d
iv
class=
"sceneCategoryManage
"
>
<div
class=
"header"
slot=
"header"
>
<el-tabs
v-model=
"activeName"
>
...
...
@@ -9,12 +9,12 @@
<el-tab-pane
label=
"类目配置"
name=
"category"
/>
</el-tabs>
<div>
<scene-list
v-if=
"activeName === 'scene'"
/>
<category-list
v-if=
"activeName === 'category'"
/>
</div>
</div>
<div>
<scene-list
v-if=
"activeName === 'scene'"
/>
<category-list
v-if=
"activeName === 'category'"
/>
</div>
</d2-container>
</div>
</
template
>
<
script
>
...
...
@@ -43,9 +43,15 @@ export default {
}
</
script
>
<
style
>
.account
.el-tabs__header
{
margin
:
0
;
<
style
lang=
"scss"
scoped
>
.sceneCategoryManage
{
padding
:
0
20px
;
.header
{
::v-deep
.el-tabs__header
{
margin
:
0
;
padding
:
0
20px
;
}
}
}
</
style
>
src/views/systemConfig/sceneCategoryManage/sceneList.vue
View file @
65db206
<!-- 场景配置 -->
<
template
>
<d
iv
>
<div
class=
"
d2-container-content
"
s
tyle=
"padding: 10px 20px;
"
>
<d
2-container
class=
"m-t-40"
>
<div
class=
"
header
"
s
lot=
"header
"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
...
...
@@ -38,7 +38,7 @@
v-if=
"categoryVisible"
:info=
"recordInfo"
@
dialogClose=
"dialogClose"
/>
</d
iv
>
</d
2-container
>
</
template
>
<
script
>
...
...
@@ -216,4 +216,7 @@ export default {
</
script
>
<
style
scoped
>
.m-t-40
{
margin-top
:
40px
;
}
</
style
>
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