|
@@ -6,7 +6,7 @@ const countryInfoStore = useCountryInfoStore();
|
|
|
export const platformColumns = [
|
|
|
{ type: 'seq', width: 50, align: 'center', fixed: 'left' },
|
|
|
{
|
|
|
- field: 'operatorName', title: '运营', width: 'auto', align: 'center', fixed: 'left',
|
|
|
+ field: 'operatorName', title: '运营', minWidth: 'auto', align: 'center', fixed: 'left',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.operatorName ? row.operatorName : '--' }</span>;
|
|
@@ -14,17 +14,17 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'platformNumber', title: '平台编号', width: 'auto', align: 'center', slots: { default: 'platformNumber' }
|
|
|
+ field: 'platformNumber', title: '平台编号', minWidth: 'auto', align: 'center', slots: { default: 'platformNumber' }
|
|
|
},
|
|
|
{
|
|
|
- field: 'platformName', title: '平台名称', width: 'auto', align: 'center', slots: {
|
|
|
+ field: 'platformName', title: '平台名称', minWidth: 'auto', align: 'center', slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' } style={{color: '#303133'}}>{ row.platformName ? row.platformName : '--' }</span>;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'country', title: '国家', width: 'auto', align: 'center',
|
|
|
+ field: 'country', title: '国家', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
const country = countryInfoStore.countries.find(c => c.name === row.country);
|
|
@@ -34,7 +34,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'brandName', title: '品牌名称', width: 'auto', align: 'center',
|
|
|
+ field: 'brandName', title: '品牌名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.brandName ? row.brandName : '--' }</span>;
|
|
@@ -42,7 +42,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'currencyCode', title: '货币代码', width: 'auto', align: 'center',
|
|
|
+ field: 'currencyCode', title: '货币代码', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.currencyCode ? row.currencyCode : '--' }</span>;
|
|
@@ -50,7 +50,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'status', title: '状态', width: 'auto', align: 'center',
|
|
|
+ field: 'status', title: '状态', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.status ? row.status : '--' }</span>;
|
|
@@ -58,7 +58,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'platform', title: '平台', width: 'auto', align: 'center',
|
|
|
+ field: 'platform', title: '平台', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.platform ? row.platform : '--' }</span>;
|
|
@@ -66,7 +66,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'line', title: '线路', width: 'auto', align: 'center',
|
|
|
+ field: 'line', title: '线路', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.line ? row.line : '--' }</span>;
|
|
@@ -74,7 +74,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'ipaddress', title: 'IP地址', width: 'auto', align: 'center',
|
|
|
+ field: 'ipaddress', title: 'IP地址', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.ipaddress ? row.ipaddress : '--' }</span>;
|
|
@@ -82,7 +82,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'company', title: '公司名称', width: 'auto', align: 'center',
|
|
|
+ field: 'company', title: '公司名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.company ? row.company : '--' }</span>;
|
|
@@ -90,7 +90,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'companyEnglishName', title: '公司英文名称', width: 'auto', align: 'center',
|
|
|
+ field: 'companyEnglishName', title: '公司英文名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.companyEnglishName ? row.companyEnglishName : '--' }</span>;
|
|
@@ -106,7 +106,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'juridicalPerson', title: '法人', width: 'auto', align: 'center',
|
|
|
+ field: 'juridicalPerson', title: '法人', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.juridicalPerson ? row.juridicalPerson : '--' }</span>;
|
|
@@ -114,7 +114,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'juridicalPersonCreditCard', title: '法人信用卡', width: 'auto', align: 'center',
|
|
|
+ field: 'juridicalPersonCreditCard', title: '法人信用卡', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.juridicalPersonCreditCard ? row.juridicalPersonCreditCard : '--' }</span>;
|
|
@@ -122,7 +122,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'juridicalPersonCreditCardAddress', title: '法人信用卡地址', width: 'auto', align: 'center',
|
|
|
+ field: 'juridicalPersonCreditCardAddress', title: '法人信用卡地址', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.juridicalPersonCreditCardAddress ? row.juridicalPersonCreditCardAddress : '--' }</span>;
|
|
@@ -130,7 +130,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'receivablesAccount', title: '收款账户', width: 'auto', align: 'center',
|
|
|
+ field: 'receivablesAccount', title: '收款账户', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.receivablesAccount ? row.receivablesAccount : '--' }</span>;
|
|
@@ -138,7 +138,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'receivablesAccountCompany', title: '收款账户公司', width: 'auto', align: 'center',
|
|
|
+ field: 'receivablesAccountCompany', title: '收款账户公司', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.receivablesAccountCompany ? row.receivablesAccountCompany : '--' }</span>;
|
|
@@ -154,7 +154,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'vatCompany', title: 'VAT公司', width: 'auto', align: 'center',
|
|
|
+ field: 'vatCompany', title: 'VAT公司', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.vatCompany ? row.vatCompany : '--' }</span>;
|
|
@@ -162,7 +162,7 @@ export const platformColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'shopPhoneEmail', title: '店铺电话与邮箱', width: 'auto', align: 'center',
|
|
|
+ field: 'shopPhoneEmail', title: '店铺电话与邮箱', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={ 'font-medium' }>{ row.shopPhoneEmail ? row.shopPhoneEmail : '--' }</span>;
|
|
@@ -174,7 +174,7 @@ export const platformColumns = [
|
|
|
export const shopCurrentColumns = [
|
|
|
{ type: 'seq', width: 50, align: 'center', fixed: 'left' },
|
|
|
{
|
|
|
- field: 'operatorName', title: '运营', width: 'auto', align: 'center', fixed: 'left',
|
|
|
+ field: 'operatorName', title: '运营', minWidth: 'auto', align: 'center', fixed: 'left',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.operatorName ? row.operatorName : '--'}</span>;
|
|
@@ -182,7 +182,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'platformNumber', title: '平台编号', width: 'auto', align: 'center',
|
|
|
+ field: 'platformNumber', title: '平台编号', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.platformNumber ? row.platformNumber : '--'}</span>;
|
|
@@ -190,7 +190,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'platformName', title: '平台名称', width: 'auto', align: 'center',
|
|
|
+ field: 'platformName', title: '平台名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.platformName ? row.platformName : '--'}</span>;
|
|
@@ -198,7 +198,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'country', title: '国家', width: 'auto', align: 'center',
|
|
|
+ field: 'country', title: '国家', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
const country = countryInfoStore.countries.find(c => c.name === row.country);
|
|
@@ -208,7 +208,7 @@ export const shopCurrentColumns = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: 'brandName', title: '品牌名称', width: 'auto', align: 'center',
|
|
|
+ field: 'brandName', title: '品牌名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.brandName ? row.brandName : '--'}</span>;
|
|
@@ -216,7 +216,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'currencyCode', title: '货币代码', width: 'auto', align: 'center',
|
|
|
+ field: 'currencyCode', title: '货币代码', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.currencyCode ? row.currencyCode : '--'}</span>;
|
|
@@ -224,7 +224,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'status', title: '状态', width: 'auto', align: 'center',
|
|
|
+ field: 'status', title: '状态', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.status ? row.status : '--'}</span>;
|
|
@@ -232,7 +232,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'platform', title: '平台', width: 'auto', align: 'center',
|
|
|
+ field: 'platform', title: '平台', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.platform ? row.platform : '--'}</span>;
|
|
@@ -240,7 +240,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'line', title: '线路', width: 'auto', align: 'center',
|
|
|
+ field: 'line', title: '线路', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.line ? row.line : '--'}</span>;
|
|
@@ -248,7 +248,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'ipaddress', title: 'IP地址', width: 'auto', align: 'center',
|
|
|
+ field: 'ipaddress', title: 'IP地址', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.ipaddress ? row.ipaddress : '--'}</span>;
|
|
@@ -256,7 +256,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'company', title: '公司名称', width: 'auto', align: 'center',
|
|
|
+ field: 'company', title: '公司名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.company ? row.company : '--'}</span>;
|
|
@@ -264,7 +264,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'companyEnglishName', title: '公司英文名称', width: 'auto', align: 'center',
|
|
|
+ field: 'companyEnglishName', title: '公司英文名称', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.companyEnglishName ? row.companyEnglishName : '--'}</span>;
|
|
@@ -272,7 +272,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'address', title: '公司地址', width: 'auto', align: 'center',
|
|
|
+ field: 'address', title: '公司地址', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.address ? row.address : '--'}</span>;
|
|
@@ -280,7 +280,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'juridicalPerson', title: '法人', width: 'auto', align: 'center',
|
|
|
+ field: 'juridicalPerson', title: '法人', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.juridicalPerson ? row.juridicalPerson : '--'}</span>;
|
|
@@ -288,7 +288,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'juridicalPersonCreditCard', title: '法人信用卡', width: 'auto', align: 'center',
|
|
|
+ field: 'juridicalPersonCreditCard', title: '法人信用卡', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.juridicalPersonCreditCard ? row.juridicalPersonCreditCard : '--'}</span>;
|
|
@@ -296,7 +296,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'juridicalPersonCreditCardAddress', title: '法人信用卡地址', width: 'auto', align: 'center',
|
|
|
+ field: 'juridicalPersonCreditCardAddress', title: '法人信用卡地址', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.juridicalPersonCreditCardAddress ? row.juridicalPersonCreditCardAddress : '--'}</span>;
|
|
@@ -304,7 +304,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'receivablesAccount', title: '收款账户', width: 'auto', align: 'center',
|
|
|
+ field: 'receivablesAccount', title: '收款账户', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.receivablesAccount ? row.receivablesAccount : '--'}</span>;
|
|
@@ -312,7 +312,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'receivablesAccountCompany', title: '收款账户公司', width: 'auto', align: 'center',
|
|
|
+ field: 'receivablesAccountCompany', title: '收款账户公司', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.receivablesAccountCompany ? row.receivablesAccountCompany : '--'}</span>;
|
|
@@ -320,7 +320,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'vatNumber', title: 'VAT税号', width: 'auto', align: 'center',
|
|
|
+ field: 'vatNumber', title: 'VAT税号', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.vatNumber ? row.vatNumber : '--'}</span>;
|
|
@@ -328,7 +328,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'vatCompany', title: 'VAT公司', width: 'auto', align: 'center',
|
|
|
+ field: 'vatCompany', title: 'VAT公司', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.vatCompany ? row.vatCompany : '--'}</span>;
|
|
@@ -336,7 +336,7 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'shopPhoneEmail', title: '店铺电话邮箱', width: 'auto', align: 'center',
|
|
|
+ field: 'shopPhoneEmail', title: '店铺电话邮箱', minWidth: 'auto', align: 'center',
|
|
|
slots: {
|
|
|
default({ row }: any) {
|
|
|
return <span class={'font-medium'}>{row.shopPhoneEmail ? row.shopPhoneEmail.join(', ') : '--'}</span>;
|
|
@@ -344,3 +344,274 @@ export const shopCurrentColumns = [
|
|
|
},
|
|
|
}
|
|
|
];
|
|
|
+
|
|
|
+export const historyColumns: any = [
|
|
|
+ { type: 'seq', width: 50, align: 'center', fixed: 'left' },
|
|
|
+ {
|
|
|
+ field: 'operatorName', title: '运营', minWidth: 'auto', align: 'center', fixed: 'left',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.operatorName ? row.operatorName : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'platformNumber', title: '平台编号', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.platformNumber ? row.platformNumber : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'platformName', title: '平台名称', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.platformName ? row.platformName : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'country', title: '国家', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ const country = countryInfoStore.countries.find(c => c.name === row.country);
|
|
|
+ const color = country ? country.color : '#3875F6';
|
|
|
+ return <el-tag effect="plain" round style={{ color: color, borderColor: color }}>{ row.country ? row.country : '--' }</el-tag>;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'brandName', title: '品牌名称', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.brandName ? row.brandName : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'currencyCode', title: '货币代码', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.currencyCode ? row.currencyCode : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'status', title: '状态', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.status ? row.status : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'platform', title: '平台', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.platform ? row.platform : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'line', title: '线路', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.line ? row.line : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'ipaddress', title: 'IP地址', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.ipaddress ? row.ipaddress : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'company', title: '公司名称', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.company ? row.company : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'companyEnglishName', title: '公司英文名称', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.companyEnglishName ? row.companyEnglishName : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'address', title: '公司地址', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.address ? row.address : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'juridicalPerson', title: '法人', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.juridicalPerson ? row.juridicalPerson : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'juridicalPersonCreditCard', title: '法人信用卡', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.juridicalPersonCreditCard ? row.juridicalPersonCreditCard : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'juridicalPersonCreditCardAddress', title: '法人信用卡地址', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.juridicalPersonCreditCardAddress ? row.juridicalPersonCreditCardAddress : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'receivablesAccount', title: '收款账户', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.receivablesAccount ? row.receivablesAccount : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'receivablesAccountCompany', title: '收款账户公司', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.receivablesAccountCompany ? row.receivablesAccountCompany : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'vatNumber', title: 'VAT税号', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.vatNumber ? row.vatNumber : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'vatCompany', title: 'VAT公司', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.vatCompany ? row.vatCompany : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'create_datetime', title: '创建时间', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.create_datetime ? row.create_datetime : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'approveNum', title: '审批数量', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.approveNum ? row.approveNum : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'shopPhoneEmail', title: '店铺电话邮箱', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ const phoneEmail = [row.shopPhoneAndName, row.shopEmail, row.subShopPhoneAndName, row.subShopEmail].filter(item => item).join(', ');
|
|
|
+ return <span class={'font-medium'}>{phoneEmail ? phoneEmail : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+export const computerColumns: any = [
|
|
|
+ { type: 'seq', width: 50, align: 'center', fixed: 'left' },
|
|
|
+ {
|
|
|
+ field: 'platformNumber', title: '平台编号', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.platformNumber ? row.platformNumber : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'platform', title: '平台', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.platform ? row.platform : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'platformName', title: '平台名称', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.platformName ? row.platformName : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'country', title: '国家', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ const country = countryInfoStore.countries.find(c => c.name === row.country);
|
|
|
+ const color = country ? country.color : '#3875F6';
|
|
|
+ return <el-tag effect="plain" round style={{ color: color, borderColor: color }}>{ row.country ? row.country : '--' }</el-tag>;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'userName', title: '用户名', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.userName ? row.userName : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'company', title: '公司名称', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.company ? row.company : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'ipaddress', title: 'IP地址', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.ipaddress ? row.ipaddress : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'macaddress', title: 'MAC地址', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.macaddress ? row.macaddress : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'computerType', title: '计算机类型', minWidth: 'auto', align: 'center',
|
|
|
+ slots: {
|
|
|
+ default({ row }: any) {
|
|
|
+ return <span class={'font-medium'}>{row.computerType ? row.computerType : '--'}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+];
|
|
|
+
|