Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
b6c3f997
Commit
b6c3f997
authored
Dec 07, 2023
by
王启林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排队叫号系统 搜索设备新增device_type参数
parent
58642dab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
5 deletions
+28
-5
portal-manager-ui/admin/src/api/dataAdmin.js
portal-manager-ui/admin/src/api/dataAdmin.js
+3
-0
portal-manager-ui/admin/src/components/reportformsForm/QueueSearch.vue
...r-ui/admin/src/components/reportformsForm/QueueSearch.vue
+25
-5
No files found.
portal-manager-ui/admin/src/api/dataAdmin.js
View file @
b6c3f997
...
...
@@ -20,6 +20,9 @@ export function getBumenList(params) {
export
function
getTaskList
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/admin/take/takelist`
,
params
);
}
export
function
getTakeableList
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/admin/take/takeablelist`
,
params
);
}
//排队办理记录报表接口
export
function
getQueueData
(
params
)
{
return
http
.
post
(
`
${
BASEURL
}
/inter/reportform/quelist`
,
params
);
...
...
portal-manager-ui/admin/src/components/reportformsForm/QueueSearch.vue
View file @
b6c3f997
...
...
@@ -90,7 +90,7 @@ import YSelect from "@/components/YSelect.vue";
import
YRangePicker
from
"
@/components/YRangePicker.vue
"
;
import
storage
from
"
@/utils/js/Storage
"
;
import
{
mapMutations
}
from
"
vuex
"
;
import
{
getDatingList
,
getBumenList
,
getTaskList
}
from
"
@/api/dataAdmin
"
;
import
{
getDatingList
,
getBumenList
,
getTaskList
,
getTakeableList
}
from
"
@/api/dataAdmin
"
;
import
{
debounce
}
from
"
lodash
"
;
const
style
=
[
{
...
...
@@ -123,6 +123,7 @@ export default {
searchForm
:
{
id
:
""
,
// 排队机id
style
:
""
,
// 状态
device_type
:
""
,
//设备类型
time
:
[
this
.
$moment
().
format
(
"
YYYY-MM-DD
"
),
this
.
$moment
().
format
(
"
YYYY-MM-DD
"
),
...
...
@@ -136,7 +137,7 @@ export default {
created
()
{
this
.
getDatingListArr
();
this
.
getBumenListArr
();
this
.
getTa
sk
List
();
this
.
getTa
keable
List
();
},
methods
:
{
...
mapMutations
(
"
search
"
,
[
"
set_searForm
"
,
"
set_isExport
"
,
"
reset
"
]),
...
...
@@ -163,23 +164,42 @@ export default {
if
(
res
.
code
==
1
)
{
let
{
data
}
=
res
.
data
;
this
.
deptList
=
data
;
}
},
//获取排号机设备列表
async
getTa
sk
List
()
{
let
res
=
await
getTa
sk
List
({
async
getTa
keable
List
()
{
let
res
=
await
getTa
keable
List
({
page
:
1
,
size
:
-
1
,
});
if
(
res
.
code
==
1
)
{
let
{
data
}
=
res
.
data
;
let
{
data
}
=
res
;
this
.
deviceData
=
data
;
// console.log(this.deviceData)
}
},
// async getTaskList() {
// let res = await getTaskList({
// page: 1,
// size: -1,
// });
// if (res.code == 1) {
// let { data } = res.data;
// this.deviceData = data;
// console.log(this.deviceData)
// }
// },
// 搜索
handleSearch
()
{
if
(
this
.
searchForm
.
id
){
let
device
=
this
.
deviceData
.
filter
((
i
)
=>
{
return
this
.
searchForm
.
id
==
i
.
id
})
this
.
searchForm
.
device_type
=
device
[
0
].
device_type
}
this
.
set_searForm
(
this
.
searchForm
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment