拉黑弹框宽度修改,预约成功提示补充取消规则和拉黑次数提示

main
zhangqun 3 years ago
parent 1453d04bd4
commit 8521a43d55
  1. 2
      src/utils/aisdapp.js
  2. 4
      src/views/HomeView.vue
  3. 19
      src/views/examProject.vue
  4. 4
      vue.config.js

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

@ -45,7 +45,7 @@ export default {
choosedIndex: -1, choosedIndex: -1,
guideShow: false, guideShow: false,
userInfo: null, userInfo: null,
errMsg: '由于您未及时进行报到,已被拉黑请于10日后再次进行预约', errMsg: '由于您未及时进行报到,已被拉黑请于2023-03-31日后再次进行预约',
isShowError: false,// isShowError: false,//
// //
urlCreatesign: urldomaincreatesign, urlCreatesign: urldomaincreatesign,
@ -413,7 +413,7 @@ export default {
} }
.tip_txt { .tip_txt {
width: 3.6rem; width: 3.8rem;
color: #666; color: #666;
font-size: 0.24rem; font-size: 0.24rem;
text-align: center; text-align: center;

@ -32,10 +32,12 @@
<img src="~@/assets/image/succ.png" alt=""> <img src="~@/assets/image/succ.png" alt="">
</div> </div>
<div class="tips">预约成功</div> <div class="tips">预约成功</div>
<div class="tip_txt"> <div class="tip_txt" style="text-align: left;padding:0 0.5rem;">
<div>预约成功后若不能按时体检请提前取消</div> <!-- <div>预约成功后若不能按时体检请在开始时间</div>
<div>未提前取消且未按期体检将被拉入黑名单</div> <div>前30分钟取消该预约</div>
<div>被拉黑用户{{blacklistOutDate}}日内不可再预约</div> <div>未按期体检{{blacklistOutDate}}次后将被拉黑</div>
<div>被拉黑的用户请于{{blacklistOutDate}}日后再次预约</div> -->
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;预约成功后若不能按时体检请在开始时间前30分钟取消该预约未按期体检{{timesToBlacklist}}次后将被拉黑被拉黑的用户请于{{blacklistOutDate}}日后再次预约</div>
</div> </div>
<div class="btn" @click="clickSucc">知道了</div> <div class="btn" @click="clickSucc">知道了</div>
</div> </div>
@ -65,7 +67,8 @@ export default {
isSuccess: false, isSuccess: false,
userInfo: {}, userInfo: {},
failTips: '', failTips: '',
blacklistOutDate:'' blacklistOutDate:'',
timesToBlacklist:'',//
}; };
}, },
mounted() { mounted() {
@ -131,7 +134,8 @@ export default {
if (retData.code == 200) { if (retData.code == 200) {
this.isShow = true; this.isShow = true;
this.isSuccess = true this.isSuccess = true
this.blacklistOutDate = retData.data.blacklistOutDate this.blacklistOutDate = retData.data.blacklistOutDate;
this.timesToBlacklist = retData.data.timesToBlacklist;
} else { } else {
this.failTips = retData.msg; this.failTips = retData.msg;
this.isShow = true; this.isShow = true;
@ -148,7 +152,8 @@ export default {
if (res.code == 200) { if (res.code == 200) {
this.isShow = true; this.isShow = true;
this.isSuccess = true; this.isSuccess = true;
this.blacklistOutDate = res.data.blacklistOutDate this.blacklistOutDate = res.data.blacklistOutDate;
this.timesToBlacklist = res.data.timesToBlacklist;
} else { } else {
this.failTips = res.msg this.failTips = res.msg
this.isShow = true; this.isShow = true;

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

Loading…
Cancel
Save