Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
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 d9a23280
authored
Aug 17, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.8.5' of
http://192.168.3.233:8090/saas_plus/regional-assis…
…tant into SAAS+V5.8.5
2 parents
ef1179f9
c2238831
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
20 deletions
packageWorkspace/pages/refundApply/refundApply.js
pages/specialMentoring/specialMentoring.js
pages/specialMentoring/specialMentoring.wxml
pages/tab/matters/matters.js
utils/matterItem.js
packageWorkspace/pages/refundApply/refundApply.js
View file @
d9a2328
...
@@ -501,11 +501,15 @@ Page({
...
@@ -501,11 +501,15 @@ Page({
let
{
infoData
}
=
this
.
data
let
{
infoData
}
=
this
.
data
if
(
type
==
1
)
{
if
(
type
==
1
)
{
// 审核通过
// 审核通过
if
(
this
.
data
.
auditFlag
||
infoData
.
beforeStatus
!=
6
||
infoData
.
afterStatus
!=
7
)
return
this
.
setData
({
auditFlag
:
true
})
wx
.
$util
.
showLoading
()
auditRefundAllpyAPI
({
auditRefundAllpyAPI
({
applyCode
:
infoData
.
applyCode
,
applyCode
:
infoData
.
applyCode
,
auditStatus
:
1
,
auditStatus
:
1
,
id
:
infoData
.
id
id
:
infoData
.
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
showToast
({
wx
.
showToast
({
...
@@ -524,9 +528,12 @@ Page({
...
@@ -524,9 +528,12 @@ Page({
}
}
},
300
)
},
300
)
}
else
{
}
else
{
this
.
setData
({
auditFlag
:
false
})
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
}
}
})
}).
ctach
(()
=>
{
wx
.
$util
.
hideLoading
()
})
}
else
{
}
else
{
// 审核不通过
// 审核不通过
this
.
setData
({
this
.
setData
({
...
@@ -549,15 +556,17 @@ Page({
...
@@ -549,15 +556,17 @@ Page({
confirmRepeal
()
{
confirmRepeal
()
{
let
{
disapprovalReason
,
repealStatus
,
infoData
}
=
this
.
data
let
{
disapprovalReason
,
repealStatus
,
infoData
}
=
this
.
data
if
(
repealStatus
)
return
if
(
repealStatus
||
infoData
.
beforeStatus
!=
6
||
infoData
.
afterStatus
!=
7
)
return
if
(
!
disapprovalReason
)
return
wx
.
$util
.
showToast
(
'审核不通过原因不能为空'
)
if
(
!
disapprovalReason
)
return
wx
.
$util
.
showToast
(
'审核不通过原因不能为空'
)
this
.
setData
({
repealStatus
:
true
})
this
.
setData
({
repealStatus
:
true
})
wx
.
$util
.
showLoading
()
auditRefundAllpyAPI
({
auditRefundAllpyAPI
({
applyCode
:
infoData
.
applyCode
,
applyCode
:
infoData
.
applyCode
,
auditStatus
:
2
,
auditStatus
:
2
,
remark
:
disapprovalReason
,
remark
:
disapprovalReason
,
id
:
infoData
.
id
id
:
infoData
.
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
showToast
({
wx
.
showToast
({
...
@@ -580,7 +589,9 @@ Page({
...
@@ -580,7 +589,9 @@ Page({
this
.
setData
({
repealStatus
:
false
})
this
.
setData
({
repealStatus
:
false
})
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
}
}
})
}).
catch
(()
=>
{
wx
.
$util
.
hideLoading
()
})
},
},
cancelRepeal
()
{
cancelRepeal
()
{
...
...
pages/specialMentoring/specialMentoring.js
View file @
d9a2328
...
@@ -374,7 +374,7 @@ Page({
...
@@ -374,7 +374,7 @@ Page({
this
.
setData
({
this
.
setData
({
dateShow
:
false
,
dateShow
:
false
,
currentDate
:
selectedDate
,
currentDate
:
selectedDate
,
[
'orderObj.teachingTime'
]:
dayjs
(
selectedDate
).
format
(
'YYYY-MM-DD
HH:mm
'
)
[
'orderObj.teachingTime'
]:
dayjs
(
selectedDate
).
format
(
'YYYY-MM-DD'
)
});
});
},
},
onChange
(
event
)
{
onChange
(
event
)
{
...
...
pages/specialMentoring/specialMentoring.wxml
View file @
d9a2328
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
bindback="back"
bindback="back"
navStyle="background-color: transparent;box-shadow:none;">
navStyle="background-color: transparent;box-shadow:none;">
<view class="page-title">
<view class="page-title">
督导带教
转化类-
督导带教
</view>
</view>
</navigation-bar>
</navigation-bar>
<scroll-view class="container" scroll-y show-scrollbar="{{false}}" enhanced style="padding-top: calc({{navBarHeight}}px + 8rpx);padding-bottom: {{!isCompleted ? (isFullSucreen ? 'calc(120rpx + 34px)' : '120rpx') : '0'}};">
<scroll-view class="container" scroll-y show-scrollbar="{{false}}" enhanced style="padding-top: calc({{navBarHeight}}px + 8rpx);padding-bottom: {{!isCompleted ? (isFullSucreen ? 'calc(120rpx + 34px)' : '120rpx') : '0'}};">
...
@@ -101,5 +101,5 @@
...
@@ -101,5 +101,5 @@
</view>
</view>
<select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" multiple="{{selectMultiple}}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" labelKey="{{labelKey}}" valueKey="{{valueKey}}" height="{{selectPopupHeight}}" title="{{selectTitle}}" allowSearch="{{true}}" bindcancel="hideSelectPopup"></select-popup>
<select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" multiple="{{selectMultiple}}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" labelKey="{{labelKey}}" valueKey="{{valueKey}}" height="{{selectPopupHeight}}" title="{{selectTitle}}" allowSearch="{{true}}" bindcancel="hideSelectPopup"></select-popup>
<popup bindcancel="cancel" bindconfirm="confirm" wx:if="{{dateShow}}" show="{{dateShow}}" title="时间选择" height="60vh">
<popup bindcancel="cancel" bindconfirm="confirm" wx:if="{{dateShow}}" show="{{dateShow}}" title="时间选择" height="60vh">
<van-datetime-picker id="datePicker" show-toolbar="{{false}}" model:value="{{ currentDate }}" bind:change="onChange" bind:input="onInput" />
<van-datetime-picker id="datePicker" show-toolbar="{{false}}"
type="date"
model:value="{{ currentDate }}" bind:change="onChange" bind:input="onInput" />
</popup>
</popup>
pages/tab/matters/matters.js
View file @
d9a2328
...
@@ -27,13 +27,13 @@ Page({
...
@@ -27,13 +27,13 @@ Page({
},
},
taskTypeMap
:
{
taskTypeMap
:
{
""
:
"问题类型"
,
""
:
"问题类型"
,
"staff-replace-access"
:
"人员更换评估"
,
"staff-replace-access"
:
"
转化类-
人员更换评估"
,
"policy-update-access"
:
"商务政策更新评估"
,
"policy-update-access"
:
"商务政策更新评估"
,
"scene-expand"
:
"多品类扩张"
,
"scene-expand"
:
"多品类扩张"
,
"traffic-optimize"
:
"提升触客率"
,
"traffic-optimize"
:
"
流量类-
提升触客率"
,
"multi-scene-expand"
:
"多场景拓展"
,
"multi-scene-expand"
:
"
流量类-
多场景拓展"
,
"new-store-traffic"
:
"拓新店流量"
,
"new-store-traffic"
:
"
流量类-
拓新店流量"
,
"spec-coach"
:
"督导带教"
,
"spec-coach"
:
"
转化类-
督导带教"
,
},
},
statusesList
:
[
statusesList
:
[
{
{
...
@@ -55,7 +55,7 @@ Page({
...
@@ -55,7 +55,7 @@ Page({
],
],
taskTypeList
:
[
taskTypeList
:
[
{
{
name
:
"人员更换评估"
,
name
:
"
转化类-
人员更换评估"
,
value
:
"staff-replace-access"
,
value
:
"staff-replace-access"
,
},
},
{
{
...
@@ -67,19 +67,19 @@ Page({
...
@@ -67,19 +67,19 @@ Page({
value
:
"scene-expand"
,
value
:
"scene-expand"
,
},
},
{
{
name
:
"提升触客率"
,
name
:
"
流量类-
提升触客率"
,
value
:
"traffic-optimize"
,
value
:
"traffic-optimize"
,
},
},
{
{
name
:
"多场景拓展"
,
name
:
"
流量类-
多场景拓展"
,
value
:
"multi-scene-expand"
,
value
:
"multi-scene-expand"
,
},
},
{
{
name
:
"拓新店流量"
,
name
:
"
流量类-
拓新店流量"
,
value
:
"new-store-traffic"
,
value
:
"new-store-traffic"
,
},
},
{
{
name
:
"督导带教"
,
name
:
"
转化类-
督导带教"
,
value
:
"spec-coach"
,
value
:
"spec-coach"
,
},
},
],
],
...
@@ -118,6 +118,7 @@ Page({
...
@@ -118,6 +118,7 @@ Page({
labelKey
:
"name"
,
labelKey
:
"name"
,
valueKey
:
"value"
,
valueKey
:
"value"
,
});
});
wx
.
hideTabBar
()
},
},
handletaskTypeFilter
()
{
handletaskTypeFilter
()
{
...
@@ -133,6 +134,7 @@ Page({
...
@@ -133,6 +134,7 @@ Page({
labelKey
:
"name"
,
labelKey
:
"name"
,
valueKey
:
"value"
,
valueKey
:
"value"
,
});
});
wx
.
hideTabBar
()
},
},
// 重置筛选条件
// 重置筛选条件
...
@@ -178,6 +180,7 @@ Page({
...
@@ -178,6 +180,7 @@ Page({
this
.
setData
({
this
.
setData
({
showSelectPopup
:
false
,
showSelectPopup
:
false
,
});
});
wx
.
showTabBar
()
},
},
/**
/**
...
@@ -242,7 +245,7 @@ Page({
...
@@ -242,7 +245,7 @@ Page({
// 添加问题类型筛选参数
// 添加问题类型筛选参数
const
taskType
=
filterObj
?.
taskType
;
const
taskType
=
filterObj
?.
taskType
;
if
(
taskType
)
{
if
(
taskType
)
{
params
.
taskType
=
taskType
;
params
.
taskType
List
=
taskType
?.
split
(
','
)
;
}
}
return
params
;
return
params
;
...
...
utils/matterItem.js
View file @
d9a2328
...
@@ -82,12 +82,13 @@ export const MATTER_LIST_COMPLETED_FIELDS = [
...
@@ -82,12 +82,13 @@ export const MATTER_LIST_COMPLETED_FIELDS = [
{
label
:
"归属门店"
,
key
:
"merchantName"
},
{
label
:
"归属门店"
,
key
:
"merchantName"
},
{
label
:
"归属业务"
,
key
:
"businessName"
},
{
label
:
"归属业务"
,
key
:
"businessName"
},
{
label
:
"创建人"
,
key
:
"creatorName"
},
{
label
:
"创建人"
,
key
:
"creatorName"
},
{
label
:
"创建时间"
,
key
:
"createTimeText"
},
{
label
:
"任务描述"
,
key
:
"descriptionText"
,
ellipsis
:
true
},
{
label
:
"任务描述"
,
key
:
"descriptionText"
,
ellipsis
:
true
},
{
label
:
"专项任务回复"
,
key
:
"replyText"
,
ellipsis
:
true
},
{
label
:
"专项任务回复"
,
key
:
"replyText"
,
ellipsis
:
true
},
];
];
const
STAFF_NAMES_LIST_FIELD
=
{
label
:
"问题驻店销售"
,
key
:
"staffNames"
};
const
STAFF_NAMES_LIST_FIELD
=
{
label
:
"问题驻店销售"
,
key
:
"staffNames"
};
const
TARGET_TOUCH_RATE_FIELD
=
{
label
:
"目标触客率"
,
key
:
"target
Touch
Rate"
,
isBlue
:
true
};
const
TARGET_TOUCH_RATE_FIELD
=
{
label
:
"目标触客率"
,
key
:
"target
CustomerContact
Rate"
,
isBlue
:
true
};
/** 督导带教:列表字段(带教目标、归属门店、带教方式、完成时间) */
/** 督导带教:列表字段(带教目标、归属门店、带教方式、完成时间) */
const
SUPERVISE_TEACH_LIST_FIELDS
=
[
const
SUPERVISE_TEACH_LIST_FIELDS
=
[
...
@@ -155,7 +156,7 @@ export function normalizeMatterItem(dto = {}, index = 0) {
...
@@ -155,7 +156,7 @@ export function normalizeMatterItem(dto = {}, index = 0) {
const
staffNames
=
formatStaffList
(
staffList
);
const
staffNames
=
formatStaffList
(
staffList
);
// 格式化目标触客率,加上百分号
// 格式化目标触客率,加上百分号
const
target
TouchRateValue
=
dto
.
targetTouchRate
!=
null
&&
dto
.
targetTouchRate
!==
""
?
`
${
dto
.
targetTouch
Rate
}
%`
:
"-"
;
const
target
CustomerContactRateValue
=
dto
.
targetCustomerContactRate
!=
null
&&
dto
.
targetCustomerContactRate
!==
""
?
`
${
dto
.
targetCustomerContact
Rate
}
%`
:
"-"
;
// 格式化督导带教的完成时间
// 格式化督导带教的完成时间
const
teachCompleteTimeValue
=
dto
.
teachCompleteTime
||
"-"
;
const
teachCompleteTimeValue
=
dto
.
teachCompleteTime
||
"-"
;
...
@@ -174,7 +175,7 @@ export function normalizeMatterItem(dto = {}, index = 0) {
...
@@ -174,7 +175,7 @@ export function normalizeMatterItem(dto = {}, index = 0) {
staffList
,
staffList
,
sellerName
:
staffNames
||
"-"
,
sellerName
:
staffNames
||
"-"
,
staffNames
,
staffNames
,
target
TouchRate
:
targetTouch
RateValue
,
target
CustomerContactRate
:
targetCustomerContact
RateValue
,
/** 督导带教:带教目标、带教方式、完成时间 */
/** 督导带教:带教目标、带教方式、完成时间 */
teachTarget
:
dto
.
teachTarget
||
"-"
,
teachTarget
:
dto
.
teachTarget
||
"-"
,
teachMethod
:
dto
.
teachMethod
||
"-"
,
teachMethod
:
dto
.
teachMethod
||
"-"
,
...
...
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