+ L414-5KR 相关物质修改提示信息
+ 目录结构调整
This commit is contained in:
4934
decimal.js
4934
decimal.js
File diff suppressed because it is too large
Load Diff
18
index.html
18
index.html
@@ -4,8 +4,8 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="./statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="./statics/theme.css">
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
let page = 10
|
let page = 10
|
||||||
@@ -14,31 +14,31 @@
|
|||||||
let functions = [
|
let functions = [
|
||||||
{
|
{
|
||||||
"name": "标水",
|
"name": "标水",
|
||||||
"location": "./titer.html"
|
"location": "./views/titer.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "干燥失重",
|
"name": "干燥失重",
|
||||||
"location": "./lod.html"
|
"location": "./views/lod.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "炽灼残渣",
|
"name": "炽灼残渣",
|
||||||
"location": "./roi.html"
|
"location": "./views/roi.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "进样时间",
|
"name": "进样时间",
|
||||||
"location": "./injection-sequence.html"
|
"location": "./views/injection-sequence.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "设备信息",
|
"name": "设备信息",
|
||||||
"location": "./equipment.html"
|
"location": "./views/equipment.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "L414-5KR 相关物质",
|
"name": "L414-5KR 相关物质",
|
||||||
"location": "./L414-5KR-impurities.html"
|
"location": "./views/L414-5KR-impurities.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "L014-1 相关物质",
|
"name": "L014-1 相关物质",
|
||||||
"location": "./L014-1-impurities.html"
|
"location": "./views/L014-1-impurities.html"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
font-family: 'Open Sans';
|
font-family: 'Open Sans';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
src: local('Open Sans Regular'), local('OpenSans-Regular'), url('./github/open-sans-v29-latin-ext-regular.woff2') format('woff2');
|
src: local('Open Sans Regular'), local('OpenSans-Regular'), url('./fonts/open-sans-v29-latin-ext-regular.woff2') format('woff2');
|
||||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
}
|
}
|
||||||
/* open-sans-italic - latin-ext */
|
/* open-sans-italic - latin-ext */
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
font-family: 'Open Sans';
|
font-family: 'Open Sans';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('./github/open-sans-v29-latin-ext-italic.woff2') format('woff2');
|
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('./fonts/open-sans-v29-latin-ext-italic.woff2') format('woff2');
|
||||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
}
|
}
|
||||||
/* open-sans-700 - latin-ext */
|
/* open-sans-700 - latin-ext */
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
font-family: 'Open Sans';
|
font-family: 'Open Sans';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('./github/open-sans-v29-latin-ext-700.woff2') format('woff2');
|
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('./fonts/open-sans-v29-latin-ext-700.woff2') format('woff2');
|
||||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
}
|
}
|
||||||
/* open-sans-700italic - latin-ext */
|
/* open-sans-700italic - latin-ext */
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
font-family: 'Open Sans';
|
font-family: 'Open Sans';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('./github/open-sans-v29-latin-ext-700italic.woff2') format('woff2');
|
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('./fonts/open-sans-v29-latin-ext-700italic.woff2') format('woff2');
|
||||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -6,11 +6,11 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>L014-1 相关物质</title>
|
<title>L014-1 相关物质</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { Decimal } from "./modules/decimal.mjs"
|
import { Decimal } from "../statics/modules/decimal.mjs"
|
||||||
|
|
||||||
let decimal = Decimal.set({
|
let decimal = Decimal.set({
|
||||||
rounding: Decimal.ROUND_HALF_EVEN,
|
rounding: Decimal.ROUND_HALF_EVEN,
|
||||||
@@ -6,27 +6,47 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>L414-5KR 相关物质</title>
|
<title>L414-5KR 相关物质</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="./decimal.js"></script>
|
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script>
|
<script type="module">
|
||||||
let debug = false
|
import { Decimal } from "../statics/modules/decimal.mjs"
|
||||||
|
|
||||||
|
// debug 开关
|
||||||
|
const DEBUG = false
|
||||||
// 校正因子
|
// 校正因子
|
||||||
let F_L414_3 = new Decimal(0.80)
|
const F_L414_3 = 0.80
|
||||||
let F_L414_5_IM = new Decimal(1.48)
|
const F_L414_5_IM = 1.48
|
||||||
// 计算精度
|
// 计算精度
|
||||||
let PRECISION = 3
|
const PRECISION = 3
|
||||||
// 操规允许的最大值
|
// 操规允许的最大值
|
||||||
let MAX_L414_3 = 0.3
|
const MAX_L414_3 = 0.3
|
||||||
let MAX_L414_5_IM = 1.0
|
const MAX_L414_5_IM = 1.0
|
||||||
let MAX_TOTAL_IMPURITIES = 2.0
|
const MAX_TOTAL_IMPURITIES = 2.0
|
||||||
let MIN_PURITY = 98.0
|
const MIN_PURITY = 98.0
|
||||||
|
|
||||||
|
let tips_params = `
|
||||||
|
<b>相关参数:</b><br>
|
||||||
|
L414-3 的校正因子: ${F_L414_3.toFixed(2)}<br>
|
||||||
|
L414-5-IM 的校正因子: ${F_L414_5_IM}<br>
|
||||||
|
`
|
||||||
|
|
||||||
|
let tips_standard = `
|
||||||
|
<b>质量标准:</b><br>
|
||||||
|
L414-3 ≤ ${MAX_L414_3}% <br>
|
||||||
|
L414-401 ≤ 0.2% <br>
|
||||||
|
L414-5-IM ≤ ${MAX_L414_5_IM.toFixed(1)}% <br>
|
||||||
|
最大单杂 ≤ 0.50% <br>
|
||||||
|
杂质总量 ≤ ${MAX_TOTAL_IMPURITIES}% <br>
|
||||||
|
纯度 ≥ ${MIN_PURITY}% <br>
|
||||||
|
`
|
||||||
|
|
||||||
// 默认的消息提示
|
// 默认的消息提示
|
||||||
let tips = `计算 L414-3、L414-5-IM、杂质总量、纯度`
|
let tips = `
|
||||||
|
${tips_params}
|
||||||
|
<br>
|
||||||
|
${tips_standard}
|
||||||
|
`
|
||||||
|
|
||||||
let decimal = Decimal.set({
|
let decimal = Decimal.set({
|
||||||
rounding: Decimal.ROUND_HALF_EVEN,
|
rounding: Decimal.ROUND_HALF_EVEN,
|
||||||
@@ -43,7 +63,7 @@
|
|||||||
let two_414_5_im = $("#two-414-5-im")
|
let two_414_5_im = $("#two-414-5-im")
|
||||||
let two_414_5 = $("#two-414-5")
|
let two_414_5 = $("#two-414-5")
|
||||||
|
|
||||||
if (debug) {
|
if (DEBUG) {
|
||||||
one_414_3.val(1762)
|
one_414_3.val(1762)
|
||||||
one_414_5_im.val(2614)
|
one_414_5_im.val(2614)
|
||||||
one_414_5.val(24001626)
|
one_414_5.val(24001626)
|
||||||
@@ -117,15 +137,13 @@
|
|||||||
|
|
||||||
$("#table").show()
|
$("#table").show()
|
||||||
generateTable(data)
|
generateTable(data)
|
||||||
|
$("#msgbox").html(`
|
||||||
let msg = `
|
<br>
|
||||||
操规允许: <br>
|
<b>注意:</b><br>
|
||||||
L414-3 ≤ ${MAX_L414_3}% <br>
|
结果表格中,标注 / 的仅用于占行,具体结果需查看色谱图峰表。<br>
|
||||||
L414-5-IM ≤ ${MAX_L414_5_IM.toPrecision(2)}% <br>
|
<br>
|
||||||
总杂 ≤ ${MAX_TOTAL_IMPURITIES.toPrecision(2)}% <br>
|
${tips}
|
||||||
纯度 ≥ ${MIN_PURITY}% <br>
|
`)
|
||||||
`
|
|
||||||
$("#msgbox").html(msg)
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -232,7 +250,7 @@
|
|||||||
<td id="average"></td>
|
<td id="average"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="L414-4">
|
<tr id="L414-4">
|
||||||
<th scope="row">L414-4</th>
|
<th scope="row">L414-401</th>
|
||||||
<td id="one">/</td>
|
<td id="one">/</td>
|
||||||
<td id="two">/</td>
|
<td id="two">/</td>
|
||||||
<td id="average">/</td>
|
<td id="average">/</td>
|
||||||
@@ -6,8 +6,8 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>设备信息</title>
|
<title>设备信息</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script src="./equipment.info.js"></script>
|
<script src="./equipment.info.js"></script>
|
||||||
<script>
|
<script>
|
||||||
@@ -6,12 +6,12 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>进样时间</title>
|
<title>进样时间</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="./modules/dayjs.min.js"></script>
|
<script src="../statics/modules/dayjs.min.js"></script>
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { Decimal } from "./modules/decimal.mjs"
|
import { Decimal } from "../statics/modules/decimal.mjs"
|
||||||
|
|
||||||
const decimal = Decimal.set({
|
const decimal = Decimal.set({
|
||||||
rounding: Decimal.ROUND_HALF_EVEN,
|
rounding: Decimal.ROUND_HALF_EVEN,
|
||||||
@@ -6,12 +6,13 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>干燥失重</title>
|
<title>干燥失重</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { Decimal } from './modules/decimal.mjs'
|
import { Decimal } from "../statics/modules/decimal.mjs"
|
||||||
import { IO } from './modules/tools.js'
|
import { IO } from "../statics/modules/tools.js"
|
||||||
|
|
||||||
let io = new IO('lod')
|
let io = new IO('lod')
|
||||||
let debug = false
|
let debug = false
|
||||||
let tip = `
|
let tip = `
|
||||||
@@ -6,12 +6,12 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>炽灼残渣</title>
|
<title>炽灼残渣</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="./decimal.js"></script>
|
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { IO } from './modules/tools.js'
|
import { Decimal } from "../statics/modules/decimal.mjs"
|
||||||
|
import { IO } from "../statics/modules/tools.js"
|
||||||
|
|
||||||
let io = new IO('roi')
|
let io = new IO('roi')
|
||||||
let decimal = Decimal.set({
|
let decimal = Decimal.set({
|
||||||
@@ -6,12 +6,12 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>标水</title>
|
<title>标水</title>
|
||||||
<link rel="stylesheet" href="./github.css">
|
<link rel="stylesheet" href="../statics/github.css">
|
||||||
<link rel="stylesheet" href="./theme.css">
|
<link rel="stylesheet" href="../statics/theme.css">
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { Decimal } from "./modules/decimal.mjs"
|
import { Decimal } from "../statics/modules/decimal.mjs"
|
||||||
import { Formula } from "./modules/tools.js"
|
import { Formula } from "../statics/modules/tools.js"
|
||||||
|
|
||||||
let debug = false
|
let debug = false
|
||||||
let tip = `<br>
|
let tip = `<br>
|
||||||
Reference in New Issue
Block a user