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
a3adb6db
Commit
a3adb6db
authored
Aug 04, 2023
by
高宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project1' into project1
# Conflicts: # src/views/processManagement/draw.vue
parents
ff7452c4
744d7026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
19 deletions
+26
-19
draw.vue
src/views/equipment/draw.vue
+16
-17
draw.vue
src/views/processManagement/draw.vue
+10
-2
No files found.
src/views/equipment/draw.vue
View file @
a3adb6db
...
...
@@ -306,6 +306,11 @@
{{
scope
.
row
.
psm
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"创建时间"
prop=
"createDate"
>
<
template
slot-scope=
"scope"
>
{{
parseTime
(
scope
.
row
.
createDate
,
'{y
}
-{m
}
-{d
}
'
)
||
'-'
}}
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
pagination
v
-
show
=
"totalDetail>0"
...
...
@@ -516,9 +521,12 @@ export default {
this
.
loadingDetail
=
false
}
)
}
,
// 处理点击
handle
(
row
)
{
console
.
log
(
'row'
,
row
)
this
.
applyId
=
row
.
businessId
this
.
pn
=
row
.
pn
this
.
ptype
=
row
.
ptype
this
.
pgx
=
row
.
pgx
this
.
prank
=
row
.
prank
...
...
@@ -533,28 +541,19 @@ export default {
rows
:
this
.
queryParamsDetail
.
rows
}
getEquipment
(
obj
).
then
(
res
=>
{
if
(
res
.
code
&&
res
.
code
===
null
)
{
this
.
$message
.
warning
(
res
.
message
)
}
console
.
log
(
'res'
)
if
(
res
.
rows
.
createDate
&&
res
.
rows
.
createDate
!==
null
)
{
res
.
rows
.
createDate
=
parseTime
(
res
.
rows
.
createDate
,
'{y}-{m}-{d}'
)
if
(
res
.
code
===
200
)
{
if
(
res
.
data
.
createDate
!==
null
)
{
res
.
data
.
createDate
=
parseTime
(
res
.
data
.
createDate
,
'{y
}
-{m
}
-{d
}
'
)
}
this
.
detailApplyList
=
res
.
data
this
.
loadingDetail
=
false
this
.
openHandle
=
true
}
this
.
detailApplyList
=
res
.
rows
this
.
loadingDetail
=
false
this
.
openHandle
=
true
}
)
// this.applyId = row.businessId
this
.
title
=
'处理'
// this.openHandle = !this.openHandle
this
.
loadingDetail
=
true
// detailList(this.queryParamsDetail).then(res => {
// res.rows.createDate = parseTime(res.rows.createDate, '{y}-{m}-{d}')
// this.totalDetail = res.total
// this.detailApplyList = res.rows
// this.loadingDetail = false
// })
}
,
// 获取所选行详情信息
handleDetail
(
row
)
{
const
id
=
row
.
businessId
...
...
src/views/processManagement/draw.vue
View file @
a3adb6db
...
...
@@ -626,6 +626,7 @@ export default {
})
},
// 处理弹窗里的勾选确定
handleCance
()
{
this
.
loadingDetail
=
true
if
(
this
.
multipleSelection
.
length
===
0
)
{
...
...
@@ -670,6 +671,7 @@ export default {
}
}
},
/** 查询warehouse列表 */
getDeviceList
()
{
this
.
loadingDetail
=
true
...
...
@@ -701,9 +703,12 @@ export default {
this
.
handcheckPermissionQuery
()
}
},
// 处理点击
handle
(
row
)
{
console
.
log
(
'row'
,
row
)
this
.
monthDate
=
false
this
.
openHandle
=
true
this
.
applyId
=
row
.
businessId
this
.
pn
=
row
.
pn
this
.
ptype
=
row
.
ptype
...
...
@@ -720,6 +725,7 @@ export default {
page
:
this
.
queryParamsDetail
.
page
,
rows
:
this
.
queryParamsDetail
.
rows
}
// 调warehouse分页查询接口
getEquipment
(
obj
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
data
.
createDate
!==
null
)
{
...
...
@@ -733,7 +739,8 @@ export default {
this
.
title
=
'处理'
this
.
loadingDetail
=
true
},
// 获取所选行详情信息
// 获取行详情信息
handleDetail
(
row
)
{
const
id
=
row
.
businessId
this
.
openDetails
=
true
...
...
@@ -746,7 +753,8 @@ export default {
this
.
loadingDetail
=
false
})
},
/** 查询apply列表 */
// 查询apply表单
getList
()
{
this
.
isCheck
=
false
this
.
radio1
=
'2'
...
...
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