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
d73f1033
authored
2022-09-01 18:39:26 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请业务规则配置
1 parent
405c41fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
src/views/system/sqywgz/components/editDialog.vue
src/views/system/sqywgz/sqywgz.vue
src/views/system/sqywgz/components/editDialog.vue
View file @
d73f103
...
...
@@ -138,7 +138,10 @@ export default {
value
:
{
type
:
Boolean
,
default
:
false
},
detailList
:
{
type
:
Array
,
default
:
[]
}
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
},
watch
:
{
value
(
val
)
{
...
...
@@ -146,10 +149,14 @@ export default {
},
detailList
:
{
handler
:
function
(
newValue
)
{
this
.
titleList
=
newValue
this
.
n
=
0
this
.
tn
=
0
this
.
getSqdjywDetail
(
newValue
[
0
].
bsmSqyw
)
if
(
newValue
.
length
==
0
)
{
this
.
getSqdjywDetail
(
this
.
bsmSqyw
)
}
else
{
this
.
titleList
=
newValue
this
.
n
=
0
this
.
tn
=
0
this
.
getSqdjywDetail
(
newValue
[
0
].
bsmSqyw
)
}
},
deep
:
true
}
...
...
src/views/system/sqywgz/sqywgz.vue
View file @
d73f103
...
...
@@ -33,7 +33,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<editDialog
v-model=
"isDialog"
:detailList=
"detailList"
/>
<editDialog
v-model=
"isDialog"
:detailList=
"detailList"
:bsmSqyw=
"bsmSqyw"
/>
</div>
</
template
>
<
script
>
...
...
@@ -63,7 +63,8 @@ export default {
columns
:
datas
.
columns
(),
data
:
[]
},
detailList
:
[]
detailList
:
[],
bsmSqyw
:
''
}
},
methods
:
{
...
...
@@ -83,10 +84,17 @@ export default {
},
//编辑
editClick
(
row
)
{
this
.
isDialog
=
true
getDjlxInfo
(
row
.
bsmSqyw
).
then
(
res
=>
{
this
.
detailList
=
res
.
result
})
console
.
log
(
row
);
if
(
row
.
nodecode
===
'B50'
)
{
this
.
detailList
=
[]
this
.
bsmSqyw
=
row
.
bsmSqyw
this
.
isDialog
=
true
}
else
{
getDjlxInfo
(
row
.
bsmSqyw
).
then
(
res
=>
{
this
.
detailList
=
res
.
result
this
.
isDialog
=
true
})
}
}
},
};
...
...
Please
register
or
sign in
to post a comment