From 261bb58ad91f703c397c32a089d367ac4170db8c Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 06 五月 2025 22:30:50 +0800
Subject: [PATCH] 修改了状态
---
ruoyi-ui/src/views/clean/cleanInfo.vue | 43 ++++++++++++++++++++++++++++++-------------
1 files changed, 30 insertions(+), 13 deletions(-)
diff --git a/ruoyi-ui/src/views/clean/cleanInfo.vue b/ruoyi-ui/src/views/clean/cleanInfo.vue
index 643c656..6fc5633 100644
--- a/ruoyi-ui/src/views/clean/cleanInfo.vue
+++ b/ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -147,7 +147,7 @@
></video>
<img v-else
class="el-upload-list__item-thumbnail"
- src="../../assets/401_images/401.gif"
+ src="../../assets/images/deviceLis.png"
alt=""
style="width: 147px; height: 147px"
fit="cover">
@@ -320,6 +320,7 @@
this.loading = true;
getCLeanInfo(id).then((response) => {
this.formData = response.data;
+ console.log(this.formData)
if(this.formData.kind==1)
this.formData.kind = '鏀剁撼'
else
@@ -332,12 +333,26 @@
let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
// alert(pth)
if (_this.fot.includes(pth) === true)
- {
- if(paths[i][0]=="/")
- _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
- else
- _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
- }
+ // {
+ // if(paths[i][0]=="/")
+ // _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
+ // else
+ // _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
+ // }
+ {
+ if(paths[i].includes(process.env.VUE_APP_BASE_TRUE_API)){
+ if(paths[i][0]=="/")
+ _this.fileList.push({name:paths[i],url: paths[i].substr(1),res:false})
+ else
+ _this.fileList.push({name:paths[i],url: paths[i],res:false})
+ }else{
+ if(paths[i][0]=="/")
+ _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
+ else
+ _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
+ }
+
+ }
else {
// alert(paths[i])
// alert()
@@ -353,7 +368,7 @@
}
this.loading = false;
});
- this.getCateInfor()
+ // this.getCateInfor()
}
},
@@ -366,10 +381,11 @@
this.loading = true;
getCLeanInfo(id).then((response) => {
this.formData = response.data;
- if(this.formData.kind==1)
- this.formData.kind = '鏀剁撼'
- else
- this.formData.kind = '淇濇磥'
+ // if(this.formData.kind==1)
+ // this.formData.kind = '鏀剁撼'
+ // else
+ // this.formData.kind = '淇濇磥'
+ if(response.data.url!=null){
let paths = response.data.url.split(",");
for(let i = 0; i < paths.length; i++)
{
@@ -392,10 +408,11 @@
}
}
}
+ }
_this.fileListOther = _this.fileListOther1
this.loading = false;
});
- this.getCateInfor()
+ // this.getCateInfor()
}
},
--
Gitblit v1.9.1