| | |
| | | </el-row> |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="工单内容" prop="content"> |
| | | <el-input |
| | | type="textarea" |
| | | v-model="form.content" |
| | | rows="4" |
| | | placeholder="请输入工单内容" |
| | | maxlength="255" |
| | | show-word-limit |
| | | ></el-input> |
| | | <el-col :span="12" prop="statusStr"> |
| | | <el-form-item label="当前状态"> |
| | | {{ mapStatus(form.status) }} |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :span="3"> |
| | | <el-select v-model="form.rep_fre_type" placeholder="请选择频次"> |
| | | <el-option v-for="item in cycles" :key="item" :label="item" :value="item" /> |
| | | </el-select> |
| | | </el-col> |
| | | |
| | | <el-col :span="3"> |
| | | <el-time-picker |
| | | style="width: 100px" |
| | |
| | | selectableRange: '00:00 - 23:59', |
| | | }" |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="工单内容" prop="content"> |
| | | <el-input |
| | | type="textarea" |
| | | v-model="form.content" |
| | | rows="4" |
| | | placeholder="请输入工单内容" |
| | | maxlength="255" |
| | | show-word-limit |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12" prop="statusStr"> |
| | | <el-form-item label="当前状态"> |
| | | {{ statusStr }} |
| | | {{ mapStatus(form.status) }} |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | |
| | | return `${location[0].toFixed(6)}, ${location[1].toFixed(6)}`; |
| | | }, |
| | | async handleViewDetail(row) { |
| | | console.log('工单名称1111:'); |
| | | const response = await orderLogDetails(row.id); |
| | | const data = response.data.data; |
| | | |
| | | this.form = { |
| | | ...data, |
| | | }; |
| | | |
| | | this.detailVisible = true; |
| | | |
| | | // 更新机巢列表 |
| | | this.device_sns = data.device_list; |
| | |
| | | (data.status == 1 || data.status == 3 || data.status == 2) |
| | | ? (this.detailTitle = '工单详情') |
| | | : (this.detailTitle = '编辑工单'); |
| | | |
| | | this.detailVisible = true; |
| | | |
| | | this.initMapLine(); |
| | | }, |
| | |
| | | ...data, |
| | | }; |
| | | |
| | | this.detailVisibleCopy = true; |
| | | this.statusStr = this.mapStatus(data.status); |
| | | |
| | | // 更新机巢列表 |
| | | this.device_sns = data.device_list; |
| | | this.detailVisibleCopy = true; |
| | | this.initMapLine(); |
| | | }, |
| | | //导出 |