| | |
| | | <!-- </div>--> |
| | | <div class="text item" v-for="i in RFIDList"> |
| | | <div v-if="i.id == item.rfidId"> |
| | | 关联RFID:<span>{{ i.rfidName }}</span> |
| | | 关联RFID:<span>{{ i.rfid }}</span> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="text item">--> |
| | |
| | | <!-- </div>--> |
| | | <div class="text item" v-for="i in quotaList"> |
| | | <div v-if="i.id == item.quotaId"> |
| | | 巡检指标:<span>{{ i.type }}</span> |
| | | 巡检指标:<span>{{ i.quota }}</span> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="text item">--> |
| | |
| | | <el-option v-for="item in inspectPointAllList" :key="item.id" :value="item.id" :label="item.code"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="所属设备区域" prop="regionId"> |
| | | <el-input v-model="inspectPointForm.regionId" class="input-add" readonly /> |
| | | <el-form-item label="所属设备区域" prop="region"> |
| | | <el-input v-model="inspectPointForm.region" class="input-add" readonly /> |
| | | </el-form-item> |
| | | <el-form-item label="关联RFID" prop="rfidId"> |
| | | <el-input v-model="inspectPointForm.rfidId" class="input-add" readonly /> |
| | | <el-form-item label="关联RFID" prop="rfid"> |
| | | <el-input v-model="inspectPointForm.rfid" class="input-add" readonly /> |
| | | </el-form-item> |
| | | <el-form-item label="选择巡检指标" prop="quotaId"> |
| | | <el-select v-model="inspectPointForm.quotaId" @change="giveQuotaUnit" placeholder="请选择巡检指标" class="input-add"> |
| | | <el-option v-for="item in quotaList" :key="item.id" :value="item.id" :label="item.type"> </el-option> |
| | | <el-option v-for="item in quotaList" :key="item.id" :value="item.id" :label="item.quota"> </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="选择巡检指标单位" prop="quotaUnit"> |
| | |
| | | code: string; |
| | | regionId: number; |
| | | rfidId: number; |
| | | rfidName: string; |
| | | rfid: string; |
| | | region: string; |
| | | } |
| | | interface classGroup { |
| | |
| | | pointId: number | null; |
| | | pointUuid: string | null; |
| | | regionId: number | null; |
| | | region: string |
| | | regionUuid: string | null; |
| | | rfidId: number | null; |
| | | rfid: string |
| | | quotaId: number | null; |
| | | quotaUnit: string | null; |
| | | execSequence: number | null; |
| | |
| | | pointId: null, |
| | | pointUuid: null, |
| | | regionId: null, |
| | | region: '', |
| | | regionUuid: null, |
| | | rfidId: null, |
| | | rfid: '', |
| | | quotaId: null, |
| | | quotaUnit: null, |
| | | execSequence: null, |
| | |
| | | pointId: null, |
| | | pointUuid: null, |
| | | regionId: null, |
| | | region: '', |
| | | regionUuid: null, |
| | | rfidId: null, |
| | | rfid: '', |
| | | quotaId: null, |
| | | quotaUnit: null, |
| | | execSequence: null, |
| | |
| | | |
| | | const giveRegionAndRFID = () => { |
| | | data.inspectPointForm.regionId = data.inspectPointAllList.find((item) => item.id === data.inspectPointForm.pointId)?.regionId as number; |
| | | data.inspectPointForm.region = data.inspectPointAllList.find((item) => item.id === data.inspectPointForm.pointId)?.region as string; |
| | | data.inspectPointForm.rfidId = data.inspectPointAllList.find((item) => item.id === data.inspectPointForm.pointId)?.rfidId as number; |
| | | data.inspectPointForm.rfid = data.inspectPointAllList.find((item) => item.id === data.inspectPointForm.pointId)?.rfid as string; |
| | | }; |
| | | |
| | | const giveClassGroup = () => { |
| | |
| | | }; |
| | | |
| | | const giveQuotaUnit = () => { |
| | | data.inspectPointForm.quotaUnit = data.quotaList.find((item) => item.id === data.inspectPointForm.quotaId)?.unit as string; |
| | | data.inspectPointForm.quotaUnit = data.quotaList.find((item) => item.id === data.inspectPointForm.quotaId)?.quotaUnit as string; |
| | | }; |
| | | |
| | | const submitInspectTask = () => { |