卫星通信服务平台
This commit is contained in:
@@ -108,13 +108,13 @@
|
||||
<SNManager ref="snManagerRef" />
|
||||
</div>
|
||||
<div v-show="subActiveIndex === '2'">
|
||||
<BsideManager ref="bsideManagerRef" />
|
||||
<BsideManager ref="bsideManagerRef" @reloadRecord="reloadRecord" />
|
||||
</div>
|
||||
<div v-show="subActiveIndex === '3'">
|
||||
<Record ref="recordRef" />
|
||||
</div>
|
||||
<div v-show="subActiveIndex === '4'">
|
||||
<BindSN ref="bindSNRef" />
|
||||
<BindSN ref="bindSNRef" @reloadRecord="reloadRecord" />
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
@@ -141,6 +141,8 @@ import shortMsgActiveStore from "../../stores/shortMsg";
|
||||
const historyMsgActive = historyMsgActiveStore();
|
||||
const shortMsgActive = shortMsgActiveStore();
|
||||
|
||||
const emit = defineEmits(["getMsg"]);
|
||||
|
||||
const activeIndex = ref("1");
|
||||
const subActiveIndex = ref("1");
|
||||
const indexStyle = "background-color: rgb(241 245 249);";
|
||||
@@ -172,6 +174,11 @@ const historyMsg = () => {
|
||||
historyMsgRef.value.historyMsg();
|
||||
};
|
||||
|
||||
const reloadRecord = () => {
|
||||
recordRef.value.getRecord();
|
||||
emit("getMsg");
|
||||
};
|
||||
|
||||
defineExpose({ manager, color, message, created_at, historyMsg });
|
||||
|
||||
watch(activeIndex, (value) => {
|
||||
|
||||
Reference in New Issue
Block a user