Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
c0edec7b
Commit
c0edec7b
authored
Sep 28, 2021
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
ec5db32b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
10 deletions
+51
-10
src/views/AllPersonnelBase/modules/fcx.vue
+51
-10
No files found.
src/views/AllPersonnelBase/modules/fcx.vue
View file @
c0edec7b
...
...
@@ -15,7 +15,7 @@
</div>
<div
class=
"middle"
>
<div
class=
"middleTop"
>
本月总数
</div>
<div
class=
'middlebottom'
><span>
300
</span>
条
</div>
<div
class=
'middlebottom'
><span>
{{
byzs
}}
</span>
条
</div>
</div>
<div
class=
"right"
>
<div
class=
"rightTop"
>
...
...
@@ -23,7 +23,7 @@
<div
class=
"rightBottom"
>
<div
class=
'msg1'
><span
class=
"colorspan"
></span>
本次预估剩余
<span
class=
"numbspan"
>
85
</span>
</div>
<div
class=
'msg2'
><span
class=
"colorspan"
></span>
本次消耗
<span
class=
"numbspan"
>
45
</span></div>
<div
class=
'msg3'
><span
class=
"colorspan"
></span>
消耗前剩余
<span
class=
"numbspan"
>
130
</span>
<span
class=
"numbspan1"
>
/200
条
</span></div>
<div
class=
'msg3'
><span
class=
"colorspan"
></span>
消耗前剩余
<span
class=
"numbspan"
>
{{
syts
}}
</span>
<span
class=
"numbspan1"
>
/
{{
byzs
}}
条
</span></div>
</div>
</div>
</div>
...
...
@@ -382,7 +382,10 @@ export default {
},
data
()
{
return
{
tableDate
:
''
,
byzsArr
:
''
,
// 本月总数(5个等级数组)
byzs
:
'300'
,
// 该类型下本月总数
sytsArr
:
''
,
// 剩余条数
syts
:
'300'
,
checkAll
:
false
,
checkedCities
:
[],
cities
:
cityOptions
,
...
...
@@ -394,7 +397,7 @@ export default {
},
dynamicValidateForm
:
{
domains
:
[{
value
:
''
//
value: ''
}],
email
:
''
},
...
...
@@ -429,7 +432,6 @@ export default {
this
.
dialogVisible
=
this
.
isShowFcx
;
// console.log('发查询类型', this.type)
this
.
type
==
'ry'
?
this
.
title
=
'人员发查询'
:
this
.
title
=
'案件发查询'
this
.
search
()
},
created
()
{
...
...
@@ -438,7 +440,8 @@ export default {
isShowFcx
(
newVal
,
oldVal
)
{
this
.
dialogVisible
=
newVal
;
if
(
newVal
==
true
)
{
this
.
search
()
this
.
searchZTS
()
this
.
searchsytsArr
()
}
},
dialogVisible
(
val
)
{
...
...
@@ -479,16 +482,54 @@ export default {
})
.
catch
(
_
=>
{
});
},
//
获取发查询数据(总条数)
//
发查询
search
()
{
this
.
reqParam
.
userid
=
123
;
this
.
reqParam
.
userid
=
123
;
let
queryRequest
=
{
queryClass
:
''
,
// 优先级
matchCount
:
''
,
// 候选个数
srcQueryDataList
:
{
//源数据
id
:
""
,
barcode
:
''
,
}
}
queryRequest
.
srcQueryDataList
.
id
=
this
.
$axios
.
post
(
"/api/query"
,
this
.
reqParam
)
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
// console.info("发查询条数返回列表===>", this.byzsArr);
}
else
{
this
.
$message
.
error
(
response
.
data
.
message
);
}
});
},
// 获取发查询数据(总条数)
searchZTS
()
{
// console.info("发查询条数请求===>", this.reqParam);
this
.
$axios
.
get
(
"/api/querylimit/select"
,
{
params
:
{
userId
:
123
}
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
tableDate
=
response
.
data
.
ret
.
list
;
// console.info("发查询条数返回列表===>", this.tableDate);
this
.
byzsArr
=
response
.
data
.
ret
[
0
]
// console.info("发查询条数返回列表===>", this.byzsArr);
}
else
{
this
.
$message
.
error
(
response
.
data
.
message
);
}
});
},
// 获取发查询剩余条数
searchsytsArr
()
{
console
.
info
(
"发查询条数请求===>"
,
this
.
reqParam
);
this
.
$axios
.
get
(
"/api/querylimit/surplus"
,
{
params
:
{
account
:
22
}
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
sytsArr
=
response
.
data
.
ret
[
0
]
console
.
info
(
"发查询剩余条数返回列表===>"
,
this
.
sytsArr
);
}
else
{
this
.
$message
.
error
(
response
.
data
.
message
);
}
...
...
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