| | |
| | | <template> |
| | | <div :class="update()" :style="{ left: left, top: top, }" @click="mouseClick" |
| | | v-loading.fullscreen.lock="fullscreenLoading" style=""> |
| | | <div :class="update()" :style="{ left: left, top: top, marginBottom:0+'px',marginTop:15+'px'} "> |
| | | <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-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"> |
| | | <el-form-item label="设å¤ç¼å·ï¼"> |
| | | <j-el-description :value="equipNo" type="primary" ellipsis></j-el-description> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12" :offset="0" :push="0" :pull="0" tag="div"> |
| | | <el-form-item label="æ¯å¦æç:"> |
| | | <j-el-description :value="lineItemInfo.r_Line_HasPallet" type="primary" |
| | | ellipsis></j-el-description> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <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" |
| | | ellipsis></j-el-description> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12" :offset="0" :push="0" :pull="0" tag="div"> |
| | | <el-form-item label="æ¥è¦ä»£ç ï¼"> |
| | | <j-el-description :value="lineItemInfo.r_Line_ErrorCode" type="primary" |
| | | ellipsis></j-el-description> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> --> |
| | | <!-- </el-form> |
| | | <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 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">æ¥è¦ä»£ç </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> --> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | left: "20px", |
| | | top: "260px", |
| | | left: "500px", |
| | | top: "400px", |
| | | dialogVisible: false, |
| | | lineItemInfo: { |
| | | r_Line_Barcode: "", |
| | |
| | | this.fullscreenLoading = false; |
| | | // this.dialogVisible = false; |
| | | }, |
| | | |
| | | update(){ |
| | | return !this.condition ? 'custom-img' : 'custom-img-color' |
| | | } |
| | | }, |
| | | startTimer() { |
| | | // å¼å¯å®æ¶å¨ï¼æ¯3ç§æ§è¡ä¸æ¬¡ |
| | | this.timer1 = setInterval(() => { |
| | | update(); |
| | | }, 500); |
| | | }, |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | .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; |