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
e0b3e9c7
Commit
e0b3e9c7
authored
Apr 17, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
dc12c4f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
51 deletions
+24
-51
inspectionRequestProcessing.vue
src/views/setup/inspectionRequestProcessing.vue
+24
-51
No files found.
src/views/setup/inspectionRequestProcessing.vue
View file @
e0b3e9c7
...
@@ -36,38 +36,6 @@
...
@@ -36,38 +36,6 @@
</el-button>
</el-button>
</div>
</div>
</div>
</div>
<!--
<div
class=
"top"
>
-->
<!--
<div
v-if=
"tabList[2].number == 0"
class=
"oneButtion"
>
-->
<!--
<div
class=
"spanTest"
><div
class=
"testContent"
>
{{
tabList
[
2
].
label
}}
</div></div>
-->
<!--
</div>
-->
<!--
<div
v-if=
"tabList[2].number > 0"
class=
"oneButtion"
>
-->
<!--
<el-button-->
<!-- :class="actionIndex === 2 ? 'button_rowBtn_action' : 'button_rowBtn'"-->
<!-- type="primary"-->
<!-- @click="handleToggle(tabList[2],2)"-->
<!-- >-->
<!--
<div
class=
"buttionText"
>
-->
<!--
<span>
{{
tabList
[
2
].
label
}}
</span>
-->
<!--
<span
style=
"color: red"
>
(
{{
tabList
[
2
].
number
}}
)
</span>
-->
<!--
</div>
-->
<!--
</el-button>
-->
<!--
</div>
-->
<!--
<div
v-if=
"tabList[3].number == 0"
class=
"oneButtion"
>
-->
<!--
<div
class=
"spanTest"
><div
class=
"testContent"
>
{{
tabList
[
3
].
label
}}
</div></div>
-->
<!--
</div>
-->
<!--
<div
v-if=
"tabList[3].number > 0"
class=
"oneButtion"
>
-->
<!--
<el-button-->
<!-- :class="actionIndex === 3 ? 'button_rowBtn_action' : 'button_rowBtn'"-->
<!-- type="primary"-->
<!-- @click="handleToggle(tabList[3],3)"-->
<!-- >-->
<!--
<div
class=
"buttionText"
>
-->
<!--
<span>
{{
tabList
[
3
].
label
}}
</span>
-->
<!--
<span
style=
"color: red"
>
(
{{
tabList
[
3
].
number
}}
)
</span>
-->
<!--
</div>
-->
<!--
</el-button>
-->
<!--
</div>
-->
<!--
</div>
-->
</div>
</div>
<!-- 清空按钮 -->
<!-- 清空按钮 -->
<div
class=
"clearRegion"
>
<div
class=
"clearRegion"
>
...
@@ -76,15 +44,15 @@
...
@@ -76,15 +44,15 @@
<!-- 第三部分-->
<!-- 第三部分-->
<div
class=
"threeTable"
>
<div
class=
"threeTable"
>
<hr
class=
"tableHr"
>
<hr
class=
"tableHr"
>
<!-- style="margin-left: 50%; transform: translateX(-25%)"-->
<!-- style="margin-left: 50%; transform: translateX(-25%)"-->
<el-table
:data=
"tableList"
>
<el-table
:data=
"tableList"
>
<!--
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
-->
<!--
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
-->
<el-table-column
label=
"pn"
width=
"95"
>
<el-table-column
label=
"pn"
width=
"95"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
pn
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
pn
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
>
<el-table-column
label=
"lot"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
lot
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
lot
||
'-'
}}
</span>
</
template
>
</
template
>
...
@@ -144,8 +112,13 @@ export default {
...
@@ -144,8 +112,13 @@ export default {
// 获取申请分类的数量
// 获取申请分类的数量
getTabList
()
{
getTabList
()
{
querykindsNumber
().
then
(
res
=>
{
querykindsNumber
().
then
(
res
=>
{
const
tabArray
=
[{
type
:
'1'
,
number
:
0
},
{
type
:
'20'
,
number
:
0
}]
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
tabList
=
res
.
data
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
==
'20'
)
{
tabArray
[
1
].
number
=
res
.
data
[
a
].
number
}
}
this
.
tabList
=
tabArray
console
.
log
(
'检查列表'
,
this
.
tabList
)
console
.
log
(
'检查列表'
,
this
.
tabList
)
this
.
getTableAndIndex
(
res
.
data
).
then
(()
=>
{})
this
.
getTableAndIndex
(
res
.
data
).
then
(()
=>
{})
}
}
...
@@ -175,7 +148,7 @@ export default {
...
@@ -175,7 +148,7 @@ export default {
var
tempIndexList
=
[]
var
tempIndexList
=
[]
var
tempTypeList
=
[]
var
tempTypeList
=
[]
list
.
forEach
((
item
,
index
)
=>
{
list
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
number
>
0
||
item
.
number
===
'0'
)
{
if
(
item
.
number
>
0
)
{
tempIndexList
.
push
(
index
)
tempIndexList
.
push
(
index
)
tempTypeList
.
push
(
item
.
type
)
tempTypeList
.
push
(
item
.
type
)
}
}
...
...
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