tangning 9 月之前
父节点
当前提交
41863f23cb

+ 1 - 1
src/utils/http/axios/index.ts

@@ -201,7 +201,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
         // authentication schemes,e.g: Bearer
         // authenticationScheme: 'Bearer',
         authenticationScheme: '',
-        timeout: 60 * 1000,
+        timeout: 10 * 60 * 1000,
         // 基础接口地址
         // baseURL: globSetting.apiUrl,
 

+ 5 - 5
src/views/case/list.vue

@@ -3,8 +3,8 @@
     <PageWrapper contentBackground>
       <template #footer>
         <a-tabs v-model:activeKey="tableType" @change="changeTable">
-          <Tabs.TabPane :key="1" tab="案件管理" :disabled="loading" />
-          <Tabs.TabPane :key="2" tab="案件共享" :disabled="loading" />
+          <Tabs.TabPane :key="0" tab="案件管理" :disabled="loading" />
+          <Tabs.TabPane :key="1" tab="案件共享" :disabled="loading" />
         </a-tabs
       ></template>
       <div class="desc-wrap-BasicTable">
@@ -149,7 +149,7 @@
       const permissionStore = usePermissionStore();
       const { getCheckPerm } = permissionStore;
       const loading = ref(false);
-      const tableType = ref<Recordable>(1); //0看看 、1看见、2深时
+      const tableType = ref<Recordable>(0); //0看看 、1看见、2深时
       const columns: BasicColumn[] = [
         {
           title: '场景标题',
@@ -313,7 +313,7 @@
         title: ``,
         // titleHelpMessage: ['已启用expandRowByClick', '已启用stopButtonPropagation'],
         columns: columns,
-        searchInfo: { type: tableType },
+        searchInfo: { isShare: tableType },
         useSearchForm: true,
         formConfig: searchForm,
         showIndexColumn: false,
@@ -332,7 +332,7 @@
           sizeField: 'pageSize',
           listField: 'list',
           totalField: 'total',
-        },
+        },               
         canResize: true,
       });
       function changeTable(val: string) {

+ 1 - 1
src/views/productOperation/cameraScene.vue

@@ -264,7 +264,7 @@
         },
         {
           title: '人员编号',
-          dataIndex: 'ryNo',
+          dataIndex: 'userName',
           width: 100,
         },
         {

+ 1 - 0
src/views/productOperation/modal/PowersModal.vue

@@ -257,6 +257,7 @@
           console.log('res', params);
           const res = await setAuthType({
             num: numRef.value,
+            caseId: caseId.value,
             ...params,
             lookAuth: params.authType,
           });