提交 e89b848e authored 作者: 曾美红's avatar 曾美红

bug

上级 def23cd3
......@@ -13,8 +13,8 @@
<input type='text' placeholder='请输入会议名称' name="messageName" />
</view>
<view class='item-avatar-xs'>
<text><text class="required">*</text>主持人:</text>
<input type='text' value="{{username}}" placeholder='请输入主持人' name="messageCompere" />
<text><text class="required">*</text>发起人:</text>
<input type='text' value="{{username}}" placeholder='请输入发起人' name="messageCompere" />
</view>
<view class='item-avatar-xs'>
<text>添加议题:</text>
......
......@@ -14,12 +14,12 @@
<label style="width:68%">{{message.conferenceName}}</label>
</view>
<view class="row">
<label style="width:30%">主持人</label>
<label style="width:30%">发起人</label>
<label style="width:68%">{{message.messageCompere}}</label>
</view>
<view class="row">
<label style="width:30%">会议议题</label>
<label style="width:68%">{{message.messageTheme}}</label>
<label style="width:68%">{{message.topicList}}</label>
</view>
<view class="row">
<label style="width:30%">会议开始时间</label>
......
......@@ -12,7 +12,7 @@ Page({
message['messageName']=query.messageName;
message['conferenceName'] = query.conferenceName;
message['messageCompere'] = query.messageCompere;
message['messageTheme'] = query.messageTheme;
message['topicList'] = query.topicList;
message['startTime'] = query.startTime;
message['endTime'] = query.endTime;
message['department'] = query.department;
......
......@@ -23,9 +23,11 @@
<text>会议操作:</text>
<button class="btn1" size='mini' data-mid="{{history.messageId}}" type='primary' onTap="summary">会议纪要</button>
<button class="btn3" size='mini' data-message-name="{{history.messageName}}" data-conference-name="{{history.conference.conferenceName}}"
data-message-compere="{{history.messageCompere}}" data-message-theme="{{history.messageTheme}}" data-start-time="{{history.startTimeFormat}}" data-end-time="{{history.endTimeFormat}}"
data-message-compere="{{history.messageCompere}}" data-topic-list="{{history.topicList}}" data-start-time="{{history.startTimeFormat}}" data-end-time="{{history.endTimeFormat}}"
data-department="{{history.department}}" data-message-content="{{history.messageContent}}" data-config-value-id-string="{{history.configValueIdString}}" type='default' onTap="details">详细信息</button>
<button class="btn2" size='mini' type='default' data-cnum="{{history.conference.conferenceNumber}}" onTap="destine">再次预定</button>
<button class="btn2" size='mini' type='default' data-message-name="{{history.messageName}}" data-message-compere="{{history.messageCompere}}" data-topic-list="{{history.topicList}}"
data-message-content="{{history.messageContent}}" data-department="{{history.department}}" data-remind-method="{{history.remindMethod}}" data-remind-time="{{history.remindTime}}"
data-cnum="{{history.conference.conferenceNumber}}" onTap="destine">再次预定</button>
</view>
</view>
</view>
......
......@@ -56,17 +56,19 @@ Page({
})
},
destine(e){
var cnum = e.currentTarget.dataset.cnum;
//var cnum = e.currentTarget.dataset.cnum;
dd.navigateTo({
url: '/pages/conference/addmeeting/addmeeting?cnum=' + cnum
url: '/pages/conference/addmeeting/addmeeting?cnum=' + e.currentTarget.dataset.cnum + '&messageName=' + e.currentTarget.dataset.messageName + "&messageCompere=" + e.currentTarget.dataset.messageCompere
+ "&topicList=" + e.currentTarget.dataset.topicList + "&startTime=" + e.currentTarget.dataset.startTime + "&endTime=" + e.currentTarget.dataset.endTime + "&department=" + e.currentTarget.dataset.department
+ "&messageContent=" + e.currentTarget.dataset.messageContent + "&remindMethod=" + e.currentTarget.dataset.remindMethod + "&remindTime=" + e.currentTarget.dataset.remindTime
})
},
details(e){
console.log(e.currentTarget.dataset.messageName);
// console.log(e.currentTarget.dataset.messageName);
dd.navigateTo({
url: '/pages/meeting/details/details?messageName=' + e.currentTarget.dataset.messageName + '&conferenceName=' + e.currentTarget.dataset.conferenceName + "&messageCompere=" + e.currentTarget.dataset.messageCompere+ "&messageTheme=" + e.currentTarget.dataset.messageTheme + "&startTime=" + e.currentTarget.dataset.startTime + "&endTime=" + e.currentTarget.dataset.endTime + "&department=" + e.currentTarget.dataset.department + "&messageContent=" + e.currentTarget.dataset.messageContent + "&configValueIdString=" + e.currentTarget.dataset.configValueIdString
url: '/pages/meeting/details/details?messageName=' + e.currentTarget.dataset.messageName + '&conferenceName=' + e.currentTarget.dataset.conferenceName + "&messageCompere=" + e.currentTarget.dataset.messageCompere+ "&topicList=" + e.currentTarget.dataset.topicList + "&startTime=" + e.currentTarget.dataset.startTime + "&endTime=" + e.currentTarget.dataset.endTime + "&department=" + e.currentTarget.dataset.department + "&messageContent=" + e.currentTarget.dataset.messageContent + "&configValueIdString=" + e.currentTarget.dataset.configValueIdString
})
},
......
......@@ -50,7 +50,7 @@
</view>
</view>
<view>
<navigator class="item-avatar-xs" url="../service/service" open-type="navigate" hover-class="navigator-hover">
<navigator class="item-avatar-xs" url="../../mine/service/service" open-type="navigate" hover-class="navigator-hover">
<image src="../../../resource/images/kf.png" />
<view style="padding-left:10px">
<text class="title">在线客服</text>
......
......@@ -21,18 +21,6 @@ Page({
url: "../../meeting/recording/recording",
type: "navigate"
},
// {
// img: "../../../resource/images/phone2.png",
// name: "电话客服",
// url: " ",
// type: "navigate"
// },
// {
// img: "../../../resource/images/kf2.png",
// name: "在线客服",
// url: "../../mine/service/service",
// type: "navigate"
// },
{
img: "../../../resource/images/help.png",
name: "使用帮助",
......
<view class="page">
<form onSubmit="" onReset="">
<form onSubmit="opinionInfo" onReset="">
<text class="title">意见反馈类型:</text>
<view>
<radio-group>
......@@ -10,11 +10,11 @@
</view>
<text class="title">反馈意见</text>
<view class="textarea">
<textarea placeholder="您的反馈将帮助我们快速成长" maxlength="300" />
<textarea placeholder="您的反馈将帮助我们快速成长" maxlength="300" name="" />
</view>
<view class="contact">
联系方式<input type="text" placeholder="留下联系方式,我们将尽快与您联系" />
联系方式<input type="text" placeholder="留下联系方式,我们将尽快与您联系" name="" />
</view>
<button class="btn" type="primary" >保存</button>
<button class="btn" type="primary" >提交</button>
</form>
</view>
\ No newline at end of file
let app=getApp();
let domain = app.globalData.domain;
let opinionInfoUrl = domain + "/dingding/opinionInfo";
Page({
data:{
typeList: [{ name: "产品建议", value: "产品建议", checked: true }, { name: "产品问题", value: "产品问题" }, { name: "咨询帮助", value: "咨询帮助"}]
},
onLoad: function(options) {
onLoad: function() {
// 页面加载
// console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
},
opinionInfo(){
console.log("携带参数", e.detail.value);
dd.httpRequest({
url: updateInfoUrl,
method: 'POST',
data: {
},
dataType: 'json',
success: function(res) {
console.log('success----', res)
if (res.data.success) {
dd.alert({
title: '提交成功',
buttonText: '确定',
success: () => {
dd.navigateBack({
delta: 1
})
},
});
} else {
dd.showToast({
type: 'fail',
content: res.data.message,
duration: 3000,
success: () => {
},
});
}
},
fail: function(res) {
console.log("httpRequestFail---", res)
dd.alert({ content: JSON.stringify(res) });
},
complete: function(res) {
dd.hideLoading();
}
});
},
onReady() {
// 页面加载完成
opinion({
})
},
onShow() {
......
<view class="img">
<image src="../../../resource/images/weixin.png" mode="" />
<text>长按识别图中二维码</text>
<text>扫一扫,加关注</text>
</view>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论