Compare commits
2 Commits
cead32f93d
...
de60b3cded
| Author | SHA1 | Date | |
|---|---|---|---|
| de60b3cded | |||
| 73576a8f28 |
@ -382,12 +382,12 @@
|
|||||||
worksheet.getCell('F4').style = parameterStyle
|
worksheet.getCell('F4').style = parameterStyle
|
||||||
// 所有记录中最小角度
|
// 所有记录中最小角度
|
||||||
worksheet.getCell('G4').value = {
|
worksheet.getCell('G4').value = {
|
||||||
formula: `MIN(D9: D${recordList.value.length + 8})`,
|
formula: `MIN(D9:D${8 + recordList.value.length})`,
|
||||||
}
|
}
|
||||||
worksheet.getCell('G4').style = valueStyle
|
worksheet.getCell('G4').style = valueStyle
|
||||||
// 所有记录中最大角度
|
// 所有记录中最大角度
|
||||||
worksheet.getCell('H4').value = {
|
worksheet.getCell('H4').value = {
|
||||||
formula: `MAX(D9: D${recordList.value.length + 8})`,
|
formula: `MAX(D9:D${8 + recordList.value.length})`,
|
||||||
}
|
}
|
||||||
worksheet.getCell('H4').style = valueStyle
|
worksheet.getCell('H4').style = valueStyle
|
||||||
|
|
||||||
@ -423,8 +423,6 @@
|
|||||||
for (const [index, column] of worksheet.columns.entries()) {
|
for (const [index, column] of worksheet.columns.entries()) {
|
||||||
let maxLength = 0
|
let maxLength = 0
|
||||||
|
|
||||||
const columnLetter = String.fromCodePoint(65 + index)
|
|
||||||
|
|
||||||
if (column && typeof column.eachCell === 'function') {
|
if (column && typeof column.eachCell === 'function') {
|
||||||
column.eachCell({ includeEmpty: true }, cell => {
|
column.eachCell({ includeEmpty: true }, cell => {
|
||||||
const cellValue = cell.value ? String(cell.value) : ''
|
const cellValue = cell.value ? String(cell.value) : ''
|
||||||
|
|||||||
@ -57,8 +57,8 @@
|
|||||||
"new_120Series": "新120系列",
|
"new_120Series": "新120系列",
|
||||||
"cumulativeThickness": "累计厚度",
|
"cumulativeThickness": "累计厚度",
|
||||||
"reference": "参考区间",
|
"reference": "参考区间",
|
||||||
"minimum": "最大值",
|
"minimum": "最小值",
|
||||||
"maximum": "最小值",
|
"maximum": "最大值",
|
||||||
"calculatedValue": "计算值",
|
"calculatedValue": "计算值",
|
||||||
"fit": "符合",
|
"fit": "符合",
|
||||||
"notFit": "不符合",
|
"notFit": "不符合",
|
||||||
|
|||||||
Reference in New Issue
Block a user