fix:修改病害编码

This commit is contained in:
SunTao 2025-05-09 17:01:37 +08:00
parent 9b6f34fe4e
commit 60fea4c700

View File

@ -2,7 +2,7 @@
* @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
* @Date: 2024-10-08 10:58:25 * @Date: 2024-10-08 10:58:25
* @LastEditors: SunTao 328867980@qq.com * @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2025-05-09 16:54:05 * @LastEditTime: 2025-05-09 17:01:12
* @FilePath: \znxjxt-ui\src\views\xj\inspection\disease-management\index.vue * @FilePath: \znxjxt-ui\src\views\xj\inspection\disease-management\index.vue
* @Description: 巡检信息管理-病害管理 * @Description: 巡检信息管理-病害管理
--> -->
@ -154,7 +154,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{
scope.row.inspectDirection === "0" ? "上行" : "下行" scope.row.inspectDirection === "0" ? "上行" : "下行"
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
@ -721,7 +721,7 @@ export default {
if (this.queryParams.stakeStart) { if (this.queryParams.stakeStart) {
if (phonereg.test(this.queryParams.stakeStart)) { if (phonereg.test(this.queryParams.stakeStart)) {
this.queryParams.classType = "2" this.queryParams.classType = "2"
this.queryParams.defectType = "910002"; this.queryParams.defectType = "910003";
this.pagination.page = 1; this.pagination.page = 1;
this.getList(); this.getList();
} else { } else {
@ -730,7 +730,7 @@ export default {
} else if (this.queryParams.stakeEnd) { } else if (this.queryParams.stakeEnd) {
if (phonereg.test(this.queryParams.stakeEnd)) { if (phonereg.test(this.queryParams.stakeEnd)) {
this.queryParams.classType = "2" this.queryParams.classType = "2"
this.queryParams.defectType = "910002"; this.queryParams.defectType = "910003";
this.pagination.page = 1; this.pagination.page = 1;
this.getList(); this.getList();
} else { } else {
@ -738,7 +738,7 @@ export default {
} }
} else { } else {
this.queryParams.classType = "2" this.queryParams.classType = "2"
this.queryParams.defectType = "910002"; this.queryParams.defectType = "910003";
this.pagination.page = 1; this.pagination.page = 1;
this.getList(); this.getList();
} }