Commit 29c545a6 by zhangxw

接待录音修改

1 parent 55e3547b
......@@ -72,7 +72,14 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
this.setData({
list: [],
pageNum: 1,
flag: false,
nothing: false,
}, () => {
this.getReceptionList()
})
},
search(e) {
......
......@@ -100,7 +100,7 @@ page {
position: sticky;
top: 0;
left: 0;
z-index: 1000;
z-index: 150;
.list-date {
flex-shrink: 0;
width: var(--fontSize146);
......
......@@ -17,6 +17,11 @@ Page({
status: 'pause',
currentTime: '00:00', //当前音频的播放位置
isOperate: true,
reviewStatusTexts: {
0: '审核中',
1: '优秀案例提交通过',
2: '优秀案例提交驳回,重新提交'
}
},
/**
......@@ -274,6 +279,7 @@ Page({
// 提报优秀案例
handleSubmit() {
let { record } = this.data
if (record.reviewStatus == 0 || record.reviewStatus == 1) return
let params = {
recordingId: record.recordingId
}
......
......@@ -151,6 +151,9 @@ page {
text-align: center;
line-height: 76rpx;
font-size: 28rpx;
&.disabled-btn {
background: #2c66f766;
}
}
.next {
color: #ffffff;
......
......@@ -36,6 +36,6 @@
</view>
</block>
</view>
<view wx:if="{{record.caseSubmitStatus != 1}}" class="footerBtn {{ isFullSucreen?'isFullSucreen-btn':'' }}">
<view class="btn next" bindtap="handleSubmit">提报优秀案例</view>
<view class="footerBtn {{ isFullSucreen?'isFullSucreen-btn':'' }}">
<view class="btn next {{record.reviewStatus === 0 || record.reviewStatus === 1 ? 'disabled-btn' : ''}}" bindtap="handleSubmit">{{(record.reviewStatus !== null ? reviewStatusTexts[record.reviewStatus] : '提报优秀案例')}}</view>
</view>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!