Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
U
UbainsMeeting
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
郑礼德
UbainsMeeting
Commits
1c3ca8c2
提交
1c3ca8c2
authored
3月 12, 2019
作者:
曾美红
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
aaa
上级
362cbff5
流水线
#155
已取消 于阶段
变更
18
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
129 行增加
和
70 行删除
+129
-70
app.js
app.js
+3
-1
addmeeting.js
pages/conference/addmeeting/addmeeting.js
+5
-2
details.axml
pages/conference/details/details.axml
+1
-1
details.js
pages/conference/details/details.js
+2
-1
ex_visitor.acss
pages/conference/ex_visitor/ex_visitor.acss
+3
-0
ex_visitor.axml
pages/conference/ex_visitor/ex_visitor.axml
+2
-2
ex_visitor.js
pages/conference/ex_visitor/ex_visitor.js
+46
-39
index.acss
pages/conference/index/index.acss
+2
-2
login.acss
pages/login/login.acss
+1
-1
details.acss
pages/meeting/details/details.acss
+7
-2
details.axml
pages/meeting/details/details.axml
+1
-1
details.js
pages/meeting/details/details.js
+1
-0
recording.axml
pages/meeting/recording/recording.axml
+1
-1
recording.js
pages/meeting/recording/recording.js
+1
-1
edit.axml
pages/mine/edit/edit.axml
+4
-4
edit.js
pages/mine/edit/edit.js
+47
-10
my.axml
pages/mine/my/my.axml
+1
-1
my.js
pages/mine/my/my.js
+1
-1
没有找到文件。
app.js
浏览文件 @
1c3ca8c2
...
...
@@ -13,7 +13,9 @@ App({
},
//全局数据
globalData
:
{
domain
:
"https://dd2.ubainsyun.com"
,
//domain:'http://id24iu.natappfree.cc',
//domain:"http://dd2.ubainsyun.com",
domain
:
"http://zhenglide.natapp1.cc"
,
corpId
:
''
,
userId
:
''
,
person
:
''
,
...
...
pages/conference/addmeeting/addmeeting.js
浏览文件 @
1c3ca8c2
...
...
@@ -21,6 +21,7 @@ Page({
lists
:
[{}],
text
:
''
,
cnum
:
''
,
departments
:
'全体'
,
allTime
:
{
hours
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
19
,
20
,
21
,
22
,
23
],
minutes
:
[
0
,
15
,
30
,
45
]
...
...
@@ -163,17 +164,19 @@ var _this=this;
mid
:
_this
.
data
.
mid
,
cnum
:
_this
.
data
.
cnum
,
startTime
:
startTime
,
endTime
:
endTime
,
endTime
:
endTime
,
departments
:
_this
.
data
.
departments
,
userId
:
app
.
globalData
.
userId
,
messageName
:
e
.
detail
.
value
.
messageName
,
messageCompere
:
e
.
detail
.
value
.
messageCompere
,
messageTheme
:
e
.
detail
.
value
.
messageTheme
,
messageContent
:
e
.
detail
.
value
.
messageContent
,
remindMethod
:
e
.
detail
.
value
.
remindMethod
,
remindTime
:
e
.
detail
.
value
.
remindTime
,
},
dataType
:
'json'
,
success
:
function
(
res
)
{
//
console.log('success----', res)
console
.
log
(
'success----'
,
res
)
if
(
res
.
data
.
success
){
...
...
pages/conference/details/details.axml
浏览文件 @
1c3ca8c2
...
...
@@ -17,7 +17,7 @@
<view class="tr">
<view class="td td1">会议名称:{{msg.messageName}}</view>
<view class="td td2">发起人:{{msg.m
anageUser.nicknam
e}}</view>
<view class="td td2">发起人:{{msg.m
essageComper
e}}</view>
</view>
<view class="tr">
...
...
pages/conference/details/details.js
浏览文件 @
1c3ca8c2
...
...
@@ -23,12 +23,13 @@ Page({
// document.getElementById(id).src = "../../../resource/images/list-room.png";
var
conference
=
this
.
data
.
conference
;
if
(
conference
!=
null
){
if
(
conference
.
photoUrl
)
conference
.
photoUrl
=
"/images/conference/dd-defalut.png"
this
.
setData
({
conference
});
}
},
onLoad
:
function
(
query
)
{
// 生命周期函数--监听页面加载
...
...
pages/conference/ex_visitor/ex_visitor.acss
浏览文件 @
1c3ca8c2
...
...
@@ -135,4 +135,7 @@ checkbox{
width: 40rpx;
float: left;
margin-top: 5rpx;
}
.required{
color: red;
}
\ No newline at end of file
pages/conference/ex_visitor/ex_visitor.axml
浏览文件 @
1c3ca8c2
...
...
@@ -8,8 +8,8 @@
<view class="graySpace"></view> -->
<form onSubmit="formSubmit" onReset="">
<view class='item-avatar-xs'>
<text>用户名:</text>
<input type="text" name="signName" placeholder="请输入用户名" />
<text>
<text class="required">*</text>
用户名:</text>
<input type="text" name="signName" placeholder="请输入用户名"
required="required"
/>
</view>
<view class='item-avatar-xs'>
<text>手机号:</text>
...
...
pages/conference/ex_visitor/ex_visitor.js
浏览文件 @
1c3ca8c2
...
...
@@ -21,50 +21,57 @@ Page({
var
_this
=
this
;
if
(
e
.
detail
.
value
.
signMobile
.
length
!=
0
)
{
var
phoneReg
=
/
(
^1
[
3|4|5|7|8
]\d{9}
$
)
|
(
^09
\d{8}
$
)
/
;
var
phone
=
e
.
detail
.
value
.
signMobile
;
if
(
!
phoneReg
.
test
(
phone
))
{
if
(
e
.
detail
.
value
.
signName
.
length
==
0
){
dd
.
alert
({
title
:
"添加失败"
,
content
:
"手机格式错误"
,
title
:
"用户名不能为空"
,
buttonText
:
'确定'
})
return
false
;
}
}
else
{
dd
.
alert
({
title
:
"添加失败"
,
content
:
"手机不为空"
,
buttonText
:
'确定'
});
return
false
;
}
if
(
e
.
detail
.
value
.
signEmail
.
length
!=
0
)
{
var
reg
=
/^
\w
+
([
-+.
]\w
+
)
*@
\w
+
([
-.
]\w
+
)
*
\.\w
+
([
-.
]\w
+
)
*$/
;
var
email
=
e
.
detail
.
value
.
signEmail
;
if
(
!
reg
.
test
(
email
))
{
dd
.
alert
({
title
:
"添加失败"
,
content
:
"邮箱格式错误"
,
buttonText
:
'确定'
});
return
false
;
}
}
// if (e.detail.value.signMobile.length != 0) {
// var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;
// var phone = e.detail.value.signMobile;
// if (!phoneReg.test(phone)) {
// dd.alert({
// title: "添加失败",
// content: "手机格式错误",
// buttonText: '确定'
// })
// return false;
// }
// } else {
// dd.alert({
// title: "添加失败",
// content: "手机不为空",
// buttonText: '确定'
// });
// return false;
// }
// if (e.detail.value.signEmail.length!=0 ) {
// var reg = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
// var email = e.detail.value.signEmail;
// if (!reg.test(email)) {
// dd.alert({
// title: "添加失败",
// content: "邮箱格式错误",
// buttonText: '确定'
// });
// return false;
// }
}
else
{
dd
.
alert
({
title
:
"添加失败"
,
content
:
"邮箱不为空"
,
buttonText
:
'确定'
});
return
false
;
}
//
} else {
//
dd.alert({
//
title: "添加失败",
//
content: "邮箱不为空",
//
buttonText: '确定'
//
});
//
return false;
//
}
...
...
pages/conference/index/index.acss
浏览文件 @
1c3ca8c2
...
...
@@ -23,7 +23,7 @@
.banner image{
width: 40rpx;
height: 40rpx;
margin: 10rpx
3
0rpx;
margin: 10rpx
10rpx 10rpx 6
0rpx;
}
.function_text{
display: block;
...
...
@@ -38,7 +38,7 @@ white-space: nowrap;
background: none;
font-size: 0.3rem;
position: absolute;
margin-top: 5rpx;
/* margin-top: 5rpx; */
}
.list_box{
margin-top: 30rpx;
...
...
pages/login/login.acss
浏览文件 @
1c3ca8c2
...
...
@@ -51,7 +51,7 @@
border: 1px solid #eee;
}
.ver{
width: 4
5
%;
width: 4
6
%;
height: 60rpx;
line-height: 60rpx;
position: absolute;
...
...
pages/meeting/details/details.acss
浏览文件 @
1c3ca8c2
...
...
@@ -7,14 +7,19 @@
}
.row{
width: 100%;
height:
80rpx
;
height:
auto
;
line-height: 80rpx;
display: flex;
align-items: center;
flex-wrap: wrap;
border-bottom: 1px solid #ccc;
}
.row label{
/* height: 80rpx; */
height: auto;
line-height: 80rpx;
display: inline-block;
text-align: center;
border-left: 1px solid #ccc;
word-wrap:break-word;
word-break: break-all;
}
pages/meeting/details/details.axml
浏览文件 @
1c3ca8c2
...
...
@@ -19,7 +19,7 @@
</view>
<view class="row">
<label style="width:30%">会议议题</label>
<label style="width:68%">{{message.message
Na
me}}</label>
<label style="width:68%">{{message.message
The
me}}</label>
</view>
<view class="row">
<label style="width:30%">会议开始时间</label>
...
...
pages/meeting/details/details.js
浏览文件 @
1c3ca8c2
...
...
@@ -12,6 +12,7 @@ Page({
message
[
'messageName'
]
=
query
.
messageName
;
message
[
'conferenceName'
]
=
query
.
conferenceName
;
message
[
'messageCompere'
]
=
query
.
messageCompere
;
message
[
'messageTheme'
]
=
query
.
messageTheme
;
message
[
'startTime'
]
=
query
.
startTime
;
message
[
'endTime'
]
=
query
.
endTime
;
message
[
'department'
]
=
query
.
department
;
...
...
pages/meeting/recording/recording.axml
浏览文件 @
1c3ca8c2
...
...
@@ -23,7 +23,7 @@
<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-start-time="{{history.startTimeFormat}}" data-end-time="{{history.endTimeFormat}}"
data-message-compere="{{history.messageCompere}}" data-
message-theme="{{history.messageTheme}}" 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>
</view>
...
...
pages/meeting/recording/recording.js
浏览文件 @
1c3ca8c2
...
...
@@ -66,7 +66,7 @@ Page({
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
+
"&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
+
"&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
})
},
...
...
pages/mine/edit/edit.axml
浏览文件 @
1c3ca8c2
...
...
@@ -6,7 +6,7 @@
</view>
<view class='item-avatar-xs'>
<text>手 机 :</text>
<input type='num
ber' name="phonetel" value='{{user.phonetel}}'></input
>
<input type='num
' name="phonetel" value='{{user.phonetel}}' maxlength="11" onBlur="Phone" /
>
</view>
<view class='item-avatar-xs'>
<text>昵 称 :
...
...
@@ -14,13 +14,13 @@
</view>
<view class='item-avatar-xs'>
<text>邮 箱 :</text>
<input
value="{{user.email}}" name="email" placeholder='请输入常用邮箱'
/>
<input
type="email" value="{{user.email}}" name="email" placeholder='请输入常用邮箱' onBlur="Email"
/>
</view>
<view class='item-avatar-xs'>
<text>性 别 :</text>
<radio-group class="radio-group" name="sex">
<radio-group class="radio-group" name="sex"
onChange="SexChange"
>
<label class="radio" a:for="{{sexs}}" a:for-item="sex" >
{{sex.value}} <radio value="{{sex.
nam
e}}" checked="{{sex.checked}}" >
{{sex.value}} <radio value="{{sex.
valu
e}}" checked="{{sex.checked}}" >
</label>
</radio-group>
...
...
pages/mine/edit/edit.js
浏览文件 @
1c3ca8c2
...
...
@@ -10,7 +10,8 @@ Page({
sexs
:[
{
name
:
'man'
,
value
:
'男'
,
checked
:
true
},
{
name
:
'women'
,
value
:
'女'
}
]
],
inputValue
:
''
},
selectImg
()
{
var
_self
=
this
...
...
@@ -32,18 +33,49 @@ Page({
}
})
},
Phone
(
e
)
{
var
phone
=
e
.
detail
.
value
;
if
(
!
(
/^1
[
34578
]\d{9}
$/
.
test
(
phone
)))
{
if
(
phone
.
length
<
11
)
{
dd
.
alert
({
content
:
'手机号码格式有误'
,
buttonText
:
'我知道了'
,
});
}
}
},
Email
(
e
)
{
var
email
=
e
.
detail
.
value
;
let
str
=
/^
[
a-zA-Z0-9_.-
]
+@
[
a-zA-Z0-9-
]
+
(\.[
a-zA-Z0-9-
]
+
)
*
\.[
a-zA-Z0-9
]{2,6}
$/
if
(
str
.
test
(
email
))
{
return
true
}
else
{
dd
.
alert
({
content
:
'请填写正确的邮箱号'
,
buttonText
:
'我知道了'
,
})
}
},
// SexChange(e) {
// console.log('你选择的是:', e.detail.value)
// },
onLoad
(
query
)
{
// 页面加载
//
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
var
user
=
{};
user
[
'nickname'
]
=
query
.
nickname
;
user
[
'phonetel'
]
=
query
.
phonetel
;
user
[
'email'
]
=
query
.
email
;
user
[
'id'
]
=
query
.
id
;
user
[
'headPortait'
]
=
query
.
headPortait
;
var
sexs
=
this
.
data
.
sexs
;
if
(
query
.
sex
==
'男'
){
user
[
'sex'
]
=
query
.
sex
;
//var sexs=this.data.sexs;
var
sexs
=
this
.
data
.
sexs
;
if
(
query
.
sex
==
'男'
){
sexs
[
0
][
"checked"
]
=
true
;
sexs
[
1
][
"checked"
]
=
false
;
}
else
{
...
...
@@ -51,10 +83,11 @@ Page({
sexs
[
0
][
"checked"
]
=
false
;
}
this
.
setData
({
sexs
:
sexs
,
user
});
},
updateInfo
:
function
(
e
){
console
.
log
(
"携带参数"
,
e
.
detail
.
value
);
...
...
@@ -65,11 +98,12 @@ Page({
id
:
this
.
data
.
user
.
id
,
phonetel
:
e
.
detail
.
value
.
phonetel
,
nickname
:
e
.
detail
.
value
.
nickname
,
email
:
e
.
detail
.
value
.
email
email
:
e
.
detail
.
value
.
email
,
sex
:
e
.
detail
.
value
.
sex
},
dataType
:
'json'
,
success
:
function
(
res
)
{
//
console.log('success----', res)
console
.
log
(
'success----'
,
res
)
if
(
res
.
data
.
success
)
{
...
...
@@ -79,9 +113,12 @@ Page({
content
:
'修改成功'
,
buttonText
:
'确定'
,
success
:
()
=>
{
dd
.
reLaunch
({
url
:
'../my/my'
});
dd
.
navigateBack
({
delta
:
1
})
// dd.({
// url: '../my/my'
// });
},
});
}
else
{
...
...
pages/mine/my/my.axml
浏览文件 @
1c3ca8c2
...
...
@@ -12,7 +12,7 @@
<text class="user_title">{{user.nickname}}</text>
</view>
<view class="flex">
<text class="user_title2">用户
名
:{{user.userAccount}}</text>
<text class="user_title2">用户
账号
:{{user.userAccount}}</text>
</view>
</view>
</view>
...
...
pages/mine/my/my.js
浏览文件 @
1c3ca8c2
...
...
@@ -84,7 +84,7 @@ Page({
},
dataType
:
'json'
,
success
:
function
(
res
)
{
console
.
log
(
'
success----
'
,
res
)
console
.
log
(
'
我的信息--->>
'
,
res
)
_this
.
setData
({
user
:
res
.
data
.
result
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论