83accaa0 by 杨炀

no message

1 parent 1081a406
......@@ -124,7 +124,10 @@
<div>{{ language == 0 ? '在线付' : 'Online' }}</div>
</el-button>
<el-button v-else style="color: #fff" :disabled="!r.useCount && !hotTime"
:class="(r.useCount<=0 && hotTime)?'forbid btn-lineG w100':'btn-lineG w100'" round type="pri mary" @click="goOrder(r)">Select
:class="{'forbid':!(!hotTime[0] || r.useCount>0)}"
class="btn-lineG w100" round
type="primary" @click="goOrder(r)">
Select
</el-button>
<div v-if="r.useCount>0">
<div class="text-center text-primary mt10 fontsize14 pointer" v-if="language == 0">
......
......@@ -78,6 +78,11 @@ const props = defineProps({
type: String,
required: true,
default: '0'
},
cptName: {
type: String,
required: true,
default: ''
}
})
const language = useStorage('language', 0)
......@@ -122,7 +127,8 @@ function popRemark(type) {
const params = {
matchId: props.matchId,
title: language.value == 0 ? '预订说明' : 'Booking Instructions',
type: type
type: type,
cptName: props.cptName
}
proxy.$refs['orderRemarkRef'].open(params)
}
......
<template>
<el-dialog :title="title" v-model="show" width="30%" @close="close">
<div>
<div v-if="type==1" class="pd20" v-html="form.reserveDes"></div>
<div v-if="type==2" class="pd20" v-html="form.reserveDesCar"></div>
<div v-if="type==3" class="pd20" v-html="form.reserveDesFood"></div>
<div v-if="type==4" class="pd20" v-html="form.reserveDesMeal"></div>
<div v-if="type==5" class="pd20" v-html="form.reserveDesPhoto"></div>
<div v-if="type==0" class="pd20" v-html="form.reserveDesTitck"></div>
<h2 class="text-warning text-center" v-if="cptName">{{cptName}}</h2>
<div v-if="type==1" class="plr20" v-html="form.reserveDes"></div>
<div v-if="type==2" class="plr20" v-html="form.reserveDesCar"></div>
<div v-if="type==3" class="plr20" v-html="form.reserveDesFood"></div>
<div v-if="type==4" class="plr20" v-html="form.reserveDesMeal"></div>
<div v-if="type==5" class="plr20" v-html="form.reserveDesPhoto"></div>
<div v-if="type==0" class="plr20" v-html="form.reserveDesTitck"></div>
</div>
<template #footer>
<div class="dialog-footer text-center">
......@@ -26,12 +28,14 @@ const language= useStorage('language',0)
import useUserStore from "@/store/modules/user";
const user = useUserStore().user
const title = ref('')
const cptName = ref('')
const show = ref(false)
const form = ref({})
let matchId = ''
let type = ''
const open = (params) => {
title.value = params.title
cptName.value = params.cptName
matchId = params.matchId
type = params.type
show.value = true
......
......@@ -102,7 +102,7 @@
</div>
</el-col>
<el-col :sm="24" :lg="14">
<HomeQuick :match-id="matchData?.id"/>
<HomeQuick :match-id="matchData?.id" :cpt-name="matchData?.name"/>
</el-col>
</el-row>
</div>
......
......@@ -103,7 +103,7 @@
</div>
</el-col>
<el-col :sm="24" :lg="14">
<HomeQuick :match-id="matchData?.id"/>
<HomeQuick :match-id="matchData?.id" :cpt-name="matchData?.name"/>
</el-col>
</el-row>
</div>
......
......@@ -19,7 +19,7 @@
<el-input v-else v-model="form.wdsfMin" type="text"/>
</el-form-item>
<el-form-item :label="language==0?'姓名':'Name'" prop="realName" required>
<el-input v-model="form.realName" :disabled="editgay"/>
<el-input v-model="form.realName" :disabled="editgay&&form.labelArr.indexOf('0')>-1"/>
</el-form-item>
<el-form-item :label="language==0?'证件类型':'ID type'" prop="idcType" required>
<el-select v-model="form.idcType" style="width: 100%;" :disabled="editgay">
......@@ -39,7 +39,7 @@
<span class="tip">*请上传有效证件扫描件</span>
</el-form-item>
<el-form-item :label="language==0?'性别':'Gender'" prop="sex">
<el-radio-group v-model="form.sex" :disabled="editgay">
<el-radio-group v-model="form.sex" :disabled="editgay&&form.labelArr.indexOf('0')>-1">
<el-radio value="0">{{ language==0?'女':'female' }}</el-radio>
<el-radio value="1">{{ language==0?'男':'male' }}</el-radio>
</el-radio-group>
......@@ -48,7 +48,7 @@
<el-col :lg="12">
<el-form-item :label="language==0?'出生日期':'Date of Birth'" prop="birth" required>
<el-date-picker
v-model="form.birth" :disabled="editgay"
v-model="form.birth" :disabled="editgay&&form.labelArr.indexOf('0')>-1"
style="width: 100%;"
type="date" format="YYYY-MM-DD" value-format="YYYY-MM-DD"
/>
......
......@@ -98,6 +98,11 @@ const props = defineProps({
type: String,
required: true,
default: '0'
},
cptName: {
type: String,
required: true,
default: ''
}
})
const form = ref()
......@@ -136,7 +141,8 @@ function popRemark(type) {
const params = {
matchId: props.matchId,
title: language.value == 0 ? '预订说明' : 'Booking Instructions',
type: type
type: type,
cptName: props.cptName
}
proxy.$refs['orderRemarkRef'].open(params)
......
......@@ -84,8 +84,8 @@ export default defineConfig(({ mode, command }) => {
'/dev-api': {
// target: 'http://192.168.1.118:8081/',
// target: 'http://192.168.1.131:8081/',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!