Quellcode durchsuchen

任务下达调整

Hwf vor 6 Monaten
Ursprung
Commit
1a2b6d85a3

+ 1 - 1
src/api/globalMap/onlinePlotting.ts

@@ -70,7 +70,7 @@ export const endCollaboration = (data) => {
 // 关闭协同
 export const closeCollaboration = (data) => {
   return request({
-    url: '/api/pattern/ws/bz_add',
+    url: '/api/pattern/ws/delete_all_user',
     method: 'put',
     data: data
   });

+ 1 - 1
src/views/emergencyCommandMap/RightSection/InitConsultation.vue

@@ -1,5 +1,5 @@
 <template>
-  <Dialog custom-show type="lg" title="发起会商" hide-footer @close="handleClose">
+  <Dialog custom-show type="lg" title="指挥体系" hide-footer @close="handleClose">
     <div class="content">
       <div class="left-content">
         <el-input v-model="queryParams.keyword" class="custom-input" placeholder="组织架构搜索">

+ 1 - 1
src/views/emergencyCommandMap/RightSection/RenWuGengXin.vue

@@ -1,5 +1,5 @@
 <template>
-  <Dialog v-model="visible" type="sm" title="任务反馈" class="box1">
+  <Dialog v-model="visible" type="sm" title="任务反馈" class="box1" hide-footer>
     <div class="dialog-content">
       <div class="dialog-body">
         <el-form ref="taskForm" :model="newTask">

+ 1 - 2
src/views/emergencyCommandMap/RightSection/RightTop.vue

@@ -40,8 +40,7 @@
 
       <!-- 资源调度部分保持不变 -->
       <div v-else-if="activeTab === '资源调度'" class="resource-scheduling">
-        <!-- 资源调度内容,可以根据需要进行填充 -->
-        <p>资源调度内容正在开发中...</p>
+        <div class="tip">暂无数据</div>
       </div>
     </div>
   </div>

+ 1 - 1
src/views/emergencyCommandMap/RightSection/index.vue

@@ -5,7 +5,7 @@
         <div class="icon">
           <div class="icon1"></div>
         </div>
-        <div class="task-text gradient-text">发起会商</div>
+        <div class="task-text gradient-text">指挥体系</div>
       </div>
       <div class="task-item" @click="startPlan">
         <div class="icon">

+ 3 - 3
src/views/globalMap/RightMenu/OnlinePlotting/index.vue

@@ -145,14 +145,14 @@
       <el-input v-model="form.pattern_name" class="custom-input" placeholder="请输入" style="flex: 1" />
     </div>
   </Dialog>
-  <LayerDetail v-if="showLayer" v-model="showLayer" :patternId="patternId" />
+  <LayerDetail v-if="showLayer" v-model="showLayer" :pattern-id="patternId" />
 </template>
 
 <script lang="ts" setup name="OnlinePlotting">
 import { nanoid } from 'nanoid';
 import { deepClone } from '@/utils';
 import { useHistory } from '@/hooks/useHistory';
-import { createCollaboration, deletePatternById, getPatternInfo, getPatternList } from '@/api/globalMap/onlinePlotting';
+import { closeCollaboration, createCollaboration, deletePatternById, getPatternInfo, getPatternList } from '@/api/globalMap/onlinePlotting';
 import TextEdit from '@/views/globalMap/RightMenu/OnlinePlotting/TextEdit.vue';
 import EditDialog from '@/views/globalMap/RightMenu/OnlinePlotting/EditDialog.vue';
 import { Search } from '@element-plus/icons-vue';
@@ -721,7 +721,7 @@ const handleCloseShare = () => {
   shareState.id = '';
 };
 const handleCloseCollaboration = () => {
-  closeCollaboration({pattern_id: patternId.value}).then(() => {
+  closeCollaboration({ pattern_id: patternId.value }).then(() => {
     collaboration.value = false;
   });
 };