|
@@ -41,6 +41,8 @@
|
|
|
|
|
|
<!--弹窗-->
|
|
|
<RenWuGenZongInfo v-if="eventManageState.showListDialog" v-model="eventManageState.showListDialog" :event-id="eventId" />
|
|
|
+
|
|
|
+ <LeaderInstruction v-if="leaderInstructionState.show" v-model="leaderInstructionState.show" :id="leaderInstructionState.id" />
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
@@ -49,6 +51,7 @@ import { selectTask } from '@/api/emergencyCommandMap/JointDuty';
|
|
|
import { parseTime } from '@/utils/ruoyi';
|
|
|
import RenWuGengXin from '@/views/emergencyCommandMap/RightSection/RenWuGengXin.vue';
|
|
|
import RenWuGenZongInfo from '@/views/emergencyCommandMap/RightSection/RenWuGenZongInfo.vue';
|
|
|
+import LeaderInstruction from '@/views/emergencyCommandMap/RightSection/LeaderInstruction.vue';
|
|
|
|
|
|
const newSectionState = reactive({
|
|
|
showListDialog: false
|
|
@@ -80,6 +83,10 @@ const showMoreEventManageList = () => {
|
|
|
|
|
|
let timer;
|
|
|
let isMounted = ref(false);
|
|
|
+const leaderInstructionState = ref({
|
|
|
+ show: false,
|
|
|
+ id: ''
|
|
|
+});
|
|
|
// 请求数据
|
|
|
const fetchData = (unNeedTimeout?: boolean) => {
|
|
|
selectTask({ event_code: props.eventId })
|
|
@@ -109,6 +116,10 @@ const handleUpdateSuccess = (updatedData) => {
|
|
|
const handleLeaderInstruction = (item) => {
|
|
|
// 处理领导批示逻辑
|
|
|
console.log('领导批示:', item);
|
|
|
+ leaderInstructionState.value = {
|
|
|
+ show: true,
|
|
|
+ id: item.id
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
const toggleExpand = (item) => {
|