From f23e0326aa05a1c5b47d4aec4c06e73d0d86b8e7 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期二, 29 七月 2025 17:43:15 +0800 Subject: [PATCH] 代码提交 --- 项目代码/WCS/WIDESEAWCS_Client/src/views/LineInfocopy.vue | 69 +++++++++++----------------------- 1 files changed, 22 insertions(+), 47 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/LineInfocopy.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/LineInfocopy.vue" index c1ca36a..015c540 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/LineInfocopy.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/LineInfocopy.vue" @@ -1,12 +1,10 @@ <template> - <div :class="update()" :style="{ left: left, top: top, }" @click="mouseClick" - v-loading.fullscreen.lock="fullscreenLoading" style=""> - <img v-if="imgType === '2'" src="../../public/lines.png" /> + <div :class="update()" :style="{ left: left, top: top, marginBottom:0+'px',marginTop:15+'px'} " @click="mouseClick" v-loading.fullscreen.lock="fullscreenLoading"> + <img v-if="imgType === '2'" src="../../public/lines.png" /> <img v-if="imgType === '1'" src="../../public/lines2.png" /> <label v-if="equipNo" class="equip-no">{{ equipNo }}</label> </div> - - <!-- <el-dialog v-model="dialogVisible" title="淇℃伅鏌ョ湅" :before-close="handleClose"> + <el-dialog v-model="dialogVisible" title="淇℃伅鏌ョ湅" :before-close="handleClose"> <el-form ref="$form" :model="lineItemInfo" label-position="left" label-width="100px" size="medium"> <el-row :gutter="20" type="flex" justify="start" align="top" tag="div"> <el-col :span="12" :offset="0" :push="0" :pull="0" tag="div"> @@ -21,7 +19,7 @@ </el-form-item> </el-col> </el-row> - <el-row :gutter="20" type="flex" justify="start" align="top" tag="div"> + <el-row :gutter="20" type="flex" justify="start" align="top" tag="div"> <el-col :span="12" :offset="0" :push="0" :pull="0" tag="div"> <el-form-item label="鎵樼洏鏉$爜:"> <j-el-description :value="lineItemInfo.r_Line_Barcode" type="primary" @@ -34,8 +32,8 @@ ellipsis></j-el-description> </el-form-item> </el-col> - </el-row> --> - <!-- </el-form> + </el-row> + </el-form> <template #footer> <div class="dialog-footer"> <el-button @click="dialogVisible = false">鍙栨秷</el-button> @@ -44,37 +42,7 @@ </el-button> </div> </template> - </el-dialog> --> - <!-- <el-dialog v-model="dialogVisible" title="淇℃伅鏌ョ湅" :before-close="handleClose"> - <el-row> - <el-col :span="12">鏄惁鏈夌洏:</el-col> - <el-col :span="12">{{ lineItemInfo.r_Line_HasPallet }}</el-col> - </el-row> - <el-row> - <el-col :span="12">鎵樼洏鏉$爜</el-col> - <el-col :span="12">{{ lineItemInfo.r_Line_Barcode }}</el-col> - </el-row> - <el-row> - <el-col :span="12">鐩爣浣嶇疆</el-col> - <el-col :span="12">{{ lineItemInfo.r_Line_Target }}</el-col> - </el-row> - <el-row> - <el-col :span="12">浠诲姟鍙�</el-col> - <el-col :span="12">{{ lineItemInfo.r_Line_TaskNum }}</el-col> - </el-row> - <el-row> - <el-col :span="12">鎶ヨ浠g爜</el-col> - <el-col :span="12">{{ lineItemInfo.r_Line_ErrorCode }}</el-col> - </el-row> - <template #footer> - <div class="dialog-footer"> - <el-button @click="dialogVisible = false">鍙栨秷</el-button> - <el-button type="primary" @click="dialogVisible = false"> - 纭 - </el-button> - </div> - </template> - </el-dialog> --> + </el-dialog> </template> <script> @@ -116,8 +84,8 @@ }, data() { return { - left: "20px", - top: "260px", + left: "500px", + top: "400px", dialogVisible: false, lineItemInfo: { r_Line_Barcode: "", @@ -157,9 +125,16 @@ this.fullscreenLoading = false; // this.dialogVisible = false; }, + update(){ return !this.condition ? 'custom-img' : 'custom-img-color' - } + }, + startTimer() { + // 寮�鍚畾鏃跺櫒锛屾瘡3绉掓墽琛屼竴娆� + this.timer1 = setInterval(() => { + update(); + }, 500); + }, }, }); </script> @@ -173,21 +148,21 @@ .custom-img-color { position: relative; display: inline-block; - background-color: #409eff ; + background-color: #05fa7f ; color: white; text-align: center; } -.custom-img-color::before { +/* .custom-img-color::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; - background-color: #409eff; - border-radius: 50%; /* 鍒涘缓涓�涓渾褰㈢殑闀傜┖鏁堟灉 */ -} + background-color: #05fa7f; + border-radius: 50%; +} */ .custom-img img { width: 40px; -- Gitblit v1.9.3