diff --git a/src/App.vue b/src/App.vue index c07d013..f884fde 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,6 +25,14 @@ export default { const userId = '1218763410024566784'; const params = { userId }; this.getUserId(params); + + window.plugin = TallPlugin.init(); + // 调用created方法 向主窗体发送created消息,以便来接受、存储主窗体传递来的参数 + // created接受一个回调函数 created成功后调用 可选参数 + window.plugin.created(function(props) { + console.log(this); + console.log(props, props.projectId, this.config); + }); }, methods: mapActions('home', ['getUserId']), diff --git a/src/config/api.js b/src/config/api.js index 2cc8d43..4c7699a 100644 --- a/src/config/api.js +++ b/src/config/api.js @@ -46,3 +46,9 @@ export const countCase = params => axios.post(`${statistics}/countCase`, params) // 添加会议记录 export const saveConferenceRecords = params => axios.post(`${conferenceRecords}/save`, params); + +// 查询会议记录 +export const selConRec = params => axios.post(`${conferenceRecords}/selConRec`, params); + +// 分享会议记录 +export const shareMeeting = params => axios.post(`${conferenceRecords}/share`, params);