|
@@ -68,8 +68,8 @@
|
|
|
</el-form>
|
|
|
|
|
|
<div>
|
|
|
- <el-table :data="tableData" class="eltable" style="width: 100%" @row-click="tblrowclick">
|
|
|
- <el-table-column prop="taskCode" label="台账编号">
|
|
|
+ <el-table :data="tableData" class="eltable" style="width: 100%" @row-click="tblrowclick">
|
|
|
+ <el-table-column prop="taskCode" fixed="left" label="台账编号">
|
|
|
<template #default="scope">
|
|
|
{{
|
|
|
alldevices.filter((i) => i.id === scope.row.facilitiesId)[0]?.ext1.tz_id ??
|
|
@@ -77,7 +77,7 @@
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="taskCode" label="设施名称">
|
|
|
+ <el-table-column prop="taskCode" fixed="left" width="200" label="设施名称">
|
|
|
<template #default="scope">
|
|
|
{{
|
|
|
alldevices.filter((i) => i.id === scope.row.facilitiesId)[0]?.ext1.tz_ss_name ??
|
|
@@ -103,7 +103,7 @@
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="路段范围">
|
|
|
+ <el-table-column width="200" label="路段范围">
|
|
|
<template #default="scope">
|
|
|
{{
|
|
|
alldevices.filter((i) => i.id === scope.row.facilitiesId)[0]?.ext1.tz_ss_road_se ??
|
|
@@ -111,16 +111,16 @@
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ext1.task.datestart" label="计划时间" />
|
|
|
- <el-table-column prop="ext1.task.dateend" label="完成时间" />
|
|
|
- <el-table-column label="管径(mm)">
|
|
|
+ <el-table-column prop="ext1.task.datestart" width="100" label="计划时间" />
|
|
|
+ <el-table-column prop="ext1.task.dateend" width="100" label="完成时间" />
|
|
|
+ <el-table-column label="管径(mm)" width="200">
|
|
|
<template #default="scope">
|
|
|
{{
|
|
|
scope.row.ext1.task.gd.map(i => i.yh_gj).join("、")
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="管道清淤(米)">
|
|
|
+ <el-table-column label="管道清淤(米)" width="200">
|
|
|
<template #default="scope">
|
|
|
{{
|
|
|
evilFn((scope.row.ext1.task.gd).map(i => (i.yh_length && i.yh_length != '' ? parseFloat(i.yh_length) : 0)
|
|
@@ -156,7 +156,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column prop="maintainUnit" label="辖区班组">
|
|
|
+ <el-table-column prop="maintainUnit" width="200" label="辖区班组">
|
|
|
<template #default="scope">
|
|
|
{{
|
|
|
(scope.row.ext1.facilities_unit == "" ? [] : scope.row.ext1.facilities_unit ?? [])
|
|
@@ -185,13 +185,13 @@
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="address" label="操作">
|
|
|
+ <el-table-column prop="address" width="200" fixed="right" label="操作">
|
|
|
<template #default="scope">
|
|
|
- <el-button text size="small" @click.stop="edittask(scope.row)">修改
|
|
|
+ <el-button text type="primary" size="small" @click.stop="edittask(scope.row)">修改
|
|
|
</el-button>
|
|
|
<el-popconfirm title="确定删除?" @confirm="deltask(scope.row)">
|
|
|
<template #reference>
|
|
|
- <el-button text size="small" @click.stop="">删除</el-button>
|
|
|
+ <el-button text type="danger" size="small" @click.stop="">删除</el-button>
|
|
|
</template>
|
|
|
</el-popconfirm>
|
|
|
</template>
|
|
@@ -526,6 +526,7 @@ const resetall = () => {
|
|
|
|
|
|
};
|
|
|
localStorage.setItem("maintainlist", JSON.stringify(queryparameters.value));
|
|
|
+ getList()
|
|
|
}
|
|
|
|
|
|
const initadd = () => {
|
|
@@ -565,6 +566,7 @@ const initadd = () => {
|
|
|
status: 1,
|
|
|
};
|
|
|
proxy.resetForm("form");
|
|
|
+
|
|
|
};
|
|
|
|
|
|
const addmaintain = () => {
|