1.对接会员列表 2.对接排队叫号
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user