Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
supervisor-miniprogram
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 391af9db
authored
Jun 04, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(督导统计): 走查调优
1 parent
4d300521
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
packageIndex/api/performance.js
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.js
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.wxml
packageIndex/api/performance.js
View file @
391af9d
...
@@ -8,3 +8,8 @@ export function getSupervisorStaffApi(data) {
...
@@ -8,3 +8,8 @@ export function getSupervisorStaffApi(data) {
export
function
getSupervisorStoreApi
(
data
)
{
export
function
getSupervisorStoreApi
(
data
)
{
return
api
.
post
(
"dj.api.supervisor.store.performance"
,
data
,
[],
"/rop-dj-supervisor-mini/router"
);
return
api
.
post
(
"dj.api.supervisor.store.performance"
,
data
,
[],
"/rop-dj-supervisor-mini/router"
);
}
}
// 盯防门店业绩接口
export
function
getSupervisorStoreByMerchantApi
(
data
)
{
return
api
.
post
(
"dj.api.supervisor.store.performance.by.merchant"
,
data
,
[],
"/rop-dj-supervisor-mini/router"
);
}
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.js
View file @
391af9d
import
{
schemaList
,
schemaCommonBrandList
}
from
"./stationStaffPerformance.data.js"
;
import
{
schemaList
,
schemaCommonBrandList
}
from
"./stationStaffPerformance.data.js"
;
import
{
brandTypeList
}
from
"~/packageIndex/constant/performance.js"
;
import
{
brandTypeList
}
from
"~/packageIndex/constant/performance.js"
;
import
{
getSupervisorStaffApi
}
from
"~/packageIndex/api/performance.js"
;
import
{
getSupervisorStaffApi
,
getSupervisorStoreByMerchantApi
}
from
"~/packageIndex/api/performance.js"
;
const
IMG_URL
=
"https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/"
;
const
IMG_URL
=
"https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/"
;
import
dayjs
from
"dayjs"
;
import
dayjs
from
"dayjs"
;
Page
({
Page
({
...
@@ -88,7 +88,10 @@ Page({
...
@@ -88,7 +88,10 @@ Page({
});
});
try
{
try
{
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
const
{
data
}
=
await
getSupervisorStaffApi
({
const
api
=
this
.
data
.
query
.
merchantId
?
getSupervisorStoreByMerchantApi
:
getSupervisorStaffApi
;
const
{
data
}
=
await
api
({
supervisorId
:
userInfo
.
uuid
,
supervisorId
:
userInfo
.
uuid
,
...
this
.
data
.
query
,
...
this
.
data
.
query
,
});
});
...
...
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.wxml
View file @
391af9d
...
@@ -44,7 +44,9 @@
...
@@ -44,7 +44,9 @@
data="{{ item }}"
data="{{ item }}"
beTap="{{ false }}"
beTap="{{ false }}"
schema="{{ schemaList }}">
schema="{{ schemaList }}">
<view slot="title-sub" class="title-sub-wrapper text-hide">
<view slot="title-sub"
class="title-sub-wrapper text-hide"
wx:if="{{ item.merchantName }}">
{{ item.merchantName }}
{{ item.merchantName }}
</view>
</view>
</StatisticsItem>
</StatisticsItem>
...
...
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