heyujie
2022-07-29 90427ad7b5e73aaee2eb376080547787d25dc2bb
src/router.ts
@@ -16,6 +16,12 @@
import AddProduct from './views/operateManage/productManage/AddProduct.vue'
import EquipmentList from './views/equipmentManage/equipmentList/index.vue'
import EquipmentDetail from './views/equipmentManage/equipmentDetail/index.vue'
import AppManage from './views/AppManage/AppManage.vue'
import AppEdit from './views/AppManage/AppEdit.vue'
import BaseAlgorithm from "./views/AlgrithmManage/BaseAlgorithm.vue";
import PageAlgorithm from "./views/AlgrithmManage/PageAlgorithm.vue";
import PageAlgorithmEdit from './views/AlgrithmManage/PageAlgorithmEdit.vue';
import BaseAlgorithmEdit from './views/AlgrithmManage/BaseAlgorithmEdit.vue';
import MobileLogin from "./views/MobileLogin.vue";
import BindPhone from "./views/BindPhone.vue";
@@ -127,6 +133,39 @@
          name: "EquipmentDetail",
          component: EquipmentDetail
        },
        {
          path: "AppManage",
          name: "AppManage",
          component: AppManage
        },
        {
          path: "AppEdit/:appId",
          name: "appEdit",
          component: AppEdit,
          props: true
        },
        {
          path: "PageAlgorithm",
          name: "PageAlgorithm",
          component: PageAlgorithm,
        },
        {
          path: "BaseAlgorithm",
          name: "BaseAlgorithm",
          component: BaseAlgorithm,
        },
        {
          path: "PageAlgorithmEdit/:action/:id",
          name: "PageAlgorithmEdit",
          component: PageAlgorithmEdit,
          props: true
        },
        {
          path: "BaseAlgorithmEdit/:action/:id",
          name: "BaseAlgorithmEdit",
          component: BaseAlgorithmEdit,
          props: true
        },
      ]
    }
  ]