Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ada7ba7a
authored
2023-06-14 14:12:45 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
补录定位
1 parent
3410b445
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
10 deletions
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
src/views/djbworkflow/workFrame.vue
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
View file @
ada7ba7
...
...
@@ -133,10 +133,20 @@ export default {
this
.
getleftMenubl
();
},
// 获取右侧菜单
getleftMenubl
()
{
getleftMenubl
(
row
)
{
leftMenubl
(
this
.
bsmSlsq
).
then
((
res
)
=>
{
this
.
supplementarylist
=
res
.
result
;
if
(
row
){
this
.
supplementarylist
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
bsmRepair
==
row
.
bsmRepair
){
this
.
activeIndex
=
index
this
.
unitClick
(
index
)
}
})
}
});
},
handleNodeClick
(
data
,
node
,
elem
)
{
this
.
$parent
.
loadComponent
(
this
.
currentSelectProps
,
data
);
...
...
@@ -154,10 +164,10 @@ export default {
// this.$parent.getdjblist()
},
// 定位到该条补录记录
orientation
(){
// this.activeIndex="2"
this
.
unitClick
(
0
)
},
//
orientation(){
//
// this.activeIndex="2"
//
this.unitClick(0)
//
},
// 删除补录记录
handleDel
(
row
)
{
this
.
$confirm
(
"此操作将永久删除该条补录记录, 是否继续?"
,
"提示"
,
{
...
...
src/views/djbworkflow/workFrame.vue
View file @
ada7ba7
...
...
@@ -160,7 +160,6 @@ export default {
// 增加补录记录
addRepairRecord
(
row
){
this
.
$refs
.
Menu
.
orientation
()
let
from
=
{
bsmQlxx
:
""
,
bsmSlsq
:
this
.
bsmSlsq
,
...
...
@@ -170,13 +169,13 @@ export default {
}
if
(
row
){
from
.
bsmQlxx
=
row
.
bsmQlxx
from
.
operate
=
"U"
}
addRepairRecord
(
from
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
alert
(
"补录成功"
)
}
this
.
$nextTick
(()
=>
{
this
.
$refs
.
Menu
.
getleftMenubl
(
res
.
result
);
});
});
},
tabset
(){
...
...
Please
register
or
sign in
to post a comment