|
@@ -181,116 +181,60 @@ export const trafficSearchFrom = [
|
|
|
},
|
|
|
];
|
|
|
|
|
|
-
|
|
|
-export const UserSearchForm = [
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+export const columnsFlow = [
|
|
|
+ { title: window.$t('flowPool.poolNumber'), dataIndex: 'id', align: 'center', ellipsis:true,width: 50 },
|
|
|
+ { title: '池类型', dataIndex: 'trafficPoolType', align: 'center', ellipsis:true,width: 50 },
|
|
|
+ { title: window.$t('flowPool.label'), dataIndex: 'label', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title: window.$t('flowPool.trafficPoolStatus'), slotName: 'status', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title: window.$t('flowPool.source'), dataIndex: 'sourceName', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title: window.$t('flowPool.tariffName'), dataIndex: 'simTariffName', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title:'池大小', dataIndex: 'size', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title: window.$t('flowPool.ActivatedName'),dataIndex:'Activated', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title: window.$t('flowPool.HaveBeenUsedName'), dataIndex: 'HaveBeenUsed', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
+ { title: window.$t('flowPool.updated_at'), dataIndex: 'updatedAt', align: 'center', width: 200,tooltip:true,ellipsis:true },
|
|
|
+]
|
|
|
+
|
|
|
+
|
|
|
+export const SearchFormList = [
|
|
|
{
|
|
|
type: "input",
|
|
|
- label: "客户名称",
|
|
|
- field: "name",
|
|
|
+ label: "流量池名称",
|
|
|
+ field: "label",
|
|
|
value: "",
|
|
|
},
|
|
|
{
|
|
|
- type: "input",
|
|
|
- label: "客户账号",
|
|
|
- field: "username",
|
|
|
+ type: "select",
|
|
|
+ label: "流量池状态",
|
|
|
+ field: "status",
|
|
|
+ options: [],
|
|
|
+ dict: "trafficPacketStatus",
|
|
|
value: "",
|
|
|
+ width: "200",
|
|
|
},
|
|
|
{
|
|
|
type: "select",
|
|
|
- label: "客户状态",
|
|
|
- field: "state",
|
|
|
+ label: "运营商名称",
|
|
|
+ field: "source",
|
|
|
options: [],
|
|
|
- dict: "userType",
|
|
|
+ dict: "source",
|
|
|
value: "",
|
|
|
width: "200",
|
|
|
},
|
|
|
{
|
|
|
- type: "range-picker",
|
|
|
- label: "创建时间",
|
|
|
- field: "createdAt",
|
|
|
- value: [],
|
|
|
- width: "300",
|
|
|
- Custom: 'mode="month"',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const UserColumns = [
|
|
|
- {
|
|
|
- title: window.$t("customer.id"),
|
|
|
- dataIndex: "id",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
- },
|
|
|
- {
|
|
|
- title: window.$t("customer.customerName"),
|
|
|
- dataIndex: "name",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
- },
|
|
|
- {
|
|
|
- title: window.$t("customer.userAdmin"),
|
|
|
- dataIndex: "username",
|
|
|
- align: "center",
|
|
|
- },
|
|
|
- {
|
|
|
- title: window.$t("customer.customerStatus"),
|
|
|
- slotName: "state",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
- },
|
|
|
- { title: "app_key ", dataIndex: "appKey", align: "center", ellipsis: true },
|
|
|
- {
|
|
|
- title: "app_secret",
|
|
|
- dataIndex: "appSecret",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
- },
|
|
|
- {
|
|
|
- title: window.$t("customer.startTime"),
|
|
|
- dataIndex: "createdAt",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
- },
|
|
|
- {
|
|
|
- title: window.$t("customer.updateTime"),
|
|
|
- dataIndex: "updatedAt",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
+ type: "input",
|
|
|
+ label: "资费名称",
|
|
|
+ field: "tariffName",
|
|
|
+ value: "",
|
|
|
},
|
|
|
{
|
|
|
- title: window.$t("global.common.operations"),
|
|
|
- slotName: "operation",
|
|
|
- align: "center",
|
|
|
- ellipsis: true,
|
|
|
+ type: "range-picker",
|
|
|
+ label: "更新日期",
|
|
|
+ field: "updatedAt",
|
|
|
+ value: "",
|
|
|
+ width: "240",
|
|
|
},
|
|
|
];
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-export const columnsFlow = [
|
|
|
- { title: window.$t('flowPool.poolNumber'), dataIndex: 'id', align: 'center', ellipsis:true,width: 50 },
|
|
|
- { title: window.$t('flowPool.label'), dataIndex: 'label', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
-
|
|
|
-
|
|
|
- { title: window.$t('flowPool.trafficPoolStatus'), slotName: 'status', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- { title: window.$t('flowPool.source'), dataIndex: 'sourceName', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
- { title: window.$t('flowPool.tariffName'), dataIndex: 'simTariffName', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
- { title: window.$t('flowPool.ActivatedName'),dataIndex:'Activated', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
- { title: window.$t('flowPool.HaveBeenUsedName'), dataIndex: 'HaveBeenUsed', align: 'center', width: 200 ,tooltip:true,ellipsis:true},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- { title: window.$t('flowPool.updated_at'), dataIndex: 'updatedAt', align: 'center', width: 200,tooltip:true,ellipsis:true },
|
|
|
- {
|
|
|
- title: window.$t('global.common.operations'),
|
|
|
- slotName: 'id',
|
|
|
- align: 'center',
|
|
|
- width: 250,
|
|
|
- fixed: "right",
|
|
|
- }
|
|
|
-]
|
|
|
-
|