소스 검색

no message

libushang 8 달 전
부모
커밋
e723ee7986
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 1
      src/views/emergencyCommandMap/RightSection/StartPlan.vue

+ 9 - 1
src/views/emergencyCommandMap/RightSection/StartPlan.vue

@@ -35,7 +35,7 @@
         </div>
       </div>
     </div>
-    <TaskDelivery v-model="taskDeliveryState.show" :title="taskDeliveryState.title" :plan-id="plan_id" :event-id="props.eventId" />
+    <TaskDelivery v-model="taskDeliveryState.show" :title="taskDeliveryState.title" :planId="planData.plan_id" :eventId="props.eventId" />
   </div>
 </template>
 
@@ -63,6 +63,14 @@ const responseLevels = [
   { value: '3', name: '较大(III级)' },
   { value: '4', name: '一般(IV级)' }
 ];
+const planData = reactive({
+    purpose: '',
+    basis: '',
+    scope: '',
+    principles: '',
+    plan_id: ''
+});
+
 let plan_id = '';
 const tabs = ref([
   {