css
shj
2022-07-18 6682fa7eb5f98ee776d9f8a1a11a80195bc7fbd0
src/views/goalManagement/processForms/processForms.vue
@@ -1,4 +1,5 @@
<template>
   <div>
   <h4 class="title">胡海涛2022-07-01 16:08:42发起了目标检查上报(检查)--检查</h4>
   <div class="box">
   <el-menu
@@ -14,7 +15,8 @@
      <el-menu-item index="2">流程图</el-menu-item>
   </el-menu>
   <div v-if="activeIndex == 1" class="navType">
      <formInformationTop v-if="false"></formInformationTop>
      <formInformationTops></formInformationTops>
   </div>
   <div v-if="activeIndex == 2" class="navType" style="padding:20px 20px 0 20px">
      <div class="title2">流程图</div>
@@ -25,13 +27,16 @@
   <div class="btns">
      <el-button type="primary">发起上报</el-button>
   </div>
   </div>
</template>
<script lang="ts">
import { defineComponent, reactive, ref,onMounted } from 'vue';
import { useRouter } from 'vue-router';
import formInformationTop from './component/formInformationTop.vue'
import formInformationTops from './component/formInformationTops.vue'
import lowerPlate from './component/lowerPlate.vue'
export default defineComponent({
   components:{lowerPlate},
   components:{lowerPlate,formInformationTop,formInformationTops},
   setup() {
      const activeIndex = ref('1');
      const handleSelect = (key: string, keyPath: string[]) => {
@@ -48,14 +53,7 @@
         resource: '',
         desc: '',
      });
      const activeName = ref('1');
      const tableData = [
         {
            date: '2016-05-03',
            name: 'Tom',
            address: 'No. 189, Grove St, Los Angeles',
         },
      ];
      const router=useRouter()
      const Type=onMounted(()=>{
         // console.log("xxxxxxx",router)
@@ -65,8 +63,6 @@
         activeIndex,
         handleSelect,
         form,
         activeName,
         tableData,
         router,
         Type
      };