Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
newCSO_2023
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
lizhi
newCSO_2023
Commits
90a348b7
Commit
90a348b7
authored
Feb 27, 2023
by
lizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
子组件调用父组件方法
parent
42460d03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/views/pms/product/components/stuDetailInfo.vue
+1
-1
src/views/pms/product/stuDetail.vue
+8
-1
No files found.
src/views/pms/product/components/stuDetailInfo.vue
View file @
90a348b7
...
@@ -408,7 +408,7 @@ export default {
...
@@ -408,7 +408,7 @@ export default {
});
});
// location.reload();
// location.reload();
this
.
dialogFormVisible
=
false
;
this
.
dialogFormVisible
=
false
;
this
.
$
forceUpdate
(
);
this
.
$
emit
(
"update"
);
});
});
// console.log(this.UserInfoDetail, "submitForm");
// console.log(this.UserInfoDetail, "submitForm");
});
});
...
...
src/views/pms/product/stuDetail.vue
View file @
90a348b7
...
@@ -151,7 +151,10 @@
...
@@ -151,7 +151,10 @@
<!--
<div
v-for=
"(item, name, index) in userInfo"
:key=
"index"
>
<!--
<div
v-for=
"(item, name, index) in userInfo"
:key=
"index"
>
{{
name
}}
:
{{
item
}}
{{
name
}}
:
{{
item
}}
</div>
-->
</div>
-->
<stuDetailInfo
:UserInfoDetail=
"UserInfoDetail"
></stuDetailInfo>
<stuDetailInfo
@
update=
"update"
:UserInfoDetail=
"UserInfoDetail"
></stuDetailInfo>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"沟通记录"
name=
"ChatRecord"
>
<el-tab-pane
label=
"沟通记录"
name=
"ChatRecord"
>
<!--
<ChatRecord></ChatRecord>
-->
<!--
<ChatRecord></ChatRecord>
-->
...
@@ -496,6 +499,10 @@ export default {
...
@@ -496,6 +499,10 @@ export default {
// this.inputVisible = false;
// this.inputVisible = false;
this
.
inputValue
=
null
;
this
.
inputValue
=
null
;
},
update
()
{
this
.
getUserInfoDetail
(
this
.
id
);
console
.
log
(
"66666"
);
}
}
},
},
mounted
()
{
mounted
()
{
...
...
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