fix
This commit is contained in:
@@ -270,43 +270,27 @@ export default defineComponent({
|
|||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Country",
|
title: "Platform",
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: "country",
|
dataIndex: "platform",
|
||||||
key: "country",
|
key: "platform",
|
||||||
width:150,
|
|
||||||
ellipsis:true
|
|
||||||
// customRender: (record: any) => {
|
|
||||||
// let time = formatTime(
|
|
||||||
// record.text / 1000,
|
|
||||||
// "YYYY-MM-DD hh:mm:ss"
|
|
||||||
// );
|
|
||||||
// return time;
|
|
||||||
// },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "City",
|
|
||||||
align: "center",
|
|
||||||
dataIndex: "city",
|
|
||||||
key: "city",
|
|
||||||
width:150,
|
|
||||||
ellipsis:true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Create Time",
|
|
||||||
align: "center",
|
|
||||||
dataIndex: "createTime",
|
|
||||||
key: "createTime",
|
|
||||||
width:150,
|
width:150,
|
||||||
ellipsis:true,
|
ellipsis:true,
|
||||||
},
|
},{
|
||||||
{
|
|
||||||
title: "Payer Total",
|
title: "Payer Total",
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: "payerTotal",
|
dataIndex: "payerTotal",
|
||||||
key: "payerTotal",
|
key: "payerTotal",
|
||||||
width:150,
|
width:150,
|
||||||
ellipsis:true,
|
ellipsis:true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Type",
|
||||||
|
align: "center",
|
||||||
|
dataIndex: "type",
|
||||||
|
key: "type",
|
||||||
|
width:150,
|
||||||
|
ellipsis:true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Payment Method",
|
title: "Payment Method",
|
||||||
@@ -315,28 +299,14 @@ export default defineComponent({
|
|||||||
key: "paymentMethod",
|
key: "paymentMethod",
|
||||||
width:150,
|
width:150,
|
||||||
ellipsis:true,
|
ellipsis:true,
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
title: "last4",
|
title: "last4",
|
||||||
key: "last4",
|
key: "last4",
|
||||||
width:120,
|
width:120,
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: "last4",
|
dataIndex: "last4",
|
||||||
// slots:{customRender:'action'}
|
// slots:{customRender:'action'}
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Platform",
|
|
||||||
align: "center",
|
|
||||||
dataIndex: "platform",
|
|
||||||
key: "platform",
|
|
||||||
width:150,
|
|
||||||
ellipsis:true,
|
|
||||||
},{
|
|
||||||
title: "Type",
|
|
||||||
align: "center",
|
|
||||||
dataIndex: "type",
|
|
||||||
key: "type",
|
|
||||||
width:150,
|
|
||||||
ellipsis:true,
|
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: 'User Type',
|
// title: 'User Type',
|
||||||
@@ -361,6 +331,30 @@ export default defineComponent({
|
|||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
|
title: "City",
|
||||||
|
align: "center",
|
||||||
|
dataIndex: "city",
|
||||||
|
key: "city",
|
||||||
|
width:150,
|
||||||
|
ellipsis:true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Country",
|
||||||
|
align: "center",
|
||||||
|
dataIndex: "country",
|
||||||
|
key: "country",
|
||||||
|
width:150,
|
||||||
|
ellipsis:true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Create Time",
|
||||||
|
align: "center",
|
||||||
|
dataIndex: "createTime",
|
||||||
|
key: "createTime",
|
||||||
|
width:150,
|
||||||
|
ellipsis:true,
|
||||||
|
},
|
||||||
|
{
|
||||||
title: "Status",
|
title: "Status",
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: "status",
|
dataIndex: "status",
|
||||||
@@ -414,7 +408,7 @@ export default defineComponent({
|
|||||||
? filterData.rangePickerValue[0] + " " + "00:00:00"
|
? filterData.rangePickerValue[0] + " " + "00:00:00"
|
||||||
: "";
|
: "";
|
||||||
let endDate: any = filterData.rangePickerValue?.[1]
|
let endDate: any = filterData.rangePickerValue?.[1]
|
||||||
? filterData.rangePickerValue[1] + " " + "00:00:00"
|
? filterData.rangePickerValue[1] + " " + "23:59:59"
|
||||||
: "";
|
: "";
|
||||||
let data = {
|
let data = {
|
||||||
order: filterData.order,
|
order: filterData.order,
|
||||||
|
|||||||
@@ -415,7 +415,7 @@ export default defineComponent({
|
|||||||
? filterData.rangePickerValue[0] + " " + "00:00:00"
|
? filterData.rangePickerValue[0] + " " + "00:00:00"
|
||||||
: "";
|
: "";
|
||||||
let endDate: any = filterData.rangePickerValue?.[1]
|
let endDate: any = filterData.rangePickerValue?.[1]
|
||||||
? filterData.rangePickerValue[1] + " " + "00:00:00"
|
? filterData.rangePickerValue[1] + " " + "23:59:59"
|
||||||
: "";
|
: "";
|
||||||
let data = {
|
let data = {
|
||||||
endTime: endDate,
|
endTime: endDate,
|
||||||
|
|||||||
@@ -48,12 +48,13 @@
|
|||||||
<div class="login_form_title marign_top30">Email</div>
|
<div class="login_form_title marign_top30">Email</div>
|
||||||
<input
|
<input
|
||||||
class="login_form_input"
|
class="login_form_input"
|
||||||
:class="{active:!!email}"
|
:class="{active:!!email && bindType != 'Modify'}"
|
||||||
placeholder="Enter your email address"
|
placeholder="Enter your email address"
|
||||||
v-model="email"
|
v-model="email"
|
||||||
:disabled="!!email"
|
:disabled="!!email && bindType != 'Modify'"
|
||||||
@keydown.enter="submitPerLogin()"
|
@keydown.enter="submitPerLogin()"
|
||||||
/>
|
/>
|
||||||
|
<div v-if="bindType != 'Modify'">
|
||||||
<div class="login_form_title marign_top30">{{$t('account.Country')}}:</div>
|
<div class="login_form_title marign_top30">{{$t('account.Country')}}:</div>
|
||||||
<div class="login_form_select">
|
<div class="login_form_select">
|
||||||
<a-select
|
<a-select
|
||||||
@@ -71,7 +72,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="login_form_title marign_top30">{{$t('account.CompanyName')}}:</div>
|
<div class="login_form_title marign_top30">{{$t('account.CompanyName')}}:</div>
|
||||||
<input class="login_form_input" :class="{active:!!email}" :disabled="!!CompanyName" type="text" placeholder="Please enter occupation" v-model="CompanyName">
|
<input class="login_form_input" :class="{active:!!CompanyName}" :disabled="!!userDetail.country" type="text" placeholder="Please enter occupation" v-model="CompanyName">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- 邮箱登录 start -->
|
<!-- 邮箱登录 start -->
|
||||||
<div class="login_form_email" :class="{active:emailStap===2}">
|
<div class="login_form_email" :class="{active:emailStap===2}">
|
||||||
@@ -267,16 +270,16 @@ export default defineComponent({
|
|||||||
message.info("The email format is incorrect");
|
message.info("The email format is incorrect");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.CompanyName) {
|
if (!this.CompanyName && this.bindType != 'Modify') {
|
||||||
message.info("Please enter occupation");
|
message.info("Please enter occupation");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.Country) {
|
if (!this.Country && this.bindType != 'Modify') {
|
||||||
message.info("Please select a country");
|
message.info("Please select a country");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let type = 'BIND_MAILBOX'
|
let type = 'BIND_MAILBOX'
|
||||||
if(this.email == this.userDetail.email)type = 'UPDATE_USERINFO'
|
if(this.email == this.userDetail.email && this.bindType != 'Modify')type = 'UPDATE_USERINFO'
|
||||||
let data = {
|
let data = {
|
||||||
"email": this.email,
|
"email": this.email,
|
||||||
"ip": "",
|
"ip": "",
|
||||||
|
|||||||
@@ -345,8 +345,6 @@ const userHabit : Module<UserHabit,RootState> = {
|
|||||||
let getUserDetail = ()=>{
|
let getUserDetail = ()=>{
|
||||||
return new Promise((resolve,reject) => {
|
return new Promise((resolve,reject) => {
|
||||||
Https.axiosPost(Https.httpUrls.accountDetail).then((rv: any) => {
|
Https.axiosPost(Https.httpUrls.accountDetail).then((rv: any) => {
|
||||||
console.log(rv);
|
|
||||||
|
|
||||||
if(rv){
|
if(rv){
|
||||||
context.commit('setUserDetail',rv)
|
context.commit('setUserDetail',rv)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -232,7 +232,7 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
<!-- design collection的进度蒙层 end-->
|
<!-- design collection的进度蒙层 end-->
|
||||||
<affiche ref="affiche"></affiche>
|
<affiche ref="affiche"></affiche>
|
||||||
<!-- <tesst></tesst> -->
|
<tesst></tesst>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user