Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
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
TFMOM
TF-MOM-WEB
Commits
41848f8d
Commit
41848f8d
authored
Apr 19, 2024
by
15008242619
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作包页面优化
parent
11e3922f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
index.vue
...ment/instructionIdentification/components/right/index.vue
+12
-8
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/instructionIdentification/components/right/index.vue
View file @
41848f8d
...
...
@@ -135,7 +135,7 @@
>
<el-option
v-for=
"(item, i) in wpOptions"
:key=
"i"
:label=
"item.name"
:value=
"item.id"
/>
</el-select>
<span
v-else
>
{{
$utils
.
getParamsFromLists
(
wp
Options
,
'id'
,
scope
.
row
[
scope
.
column
.
property
],
'name'
)
}}
</span>
<span
v-else
>
{{
$utils
.
getParamsFromLists
(
wp
Dictionary
,
'id'
,
scope
.
row
[
scope
.
column
.
property
],
'name'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -305,8 +305,10 @@ export default {
total
:
0
,
pageSizes
:
[
5
,
10
,
20
,
50
]
},
// 工作包数据
// 工作包数据
(有效)
wpOptions
:
[],
// 工作包数据字典(包含有效和无效)
wpDictionary
:
[],
// 加载中
loading
:
false
,
curRowId
:
null
,
...
...
@@ -375,10 +377,6 @@ export default {
'children'
:
[],
'items'
:
[
{
'fieldName'
:
'workState'
,
'operator'
:
'EQ'
,
'value'
:
'Y'
},
{
'fieldName'
:
'sorties'
,
'operator'
:
'EQ'
,
'value'
:
data
.
serialNo
...
...
@@ -400,10 +398,16 @@ export default {
}
post
(
'/ExtWorkPackage/search'
,
params
).
then
(
res
=>
{
this
.
wpOptions
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
if
(
row
.
workState
===
'Y'
)
{
this
.
wpOptions
.
push
({
name
:
row
.
name
,
id
:
row
.
id
})
}
this
.
wpDictionary
.
push
({
name
:
row
.
name
,
id
:
row
.
id
}
}
)
})
})
},
...
...
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