Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
Project
Project
Details
Activity
Releases
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
胡宝山
template_pda_Web
Commits
ba8fa7da
Commit
ba8fa7da
authored
Apr 18, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
e0b3e9c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
inspectionRequestProcessing.vue
src/views/setup/inspectionRequestProcessing.vue
+12
-10
No files found.
src/views/setup/inspectionRequestProcessing.vue
View file @
ba8fa7da
...
@@ -112,16 +112,18 @@ export default {
...
@@ -112,16 +112,18 @@ export default {
// 获取申请分类的数量
// 获取申请分类的数量
getTabList
()
{
getTabList
()
{
querykindsNumber
().
then
(
res
=>
{
querykindsNumber
().
then
(
res
=>
{
const
tabArray
=
[{
type
:
'1'
,
number
:
0
},
{
type
:
'20'
,
number
:
0
}]
// const tabArray = [{ type: '1', number: 0 }, { type: '20', number: 0 }]
if
(
res
.
code
===
200
)
{
// if (res.code === 200) {
for
(
let
a
=
0
;
a
<
res
.
data
.
length
;
a
++
)
{
// for (let a = 0; a
<
res
.
data
.
length
;
a
++
)
{
if
(
res
.
data
[
a
].
type
==
'1'
)
{
tabArray
[
0
].
number
=
res
.
data
[
a
].
number
}
// if (res.data[a].type == '1') { tabArray[0].number = res.data[a].number }
if
(
res
.
data
[
a
].
type
==
'20'
)
{
tabArray
[
1
].
number
=
res
.
data
[
a
].
number
}
// if (res.data[a].type == '20') { tabArray[1].number = res.data[a].number }
}
// }
this
.
tabList
=
tabArray
// this.tabList = tabArray
console
.
log
(
'检查列表'
,
this
.
tabList
)
console
.
log
(
'得到的标签'
,
res
)
this
.
getTableAndIndex
(
res
.
data
).
then
(()
=>
{})
this
.
tabList
=
res
.
data
}
console
.
log
(
'检查列表'
,
this
.
tabList
)
this
.
getTableAndIndex
(
res
.
data
).
then
(()
=>
{})
// }
})
})
},
},
// 切换分类
// 切换分类
...
...
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