ZhaoJing 2 年之前
父節點
當前提交
674e93bb7e
共有 4 個文件被更改,包括 79 次插入4 次删除
  1. 1 1
      src/pages/xdhq/sbbx/bxlb.vue
  2. 2 2
      src/router/index.ts
  3. 75 0
      src/store/local/zj.js
  4. 1 1
      src/store/user.ts

+ 1 - 1
src/pages/xdhq/sbbx/bxlb.vue

@@ -218,7 +218,7 @@ function importApi(data: { file: File }) {
 }
 
 function exportApi(d) {
-  return download(URL_CUT + '/index', {...queryForm_Data.value,...d})
+  return download(URL_CUT + '/index', {...queryForm_Data.value,...d,excel_file_name:'报修类别'})
 }
 
 const API_MAP = {

+ 2 - 2
src/router/index.ts

@@ -2,9 +2,9 @@ import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
 import { RouteRecordDetailRaw } from './routes.d';
 import { app_ready,app_routes } from '~/store/app';
 
-import localRoutes from './routes/xdjx';
+// import localRoutes from './routes/xdjx';
 // import localRoutes from './routes/xdjy';
-// import localRoutes from './routes/xdhq';
+import localRoutes from './routes/xdhq';
 
 const router = createRouter({
   history: createWebHashHistory(),

文件差異過大導致無法顯示
+ 75 - 0
src/store/local/zj.js


+ 1 - 1
src/store/user.ts

@@ -1,4 +1,4 @@
-import local from './local/zjx'
+import local from './local/zj'
 
 export const user = local
 // export const user = JSON.parse(localStorage.getItem('userInfo') as string)