tapd相关修改更新

This commit is contained in:
GaoHao
2025-03-19 18:19:34 +08:00
parent 994cf8bf2b
commit f01bc839f7
53 changed files with 1084 additions and 1032 deletions

View File

@@ -3,7 +3,7 @@
<view v-for="item in datas.list" :key="item.id">
<view>
<view> {{item.callNum}} </view>
<view> {{item.note}}</view>
<view>{{item.note}}</view>
</view>
<view :class="[item.state==3?'rightTopstyle':'rightTop']">
{{filterEvent(item.state)}}
@@ -11,7 +11,7 @@
<view>
<view>
<view> 时间 </view>
<view> {{item.callTime}} </view>
<view class="up-line-1"> {{item.callTime}} </view>
</view>
<view>
<view> 手机号 </view>
@@ -82,13 +82,13 @@
position: relative;
>view:first-child {
padding: 0 58rpx;
padding: 0 30rpx;
box-sizing: border-box;
>view:first-child {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 56rpx;
font-size: 50rpx;
color: #333333;
text-align: center;
}

View File

@@ -1,48 +1,50 @@
<template>
<view class="pageLineUpTop">
<view :class="[[datas.selecttopType==''?'active':'']]" @tap="gettypeevent('')">
<view style="border-bottom: 1px dashed #ccc;line-height: 70rpx;">全部</view>
<view style="line-height: 50rpx;">{{datas.list.totalCount}}</view>
<view class="container" style="display: flex;flex-direction: column;height: 100vh;">
<view class="pageLineUpTop">
<view :class="[[datas.selecttopType==''?'active':'']]" @tap="gettypeevent('')">
<view style="border-bottom: 1px dashed #ccc;line-height: 70rpx;">全部</view>
<view style="line-height: 50rpx;">{{datas.list.totalCount}}</view>
</view>
<view v-for='item in datas.list.records' :key="item.id" @tap="gettypeevent(item.id)"
:class="[[datas.selecttopType==item.id?'active':'']]">
<view class="up-line-1" style="border-bottom: 1px dashed #ccc;line-height: 70rpx;">{{item.name}}</view>
<view style="line-height: 50rpx;color: #999;">{{item.totalCount}}({{item.note}})</view>
</view>
</view>
<view v-for='item in datas.list.records' :key="item.id" @tap="gettypeevent(item.id)"
:class="[[datas.selecttopType==item.id?'active':'']]">
<view style="border-bottom: 1px dashed #ccc;line-height: 70rpx;">{{item.name}}</view>
<view style="line-height: 50rpx;color: #999;">{{item.totalCount}}({{item.note}})</view>
<view class="userinfo">
<view>用户</view>
<span>号码</span>
<span>等待</span>
</view>
</view>
<view class="userinfo">
<view>用户</view>
<span>号码</span>
<span>等待</span>
</view>
<view class="userinfoBox" v-for="item in datas.listType.records" :key="item.id">
<view class="userinfo1">
<view>
<image src="./avation.svg" style="width: 64rpx;height: 64rpx;margin-right: 16rpx;" mode=""></image>
<view>
<view class="" style="overflow-y: auto;flex: 1;padding-bottom: 186rpx;">
<view class="userinfoBox" v-for="item in datas.listType.records" :key="item.id">
<view class="userinfo1">
<view>
{{item.phone}}
</view>
<view>
{{item.callTime}}
<image src="./avation.svg" style="width: 64rpx;height: 64rpx;margin-right: 16rpx;" mode=""></image>
<view>
<view> {{item.phone}} </view>
<view> {{item.callTime}} </view>
</view>
</view>
<span>{{item.callNum}}</span>
<span>{{item.waitingCount}}</span>
</view>
<view class="userinfo2">
<view>{{item.name}}{{item.note}}</view>
<button type="primary" class="mini-btn" size="mini" style="border-radius: 200rpx;" @tap="quxiaoevent(item)"
plain="true">取消</button>
<button class="mini-btn" type="primary" style="border-radius: 200rpx;" @tap="profilepicture(item)"
size="mini">播报</button>
</view>
</view>
<span>{{item.callNum}}</span>
<span>{{item.waitingCount}}</span>
</view>
<view class="userinfo2">
<view>{{item.name}}{{item.note}}</view>
<button type="primary" class="mini-btn" size="mini" style="border-radius: 200rpx;" @tap="quxiaoevent(item)"
plain="true">取消</button>
<button class="mini-btn" type="primary" style="border-radius: 200rpx;" @tap="profilepicture(item)"
size="mini">播报</button>
<view class="bottomBUtton" style="padding-bottom: 30rpx;">
<button class="mini-btn" type="primary" @tap="showFalse">取号</button>
<button type="text" class="mini-btn" plain="true" @tap="toUrl">叫号记录</button>
</view>
</view>
<view class="bottomBUtton">
<button class="mini-btn" type="primary" @tap="showFalse">取号</button>
<button type="text" class="mini-btn" plain="true" @tap="toUrl">叫号记录</button>
</view>
<!-- 播报弹窗 -->
<uni-popup ref="alertDialog" type="dialog">
<uni-popup-dialog :type="datas.msgType" cancelText="完成" confirmText="过号" confirmText-color="#000" title="播报"
@@ -62,7 +64,7 @@
</uni-popup-dialog>
</uni-popup>
<!-- 取号遮罩层 -->
<up-popup :show="datas.show" :round="18" mode="center" @close="close" @open="open">
<up-popup :show="datas.show" :round="18" mode="center">
<view class="zhezhaopop">
<view class="">
<span></span>
@@ -75,14 +77,12 @@
<view class="pageLineUpTop">
<view v-for='item in datas.list.records' :key="item.id"
:class="[datas.selectTabletype.id==item.id?'active':'']" @tap="selectTypeEvent(item)">
<view style="border-bottom: 1px dashed #ccc;line-height: 70rpx;">{{item.name}}</view>
<view class="up-line-1" style="border-bottom: 1px dashed #ccc;line-height: 70rpx;">{{item.name}}</view>
<view style="line-height: 50rpx;">等待{{item.totalCount}}</view>
</view>
</view>
<view class="">
手机号码
</view>
<view class=""> 手机号码 </view>
<view style="margin-bottom: 48rpx;">
<input v-model="datas.phone" type="text" placeholder="填写号码" maxlength="11"/>
</view>
@@ -91,7 +91,7 @@
</view>
</up-popup>
<!-- 取号成功 -->
<up-popup :show="datas.showtwo" :round="18" mode="center" @close="close" @open="open">
<up-popup :show="datas.showtwo" :round="18" mode="center">
<view class="zhezhaopops">
<view class="">
<span></span>
@@ -150,7 +150,7 @@
getCallTable({
page: 1,
size: 9999,
callTableId: datas.selecttopType,
// callTableId: datas.selecttopType,
state: 1
}).then((res) => {
datas.list = res
@@ -178,6 +178,9 @@
* 取号
*/
function callTabletakeNumberEvent() {
if( !datas.phone ){
return uni.$utils.showToast("请输入取号手机号码")
}
callTableTakeNumber({
callTableId: datas.selectTabletype.id,
phone: datas.phone,
@@ -381,7 +384,6 @@
.bottomBUtton {
width: 100%;
height: 200rpx;
background-color: #fff;
position: fixed;
bottom: 0;
@@ -485,7 +487,8 @@
font-size: 80rpx;
color: #333333;
margin-top: 64rpx;
margin-left: 34%;
width: 100%;
text-align: center;
}
>view:nth-child(3) {