取消预约延迟重置重新查询

main
xuechunyuan 3 years ago
parent 5b4cf971c4
commit dbd51e7f2d
  1. 2
      src/utils/aisdapp.js
  2. 17
      src/views/myExam.vue
  3. 4
      vue.config.js

@ -5,7 +5,7 @@ export const appword = "aKd20dbGdFvmuwrt"
const appid = 'cgstjyyjzpzp';
const appMode = true;//是否开启爱山东中控台接口调用方式
const appMode = false;//是否开启爱山东中控台接口调用方式
export default {
appid,

@ -5,11 +5,7 @@
<div class="no_title">查询无结果</div>
<div class="no_txt">暂无您的预约项目请选择医院后进行预约</div>
</div>
<van-list
:finished="finished"
finished-text="没有更多了"
@load="onLoad"
>
<van-list :finished="finished" finished-text="没有更多了" @load="onLoad">
<van-cell class="exam_box" v-for="item in examArr" :key="item.id">
<div class="time_box">{{ item.createDeptName }}</div>
<div class="pro_box" v-for="item1 in item.details" :key="item1.id">
@ -30,7 +26,8 @@
<img v-else src="~@/assets/image/pro_gray.png" alt="" />
</div>
<div class="pro_name">{{ item1.project }} </div>
<div class="pro_pos" :class="[item1.apmStatus === 2 ? 'tips' : item1.apmStatus == 1 ? 'cancel_tip' : '',]">
<div class="pro_pos"
:class="[item1.apmStatus === 2 ? 'tips' : item1.apmStatus == 1 ? 'cancel_tip' : '',]">
{{
item1.apmStatus == 1 ? '您的体检项目已取消' : item1.apmStatus == 3 ? '体检项目已完成' : (item1.apmStatus == 2 &&
item1.lastExamTime == 0) ? '您的体检已过期' : item1.limitTime
@ -363,7 +360,11 @@ export default {
let retData = JSON.parse(value);
if (retData.code == 200) {
this.$toast('操作成功');
setTimeout(() => {
this.current = 1;
this.examArr = []
this.queryMyRecord();
}, 500);
}
}, err => {
})
@ -373,7 +374,11 @@ export default {
console.log(res)
if (res.code == 200) {
this.$toast('操作成功');
setTimeout(() => {
this.current = 1;
this.examArr = []
this.queryMyRecord();
}, 500);
}
})
}

@ -8,8 +8,8 @@ module.exports = defineConfig({
proxy: {
"/api": {
//本地服务接口地址
// target: "http://192.168.1.3:8088",
target: "http://192.168.1.106",
target: "http://192.168.1.3:8080",
// target: "http://192.168.1.106",
//远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.vip/api',
ws: true,

Loading…
Cancel
Save