content.vue 1.65 KB
<template>
	<div class="dv-center">
		<div class="card" v-for="(item, index) in 5" :key="index">
			<span class="div-span-title">WS01工位</span>
			<div class="dv-workstationOne">
				<div>站台信息:占位/无异常</div>
			</div>
			<div class="dv-workstationTwo">
				<div style="padding-top: 1vw;">产品条码:TL070050A2601</div>
				<div>任务模式:入料</div>
				<div>设备/任务状态:手动/任务执行中</div>
			</div>
			<div class="dv-workstationThree">
				<div style="padding-top: 1vw;">任务号:T210001</div>
				<div>起点/终点:P0001/P0210</div>
				<div>创建时间:2026-02-21 15:37</div>
			</div>
		</div>
	</div>
</template>

<script>
export default {
	data() {
		return {
			sysData: {},
			initDataList: [],
		}
	},
	methods: {
		// 生产情况
		getData(flag, dataList) {},
		ajaxSuccessDataBefore(res, title) {
			if (res.data.result == null || res.data.result.length == 0) {
				''.Log(title + '无数据', 'getData')
				this.initproductionInformationTable([])
				return false
			}
			return true
		},
	},
	mounted() {
		//eslint-disable-next-line no-debugger
		debugger
	},
}
</script>

<style scoped>
.dv-center {
	display: flex;
	/* gap: 0.7vw; */
	justify-content: space-between;
}
.card {
	width: 18.3vw;
	border: 1px solid #1e3a7a;
	border-radius: 0.4vw;
	padding: 0.2vw 0 0 0.5vw;
	/* flex: 1; */
}
.dv-workstationOne {
	width: 100%;
	height: 3vw;
	color: #67c8fb;
	font-size: 1.2vw;
	display: flex;
	align-items: center;
}
.dv-workstationTwo {
	width: 100%;
	height: 7vw;
	line-height: 1.5vw;
	font-size: 1.2vw;
}
.dv-workstationThree {
	width: 100%;
	height: 7vw;
	color: #67c8fb;
	line-height: 1.5vw;
	font-size: 1.2vw;
}
</style>