| | |
| | | <template> |
| | | <div :id="mapId" class="common-cesium-map" @contextmenu.prevent> |
| | | <template v-if="props.list && props.list.length"> |
| | | <div class="card"> |
| | | <div class="card-content"> |
| | | <div class="card-item" v-for="(item, index) in props.list" @click="clickWeekTime(item, index)"> |
| | | <!-- <div class="time-top" :class="index === selectedImgIndex ? 'active' : ''"> |
| | | {{ item.createTime }} |
| | | </div> --> |
| | | <div class="time-point"> |
| | | <img |
| | | class="active" |
| | |
| | | </div> |
| | | </div> |
| | | <div class="time-line"></div> |
| | | </template> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | position, |
| | | billboard: { |
| | | image: positionIcon, |
| | | width: 32, |
| | | height: 40, |
| | | width: 36, |
| | | height: 36, |
| | | verticalOrigin: Cesium.VerticalOrigin.BOTTOM, |
| | | disableDepthTestDistance: Number.POSITIVE_INFINITY, |
| | | }, |
| | |
| | | align-items: center; |
| | | |
| | | .label { |
| | | width: 96px; |
| | | min-width: 96px; |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | font-weight: 500; |
| | | font-size: 14px; |
| | |
| | | justify-content: flex-end; |
| | | |
| | | padding-right: 12px; |
| | | width: 96px; |
| | | min-width: 96px; |
| | | |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | font-weight: 500; |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-form class="dialog-form" v-else ref="formRef" :model="formData" :rules="rules" label-width="100px"> |
| | | <el-form class="dialog-form" v-else ref="formRef" :model="formData" :rules="rules" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="设备名称" prop="deviceName"> |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="使用年限" prop="serviceLife"> |
| | | <!-- <el-input type="number" class="command-input" v-model="formData.useDate" maxlength="50" placeholder="请输入" clearable /> --> |
| | | <el-input-number class="command-input" v-model="formData.serviceLife" :min="0" :max="100" :controls="false" placeholder="请输入" /> |
| | | <el-input-number |
| | | class="command-input" |
| | | v-model="formData.serviceLife" |
| | | :min="0" |
| | | :max="100" |
| | | :precision="0" |
| | | :step="1" |
| | | step-strictly |
| | | :controls="false" |
| | | placeholder="请输入" |
| | | @keydown="e => ['.', 'e', 'E', '+', '-'].includes(e.key) && e.preventDefault()" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |