fix:websocket接入,大屏修改部分
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user