-
+
{{ all }}个
@@ -33,8 +33,40 @@
@close="screenCancel"
>
@@ -53,10 +85,20 @@ export default {
all: "0",
// 增长率
scale: "0",
+ // 新增/当前总数区分
+ clickTip: "",
// 弹窗显隐控制
showDialogVisible: false,
+ // 左侧路段选择绑定
+ roadSelect: "",
+ // 左侧路段下拉数据
+ roadList: [],
// 左侧图表数据
leftChartData: [],
+ // 右侧公司选择绑定
+ companySelect: "",
+ // 右侧公司选择下拉
+ companyList: [],
// 右侧图表数据
rightChartData: [],
};
@@ -77,7 +119,8 @@ export default {
},
/* 点击打开弹窗 */
- showDialog() {
+ showDialog(item) {
+ this.clickTip = item;
this.getChartData();
this.showDialogVisible = true;
},
@@ -241,7 +284,7 @@ export default {
},
{
barWidth: 10,
- name: "道桥",
+ name: "桥隧",
type: "bar",
data: y2Data,
},
@@ -389,7 +432,7 @@ export default {
},
{
barWidth: 10,
- name: "道桥",
+ name: "桥隧",
type: "bar",
data: y2Data,
},
@@ -409,6 +452,7 @@ export default {
/* 关闭 弹窗事件 */
screenCancel() {
+ this.clickTip = "";
this.showDialogVisible = false;
},
},
@@ -435,6 +479,7 @@ export default {
background-position: 100% 60%;
span {
+ cursor: pointer;
font-size: 2rem;
font-weight: 800;
font-family: "DouYu";
@@ -520,11 +565,74 @@ export default {
.today-content {
height: 30rem;
display: flex;
+ flex-direction: column;
- .dialog-div {
- width: 50%;
+ .today-select {
+ width: 100%;
+ // height: 10%;
+ display: flex;
+
+ > div {
+ width: 50%;
+ padding: 0 2rem;
+
+ ::v-deep .el-select {
+ width: 12rem;
+
+ .el-input .el-select__caret {
+ line-height: 1.5rem;
+ }
+
+ .el-input--medium .el-input__inner {
+ height: 1.5rem;
+ background-color: transparent;
+ color: #89c5e8;
+ border-color: #6991cd;
+ }
+
+ .el-select-dropdown {
+ background-color: #102649;
+ border-color: #08204f;
+ .el-scrollbar {
+ .el-select-dropdown__wrap {
+ .el-scrollbar__view {
+ .el-select-dropdown__item {
+ color: #aaabb8;
+ }
+
+ .el-select-dropdown__item:hover {
+ background-color: #2b4c7e;
+ }
+
+ .el-select-dropdown__item.selected {
+ background-color: #2b4c7e;
+ }
+
+ .el-select-dropdown__item.hover {
+ background-color: #2b4c7e;
+ }
+ }
+
+ .el-select-dropdown__list {
+ background-color: #102649;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ .today-bottom {
+ width: 100%;
height: 100%;
- margin: 0 1rem;
+ display: flex;
+
+ .dialog-div {
+ width: 50%;
+ height: 90%;
+ margin: 0 1rem;
+ }
}
}
diff --git a/src/views/xj/inspection/confirmation-management/components/image-dialog.vue b/src/views/xj/inspection/confirmation-management/components/image-dialog.vue
index 060569b..dde70dd 100644
--- a/src/views/xj/inspection/confirmation-management/components/image-dialog.vue
+++ b/src/views/xj/inspection/confirmation-management/components/image-dialog.vue
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-11-01 17:25:06
* @LastEditors: SunTao 328867980@qq.com
- * @LastEditTime: 2024-11-04 16:29:02
+ * @LastEditTime: 2024-11-14 15:00:35
* @FilePath: \znxjxt-ui\src\views\xj\inspection\confirmation-management\image-dialog.vue
* @Description: 病害确认-影像模式弹窗
-->
@@ -157,8 +157,9 @@ import {
getSegment,
getDefectStatus,
mergeDefect,
+ listDefect,
} from "@/api/xj/confirmation";
-import { defeaseList, getItemTypes } from "@/api/xj/screen/index";
+import { getItemTypes } from "@/api/xj/screen/index";
export default {
name: "ImageDialog",
props: {},
@@ -260,15 +261,19 @@ export default {
/* 获取左侧图片列表 */
getList() {
+ console.log(11);
+
this.loading = true;
const data = {
...this.imgForm,
...this.params,
};
- defeaseList(data)
- .then((response) => {
- this.defectData = response.data;
- this.loading = false;
+ listDefect(data)
+ .then(({ code,rows }) => {
+ if (code === 200) {
+ this.defectData = rows;
+ this.loading = false;
+ }
})
.catch(() => {
this.loading = false;
diff --git a/src/views/xj/inspection/surface-management/index.vue b/src/views/xj/inspection/surface-management/index.vue
index c173730..fcca6eb 100644
--- a/src/views/xj/inspection/surface-management/index.vue
+++ b/src/views/xj/inspection/surface-management/index.vue
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-10-14 13:59:51
* @LastEditors: SunTao 328867980@qq.com
- * @LastEditTime: 2024-11-07 16:46:43
+ * @LastEditTime: 2024-11-14 15:26:15
* @FilePath: \znxjxt-ui\src\views\xj\inspection\surface-management\index.vue
* @Description: 巡检管理-路面病害对比
-->
@@ -267,6 +267,7 @@ export default {
return it.snapshotId === item.data.snapshotId;
});
this.dialogImgLeft = leftImg[0];
+
}
this.viewVisible = true;
},