fix:修改养护工单增加已开工

This commit is contained in:
SunTao 2025-01-03 14:27:37 +08:00
parent 9c27f40355
commit 68e54a75fb

View File

@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com * @Author: SunTao 328867980@qq.com
* @Date: 2024-11-20 11:58:33 * @Date: 2024-11-20 11:58:33
* @LastEditors: SunTao 328867980@qq.com * @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2024-12-27 14:59:31 * @LastEditTime: 2025-01-03 14:25:11
* @FilePath: \znxjxt-ui\src\views\xj\document\maintenance-notice\index.vue * @FilePath: \znxjxt-ui\src\views\xj\document\maintenance-notice\index.vue
* @Description: 养护通知单 * @Description: 养护通知单
--> -->
@ -147,6 +147,11 @@
style="color: #67c23a" style="color: #67c23a"
class="el-icon-success" class="el-icon-success"
></i> ></i>
<i
v-if="item.status === '4'"
style="color: #409eff"
class="el-icon-remove"
></i>
<i <i
v-if="item.status === '2'" v-if="item.status === '2'"
style="color: #e6a23c" style="color: #e6a23c"
@ -310,8 +315,8 @@
></div> ></div>
<div class="rect-image"> <div class="rect-image">
采集时间: 采集时间:
{{ new Date(currentImageItem.createdTime).toLocaleString()}} 起始桩号 {{ new Date(currentImageItem.createdTime).toLocaleString() }}
{{ currentImageItem.stakeStart || "暂无数据" }} 终止桩号 起始桩号 {{ currentImageItem.stakeStart || "暂无数据" }} 终止桩号
{{ currentImageItem.stakeEnd || "暂无数据" }} {{ currentImageItem.stakeEnd || "暂无数据" }}
病害类型 病害类型
{{ currentImageItem.defectTypeName || "暂无数据" }} {{ currentImageItem.defectTypeName || "暂无数据" }}
@ -404,6 +409,7 @@ export default {
// //
editableTabs: [ editableTabs: [
{ title: "已完成", value: "已完成", status: "1" }, { title: "已完成", value: "已完成", status: "1" },
{ title: "已开工", value: "已开工", status: "4" },
{ title: "已生成", value: "已生成", status: "2" }, { title: "已生成", value: "已生成", status: "2" },
{ title: "未生成", value: "未生成", status: "3" }, { title: "未生成", value: "未生成", status: "3" },
], ],
@ -535,6 +541,7 @@ export default {
* @return {*} * @return {*}
*/ */
getList() { getList() {
this.noticeList = [];
this.loading = true; this.loading = true;
const data = { const data = {
...this.searchForm, ...this.searchForm,