[Logbookadvanced] Added a few more columns
这个提交包含在:
父节点
dbc8a5451a
当前提交
6cd742bea3
共有 3 个文件被更改,包括 51 次插入 和 4 次删除
|
|
@ -183,6 +183,10 @@
|
||||||
<th>QSL Sent</th>
|
<th>QSL Sent</th>
|
||||||
<th>QSL Received</th>
|
<th>QSL Received</th>
|
||||||
<th>QSL Msg</th>
|
<th>QSL Msg</th>
|
||||||
|
<th>DXCC</th>
|
||||||
|
<th>State</th>
|
||||||
|
<th>CQ Zone</th>
|
||||||
|
<th>IOTA</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ function updateRow(qso) {
|
||||||
cells.eq(c++).text(qso.qslSent);
|
cells.eq(c++).text(qso.qslSent);
|
||||||
cells.eq(c++).text(qso.qslReceived);
|
cells.eq(c++).text(qso.qslReceived);
|
||||||
cells.eq(c++).text(qso.qslMessage);
|
cells.eq(c++).text(qso.qslMessage);
|
||||||
|
cells.eq(c++).text(qso.dxcc);
|
||||||
|
cells.eq(c++).text(qso.state);
|
||||||
|
cells.eq(c++).text(qso.cqzone);
|
||||||
|
cells.eq(c++).text(qso.iota);
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -64,6 +68,10 @@ function loadQSOTable(rows) {
|
||||||
qso.qslSent,
|
qso.qslSent,
|
||||||
qso.qslReceived,
|
qso.qslReceived,
|
||||||
qso.qslMessage,
|
qso.qslMessage,
|
||||||
|
qso.dxcc,
|
||||||
|
qso.state,
|
||||||
|
qso.cqzone,
|
||||||
|
qso.iota,
|
||||||
];
|
];
|
||||||
|
|
||||||
let createdRow = table.row.add(data).index();
|
let createdRow = table.row.add(data).index();
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,11 @@ class QSO
|
||||||
private string $deSigInfo;
|
private string $deSigInfo;
|
||||||
private string $deIOTAIslandID;
|
private string $deIOTAIslandID;
|
||||||
private string $deSOTAReference;
|
private string $deSOTAReference;
|
||||||
|
/** Awards */
|
||||||
|
private string $cqzone;
|
||||||
|
private string $state;
|
||||||
|
private string $dxcc;
|
||||||
|
private string $iota;
|
||||||
/** @var string[] */
|
/** @var string[] */
|
||||||
private array $deVUCCGridsquares;
|
private array $deVUCCGridsquares;
|
||||||
private string $dxGridsquare;
|
private string $dxGridsquare;
|
||||||
|
|
@ -93,7 +98,11 @@ class QSO
|
||||||
'COL_MY_VUCC_GRIDS',
|
'COL_MY_VUCC_GRIDS',
|
||||||
'COL_SOTA_REF',
|
'COL_SOTA_REF',
|
||||||
'COL_SUBMODE',
|
'COL_SUBMODE',
|
||||||
'COL_VUCC_GRIDS'
|
'COL_VUCC_GRIDS',
|
||||||
|
'COL_CQZ',
|
||||||
|
'COL_STATE',
|
||||||
|
'COL_COUNTRY',
|
||||||
|
'COL_IOTA',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -152,6 +161,11 @@ class QSO
|
||||||
$this->QSLSent = ($data['COL_QSL_SENT'] === null) ? '' : $data['COL_QSL_SENT'];
|
$this->QSLSent = ($data['COL_QSL_SENT'] === null) ? '' : $data['COL_QSL_SENT'];
|
||||||
$this->QSLSentVia = ($data['COL_QSL_SENT_VIA'] === null) ? '' : $data['COL_QSL_SENT_VIA'];
|
$this->QSLSentVia = ($data['COL_QSL_SENT_VIA'] === null) ? '' : $data['COL_QSL_SENT_VIA'];
|
||||||
$this->QSLVia = ($data['COL_QSL_VIA'] === null) ? '' : $data['COL_QSL_VIA'];
|
$this->QSLVia = ($data['COL_QSL_VIA'] === null) ? '' : $data['COL_QSL_VIA'];
|
||||||
|
|
||||||
|
$this->cqzone = $data['COL_CQZ'];
|
||||||
|
$this->state = $data['COL_STATE'];
|
||||||
|
$this->dxcc = $data['COL_COUNTRY'];
|
||||||
|
$this->iota = $data['COL_IOTA'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -458,6 +472,26 @@ class QSO
|
||||||
return $this->QSLVia;
|
return $this->QSLVia;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDXCC(): string
|
||||||
|
{
|
||||||
|
return $this->dxcc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCqzone(): string
|
||||||
|
{
|
||||||
|
return $this->cqzone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getState(): string
|
||||||
|
{
|
||||||
|
return $this->state;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getIOTA(): string
|
||||||
|
{
|
||||||
|
return $this->iota;
|
||||||
|
}
|
||||||
|
|
||||||
public function toArray(): array
|
public function toArray(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|
@ -476,6 +510,10 @@ class QSO
|
||||||
'qslReceived' => $this->getFormattedQSLReceived(),
|
'qslReceived' => $this->getFormattedQSLReceived(),
|
||||||
'qslMessage' => $this->getQSLMsg(),
|
'qslMessage' => $this->getQSLMsg(),
|
||||||
'name' => $this->getName(),
|
'name' => $this->getName(),
|
||||||
|
'dxcc' => $this->getDXCC(),
|
||||||
|
'state' => $this->getState(),
|
||||||
|
'cqzone' => $this->getCqzone(),
|
||||||
|
'iota' => $this->getIOTA(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -541,9 +579,6 @@ class QSO
|
||||||
} else if ($this->dxGridsquare !== '') {
|
} else if ($this->dxGridsquare !== '') {
|
||||||
$refs[] = $this->dxGridsquare;
|
$refs[] = $this->dxGridsquare;
|
||||||
}
|
}
|
||||||
if ($this->dxIOTA !== '') {
|
|
||||||
$refs[] = "IOTA:" . $this->dxIOTA;
|
|
||||||
}
|
|
||||||
if ($this->dxSOTAReference !== '') {
|
if ($this->dxSOTAReference !== '') {
|
||||||
$refs[] = "SOTA:" . $this->dxSOTAReference;
|
$refs[] = "SOTA:" . $this->dxSOTAReference;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用