Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
c85aa7e3
Commit
c85aa7e3
authored
Apr 27, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
f5c019ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
iview-admin/src/view/components/tables/biztables.vue
+2
-1
iview-admin/src/view/components/tables/forms/forms.vue
+2
-2
No files found.
iview-admin/src/view/components/tables/biztables.vue
View file @
c85aa7e3
...
@@ -248,12 +248,13 @@ export default {
...
@@ -248,12 +248,13 @@ export default {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$refs
.
edform
.
formModel
=
this
.
deepclone
(
row
)
this
.
$refs
.
edform
.
formModel
=
this
.
deepclone
(
row
)
this
.
$refs
.
edform
.
activeChildTables
()
this
.
$refs
.
edform
.
activeChildTables
(
false
)
},
100
);
},
100
);
}
}
if
(
key
==
"create"
)
{
if
(
key
==
"create"
)
{
this
.
fm_status
=
"create"
;
this
.
fm_status
=
"create"
;
this
.
showedform
=
true
;
this
.
showedform
=
true
;
this
.
$refs
.
edform
.
activeChildTables
(
true
)
}
}
if
(
key
==
"save"
)
{
if
(
key
==
"save"
)
{
if
(
this
.
clickcount
[
"save"
]
==
0
)
{
if
(
this
.
clickcount
[
"save"
]
==
0
)
{
...
...
iview-admin/src/view/components/tables/forms/forms.vue
View file @
c85aa7e3
...
@@ -216,9 +216,9 @@ export default {
...
@@ -216,9 +216,9 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
activeChildTables
(){
activeChildTables
(
vf
){
Object
.
keys
(
this
.
tabDisabled
).
forEach
(
k
=>
{
Object
.
keys
(
this
.
tabDisabled
).
forEach
(
k
=>
{
this
.
tabDisabled
[
k
]
=
fals
e
this
.
tabDisabled
[
k
]
=
vf
==
false
?
vf
:
tru
e
})
})
},
},
resetForm
()
{
resetForm
()
{
...
...
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