feat: remove inner domain

This commit is contained in:
pengYYYYY 2021-11-19 15:25:24 +08:00
parent 952ad82983
commit f81adfaf27
13 changed files with 27 additions and 26 deletions

View File

@ -1 +1,2 @@
// commit-lint config
module.exports = { extends: ['@commitlint/config-conventional'] };

View File

@ -159,7 +159,7 @@ export function getBrandColor(type: string): ColorToken {
export function getColorList(colorArray: [ColorToken]): string[] {
const pureColorList = [];
colorArray.map((colorToken) => Object.keys(colorToken).map((key) => pureColorList.push(colorToken[key])));
colorArray.map(colorToken => Object.keys(colorToken).map(key => pureColorList.push(colorToken[key])));
return pureColorList;
}

View File

@ -1,6 +1,5 @@
export const PREFIX = 'tdesign-pro';
export const THEME = 'light';
// 登录方式设定authenticationMethod取值有smartProxy(走智能网关内网登录,要求.oa.co../.woa.co.. 等域名,且要求域名申请接入智能网关)
// customize(自定义登录,外网域名,统一重定向到登录页面)
// export const authenticationMethod = 'smartProxy';
export const AUTHENTICATION_METHOD = 'customize';

View File

@ -2,29 +2,29 @@ export const PANE_LIST_DATA = [
{
title: '总申请数(次)',
count: 1126,
percent: 10
percent: 10,
}, {
title: '供应商数量(个)',
count: 1126,
percent: -13
percent: -13,
}, {
title: '采购商品品类(类)',
count: 1126,
percent: 10
percent: 10,
}, {
title: '申请人数量(人)',
count: 1126,
percent: 44
percent: 44,
}, {
title: '申请完成率(%',
count: 1126,
percent: 70
percent: 70,
}, {
title: '到货及时率(%',
count: 78,
percent: 16
}
]
percent: 16,
},
];
export const PRODUCT_LIST = [
{
@ -41,4 +41,4 @@ export const PRODUCT_LIST = [
name: 'SSL证书',
type: 4,
},
]
];

View File

@ -139,7 +139,7 @@ export const PRODUCT_LIST = [
memory: 'RAM 16GB',
info: '最高可选配 16GB 内存 · 最高可选配 2TB 存储设备 电池续航最长达 18 小时',
use: 1420,
stock: 1500
stock: 1500,
},
{
name: 'Surface Laptop Go',
@ -149,6 +149,6 @@ export const PRODUCT_LIST = [
memory: 'RAM 16GB',
info: '常规使用 Surface续航时间最长可达13小时 随时伴您工作',
use: 120,
stock: 2000
}
]
stock: 2000,
},
];

View File

@ -75,4 +75,4 @@ export const BASE_INFO_DATA = [
value: '2020-12-22 10:00:00',
type: null,
},
]
];

View File

@ -112,4 +112,4 @@ export const TABLE_COLUMNS = [
colKey: 'op',
title: '操作',
},
];
];

View File

@ -8,7 +8,7 @@ export const FORM_RULES = {
signDate: [{ required: true, message: '请选择日期', type: 'error' }],
startDate: [{ required: true, message: '请选择日期', type: 'error' }],
endDate: [{ required: true, message: '请选择日期', type: 'error' }],
}
};
export const INITIAL_DATA = {
name: '',
@ -20,23 +20,23 @@ export const INITIAL_DATA = {
endDate: '',
payment: '1',
amount: 0,
comment: ''
comment: '',
};
export const TYPE_OPTIONS = [
{ label: '类型A', value: '1' },
{ label: '类型B', value: '2' },
{ label: '类型C', value: '3' },
]
];
export const PARTY_A_OPTIONS = [
{ label: '公司A', value: '1' },
{ label: '公司B', value: '2' },
{ label: '公司C', value: '3' },
]
];
export const PARTY_B_OPTIONS = [
{ label: '公司A', value: '1' },
{ label: '公司B', value: '2' },
{ label: '公司C', value: '3' },
]
];

View File

@ -50,4 +50,4 @@ export const INITIAL_DATA3 = {
mobileNum: '',
deliveryAddress: '',
fullAddress: '',
};
};

View File

@ -45,4 +45,4 @@ export const COLUMNS = [
colKey: 'op',
title: '操作',
},
]
];

View File

@ -83,4 +83,4 @@ export const TREE_DATA = [
label: '湖北',
value: 4,
},
]
];

View File

@ -1,3 +1,4 @@
// style-lint config
module.exports = {
defaultSeverity: 'error',
extends: ['stylelint-config-airbnb'],

View File

@ -3,7 +3,7 @@ import { viteMockServe } from 'vite-plugin-mock';
import { viteThemePlugin } from 'vite-plugin-theme';
import createVuePlugin from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
import svgLoader from 'vite-svg-loader'
import svgLoader from 'vite-svg-loader';
// import HttpProxyAgent from 'http-proxy-agent';
import path from 'path';