购物车历史订单增加,代码优化
This commit is contained in:
@@ -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()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user