mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
修改e起陪访日期选择时间错误,和陪访新人性别错误问题
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/*
|
||||
* @Author: PangXingYue
|
||||
* @Date: 2021-03-23 13:34:15
|
||||
* @LastEditTime: 2021-03-23 13:48:26
|
||||
* @LastEditors: PangXingYue
|
||||
* @Description:
|
||||
* @FilePath: \ebiz-h5\src\config\index.js
|
||||
*/
|
||||
/**
|
||||
* 配置编译环境和线上环境之间的切换
|
||||
* 默认三套环境,可以增添
|
||||
@@ -11,7 +19,7 @@ let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl, REQ_PWD, CACHE_EN
|
||||
console.log('环境:', process.env.VUE_APP_FLAG)
|
||||
switch (process.env.VUE_APP_FLAG) {
|
||||
case 'dev':
|
||||
apiDomain = 'http://139.199.50.151:7000/api/v2' // 国富api ///api/v1
|
||||
apiDomain = 'http://139.199.50.151:7000/api/v1' // 国富api ///api/v1
|
||||
imgDomain = 'http://211.159.248.123:7012/updown' // dev
|
||||
// 静态服务资源
|
||||
assetsUrl = 'http://139.199.50.151:8000/app/'
|
||||
@@ -22,7 +30,7 @@ switch (process.env.VUE_APP_FLAG) {
|
||||
zssqUrl = 'http://139.199.50.151/html/test/index.html#/'
|
||||
REQ_PWD = '41424344454631323334353637383930'
|
||||
CACHE_ENCRYP = '41424344454631323334353637383930'
|
||||
API_VERSION = 'v2'
|
||||
API_VERSION = 'v1'
|
||||
break
|
||||
case 'uat':
|
||||
apiDomain = 'http://115.159.235.59:7000/api/v1' // 国富api
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<p class="mb15 agentCode">工号: {{ item.agentCode }}</p>
|
||||
<div class="detail">
|
||||
<span>{{ item.name }}</span>
|
||||
<span class="gray">{{ item.gender | genderFilter }}</span>
|
||||
<span class="gray">{{ item.sex | genderFilter }}</span>
|
||||
<span class="gray">{{ item.mobile | mobileFilter }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
},
|
||||
filters: {
|
||||
genderFilter(gender) {
|
||||
return gender === 0 ? '男' : '女'
|
||||
return gender === "0" ? '男' : '女'
|
||||
},
|
||||
mobileFilter(mobile) {
|
||||
if (!mobile) return '-'
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/>
|
||||
<PopupSelector v-model="visitDate" label="日期" placeholder="请选择" readonly required name="日期" v-validate="'required'">
|
||||
<template v-slot:default="{ closePopup }">
|
||||
<van-datetime-picker v-model="currentDate" :max-date="currentDate" type="date" @confirm="onDateConfirm($event, closePopup)" @cancel="closePopup" />
|
||||
<van-datetime-picker v-model="currentDate" :max-date="maxDate" type="date" @confirm="onDateConfirm($event, closePopup)" @cancel="closePopup" />
|
||||
</template>
|
||||
</PopupSelector>
|
||||
<PopupSelector v-model="visitDuration" label="时长(h)" placeholder="请选择" readonly required name="时长" v-validate="'required'">
|
||||
@@ -105,6 +105,7 @@ export default {
|
||||
visitDuration: '',
|
||||
show: false,
|
||||
currentDate: new Date(),
|
||||
maxDate: new Date(),
|
||||
isSearchMoreShow: false,
|
||||
actions: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user