购物车历史订单增加,代码优化

This commit is contained in:
GaoHao
2025-04-02 09:20:26 +08:00
parent 5a655ba09e
commit 5e6646b574
31 changed files with 418 additions and 357 deletions

View File

@@ -107,16 +107,15 @@
<up-button text="确认" @tap="confirmtow" type="primary" class="buttomStyle" shape="circle"></up-button>
</view>
</up-popup>
<!-- <up-toast ref="uToastRef"></up-toast> -->
</template>
<script setup>
import { reactive, getCurrentInstance, onMounted } from 'vue';
import { reactive, ref, onMounted } from 'vue';
import go from '@/commons/utils/go.js'
import { getCallTableQueue, getCallTable, callTableTakeNumber, callTableCall, updateCallTableState } from '@/http/api/callTable.js'
let getrefs = getCurrentInstance()
let datas = reactive({
msgType: "",
// 关闭取号弹窗
@@ -143,6 +142,8 @@
getList()
})
const alertDialog = ref()
/**
* 获取列表
*/
@@ -209,7 +210,7 @@
callQueueId: item.id
}).then((res) => {
datas.profilepicturedata = res
getrefs.ctx.$refs.alertDialog.open()
alertDialog.value.open()
})
}