|
@@ -517,6 +517,7 @@ import { useRouter } from 'vue-router';
|
|
|
import { reactive } from 'vue';
|
|
|
import { getDrillList, getPlanDetail, getResponseDetail, getTrainingList } from '@/api/riskPrevention/planManage';
|
|
|
import drill from './drill.vue';
|
|
|
+import { fetchReportDetail } from "@/api/kenowledge";
|
|
|
const router = useRouter();
|
|
|
|
|
|
const goBack = () => {
|
|
@@ -719,6 +720,7 @@ const initData: PageData<UserForm, UserQuery> = {
|
|
|
};
|
|
|
const data = reactive<PageData<UserForm, UserQuery>>(initData);
|
|
|
|
|
|
+
|
|
|
const { queryParams, form2, rules } = toRefs<PageData<UserForm, UserQuery>>(data);
|
|
|
//演练
|
|
|
const drillForm = reactive<DrillForm>({
|
|
@@ -738,6 +740,7 @@ const responseParams = reactive({
|
|
|
pageSize: 10,
|
|
|
planId: 'YJYA0000000001'
|
|
|
});
|
|
|
+
|
|
|
/** 通过条件过滤节点 */
|
|
|
const filterNode = (value: string, data: any) => {
|
|
|
if (!value) return true;
|
|
@@ -925,8 +928,14 @@ const handleAdd = async () => {
|
|
|
};
|
|
|
|
|
|
let detailData = ref({
|
|
|
- file_list: []
|
|
|
+ planId: '',
|
|
|
+ planName: '',
|
|
|
+ planType: '',
|
|
|
+ publish_date: '',
|
|
|
+ organUnit: '',
|
|
|
+ document: '',
|
|
|
});
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
const planId = route.query.planId;
|
|
|
drillForm.planNum = planId;
|