|
|
@ -37,13 +37,7 @@ import { request } from '@/utils/request.js'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {},
|
|
|
|
components: {},
|
|
|
|
props: {
|
|
|
|
|
|
|
|
rindex: {
|
|
|
|
|
|
|
|
type: Number,
|
|
|
|
|
|
|
|
request: false,
|
|
|
|
|
|
|
|
default: 0
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
lessL: 0,
|
|
|
|
lessL: 0,
|
|
|
@ -109,25 +103,14 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
console.log(this.rindex);
|
|
|
|
|
|
|
|
this.setData()
|
|
|
|
this.setData()
|
|
|
|
this.startInterval()
|
|
|
|
this.startInterval()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
|
|
|
|
rindex: {
|
|
|
|
|
|
|
|
handler(newVal, oldVal) {
|
|
|
|
|
|
|
|
// console.log(newVal);
|
|
|
|
|
|
|
|
this.rindex = newVal;
|
|
|
|
|
|
|
|
this.setData();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
immediate: true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
// 开启定时器
|
|
|
|
// 开启定时器
|
|
|
|
startInterval() {
|
|
|
|
startInterval() {
|
|
|
|
const _this = this
|
|
|
|
const _this = this
|
|
|
|
// 应通过接口获取配置时间,暂时写死10min
|
|
|
|
// 应通过接口获取配置时间,暂时写死10s
|
|
|
|
const time = 10 * 60 * 1000
|
|
|
|
const time = 10 * 60 * 1000
|
|
|
|
if (this.intervalId !== null) {
|
|
|
|
if (this.intervalId !== null) {
|
|
|
|
clearInterval(this.intervalId)
|
|
|
|
clearInterval(this.intervalId)
|
|
|
@ -139,362 +122,188 @@ export default {
|
|
|
|
// // 根据自己的业务情况修改
|
|
|
|
// // 根据自己的业务情况修改
|
|
|
|
setData() {
|
|
|
|
setData() {
|
|
|
|
const _this = this
|
|
|
|
const _this = this
|
|
|
|
// request({
|
|
|
|
request({
|
|
|
|
// // 各产线
|
|
|
|
// 各产线
|
|
|
|
// url: '/api/BigScreen/getEqmtDetailList',
|
|
|
|
url: '/api/BigScreen/getEqmtDetailList',
|
|
|
|
// method: 'get'
|
|
|
|
method: 'get'
|
|
|
|
// }).then((r) => {
|
|
|
|
}).then((r) => {
|
|
|
|
// // debugger
|
|
|
|
// debugger
|
|
|
|
// if (r) {
|
|
|
|
if (r) {
|
|
|
|
// const rData = r.data
|
|
|
|
const rData = r.data
|
|
|
|
let arr = [98.39, 98.40, 98.41, 98.43, 98.44, 98.45];
|
|
|
|
|
|
|
|
const rData = [
|
|
|
|
const objS = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"eqmt_name": "7#",
|
|
|
|
collect_id: null,
|
|
|
|
"id": 0,
|
|
|
|
create_time: null,
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
"gmt_modified": null,
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
"collect_id": null,
|
|
|
|
eqmt_id: 0,
|
|
|
|
"eqmt_id": 0,
|
|
|
|
eqmt_name: '5#',
|
|
|
|
"product_type": null,
|
|
|
|
eqmt_status: 0,
|
|
|
|
"product_type_name": null,
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
"speed": 0,
|
|
|
|
gmt_modified: null,
|
|
|
|
"total_product_qty": 0,
|
|
|
|
id: 0,
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
"intraday_ok_qty": 290895,
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
"intraday_yield_rate": 98.43,
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
"intraday_eqmt_stop_times": 2,
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
"eqmt_status": 0,
|
|
|
|
oee: 0,
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
product_type: null,
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
product_type_name: null,
|
|
|
|
"oee": 97.21,
|
|
|
|
speed: 0,
|
|
|
|
"create_time": null,
|
|
|
|
sys_org_code: null,
|
|
|
|
"update_by": null,
|
|
|
|
total_product_qty: 0,
|
|
|
|
"update_time": null,
|
|
|
|
update_by: null,
|
|
|
|
"sys_org_code": null
|
|
|
|
update_time: null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"eqmt_name": "13#",
|
|
|
|
collect_id: null,
|
|
|
|
"id": 0,
|
|
|
|
create_time: null,
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
"gmt_modified": null,
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
"collect_id": null,
|
|
|
|
eqmt_id: 0,
|
|
|
|
"eqmt_id": 0,
|
|
|
|
eqmt_name: '7#',
|
|
|
|
"product_type": null,
|
|
|
|
eqmt_status: 0,
|
|
|
|
"product_type_name": null,
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
"speed": 0,
|
|
|
|
gmt_modified: null,
|
|
|
|
"total_product_qty": 0,
|
|
|
|
id: 0,
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
"eqmt_status": 0,
|
|
|
|
oee: 0,
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
product_type: null,
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
product_type_name: null,
|
|
|
|
"oee": 0,
|
|
|
|
speed: 0,
|
|
|
|
"create_time": null,
|
|
|
|
sys_org_code: null,
|
|
|
|
"update_by": null,
|
|
|
|
total_product_qty: 0,
|
|
|
|
"update_time": null,
|
|
|
|
update_by: null,
|
|
|
|
"sys_org_code": null
|
|
|
|
update_time: null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"eqmt_name": "15#",
|
|
|
|
collect_id: null,
|
|
|
|
"id": 0,
|
|
|
|
create_time: null,
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
"gmt_modified": null,
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
"collect_id": null,
|
|
|
|
eqmt_id: 0,
|
|
|
|
"eqmt_id": 0,
|
|
|
|
eqmt_name: '8#',
|
|
|
|
"product_type": null,
|
|
|
|
eqmt_status: 0,
|
|
|
|
"product_type_name": null,
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
"speed": 0,
|
|
|
|
gmt_modified: null,
|
|
|
|
"total_product_qty": 0,
|
|
|
|
id: 0,
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
"intraday_ok_qty": 0,
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
"intraday_yield_rate": 0,
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
"eqmt_status": 0,
|
|
|
|
oee: 0,
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
product_type: null,
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
product_type_name: null,
|
|
|
|
"oee": 0,
|
|
|
|
speed: 0,
|
|
|
|
"create_time": null,
|
|
|
|
sys_org_code: null,
|
|
|
|
"update_by": null,
|
|
|
|
total_product_qty: 0,
|
|
|
|
"update_time": null,
|
|
|
|
update_by: null,
|
|
|
|
"sys_org_code": null
|
|
|
|
update_time: null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"eqmt_name": "16#",
|
|
|
|
collect_id: null,
|
|
|
|
"id": 0,
|
|
|
|
create_time: null,
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
"gmt_modified": null,
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
"collect_id": null,
|
|
|
|
eqmt_id: 0,
|
|
|
|
"eqmt_id": 0,
|
|
|
|
eqmt_name: '20#',
|
|
|
|
"product_type": null,
|
|
|
|
eqmt_status: 0,
|
|
|
|
"product_type_name": null,
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
"speed": 0,
|
|
|
|
gmt_modified: null,
|
|
|
|
"total_product_qty": 0,
|
|
|
|
id: 0,
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
"intraday_ok_qty": 91235,
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
"intraday_yield_rate": 97.7,
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
"intraday_eqmt_stop_times": 3,
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
"eqmt_status": 0,
|
|
|
|
oee: 0,
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
product_type: null,
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
product_type_name: null,
|
|
|
|
"oee": 96.75,
|
|
|
|
speed: 0,
|
|
|
|
"create_time": null,
|
|
|
|
sys_org_code: null,
|
|
|
|
"update_by": null,
|
|
|
|
total_product_qty: 0,
|
|
|
|
"update_time": null,
|
|
|
|
update_by: null,
|
|
|
|
"sys_org_code": null
|
|
|
|
update_time: null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"eqmt_name": "17#",
|
|
|
|
collect_id: null,
|
|
|
|
"id": 0,
|
|
|
|
create_time: null,
|
|
|
|
"gmt_create": "2023-11-14 17:44:49",
|
|
|
|
eqmt_alarm_flag: 0,
|
|
|
|
"gmt_modified": null,
|
|
|
|
eqmt_except_flag: 0,
|
|
|
|
"collect_id": null,
|
|
|
|
eqmt_id: 0,
|
|
|
|
"eqmt_id": 0,
|
|
|
|
eqmt_name: '21#',
|
|
|
|
"product_type": null,
|
|
|
|
eqmt_status: 0,
|
|
|
|
"product_type_name": null,
|
|
|
|
gmt_create: '2022-08-30 08:16:52',
|
|
|
|
"speed": 0,
|
|
|
|
gmt_modified: null,
|
|
|
|
"total_product_qty": 0,
|
|
|
|
id: 0,
|
|
|
|
"intraday_product_qty": 0,
|
|
|
|
intraday_eqmt_run_time: 0,
|
|
|
|
"intraday_ok_qty": 121992,
|
|
|
|
intraday_eqmt_stop_time: 0,
|
|
|
|
"intraday_ng_qty": 0,
|
|
|
|
intraday_eqmt_stop_times: 0,
|
|
|
|
"intraday_yield_rate": 98.22,
|
|
|
|
intraday_eqmt_work_rate: 0,
|
|
|
|
"intraday_eqmt_run_time": 0,
|
|
|
|
intraday_eqmt_work_time: 0,
|
|
|
|
"intraday_eqmt_work_time": 0,
|
|
|
|
intraday_ng_qty: 0,
|
|
|
|
"intraday_eqmt_stop_time": 0,
|
|
|
|
intraday_ok_qty: 0,
|
|
|
|
"intraday_eqmt_work_rate": 0,
|
|
|
|
intraday_product_qty: 0,
|
|
|
|
"intraday_eqmt_stop_times": 0,
|
|
|
|
intraday_yield_rate: 0,
|
|
|
|
"eqmt_status": 0,
|
|
|
|
oee: 0,
|
|
|
|
"eqmt_except_flag": 0,
|
|
|
|
product_type: null,
|
|
|
|
"eqmt_alarm_flag": 0,
|
|
|
|
product_type_name: null,
|
|
|
|
"oee": 95.91,
|
|
|
|
speed: 0,
|
|
|
|
"create_time": null,
|
|
|
|
sys_org_code: null,
|
|
|
|
"update_by": null,
|
|
|
|
total_product_qty: 0,
|
|
|
|
"update_time": null,
|
|
|
|
update_by: null,
|
|
|
|
"sys_org_code": null
|
|
|
|
update_time: null
|
|
|
|
},
|
|
|
|
}
|
|
|
|
{
|
|
|
|
]
|
|
|
|
"eqmt_name": "18#",
|
|
|
|
const rData2 = [...rData]
|
|
|
|
"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)
|
|
|
|
// console.log(rData)
|
|
|
|
// rData = [...rData];
|
|
|
|
// rData = [...rData];
|
|
|
|
_this.reqlist = []
|
|
|
|
_this.reqlist = []
|
|
|
|
for (const item of rData2) {
|
|
|
|
for (const item of rData2) {
|
|
|
|
var n = {
|
|
|
|
var n = {
|
|
|
|
data: [item.intraday_yield_rate],
|
|
|
|
data: [item.intraday_yield_rate],
|
|
|
|
shape: 'round',
|
|
|
|
shape: 'round',
|
|
|
|
formatter: '{value}%',
|
|
|
|
formatter: '{value}%',
|
|
|
|
waveNum: 2,
|
|
|
|
waveNum: 2,
|
|
|
|
waveHeight: 10
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_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>
|
|
|
|
</script>
|
|
|
|