|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="预计结束时间:">
|
|
|
|
|
<el-form-item class="query-form-item" label="预计结束时间时间:">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
:picker-options="pickerEdOptions"
|
|
|
|
|
v-model="edDateRange"
|
|
|
|
@ -107,9 +107,9 @@
|
|
|
|
|
<el-select v-model="filterQuery.status" style="width: 90%" placeholder="请选择任务状态" clearable>
|
|
|
|
|
<el-option label="草稿" :value=0></el-option>
|
|
|
|
|
<el-option label="未分配" :value=1></el-option>
|
|
|
|
|
<el-option label="未处理" :value=2></el-option>
|
|
|
|
|
<el-option label="处理中" :value=3></el-option>
|
|
|
|
|
<el-option label="已处理" :value=4></el-option>
|
|
|
|
|
<el-option label="未巡检" :value=2></el-option>
|
|
|
|
|
<el-option label="巡检中" :value=3></el-option>
|
|
|
|
|
<el-option label="已巡检" :value=4></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -142,9 +142,9 @@
|
|
|
|
|
<el-table-column label="开始时间" prop="strartTime" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="结束时间" prop="endTime" width="150"> </el-table-column>
|
|
|
|
|
<el-table-column label="提醒时间" prop="remindTime" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="负责人" prop="inspectName" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="预计结束时间" prop="expectedTime" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="操作">
|
|
|
|
|
<el-table-column label="巡检人" prop="inspectName" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="预计结束时间时间" prop="expectedTime" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="操作" fixed="right" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
@ -184,19 +184,19 @@
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<el-table v-loading="loading" :data="delectList" style="width: 100%" border highlight-current-row>
|
|
|
|
|
<el-table-column label="序号" type="index" width="60"></el-table-column>
|
|
|
|
|
<el-table-column label="项目编码" prop="projectCode" width="300"></el-table-column>
|
|
|
|
|
<el-table-column label="巡检项目编码" prop="projectCode" width="300"></el-table-column>
|
|
|
|
|
<el-table-column label="项目内容" prop="projectContent" width="500"></el-table-column>
|
|
|
|
|
<el-table-column label="状态" prop="status" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag>{{ statusdetailMap[scope.row.status] }}</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="现场照片" prop="inspectImage" width="300">
|
|
|
|
|
<el-table-column label="巡检图片" prop="inspectImage" width="300">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div style="color: #1890ff;" @click="showImgViewer(scope.row)">{{ scope.row.inspectImage }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="100">
|
|
|
|
|
<el-table-column label="操作" width="100" >
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
@ -267,9 +267,9 @@ export default {
|
|
|
|
|
statusMap: {
|
|
|
|
|
0: "草稿",
|
|
|
|
|
1: "未分配",
|
|
|
|
|
2: "未处理",
|
|
|
|
|
3: "处理中",
|
|
|
|
|
4: "已处理",
|
|
|
|
|
2: "未巡检",
|
|
|
|
|
3: "巡检中",
|
|
|
|
|
4: "已巡检",
|
|
|
|
|
},
|
|
|
|
|
statusdetailMap: {
|
|
|
|
|
1: "未开始",
|
|
|
|
@ -279,8 +279,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
formName: null,
|
|
|
|
|
formMap: {
|
|
|
|
|
add: "任务分配-新增任务",
|
|
|
|
|
edit: "任务分配-编辑任务"
|
|
|
|
|
add: "新增设备巡检任务",
|
|
|
|
|
edit: "编辑设备巡检任务"
|
|
|
|
|
},
|
|
|
|
|
deviceInspectTake: {
|
|
|
|
|
id: null,
|
|
|
|
|