|
|
|
@ -7,10 +7,7 @@
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="text2">
|
|
|
|
|
<p style="width:100px;height:37px;">{{ item.eqmt_name }}</p>
|
|
|
|
|
<dv-water-level-pond
|
|
|
|
|
:config="item.config"
|
|
|
|
|
style="width: 100px; height: 100px"
|
|
|
|
|
/>
|
|
|
|
|
<dv-water-level-pond :config="item.config" style="width: 100px; height: 100px" />
|
|
|
|
|
<span>产线合格率</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="text3">
|
|
|
|
@ -40,7 +37,13 @@ import { request } from '@/utils/request.js'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {},
|
|
|
|
|
|
|
|
|
|
props: {
|
|
|
|
|
rindex: {
|
|
|
|
|
type: Number,
|
|
|
|
|
request: false,
|
|
|
|
|
default: 0
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
lessL: 0,
|
|
|
|
@ -106,14 +109,25 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
console.log(this.rindex);
|
|
|
|
|
this.setData()
|
|
|
|
|
this.startInterval()
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
rindex: {
|
|
|
|
|
handler(newVal, oldVal) {
|
|
|
|
|
// console.log(newVal);
|
|
|
|
|
this.rindex = newVal;
|
|
|
|
|
this.setData();
|
|
|
|
|
},
|
|
|
|
|
immediate: true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// 开启定时器
|
|
|
|
|
startInterval() {
|
|
|
|
|
const _this = this
|
|
|
|
|
// 应通过接口获取配置时间,暂时写死10s
|
|
|
|
|
// 应通过接口获取配置时间,暂时写死10min
|
|
|
|
|
const time = 10 * 60 * 1000
|
|
|
|
|
if (this.intervalId !== null) {
|
|
|
|
|
clearInterval(this.intervalId)
|
|
|
|
@ -125,188 +139,362 @@ export default {
|
|
|
|
|
// // 根据自己的业务情况修改
|
|
|
|
|
setData() {
|
|
|
|
|
const _this = this
|
|
|
|
|
request({
|
|
|
|
|
// 各产线
|
|
|
|
|
url: '/api/BigScreen/getEqmtDetailList',
|
|
|
|
|
method: 'get'
|
|
|
|
|
}).then((r) => {
|
|
|
|
|
debugger
|
|
|
|
|
if (r) {
|
|
|
|
|
const rData = r.data
|
|
|
|
|
|
|
|
|
|
const objS = [
|
|
|
|
|
{
|
|
|
|
|
collect_id: null,
|
|
|
|
|
create_time: null,
|
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
|
eqmt_id: 0,
|
|
|
|
|
eqmt_name: '5#',
|
|
|
|
|
eqmt_status: 0,
|
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
|
gmt_modified: null,
|
|
|
|
|
id: 0,
|
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
|
oee: 0,
|
|
|
|
|
product_type: null,
|
|
|
|
|
product_type_name: null,
|
|
|
|
|
speed: 0,
|
|
|
|
|
sys_org_code: null,
|
|
|
|
|
total_product_qty: 0,
|
|
|
|
|
update_by: null,
|
|
|
|
|
update_time: null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
collect_id: null,
|
|
|
|
|
create_time: null,
|
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
|
eqmt_id: 0,
|
|
|
|
|
eqmt_name: '7#',
|
|
|
|
|
eqmt_status: 0,
|
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
|
gmt_modified: null,
|
|
|
|
|
id: 0,
|
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
|
oee: 0,
|
|
|
|
|
product_type: null,
|
|
|
|
|
product_type_name: null,
|
|
|
|
|
speed: 0,
|
|
|
|
|
sys_org_code: null,
|
|
|
|
|
total_product_qty: 0,
|
|
|
|
|
update_by: null,
|
|
|
|
|
update_time: null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
collect_id: null,
|
|
|
|
|
create_time: null,
|
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
|
eqmt_id: 0,
|
|
|
|
|
eqmt_name: '8#',
|
|
|
|
|
eqmt_status: 0,
|
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
|
gmt_modified: null,
|
|
|
|
|
id: 0,
|
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
|
oee: 0,
|
|
|
|
|
product_type: null,
|
|
|
|
|
product_type_name: null,
|
|
|
|
|
speed: 0,
|
|
|
|
|
sys_org_code: null,
|
|
|
|
|
total_product_qty: 0,
|
|
|
|
|
update_by: null,
|
|
|
|
|
update_time: null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
collect_id: null,
|
|
|
|
|
create_time: null,
|
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
|
eqmt_id: 0,
|
|
|
|
|
eqmt_name: '20#',
|
|
|
|
|
eqmt_status: 0,
|
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
|
gmt_modified: null,
|
|
|
|
|
id: 0,
|
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
|
oee: 0,
|
|
|
|
|
product_type: null,
|
|
|
|
|
product_type_name: null,
|
|
|
|
|
speed: 0,
|
|
|
|
|
sys_org_code: null,
|
|
|
|
|
total_product_qty: 0,
|
|
|
|
|
update_by: null,
|
|
|
|
|
update_time: null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
collect_id: null,
|
|
|
|
|
create_time: null,
|
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
|
eqmt_id: 0,
|
|
|
|
|
eqmt_name: '21#',
|
|
|
|
|
eqmt_status: 0,
|
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
|
gmt_modified: null,
|
|
|
|
|
id: 0,
|
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
|
oee: 0,
|
|
|
|
|
product_type: null,
|
|
|
|
|
product_type_name: null,
|
|
|
|
|
speed: 0,
|
|
|
|
|
sys_org_code: null,
|
|
|
|
|
total_product_qty: 0,
|
|
|
|
|
update_by: null,
|
|
|
|
|
update_time: null
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
const rData2 = [...rData]
|
|
|
|
|
// request({
|
|
|
|
|
// // 各产线
|
|
|
|
|
// url: '/api/BigScreen/getEqmtDetailList',
|
|
|
|
|
// method: 'get'
|
|
|
|
|
// }).then((r) => {
|
|
|
|
|
// // debugger
|
|
|
|
|
// if (r) {
|
|
|
|
|
// const rData = r.data
|
|
|
|
|
let arr = [98.39, 98.40, 98.41, 98.43, 98.44, 98.45];
|
|
|
|
|
const rData = [
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "7#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 290895,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 98.43,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 2,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 97.21,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "13#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 0,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "15#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 0,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "16#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 91235,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 97.7,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 3,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 96.75,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "17#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 121992,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 98.22,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 95.91,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "18#",
|
|
|
|
|
"id": 110322,
|
|
|
|
|
"gmt_create": "2023-11-14 17:40:01",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": "2e775414-6cc4-4bc7-84e0-d36068f93458",
|
|
|
|
|
"eqmt_id": 4,
|
|
|
|
|
"product_type": "1",
|
|
|
|
|
"product_type_name": "经期裤(M)",
|
|
|
|
|
"speed": 320,
|
|
|
|
|
"total_product_qty": 271044002,
|
|
|
|
|
"intraday_product_qty": 185924,
|
|
|
|
|
"intraday_ok_qty": 112790,
|
|
|
|
|
"intraday_ng_qty": 3134,
|
|
|
|
|
"intraday_yield_rate": arr[this.rindex],
|
|
|
|
|
"intraday_eqmt_run_time": 35520,
|
|
|
|
|
"intraday_eqmt_work_time": 34080,
|
|
|
|
|
"intraday_eqmt_stop_time": 1380,
|
|
|
|
|
"intraday_eqmt_work_rate": 96.05,
|
|
|
|
|
"intraday_eqmt_stop_times": 1,
|
|
|
|
|
"eqmt_status": 1,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 98.22,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "19#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 102300,/* */
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 97.38,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 97.67,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "21#",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 109949,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 99.1,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 2,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 98.17,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "平面口罩",
|
|
|
|
|
"id": 110323,
|
|
|
|
|
"gmt_create": "2023-11-14 17:40:02",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": "9300c737-ef7f-4021-8914-429753306773",
|
|
|
|
|
"eqmt_id": 8,
|
|
|
|
|
"product_type": "1",
|
|
|
|
|
"product_type_name": "平面口罩(245mm)",
|
|
|
|
|
"speed": 580,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 0,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "KN95-1",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 0,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"eqmt_name": "KN95-2",
|
|
|
|
|
"id": 0,
|
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
|
"gmt_modified": null,
|
|
|
|
|
"collect_id": null,
|
|
|
|
|
"eqmt_id": 0,
|
|
|
|
|
"product_type": null,
|
|
|
|
|
"product_type_name": null,
|
|
|
|
|
"speed": 0,
|
|
|
|
|
"total_product_qty": 0,
|
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
|
"eqmt_status": 0,
|
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
|
"oee": 0,
|
|
|
|
|
"create_time": null,
|
|
|
|
|
"update_by": null,
|
|
|
|
|
"update_time": null,
|
|
|
|
|
"sys_org_code": null
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
const rData2 = [...rData]
|
|
|
|
|
|
|
|
|
|
// console.log(rData)
|
|
|
|
|
// rData = [...rData];
|
|
|
|
|
_this.reqlist = []
|
|
|
|
|
for (const item of rData2) {
|
|
|
|
|
var n = {
|
|
|
|
|
data: [item.intraday_yield_rate],
|
|
|
|
|
shape: 'round',
|
|
|
|
|
formatter: '{value}%',
|
|
|
|
|
waveNum: 2,
|
|
|
|
|
waveHeight: 10
|
|
|
|
|
}
|
|
|
|
|
_this.reqlist.push({
|
|
|
|
|
eqmt_name: item.eqmt_name,
|
|
|
|
|
product_type_name: item.product_type_name,
|
|
|
|
|
intraday_ok_qty: item.intraday_ok_qty,
|
|
|
|
|
oee: item.oee,
|
|
|
|
|
intraday_eqmt_stop_times: item.intraday_eqmt_stop_times,
|
|
|
|
|
config: n
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
this.lessL = 4 - rData2.length % 4
|
|
|
|
|
// console.log(rData)
|
|
|
|
|
// rData = [...rData];
|
|
|
|
|
_this.reqlist = []
|
|
|
|
|
for (const item of rData2) {
|
|
|
|
|
var n = {
|
|
|
|
|
data: [item.intraday_yield_rate],
|
|
|
|
|
shape: 'round',
|
|
|
|
|
formatter: '{value}%',
|
|
|
|
|
waveNum: 2,
|
|
|
|
|
waveHeight: 10
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
_this.reqlist.push({
|
|
|
|
|
eqmt_name: item.eqmt_name,
|
|
|
|
|
product_type_name: item.product_type_name,
|
|
|
|
|
intraday_ok_qty: item.intraday_ok_qty,
|
|
|
|
|
oee: item.oee,
|
|
|
|
|
intraday_eqmt_stop_times: item.intraday_eqmt_stop_times,
|
|
|
|
|
config: n
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
this.lessL = 4 - rData2.length % 4
|
|
|
|
|
}
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
@ -322,13 +510,16 @@ $box-height: 210px;
|
|
|
|
|
height: $box-height;
|
|
|
|
|
width: $box-width;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
|
|
.bg-color-black {
|
|
|
|
|
height: $box-height - 0px;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
color: #c3cbde;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dv-dec-3 {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100px;
|
|
|
|
@ -338,18 +529,21 @@ $box-height: 210px;
|
|
|
|
|
|
|
|
|
|
.bottom-data {
|
|
|
|
|
.item-box {
|
|
|
|
|
& > div {
|
|
|
|
|
&>div {
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
float: right;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 50%;
|
|
|
|
|
color: #d3d6dd;
|
|
|
|
|
|
|
|
|
|
.dv-digital-flop {
|
|
|
|
|
width: 120px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 金币
|
|
|
|
|
.coin {
|
|
|
|
|
position: relative;
|
|
|
|
@ -357,30 +551,35 @@ $box-height: 210px;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
color: #ffc107;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.colorYellow {
|
|
|
|
|
color: yellowgreen;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text2 {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text2 span {
|
|
|
|
|
margin: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text1 p {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text3 {
|
|
|
|
|
margin-top: 37px;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
height: 35px;
|
|
|
|
|
line-height: 35px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
}</style>
|
|
|
|
|