| | |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <el-row> |
| | | <el-col :span="8" v-for="item in workOrderList" :key="item" style="width: 390px;margin-left: 40px;margin-top:20px;"> |
| | | <el-card :body-style="{ padding: '0px' }"> |
| | | <el-row :gutter="20"> |
| | | <el-col :xl="6" :lg="8" :md="12" :sm="24" v-for="item in workOrderList" :key="item" style="margin-bottom: 20px;"> |
| | | <el-card :body-style="{ padding: '0px',display: 'flex' }"> |
| | | <el-image :preview-src-list="['https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357']" fit="cover" src="https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357" class="image"/> |
| | | <div style="padding-right: 10px;padding-top: 10px;float: right;"> |
| | | <div style="padding-right: 10px;padding-top: 10px;"> |
| | | <el-row> |
| | | <el-col :span="24" class="time">故障类型:<el-tag size="small" type="danger">市政施工</el-tag></el-col> |
| | | </el-row> |
| | |
| | | size="mini" |
| | | type="text" |
| | | @click="handleReport(item)" |
| | | v-hasPermi="['system:report:add']" |
| | | >事后报备</el-button> |
| | | </el-row> |
| | | </div> |
| | |
| | | <!-- 事后报备 --> |
| | | <el-dialog title="事后报备" :visible.sync="reportOpen" width="600px" append-to-body> |
| | | <el-form ref="reportForm" :model="reportForm" :rules="reportFormRules" label-width="80px"> |
| | | <el-form-item label="点位" prop="pointId"> |
| | | <el-input v-model="reportForm.pointId" disabled /> |
| | | <el-form-item label="点位" prop="source"> |
| | | <el-input v-model="reportForm.source" disabled /> |
| | | </el-form-item> |
| | | <el-form-item label="报备类型"> |
| | | <el-input v-model="reportForm.reportType" disabled /> |
| | |
| | | if (valid) { |
| | | addReport(this.reportForm).then(response => { |
| | | this.$modal.msgSuccess("成功提交报备"); |
| | | this.open = false; |
| | | this.reportOpen = false; |
| | | this.getList(); |
| | | }); |
| | | } |
| | |
| | | }, |
| | | // 事后报备按钮 |
| | | handleReport(row) { |
| | | this.reportForm.pointId = row.source; |
| | | this.reportForm.pointId = row.pointId; |
| | | this.reportForm.source = row.source; |
| | | this.reportOpen = true; |
| | | }, |
| | | // 审核按钮 |