fix: BUG修改
This commit is contained in:
parent
541758b452
commit
934a0431cb
@ -3,7 +3,7 @@ NODE_ENV = 'development'
|
|||||||
|
|
||||||
# 本地环境接口地址(/api/index.ts文件中使用)
|
# 本地环境接口地址(/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://192.168.34.221:28888'
|
||||||
# VITE_API_URL = 'http://121.196.214.246/api'
|
# VITE_API_URL = 'http://121.196.214.246/api'
|
||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
|
||||||
@ -15,7 +15,7 @@ VITE_API_URL = 'http://192.168.34.221:9111'
|
|||||||
# 演示平台
|
# 演示平台
|
||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||||
# 百色七参数线上地址
|
# 百色七参数线上地址
|
||||||
# VITE_API_URL = 'http://101.43.164.214:11111'
|
VITE_API_URL = 'http://101.43.164.214:11111'
|
||||||
|
|
||||||
# 上传
|
# 上传
|
||||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||||
|
|||||||
@ -68,7 +68,8 @@
|
|||||||
import Card from "@/components/card.vue";
|
import Card from "@/components/card.vue";
|
||||||
import { ref, watch, onMounted } from "vue";
|
import { ref, watch, onMounted } from "vue";
|
||||||
import { getStageOption } from "@/api/modules/projectOverview";
|
import { getStageOption } from "@/api/modules/projectOverview";
|
||||||
|
import { GlobalStore } from "@/stores";
|
||||||
|
const store = GlobalStore();
|
||||||
const progressList = ref([
|
const progressList = ref([
|
||||||
// {
|
// {
|
||||||
// name: "施工证获取",
|
// name: "施工证获取",
|
||||||
@ -127,7 +128,7 @@ watch(
|
|||||||
|
|
||||||
//获取里程碑option
|
//获取里程碑option
|
||||||
const getProgressOption = async () => {
|
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) {
|
if (res.result.length > 0) {
|
||||||
let newArray = res.result.map((item: any) => {
|
let newArray = res.result.map((item: any) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -39,7 +39,6 @@
|
|||||||
left: item.mapX + 'px',
|
left: item.mapX + 'px',
|
||||||
top: item.mapY + 'px'
|
top: item.mapY + 'px'
|
||||||
}"
|
}"
|
||||||
:title="item.pointName"
|
|
||||||
@click="openDialog(item)"
|
@click="openDialog(item)"
|
||||||
></div>
|
></div>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user