Commit 29c545a6 by zhangxw

接待录音修改

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