|
@ -95,7 +95,7 @@ |
|
|
<KeyControlAreaList v-if="keyControlAreaListShow"></KeyControlAreaList> |
|
|
<KeyControlAreaList v-if="keyControlAreaListShow"></KeyControlAreaList> |
|
|
<NotificationModel v-if="notificationModelShow"></NotificationModel> |
|
|
<NotificationModel v-if="notificationModelShow"></NotificationModel> |
|
|
<WarnList v-if="WarnListShow"></WarnList> |
|
|
<WarnList v-if="WarnListShow"></WarnList> |
|
|
<DrawShape v-if="drawShapeShow"></DrawShape> |
|
|
<DrawShape v-if="drawShapeShow" :drawShapePackage="drawShapePackage"></DrawShape> |
|
|
<DrawShapeMilitary v-if="drawShapeMilitaryShow"></DrawShapeMilitary> |
|
|
<DrawShapeMilitary v-if="drawShapeMilitaryShow"></DrawShapeMilitary> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
@ -131,6 +131,7 @@ |
|
|
import { defHttp } from '/@/utils/http/axios'; |
|
|
import { defHttp } from '/@/utils/http/axios'; |
|
|
import $ from 'jquery'; |
|
|
import $ from 'jquery'; |
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
|
|
|
|
|
import TestCom from './TestCom.vue'; |
|
|
import TestCom from './TestCom.vue'; |
|
|
|
|
|
|
|
@ -154,6 +155,7 @@ |
|
|
const { proxy }: any = getCurrentInstance(); |
|
|
const { proxy }: any = getCurrentInstance(); |
|
|
// const { userInfo } = useUserStore(); |
|
|
// const { userInfo } = useUserStore(); |
|
|
const userStore = useUserStore(); |
|
|
const userStore = useUserStore(); |
|
|
|
|
|
const { createMessage } = useMessage(); |
|
|
let _viewer = ref(); |
|
|
let _viewer = ref(); |
|
|
let show = ref(true); |
|
|
let show = ref(true); |
|
|
let modalVisible = ref(false); |
|
|
let modalVisible = ref(false); |
|
@ -179,6 +181,7 @@ |
|
|
const notificationModelShow = ref(false); |
|
|
const notificationModelShow = ref(false); |
|
|
const WarnListShow = ref(false); |
|
|
const WarnListShow = ref(false); |
|
|
const drawShapeShow = ref(false); |
|
|
const drawShapeShow = ref(false); |
|
|
|
|
|
const drawShapePackage = ref(null); |
|
|
const drawShapeMilitaryShow = ref(false); |
|
|
const drawShapeMilitaryShow = ref(false); |
|
|
|
|
|
|
|
|
//计算属性 |
|
|
//计算属性 |
|
@ -235,6 +238,11 @@ |
|
|
$mitt.on('warnInfoMan', function () { |
|
|
$mitt.on('warnInfoMan', function () { |
|
|
warnInfoMan(); |
|
|
warnInfoMan(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
//调用绘画组件,res.show为展示状态,res为传递数据 |
|
|
|
|
|
$mitt.on('drawShapeShow', function (res:any) { |
|
|
|
|
|
drawShapeShow.value = res.show; |
|
|
|
|
|
drawShapePackage.value = res |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
//数据绑定 |
|
|
//数据绑定 |
|
|
//disposers 用来收集资源销毁函数,并在析构时自动调用! |
|
|
//disposers 用来收集资源销毁函数,并在析构时自动调用! |
|
@ -946,6 +954,8 @@ |
|
|
|
|
|
|
|
|
//绘画图形 |
|
|
//绘画图形 |
|
|
function drawShape() { |
|
|
function drawShape() { |
|
|
|
|
|
//清空数据 |
|
|
|
|
|
drawShapePackage.value = null |
|
|
drawShapeShow.value = !drawShapeShow.value; |
|
|
drawShapeShow.value = !drawShapeShow.value; |
|
|
} |
|
|
} |
|
|
//绘画图形-军事态势 |
|
|
//绘画图形-军事态势 |
|
@ -1019,7 +1029,6 @@ |
|
|
// $mitt.emit('windowCancel') |
|
|
// $mitt.emit('windowCancel') |
|
|
// com = addModelWin |
|
|
// com = addModelWin |
|
|
// console.log("proxy"); |
|
|
// console.log("proxy"); |
|
|
|
|
|
|
|
|
addModelWinShow.value = true; |
|
|
addModelWinShow.value = true; |
|
|
break; |
|
|
break; |
|
|
case 'roamPathList': |
|
|
case 'roamPathList': |
|
@ -1138,6 +1147,7 @@ |
|
|
notificationModelShow, |
|
|
notificationModelShow, |
|
|
WarnListShow, |
|
|
WarnListShow, |
|
|
drawShapeShow, |
|
|
drawShapeShow, |
|
|
|
|
|
drawShapePackage, |
|
|
drawShapeMilitaryShow, |
|
|
drawShapeMilitaryShow, |
|
|
drawShapeMilitaryIMG, |
|
|
drawShapeMilitaryIMG, |
|
|
test, |
|
|
test, |
|
|