fix: 解决冲突
This commit is contained in:
commit
ea0d34aaa6
@ -3,7 +3,7 @@ NODE_ENV = 'development'
|
||||
|
||||
# 本地环境接口地址(/api/index.ts文件中使用)
|
||||
# 后端本地
|
||||
VITE_API_URL = 'http://192.168.34.221:9111'
|
||||
# VITE_API_URL = 'http://192.168.34.221:9111'
|
||||
# VITE_API_URL = 'http://192.168.34.221:28888'
|
||||
# VITE_API_URL = 'http://121.196.214.246/api'
|
||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
|
||||
|
||||
@ -68,7 +68,8 @@
|
||||
import Card from "@/components/card.vue";
|
||||
import { ref, watch, onMounted } from "vue";
|
||||
import { getStageOption } from "@/api/modules/projectOverview";
|
||||
|
||||
import { GlobalStore } from "@/stores";
|
||||
const store = GlobalStore();
|
||||
const progressList = ref([
|
||||
// {
|
||||
// name: "施工证获取",
|
||||
@ -127,7 +128,7 @@ watch(
|
||||
|
||||
//获取里程碑option
|
||||
const getProgressOption = async () => {
|
||||
const res: any = await getStageOption({ dictionaryEncoding: "project_construction_stage" });
|
||||
const res: any = await getStageOption({ dictionaryEncoding: "project_construction_stage", projectSn: store.sn });
|
||||
if (res.result.length > 0) {
|
||||
let newArray = res.result.map((item: any) => {
|
||||
return {
|
||||
|
||||
@ -16,13 +16,13 @@
|
||||
<div class="gifImg">
|
||||
<img src="@/assets/images/dustNoise/centerGif.gif" alt="" />
|
||||
</div>
|
||||
<div class="menListWd menu">温度:{{ plantCap.temperature ? plantCap.temperature : "--" }}℃</div>
|
||||
<div class="menListSd menu">湿度:{{ plantCap.humidity ? plantCap.humidity : "--" }}%RH</div>
|
||||
<div class="menListPm2 menu">PM2.5:{{ plantCap.pm25 ? plantCap.pm25 : "--" }}ug/m³</div>
|
||||
<div class="menListTs menu">TSP:{{ plantCap.tsp ? plantCap.tsp : "--" }}ug/m³</div>
|
||||
<div class="menListPm10 menu">PM10:{{ plantCap.pm10 ? plantCap.pm10 : "--" }}ug/m³</div>
|
||||
<div class="menListZs menu">噪声:{{ plantCap.noise ? plantCap.noise : "--" }}dB</div>
|
||||
<div class="menListFs menu">风速:{{ plantCap.windspeed ? plantCap.windspeed : "--" }}m/s</div>
|
||||
<div class="menListWd menu">温度:{{ plantCap.temperature || plantCap.temperature == '0' ? plantCap.temperature : "--" }}℃</div>
|
||||
<div class="menListSd menu">湿度:{{ plantCap.humidity || plantCap.humidity == '0' ? plantCap.humidity : "--" }}%RH</div>
|
||||
<div class="menListPm2 menu">PM2.5:{{ plantCap.pm25 || plantCap.pm25 == '0' ? plantCap.pm25 : "--" }}ug/m³</div>
|
||||
<div class="menListTs menu">TSP:{{ plantCap.tsp || plantCap.tsp == '0' ? plantCap.tsp : "--" }}ug/m³</div>
|
||||
<div class="menListPm10 menu">PM10:{{ plantCap.pm10 || plantCap.pm10 == '0' ? plantCap.pm10 : "--" }}ug/m³</div>
|
||||
<div class="menListZs menu">噪声:{{ plantCap.noise || plantCap.noise == '0' ? plantCap.noise : "--" }}dB</div>
|
||||
<div class="menListFs menu">风速:{{ plantCap.windspeed || plantCap.windspeed == '0' ? plantCap.windspeed : "--" }}m/s</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -201,7 +201,7 @@ function initOption() {
|
||||
params[0].seriesName +
|
||||
":" +
|
||||
params[0].value[1] +
|
||||
"mm"
|
||||
"kN"
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
@ -199,7 +199,7 @@ function initOption() {
|
||||
params[0].seriesName +
|
||||
":" +
|
||||
params[0].value[1] +
|
||||
"mm"
|
||||
"kN"
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
@ -83,8 +83,8 @@ const BASEURL = import.meta.env.VITE_API_URL;
|
||||
let currentIndex = ref(1 as any);
|
||||
// let showDialog = ref(false as any);
|
||||
function openDialog(item: any) {
|
||||
currentIndex.value = item.id;
|
||||
showDialog.value = true;
|
||||
// currentIndex.value = item.id;
|
||||
// showDialog.value = true;
|
||||
}
|
||||
function closeDialog() {
|
||||
showDialog.value = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user