diff --git a/src/utils/request.js b/src/utils/request.js index e5c9867..1791dca 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -43,7 +43,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 10000, + timeout: 30000, }) // request 拦截器 diff --git a/src/views/basic-manage/project-manage/all-project/index.vue b/src/views/basic-manage/project-manage/all-project/index.vue index c43dd0e..853e139 100644 --- a/src/views/basic-manage/project-manage/all-project/index.vue +++ b/src/views/basic-manage/project-manage/all-project/index.vue @@ -202,7 +202,7 @@ import { getAllProjectListAPI, } from '@/api/basic-manage/project-manage/all-project' export default { - name: 'AllProject', + name: 'All-project', dicts: ['voltage_level', 'project_type', 'project_status'], components: { TableModel, diff --git a/src/views/basic-manage/project-manage/dept-project/index.vue b/src/views/basic-manage/project-manage/dept-project/index.vue index 37d5c33..c880aab 100644 --- a/src/views/basic-manage/project-manage/dept-project/index.vue +++ b/src/views/basic-manage/project-manage/dept-project/index.vue @@ -221,7 +221,7 @@ import { } from '@/api/basic-manage/project-manage/dept-project' import { getSubCompanySelectListCommonFun } from '@/utils/getCommonData' export default { - name: 'DeptProject', + name: 'Dept-project', dicts: ['project_type', 'project_status'], // 字典类型 components: { TableModel, diff --git a/src/views/basic-manage/project-manage/lot-project/index.vue b/src/views/basic-manage/project-manage/lot-project/index.vue index 1364eed..d7104b2 100644 --- a/src/views/basic-manage/project-manage/lot-project/index.vue +++ b/src/views/basic-manage/project-manage/lot-project/index.vue @@ -125,7 +125,7 @@ import { getLotProjectSelectListCommonFun, } from '@/utils/getCommonData' export default { - name: 'LotProject', + name: 'Lot-project', dicts: ['project_type', 'project_status'], components: { TableModel, diff --git a/src/views/basic-manage/sub-manage/sub-base-info/index.vue b/src/views/basic-manage/sub-manage/sub-base-info/index.vue index 3d4c912..d313bd1 100644 --- a/src/views/basic-manage/sub-manage/sub-base-info/index.vue +++ b/src/views/basic-manage/sub-manage/sub-base-info/index.vue @@ -111,7 +111,7 @@ import { getSubBaseInfoListAPI, } from '@/api/basic-manage/sub-manage/sub-base-info' export default { - name: 'SubBaseInfo', + name: 'Sub-base-info', components: { TableModel, DialogModel, diff --git a/src/views/basic-manage/sub-manage/sub-entry-and-exit/index.vue b/src/views/basic-manage/sub-manage/sub-entry-and-exit/index.vue index ff90e7c..a9143ce 100644 --- a/src/views/basic-manage/sub-manage/sub-entry-and-exit/index.vue +++ b/src/views/basic-manage/sub-manage/sub-entry-and-exit/index.vue @@ -169,7 +169,7 @@ import { } from '@/api/basic-manage/sub-manage/sub-entry-and-exit' import { getLotProjectSelectListCommonFun } from '@/utils/getCommonData' export default { - name: 'SubEntryAndExit', + name: 'Sub-entry-and-exit', components: { ExitForm, EntryForm, diff --git a/src/views/basic-manage/team-manage/team-base-info/index.vue b/src/views/basic-manage/team-manage/team-base-info/index.vue index e580e41..e4c3fe5 100644 --- a/src/views/basic-manage/team-manage/team-base-info/index.vue +++ b/src/views/basic-manage/team-manage/team-base-info/index.vue @@ -93,7 +93,7 @@ import { getTeamBaseInfoListAPI, } from '@/api/basic-manage/team-manage/team-base-info' export default { - name: 'TeamBaseInfo', + name: 'Team-base-info', components: { TableModel, DialogModel, diff --git a/src/views/basic-manage/team-manage/team-entry-and-exit/index.vue b/src/views/basic-manage/team-manage/team-entry-and-exit/index.vue index 75fade4..12db6fa 100644 --- a/src/views/basic-manage/team-manage/team-entry-and-exit/index.vue +++ b/src/views/basic-manage/team-manage/team-entry-and-exit/index.vue @@ -108,7 +108,7 @@ import { formLabel, columnsList, dialogConfig } from './config' import { getTeamEntryListAPI } from '@/api/basic-manage/team-manage/team-entry-and-exit' export default { - name: 'TeamEntryAndExit', + name: 'Team-entry-and-exit', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/attendance-manage/attendance-count/index.vue b/src/views/construction-person/attendance-manage/attendance-count/index.vue index a626e1f..a925fec 100644 --- a/src/views/construction-person/attendance-manage/attendance-count/index.vue +++ b/src/views/construction-person/attendance-manage/attendance-count/index.vue @@ -41,7 +41,7 @@ import { formLabel, columnsList, dialogConfig } from './config' import { getAttendanceCountListAPI } from '@/api/construction-person/attendance-manage/attendance-count' export default { - name: 'AttendanceCount', + name: 'Attendance-count', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/attendance-manage/attendance-machine/index.vue b/src/views/construction-person/attendance-manage/attendance-machine/index.vue index bf2ca5d..4b4ce64 100644 --- a/src/views/construction-person/attendance-manage/attendance-machine/index.vue +++ b/src/views/construction-person/attendance-manage/attendance-machine/index.vue @@ -155,7 +155,7 @@ import { getAttendanceMachineListAPI, } from '@/api/construction-person/attendance-manage/attendance-machine' export default { - name: 'SubBaseInfo', + name: 'Attendance-machine', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/attendance-manage/card-replacement-apply/index.vue b/src/views/construction-person/attendance-manage/card-replacement-apply/index.vue index c9115fa..05e6597 100644 --- a/src/views/construction-person/attendance-manage/card-replacement-apply/index.vue +++ b/src/views/construction-person/attendance-manage/card-replacement-apply/index.vue @@ -171,7 +171,7 @@ import { import { getLotProjectSelectListCommonFun } from '@/utils/getCommonData' import debounce from 'lodash/debounce' export default { - name: 'CardReplacementApply', + name: 'Card-replacement-apply', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/attendance-manage/card-replacement-audit/index.vue b/src/views/construction-person/attendance-manage/card-replacement-audit/index.vue index 70a3d0e..e60b0bd 100644 --- a/src/views/construction-person/attendance-manage/card-replacement-audit/index.vue +++ b/src/views/construction-person/attendance-manage/card-replacement-audit/index.vue @@ -143,7 +143,7 @@ import { import { getLotProjectSelectListCommonFun } from '@/utils/getCommonData' export default { - name: 'CardReplacementAudit', + name: 'Card-replacement-audit', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/attendance-manage/card-replacement-count/index.vue b/src/views/construction-person/attendance-manage/card-replacement-count/index.vue index da96250..03d04a7 100644 --- a/src/views/construction-person/attendance-manage/card-replacement-count/index.vue +++ b/src/views/construction-person/attendance-manage/card-replacement-count/index.vue @@ -54,7 +54,7 @@ import { formLabel, columnsList, dialogConfig } from './config' import { getCardReplacementCountListAPI } from '@/api/construction-person/attendance-manage/card-replacement-count' import { getLotProjectSelectListCommonFun } from '@/utils/getCommonData' export default { - name: 'CardReplacementCount', + name: 'Card-replacement-count', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/entry-and-exit-manage/person-entry/index.vue b/src/views/construction-person/entry-and-exit-manage/person-entry/index.vue index 41aca15..2c96abb 100644 --- a/src/views/construction-person/entry-and-exit-manage/person-entry/index.vue +++ b/src/views/construction-person/entry-and-exit-manage/person-entry/index.vue @@ -189,7 +189,7 @@ import { import debounce from 'lodash/debounce' export default { - name: 'PersonEntry', + name: 'Person-entry', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/entry-and-exit-manage/person-exit/index.vue b/src/views/construction-person/entry-and-exit-manage/person-exit/index.vue index 7716ecc..fb664a3 100644 --- a/src/views/construction-person/entry-and-exit-manage/person-exit/index.vue +++ b/src/views/construction-person/entry-and-exit-manage/person-exit/index.vue @@ -170,7 +170,7 @@ import { batchExitPersonAPI, } from '@/api/construction-person/entry-and-exit-manage/person-exit' export default { - name: 'PersonExit', + name: 'Person-exit', dicts: ['project_type'], components: { TableModel, diff --git a/src/views/construction-person/red-green-light-mange/contract-witness/index.vue b/src/views/construction-person/red-green-light-mange/contract-witness/index.vue index abfb403..b3804e3 100644 --- a/src/views/construction-person/red-green-light-mange/contract-witness/index.vue +++ b/src/views/construction-person/red-green-light-mange/contract-witness/index.vue @@ -136,7 +136,7 @@ import { import debounce from 'lodash/debounce' export default { - name: 'ContractWitness', + name: 'Contract-witness', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/red-green-light-mange/dishonesty-person/index.vue b/src/views/construction-person/red-green-light-mange/dishonesty-person/index.vue index 8f844ae..8e5fa16 100644 --- a/src/views/construction-person/red-green-light-mange/dishonesty-person/index.vue +++ b/src/views/construction-person/red-green-light-mange/dishonesty-person/index.vue @@ -374,7 +374,7 @@ import { } from '@/api/construction-person/red-green-light-mange/dishonesty-person' export default { - name: 'DishonestyPerson', + name: 'Dishonesty-person', components: { TableModel, DialogModel, diff --git a/src/views/construction-person/red-green-light-mange/red-and-green-count/index.vue b/src/views/construction-person/red-green-light-mange/red-and-green-count/index.vue index 41ac5ba..15b640b 100644 --- a/src/views/construction-person/red-green-light-mange/red-and-green-count/index.vue +++ b/src/views/construction-person/red-green-light-mange/red-and-green-count/index.vue @@ -52,7 +52,7 @@ import DialogModel from '@/components/DialogModel' import ProjectList from './project-list.vue' import { getRedAndGreenCountListAPI } from '@/api/construction-person/red-green-light-mange/red-and-green-count' export default { - name: 'RedAndGreenCount', + name: 'Red-and-green-count', components: { DialogModel, ProjectList, diff --git a/src/views/construction-person/red-green-light-mange/wage-card-witness/index.vue b/src/views/construction-person/red-green-light-mange/wage-card-witness/index.vue index ebd1135..dfcfa63 100644 --- a/src/views/construction-person/red-green-light-mange/wage-card-witness/index.vue +++ b/src/views/construction-person/red-green-light-mange/wage-card-witness/index.vue @@ -114,7 +114,7 @@ import { } from '@/api/construction-person/red-green-light-mange/wage-card-witness' import debounce from 'lodash/debounce' export default { - name: 'WageCardWitness', + name: 'Wage-card-witness', components: { TableModel, DialogModel, diff --git a/src/views/synthesize-query/person-count/index.vue b/src/views/synthesize-query/person-count/index.vue index c1da522..7be2864 100644 --- a/src/views/synthesize-query/person-count/index.vue +++ b/src/views/synthesize-query/person-count/index.vue @@ -40,7 +40,7 @@ import TableModel from '@/components/TableModel' import { formLabel, columnsList } from './config' import { getPersonCountListAPI } from '@/api/synthesize-query/person-count' export default { - name: 'PersonCount', + name: 'Person-count', components: { TableModel, }, diff --git a/src/views/synthesize-query/project-count/index.vue b/src/views/synthesize-query/project-count/index.vue index e9862b3..75772b3 100644 --- a/src/views/synthesize-query/project-count/index.vue +++ b/src/views/synthesize-query/project-count/index.vue @@ -52,7 +52,7 @@ import TableModel from '@/components/TableModel' import { formLabel, columnsList } from './config' import { getProjectCountListAPI } from '@/api/synthesize-query/project-count' export default { - name: 'ProjectCount', + name: 'Project-count', components: { TableModel, }, diff --git a/src/views/synthesize-query/sub-count/index.vue b/src/views/synthesize-query/sub-count/index.vue index cd7b738..07ac076 100644 --- a/src/views/synthesize-query/sub-count/index.vue +++ b/src/views/synthesize-query/sub-count/index.vue @@ -40,7 +40,7 @@ import TableModel from '@/components/TableModel' import { formLabel, columnsList } from './config' import { getSubCountListAPI } from '@/api/synthesize-query/sub-count' export default { - name: 'SubCount', + name: 'Sub-count', components: { TableModel, }, diff --git a/src/views/synthesize-query/three-and-one/index.vue b/src/views/synthesize-query/three-and-one/index.vue index 08df7be..9c83dcc 100644 --- a/src/views/synthesize-query/three-and-one/index.vue +++ b/src/views/synthesize-query/three-and-one/index.vue @@ -47,7 +47,7 @@ import TableModel from '@/components/TableModel' import { formLabel, columnsList } from './config' import { getThreeAndOneListAPI } from '@/api/synthesize-query/three-and-one' export default { - name: 'ThreeAndOne', + name: 'Three-and-one', dicts: ['project_status'], components: { TableModel, diff --git a/src/views/synthesize-query/wage-count/index.vue b/src/views/synthesize-query/wage-count/index.vue index 50c4977..a1ca592 100644 --- a/src/views/synthesize-query/wage-count/index.vue +++ b/src/views/synthesize-query/wage-count/index.vue @@ -10,7 +10,7 @@ import DataFilter from './components/dataFilter.vue' import WageDetails from './components/wage-details.vue' export default { - name: 'WageCount', + name: 'Wage-count', components: { DataFilter, WageDetails, diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 5ee6c61..8d57792 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -1,96 +1,234 @@ \ No newline at end of file + }, +} +