Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李君
/
carrefour
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 7ea635fb
authored
a year ago
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
排队详情修改
1 parent
343fb5fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
src/api/queueManagementApi.js
src/views/queueManagement/queueDetail/index.vue
src/api/queueManagementApi.js
View file @
7ea635f
...
...
@@ -112,6 +112,10 @@ const queueManagementApi = {
getAlarmMessageLog
(
params
,
config
)
{
return
req
(
'PUT'
,
`/d-cashier-alarm-message-log/
${
params
.
id
}
`
,
params
,
config
)
},
// 排队详情
getQueueDetailNew
(
params
,
config
)
{
return
req
(
'get'
,
`/queuing/queuing/detail`
,
params
,
config
)
},
}
...
...
This diff is collapsed.
Click to expand it.
src/views/queueManagement/queueDetail/index.vue
View file @
7ea635f
...
...
@@ -45,11 +45,11 @@
<el-option
v-for=
"item in channelListData"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
/>
</el-select>
-->
</el-form-item>
<
!--
<
el-form-item
:label=
"$t('table.granularity')"
class=
"granularity"
>
<el-form-item
:label=
"$t('table.granularity')"
class=
"granularity"
>
<el-select
v-model=
"searchForm.granularityMinute"
class=
"laneType"
filterable
:placeholder=
"$t('pholder.select')"
>
<el-option
v-for=
"item in granularityListData"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
-->
</el-form-item>
<el-form-item
:label=
"$t('table.date')"
>
<el-date-picker
v-model=
"searchForm.countDate"
...
...
@@ -88,7 +88,8 @@
<span>
{{
row
.
counttime
.
substring
(
11
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"Lane"
align=
"center"
prop=
"cashierChannelId"
show-overflow-tooltip
:formatter=
"landFormat"
></el-table-column>
<!-- <el-table-column label="Lane" align="center" prop="cashierChannelId" show-overflow-tooltip :formatter="landFormat"></el-table-column> -->
<el-table-column
label=
"Lane"
align=
"center"
prop=
"cashierChannelName"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"Lane Type"
align=
"center"
prop=
"counterType"
width=
"100"
show-overflow-tooltip
:formatter=
"counterTypeFormat"
></el-table-column>
<el-table-column
label=
"Average Customers in Queue"
align=
"center"
prop=
"queueLength"
width=
"170"
>
<
template
slot=
"header"
>
...
...
@@ -129,7 +130,7 @@
<span>
{{
timeFormat
(
row
.
queueTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"Estimated Waiting Time"
align=
"center"
prop=
"predictedWaitingTime"
width=
"120"
>
<
!-- <
el-table-column label="Estimated Waiting Time" align="center" prop="predictedWaitingTime" width="120">
<template slot="header">
<p class="cell_title">Estimated</p>
<p class="cell_title">Waiting Time</p>
...
...
@@ -137,7 +138,7 @@
<template slot-scope="{row}">
<span>{{timeFormat(row.predictedWaitingTime)}}</span>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"Customers Served"
align=
"center"
prop=
"customersServed"
width=
"120"
>
<
template
slot=
"header"
>
<p
class=
"cell_title"
>
Customers
</p>
...
...
@@ -385,7 +386,7 @@
getTableData
()
{
this
.
loading
=
true
;
this
.
tableData
=
[];
this
.
$api
.
queueManagementApi
.
get
queueDetailList
({
this
.
$api
.
queueManagementApi
.
get
QueueDetailNew
({
mallId
:
this
.
searchForm
.
mallId
,
cashierAreaId
:
this
.
searchForm
.
cashierAreaId
,
channelIds
:
this
.
searchForm
.
channelIds
.
toString
(),
...
...
This diff is collapsed.
Click to expand it.
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