提交 218074f2 authored 作者: zhenglide's avatar zhenglide

添加参会人员

上级 a3c20306
let app=getApp(); let app=getApp();
let domain = app.globalData.domain; let domain = app.globalData.domain;
//获取用户信息的url //获取用户信息的url
let addmeetingeUrl = domain + "/dingding/addmeeting"; let addmeetingeUrl = domain + "/dingding/savemeeting";
let conferenceUrl = domain + "/dingding/conference"; let conferenceUrl = domain + "/dingding/conference";
let messageListUrl = domain + "/dingding/messageList"; let messageListUrl = domain + "/dingding/messageList";
let generateMidUrl = domain + "/dingding/generateMid"; let generateMidUrl = domain + "/dingding/generateMid";
...@@ -154,6 +154,7 @@ Page({ ...@@ -154,6 +154,7 @@ Page({
}) })
return false; return false;
} }
let res = dd.getStorageSync({ key: signList });
var topicList=this.data.topicList; var topicList=this.data.topicList;
console.log(this.data.topicList); console.log(this.data.topicList);
dd.httpRequest({ dd.httpRequest({
...@@ -169,6 +170,7 @@ Page({ ...@@ -169,6 +170,7 @@ Page({
messageName: e.detail.value.messageName, messageName: e.detail.value.messageName,
messageCompere: e.detail.value.messageCompere, messageCompere: e.detail.value.messageCompere,
topicList: topicList, topicList: topicList,
signList:res.data,
messageContent: e.detail.value.messageContent, messageContent: e.detail.value.messageContent,
remindMethod : e.detail.value.remindMethod, remindMethod : e.detail.value.remindMethod,
remindTime: e.detail.value.remindTime, remindTime: e.detail.value.remindTime,
......
...@@ -6,7 +6,7 @@ let messageListUrl = domain + "/dingding/messageList"; ...@@ -6,7 +6,7 @@ let messageListUrl = domain + "/dingding/messageList";
let getMessageByIdUrl = domain +"/dingding/getMessageById"; let getMessageByIdUrl = domain +"/dingding/getMessageById";
let generateMidUrl = domain + "/dingding/generateMid"; let generateMidUrl = domain + "/dingding/generateMid";
let conferenceListUrl = domain + "/dingding/conferenceList"; let conferenceListUrl = domain + "/dingding/conferenceList";
let addmeetingeUrl = domain + "/dingding/addmeeting"; let savemeetingeUrl = domain + "/dingding/savemeeting";
Page({ Page({
...@@ -152,8 +152,10 @@ Page({ ...@@ -152,8 +152,10 @@ Page({
}) })
return false; return false;
} }
let res = dd.getStorageSync({ key: signList });
var topicList=this.data.topicList;
dd.httpRequest({ dd.httpRequest({
url: addmeetingeUrl, url: savemeetingeUrl,
method: 'POST', method: 'POST',
data: { data: {
mid: _this.data.mid, mid: _this.data.mid,
...@@ -163,6 +165,8 @@ Page({ ...@@ -163,6 +165,8 @@ Page({
userId: app.globalData.userId, userId: app.globalData.userId,
messageName: e.detail.value.messageName, messageName: e.detail.value.messageName,
messageCompere: e.detail.value.messageCompere, messageCompere: e.detail.value.messageCompere,
topicList: topicList,
signList:res.data,
messageContent: e.detail.value.messageContent, messageContent: e.detail.value.messageContent,
remindMethod : e.detail.value.remindMethod, remindMethod : e.detail.value.remindMethod,
remindTime: e.detail.value.remindTime, remindTime: e.detail.value.remindTime,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论