1.对接会员列表 2.对接排队叫号

This commit is contained in:
gyq
2025-03-06 19:28:01 +08:00
parent db3fc1f6dc
commit 5cf2355d28
29 changed files with 1920 additions and 1136 deletions

View File

@@ -3,7 +3,7 @@
<el-dialog title="提示" v-model="visible">
<div class="content">
<div style="font-size: 18px;">正在叫号请稍等</div>
<el-alert :title="statusList[item.status].text" :type="statusList[item.status].type" :closable="false" />
<el-alert :title="statusList[item.state].text" :type="statusList[item.state].type" :closable="false" />
</div>
<div class="footer" style="display: flex;">
<el-button style="width: 100%" @click="confirmHandle(2)">完成</el-button>
@@ -13,8 +13,8 @@
</template>
<script setup>
import { onMounted, reactive, ref } from 'vue';
import { updateState } from '@/api/queue.js'
import { ref } from 'vue';
import { callTableCallState } from '@/api/account.js'
import { useUser } from "@/store/user.js"
const store = useUser()
@@ -41,8 +41,7 @@ const statusList = {
// 过号修改状态
async function confirmHandle(state) {
try {
await updateState({
shopId: store.userInfo.shopId,
await callTableCallState({
callQueueId: item.value.id,
state: state
})