123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- export const columns = [
- {
- 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",
- },
- ];
- export const columnsAfter = [
- {
- 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: "池大小",
- 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,
- },
- {
- title: window.$t("global.common.operations"),
- slotName: "id",
- align: "center",
- width: 250,
- fixed: "right",
- },
- ];
- export const SearchFormList = [
- {
- type: "input",
- label: "流量池名称",
- field: "label",
- value: "", // 双向绑定的值
- },
- {
- type: "select",
- label: "流量池状态",
- field: "status",
- options: [], // 默认空,后面会通过字典加载
- dict: "trafficPacketStatus",
- value: "", // 双向绑定的值
- width: "200",
- },
- {
- type: "select",
- label: "运营商名称",
- field: "source",
- options: [], // 默认空,后面会通过字典加载
- dict: "source",
- value: "", // 双向绑定的值
- width: "200",
- },
- {
- type: "input",
- label: "资费名称",
- field: "tariffName",
- value: "", // 双向绑定的值
- },
- {
- type: "range-picker",
- label: "更新日期",
- field: "updatedAt",
- value: [], // 双向绑定的值
- width: "240",
- },
- ];
|