Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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_vue
Commits
0016bf6c
Commit
0016bf6c
authored
Dec 04, 2023
by
W_Y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工序库盘点记录
parent
7ba174a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
64 deletions
+69
-64
control.vue
src/views/controlPlatform/control.vue
+60
-53
index.vue
src/views/processManagement/processesCheck/index.vue
+9
-11
No files found.
src/views/controlPlatform/control.vue
View file @
0016bf6c
...
...
@@ -185,6 +185,8 @@ export default {
name
:
'Control'
,
data
()
{
return
{
// 接口状态
statusCode
:
true
,
// 图表
// 折线图
myChartRegistrationTime
:
undefined
,
...
...
@@ -471,7 +473,10 @@ export default {
},
// 总图
getAll
()
{
if
(
this
.
statusCode
===
true
)
{
findControl
().
then
(
res
=>
{
this
.
statusCode
=
false
// console.log('---res---', res)
// 折线图
this
.
sumUpdateList
=
res
.
data
.
findCountIdByUpdateDate
this
.
numList
=
[]
...
...
@@ -528,6 +533,8 @@ export default {
// 实时数量
this
.
realTime
=
res
.
data
.
findMoM
.
num3All
})
}
this
.
statusCode
=
true
},
handleClick
(
row
)
{
this
.
$router
.
push
({
...
...
src/views/processManagement/processesCheck/index.vue
View file @
0016bf6c
...
...
@@ -140,10 +140,10 @@ export default {
options
:
[{
value
:
1
,
label
:
'已盘点'
},{
},
{
value
:
0
,
label
:
'未盘点'
}
,
}
],
// 日期范围
dateRange
:
[],
...
...
@@ -195,9 +195,7 @@ export default {
}
},
// 表单参数
form
:
{
},
form
:
{}
}
},
/** 路由离开前存储筛选条件*/
...
...
@@ -237,10 +235,10 @@ export default {
/** 查询角色列表 */
getList
()
{
// 去除字段默认为0导致0对应的未盘点无法使用问题
let
flag
=
0
;
this
.
loading
=
true
;
let
flag
=
0
this
.
loading
=
true
if
(
this
.
queryEntity
.
entity
.
status
===
undefined
||
this
.
queryEntity
.
entity
.
status
===
''
)
{
flag
=
1
;
flag
=
1
}
if
(
flag
===
1
)
{
this
.
queryEntity
.
entity
.
status
=
-
1
...
...
@@ -249,14 +247,14 @@ export default {
this
.
dateRange
=
[]
}
listdevice
(
this
.
queryParams
,
this
.
addDateRange
(
this
.
queryEntity
,
this
.
dateRange
)).
then
(
response
=>
{
console
.
log
(
'list'
,
response
)
// console.log('list',
response)
this
.
equipmentList
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
})
if
(
flag
==
1
)
{
if
(
flag
==
=
1
)
{
this
.
queryEntity
.
entity
.
status
=
undefined
flag
=
0
;
flag
=
0
}
},
// 取消按钮
...
...
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