.env
@@ -1,5 +1,5 @@ # port 端口号 VITE_PORT = 8888 VITE_PORT = 8001 # open 运行 npm run dev 时自动打开浏览器 VITE_OPEN = false .env.development
@@ -4,16 +4,16 @@ #VITE_API_URL = 'http://192.168.0.35:8008' #李宇飞接口地址 VITE_API_URL = 'http://192.168.0.50:8008' #VITE_API_URL = 'http://192.168.0.50:8008' #张凤接口地址 #VITE_API_URL = 'http://192.168.0.29:8008' #黄振接口地址 #VITE_API_URL = 'http://192.168.0.179:8008' VITE_API_URL = 'http://192.168.0.5:8084' #施正红接口地址 #VITE_API_URL = 'http://192.168.0.69:8008' #VITE_API_URL = 'http://192.168.0.8:8084' #戚会山接口地址 #VITE_API_URL = 'http://121.239.169.27:16006/safeplatform' @@ -38,7 +38,7 @@ #VITE_API_URL = 'http://192.168.0.52:7021/safeplatform' #本地测试接口地址 VITE_API_URL_SOCKET = 'http://192.168.0.52:7021/safeplatform' #VITE_API_URL_SOCKET = 'http://192.168.0.52:7021/safeplatform' #本地测试websocket接口地址 #VITE_API_URL = 'http://192.168.0.29:7008' .idea/.gitignore
对比新文件 @@ -0,0 +1,5 @@ # Default ignored files /shelf/ /workspace.xml # Editor-based HTTP Client requests /httpRequests/ .idea/modules.xml
对比新文件 @@ -0,0 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/scienceexperimentweb.iml" filepath="$PROJECT_DIR$/.idea/scienceexperimentweb.iml" /> </modules> </component> </project> .idea/scienceexperimentweb.iml
对比新文件 @@ -0,0 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <module type="WEB_MODULE" version="4"> <component name="NewModuleRootManager"> <content url="file://$MODULE_DIR$"> <excludeFolder url="file://$MODULE_DIR$/temp" /> <excludeFolder url="file://$MODULE_DIR$/.tmp" /> <excludeFolder url="file://$MODULE_DIR$/tmp" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> </component> </module> .idea/vcs.xml
对比新文件 @@ -0,0 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="$PROJECT_DIR$" vcs="Git" /> </component> </project> src/App.vue
@@ -1,13 +1,13 @@ <template> <!-- <transition name="fade" mode="out-in">--> <!-- <keep-alive :exclude="excludeList">--> <!-- <router-view v-if="!$route.meta.iskeepAlive" :key="$route.path"></router-view>--> <!-- <router-view v-if="!$route.json.meta.iskeepAlive" :key="$route.json.path"></router-view>--> <!-- </keep-alive>--> <!-- </transition>--> <!-- <router-view v-if="!$route.meta.iskeepAlive" v-slot="{ Component }">--> <!-- <router-view v-if="!$route.json.meta.iskeepAlive" v-slot="{ Component }">--> <!-- <transition name="fade" mode="in-out">--> <!-- <keep-alive :exclude="excludeList" :include="includeList">--> <!-- <components :is="Component" :key="$route.id"></components>--> <!-- <components :is="Component" :key="$route.json.id"></components>--> <!-- </keep-alive>--> <!-- </transition>--> <!-- </router-view>--> src/api/accidentManagementSystem/index.ts
文件已删除 src/api/contingencyManagement/contingency/index.ts
文件已删除 src/api/contingencyManagement/emergencyDrillEvaluation/index.ts
文件已删除 src/api/contingencyManagement/emergencyDrillExecute/index.ts
文件已删除 src/api/contingencyManagement/emergencyDrillPlan/index.ts
文件已删除 src/api/contingencyManagement/emergencyMaterialsInspection/index.ts
文件已删除 src/api/contingencyManagement/emergencyPlan/index.ts
文件已删除 src/api/contingencyManagement/emergencyPlanLog/index.ts
文件已删除 src/api/contingencyManagement/emergencyResources/index.ts
文件已删除 src/api/contingencyManagement/maintenanceEmergencyMaterials/index.ts
文件已删除 src/api/doublePreventSystem/check/index.ts
文件已删除 src/api/doublePreventSystem/checkUnit/index.ts
文件已删除 src/api/doublePreventSystem/productionDevice/index.ts
文件已删除 src/api/doublePreventSystem/record/index.ts
文件已删除 src/api/doublePreventSystem/rectify/index.ts
文件已删除 src/api/doublePreventSystem/report/index.ts
文件已删除 src/api/doublePreventSystem/riskControlMeasure/index.ts
文件已删除 src/api/doublePreventSystem/safetyRiskAnalyseUnit/index.ts
文件已删除 src/api/doublePreventSystem/safetyRiskEvent/index.ts
文件已删除 src/api/doublePreventSystem/work/index.ts
文件已删除 src/api/facilityManagement/claimReturnRecords/index.ts
文件已删除 src/api/facilityManagement/goodsDetailManage/index.ts
文件已删除 src/api/facilityManagement/index.ts
文件已删除 src/api/facilityManagement/safetyGoodsAndEquipment/index.ts
文件已删除 src/api/goalManagement/index.ts
文件已删除 src/api/intellectInspectSystem/RFID/index.ts
文件已删除 src/api/intellectInspectSystem/facilityAreaManage/index.ts
文件已删除 src/api/intellectInspectSystem/inspectPointManage/index.ts
文件已删除 src/api/intellectInspectSystem/inspectRecord/index.ts
文件已删除 src/api/intellectInspectSystem/inspectTargetManage/index.ts
文件已删除 src/api/intellectInspectSystem/inspectTask/index.ts
文件已删除 src/api/intelligentLine/index.ts
文件已删除 src/api/login/index.ts
@@ -10,7 +10,7 @@ // v1 signIn: (params: object) => { return request({ url: import.meta.env.VITE_API_URL + '/auth/login', url: import.meta.env.VITE_API_URL + '/account/auth/login', method: 'post', data: params }); src/api/specialWorkSystem/approveBasic/index.ts
文件已删除 src/api/specialWorkSystem/approveRule/index.ts
文件已删除 src/api/specialWorkSystem/material/index.ts
文件已删除 src/api/specialWorkSystem/safetyAction/index.ts
文件已删除 src/api/specialWorkSystem/workApply/index.ts
文件已删除 src/api/specialWorkSystem/workApproval/index.ts
文件已删除 src/api/specialWorkSystem/workPlan/workAppoint/index.ts
文件已删除 src/api/specialWorkSystem/workPlan/workReservation/index.ts
文件已删除 src/api/specialWorkSystem/workProcess/index.ts
文件已删除 src/api/systemManage/menu/index.ts
@@ -9,10 +9,16 @@ export function useMenuApi() { return { // v2 getMenuAdmin: (value?: string) => { // getMenuAdmin: (value?: string) => { // return request({ // url: import.meta.env.VITE_API_URL + `/auth/menu?projectId= ${value}`, // method: 'post' // }); // }, getMenuAdmin: () => { return request({ url: import.meta.env.VITE_API_URL + `/auth/menu?projectId= ${value}`, method: 'post' url: import.meta.env.VITE_API_URL + `/sys/console/menu/get/all`, method: 'get' }); }, // v1 src/api/workInjuryDeclaration/index.ts
文件已删除 src/components/DailogClass/index.vue
文件已删除 src/components/DailogSearch/DailogSearch.vue
文件已删除 src/components/DailogSearchUser/index.vue
文件已删除 src/components/DailogSearchUserManger/index.vue
文件已删除 src/components/checkTemplate/index.vue
文件已删除 src/components/editor/index.vue
文件已删除 src/components/editor/toolbar.ts
文件已删除 src/components/emergencySupplies/index.vue
文件已删除 src/components/equipmentDailog/Dailog.vue
文件已删除 src/components/equipmentDailog/DailogS.vue
文件已删除 src/components/equipmentDailog/categoryDailog.vue
文件已删除 src/components/equipmentDailog/detectDailog.vue
文件已删除 src/components/equipmentDailog/maintenanceDailog.vue
文件已删除 src/components/equipmentDailog/planDailog.vue
文件已删除 src/components/equipmentDailog/regionDailog.vue
文件已删除 src/components/equipmentDailog/repairDailog.vue
文件已删除 src/components/equipmentDailog/standardDailog.vue
文件已删除 src/components/regionsDialog/index.vue
文件已删除 src/components/updata/updata.vue
文件已删除 src/components/uploaderFile/index.vue
文件已删除 src/components/uploaderImg/index.vue
文件已删除 src/components/userCheckbox/index.vue
文件已删除 src/components/userSelections/index.vue
文件已删除 src/router/backEnd.ts
@@ -27,7 +27,8 @@ export async function initBackEndControlRoutes() { if (window.nextLoading === undefined) NextLoading.start(); if (!Cookies.get('token')) return false; const res = await getBackEndControlRoutes(Cookies.get('projectId') === null ? '' : Cookies.get('projectId')); const res = await getBackEndControlRoutes(); debugger await useRequestOldRoutes().setRequestOldRoutes(JSON.parse(JSON.stringify(res.data.data))); dynamicRoutes[0].children = await backEndComponent(res.data.data); await setAddRoute(); @@ -57,11 +58,11 @@ }); } export async function getBackEndControlRoutes(value: string) { export async function getBackEndControlRoutes() { // const stores = useUserInfo(pinia); // const { userInfos } = storeToRefs(stores); // const auth = userInfos.value.roles[0]; return menuApi.getMenuAdmin(value); return menuApi.getMenuAdmin(); } /** @@ -70,7 +71,7 @@ * @description 路径:/src/views/system/homeMenu/components/menuDialog.vue */ export function setBackEndControlRefreshRoutes() { getBackEndControlRoutes(Cookies.get('projectId')); getBackEndControlRoutes(); } export function backEndComponent(routes: any) { src/router/index.ts
@@ -12,6 +12,7 @@ import { initBackEndControlRoutes } from '/@/router/backEnd'; import { useUserInfo } from '/@/stores/userInfo'; import { nextTick } from 'vue'; import Cookies from 'js-cookie'; // 读取 `/src/stores/themeConfig.ts` 是否开启后端控制路由配置 const storesThemeConfig = useThemeConfig(pinia); @@ -68,7 +69,7 @@ router.beforeEach(async (to, from, next) => { NProgress.configure({ showSpinner: false }); if (to.meta.title) NProgress.start(); const token = Session.get('token'); const token = Cookies.get('token'); if (to.path === '/login' && !token) { next(); NProgress.done(); @@ -84,7 +85,6 @@ const storesRoutesList = useRoutesList(pinia); const { routesList } = storeToRefs(storesRoutesList); if (routesList.value.length === 0) { // 后端控制路由:路由数据初始化,防止刷新时丢失 await initBackEndControlRoutes(); // 动态添加路由:防止非首页刷新时跳转回首页的问题 src/router/route.json
对比新文件 @@ -0,0 +1,16 @@ { "path": "/home", "name": "home", "component": "() => import('/@/views/home/index.vue')", "meta": { "title": "首页", "isLink": "", "isHide": false, "isKeepAlive": true, "isAffix": true, "isIframe": false, "roles": ["admin", "common"], "icon": "iconfont icon-shouye" } } src/router/route.ts
@@ -13,7 +13,7 @@ { path: '/home', name: 'home', component: () => import('/@/views/newHome/index.vue'), component: () => import('/@/views/home/index.vue'), meta: { title: '首页', isLink: '', @@ -22,9 +22,24 @@ isAffix: true, isIframe: false, roles: ['admin', 'common'], icon: 'iconfont icon-shouye' } } icon: 'iconfont icon-shouye', }, }, { path: '/test', name: 'test', component: () => import('/@/views/test/index.vue'), meta: { title: '测试', isLink: '', isHide: false, isKeepAlive: true, isAffix: true, isIframe: false, roles: ['admin', 'common'], icon: 'iconfont icon-shouye', }, }, ] } ]; src/utils/request.ts
@@ -21,7 +21,7 @@ } } if (Cookies.get('token')) { (<any>config.headers).common['Authorization'] = `${Cookies.get('token')}`; (<any>config.headers).common['tk'] = `${Cookies.get('token')}`; (<any>config.headers).common['uid'] = `${Cookies.get('uid')}`; } return config; src/views/accidentManagementSystem/accidentCases/component/DailogCases.vue
文件已删除 src/views/accidentManagementSystem/accidentCases/component/wangEditor/index.vue
文件已删除 src/views/accidentManagementSystem/accidentCases/index.vue
文件已删除 src/views/accidentManagementSystem/accidentCasesCop/component/wangEditor/index.vue
文件已删除 src/views/accidentManagementSystem/accidentCasesCop/index.vue
文件已删除 src/views/accidentManagementSystem/accidentExpress/component/numberOfCasualties.vue
文件已删除 src/views/accidentManagementSystem/accidentExpress/component/openAdd.vue
文件已删除 src/views/accidentManagementSystem/accidentExpress/index.vue
文件已删除 src/views/accidentManagementSystem/accidentReport/component/openAdd.vue
文件已删除 src/views/accidentManagementSystem/accidentReport/index.vue
文件已删除 src/views/accidentManagementSystem/accidentStatistics/index.vue
文件已删除 src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue
文件已删除 src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
文件已删除 src/views/accidentManagementSystem/workInjuryDeclaration/component/openEdit.vue
文件已删除 src/views/accidentManagementSystem/workInjuryDeclaration/index.vue
文件已删除 src/views/contingencyManagement/abolishDialog/abolishDialog.vue
文件已删除 src/views/contingencyManagement/abolishDialog/component/formInformationTop.vue
文件已删除 src/views/contingencyManagement/abolishDialog/component/formInformationTops.vue
文件已删除 src/views/contingencyManagement/abolishDialog/component/lowerPlate.vue
文件已删除 src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue
文件已删除 src/views/contingencyManagement/contingency/component/openAdd.vue
文件已删除 src/views/contingencyManagement/contingency/component/upData.vue
文件已删除 src/views/contingencyManagement/contingency/index.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/drillImplementationEvaluation/component/approvalProgress.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/drillImplementationEvaluation/component/flowChart.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/drillImplementationEvaluation/component/rectificationDialog.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/drillImplementationEvaluation/index.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/openAdd.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/regionsDialog.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/userSelect.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/index.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/flowChart.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openAdd.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/regionsDialog.vue
文件已删除 src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue
文件已删除 src/views/contingencyManagement/emergencyDrillStatistics/index.vue
文件已删除 src/views/contingencyManagement/emergencyPlanStartRecord/component/openSee.vue
文件已删除 src/views/contingencyManagement/emergencyPlanStartRecord/component/selectEmergencyPlan.vue
文件已删除 src/views/contingencyManagement/emergencyPlanStartRecord/index.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencyMaterialsInspection/component/openAdd.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencyMaterialsInspection/index.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/component/inspect.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/component/maintain.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/component/openAdd.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/component/openEdit.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/component/personInCharge.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/component/regionsCheckbox.vue
文件已删除 src/views/contingencyManagement/emergencyResources/emergencySupplies/index.vue
文件已删除 src/views/contingencyManagement/emergencyResources/maintenanceOfEmergencyMaterials/component/openAdd.vue
文件已删除 src/views/contingencyManagement/emergencyResources/maintenanceOfEmergencyMaterials/index.vue
文件已删除 src/views/contingencyManagement/panManagement/component/abolishLibrary.vue
文件已删除 src/views/contingencyManagement/panManagement/component/approval.vue
文件已删除 src/views/contingencyManagement/panManagement/component/approvalProcess.vue
文件已删除 src/views/contingencyManagement/panManagement/component/initiateApproval.vue
文件已删除 src/views/contingencyManagement/panManagement/component/openAdd.vue
文件已删除 src/views/contingencyManagement/panManagement/component/startUp.vue
文件已删除 src/views/contingencyManagement/panManagement/component/upData.vue
文件已删除 src/views/contingencyManagement/panManagement/index.vue
文件已删除 src/views/contingencyManagement/processForm/component/formInformationTop.vue
文件已删除 src/views/contingencyManagement/processForm/component/formInformationTops.vue
文件已删除 src/views/contingencyManagement/processForm/component/lowerPlate.vue
文件已删除 src/views/contingencyManagement/processForm/processForm.vue
文件已删除 src/views/contingencyManagement/releaseOfDrillStart/component/formInformationTop.vue
文件已删除 src/views/contingencyManagement/releaseOfDrillStart/component/formInformationTops.vue
文件已删除 src/views/contingencyManagement/releaseOfDrillStart/component/lowerPlate.vue
文件已删除 src/views/contingencyManagement/releaseOfDrillStart/releaseOfDrillStart.vue
文件已删除 src/views/doublePrevent/dpIndex/index.vue
文件已删除 src/views/doublePrevent/riskCheckManage/checkTaskManage/checkTask/components/recordDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/checkTaskManage/checkTask/index.vue
文件已删除 src/views/doublePrevent/riskCheckManage/checkTaskManage/checkWork/components/workDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/checkTaskManage/checkWork/index.vue
文件已删除 src/views/doublePrevent/riskCheckManage/hiddenManagement/hiddenCheck/components/checkDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/hiddenManagement/hiddenCheck/index.vue
文件已删除 src/views/doublePrevent/riskCheckManage/hiddenManagement/hiddenRectify/components/rectifyDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/hiddenManagement/hiddenRectify/index.vue
文件已删除 src/views/doublePrevent/riskCheckManage/hiddenManagement/hiddenReport/components/reportDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/hiddenManagement/hiddenReport/index.vue
文件已删除 src/views/doublePrevent/riskCheckManage/riskCheckUnit/components/checkUnitDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/riskCheckUnit/components/selectMeasureControlDialog.vue
文件已删除 src/views/doublePrevent/riskCheckManage/riskCheckUnit/index.vue
文件已删除 src/views/doublePrevent/riskLevel/action/components/riskControlMeasureDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/action/index.vue
文件已删除 src/views/doublePrevent/riskLevel/device/components/productionDeviceDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/device/index.vue
文件已删除 src/views/doublePrevent/riskLevel/event/components/safetyRiskEventDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/event/index.vue
文件已删除 src/views/doublePrevent/riskLevel/map/components/rectifyDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/map/index.vue
文件已删除 src/views/doublePrevent/riskLevel/riskCheckUnit/components/checkUnitDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/riskCheckUnit/components/selectMeasureControlDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/riskCheckUnit/index.vue
文件已删除 src/views/doublePrevent/riskLevel/unit/components/safetyRiskAnalyseUnitDialog.vue
文件已删除 src/views/doublePrevent/riskLevel/unit/index.vue
文件已删除 src/views/facilityManagement/EquipmentStatistics/index.vue
文件已删除 src/views/facilityManagement/InstrumentationInformation/index.vue
文件已删除 src/views/facilityManagement/ProductionEquipment/index.vue
文件已删除 src/views/facilityManagement/claimReturnRecords/components/invalidDealDialog.vue
文件已删除 src/views/facilityManagement/claimReturnRecords/components/returnAndWatch.vue
文件已删除 src/views/facilityManagement/claimReturnRecords/index.ts
文件已删除 src/views/facilityManagement/claimReturnRecords/index.vue
文件已删除 src/views/facilityManagement/deviceType/component/Dailog.vue
文件已删除 src/views/facilityManagement/deviceType/index.vue
文件已删除 src/views/facilityManagement/goodsDetailManage/components/checkOut.vue
文件已删除 src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue
文件已删除 src/views/facilityManagement/goodsDetailManage/components/goodsDetailEdit.vue
文件已删除 src/views/facilityManagement/goodsDetailManage/index.ts
文件已删除 src/views/facilityManagement/goodsDetailManage/index.vue
文件已删除 src/views/facilityManagement/goodsTypeManage/index.vue
文件已删除 src/views/facilityManagement/keyEquipment/index.vue
文件已删除 src/views/facilityManagement/safetyEquipment/index.vue
文件已删除 src/views/facilityManagement/safetyGoodsAndEquipment/components/addGoodsDialog.vue
文件已删除 src/views/facilityManagement/safetyGoodsAndEquipment/components/batchInStorage.vue
文件已删除 src/views/facilityManagement/safetyGoodsAndEquipment/components/batchOutStorage.vue
文件已删除 src/views/facilityManagement/safetyGoodsAndEquipment/components/safetyGoodsAndEquipmentDialog.vue
文件已删除 src/views/facilityManagement/safetyGoodsAndEquipment/index.ts
文件已删除 src/views/facilityManagement/safetyGoodsAndEquipment/index.vue
文件已删除 src/views/facilityManagement/securities/index.vue
文件已删除 src/views/goalManagement/Goalsummary/index.vue
文件已删除 src/views/goalManagement/IncentiveRecording/component/DailogAdd.vue
文件已删除 src/views/goalManagement/IncentiveRecording/component/DailogSearch.vue
文件已删除 src/views/goalManagement/IncentiveRecording/index.vue
文件已删除 src/views/goalManagement/Incentivestandard/component/DailogAdd.vue
文件已删除 src/views/goalManagement/Incentivestandard/index.vue
文件已删除 src/views/goalManagement/TargetBook/component/DailogAdd.vue
文件已删除 src/views/goalManagement/TargetBook/component/DailogSearch.vue
文件已删除 src/views/goalManagement/TargetBook/index.vue
文件已删除 src/views/goalManagement/index.vue
文件已删除 src/views/goalManagement/performanceAppraisal/component/DailogAq.vue
文件已删除 src/views/goalManagement/performanceAppraisal/component/DailogKh.vue
文件已删除 src/views/goalManagement/performanceAppraisal/component/DailogKhS.vue
文件已删除 src/views/goalManagement/performanceAppraisal/component/DailogSearch.vue
文件已删除 src/views/goalManagement/performanceAppraisal/index.vue
文件已删除 src/views/goalManagement/processForms/component/formInformationTop.vue
文件已删除 src/views/goalManagement/processForms/component/formInformationTops.vue
文件已删除 src/views/goalManagement/processForms/component/lowerPlate.vue
文件已删除 src/views/goalManagement/processForms/processForms.vue
文件已删除 src/views/goalManagement/safetyAssessment/component/Dailog.vue
文件已删除 src/views/goalManagement/safetyAssessment/component/DailogAdd.vue
文件已删除 src/views/goalManagement/safetyAssessment/index.vue
文件已删除 src/views/goalManagement/targetClassification/index.vue
文件已删除 src/views/goalManagement/targetDecompositionHalfYear/index.vue
文件已删除 src/views/goalManagement/targetDecompositionMonth/index.vue
文件已删除 src/views/goalManagement/targetDecompositionQuarter/index.vue
文件已删除 src/views/goalManagement/targetDecompositionYear/component/Dailog.vue
文件已删除 src/views/goalManagement/targetDecompositionYear/component/DailogAdd.vue
文件已删除 src/views/goalManagement/targetDecompositionYear/index.vue
文件已删除 src/views/goalManagement/targetEscalation/component/Dailog.vue
文件已删除 src/views/goalManagement/targetEscalation/component/TypeDailog.vue
文件已删除 src/views/goalManagement/targetEscalation/index.vue
文件已删除 src/views/goalManagement/targetImprovements/component/Dailogprove.vue
文件已删除 src/views/goalManagement/targetImprovements/index.vue
文件已删除 src/views/goalManagement/targetSettings/component/dailogAdd.vue
文件已删除 src/views/goalManagement/targetSettings/component/search.vue
文件已删除 src/views/goalManagement/targetSettings/index.vue
文件已删除 src/views/goalManagement/targetStatistics/index.vue
文件已删除 src/views/home/index.vue
对比新文件 @@ -0,0 +1,15 @@ <template> <div> 123 </div> </template> <script> export default { name: "index" } </script> <style scoped> </style> src/views/intellectInspect/inspectBasic/discriminate/components/RFIDDialog.vue
文件已删除 src/views/intellectInspect/inspectBasic/discriminate/index.vue
文件已删除 src/views/intellectInspect/inspectBasic/facility/components/facilityAreaDialog.vue
文件已删除 src/views/intellectInspect/inspectBasic/facility/index.vue
文件已删除 src/views/intellectInspect/inspectBasic/index.vue
文件已删除 src/views/intellectInspect/inspectBasic/inspectPoint/components/inspectPointDialog.vue
文件已删除 src/views/intellectInspect/inspectBasic/inspectPoint/index.vue
文件已删除 src/views/intellectInspect/inspectBasic/inspectTarget/components/inspectTargetDialog.vue
文件已删除 src/views/intellectInspect/inspectBasic/inspectTarget/index.vue
文件已删除 src/views/intellectInspect/inspectIndex/components/inspectRecordDialog.vue
文件已删除 src/views/intellectInspect/inspectIndex/components/sum.vue
文件已删除 src/views/intellectInspect/inspectIndex/index.vue
文件已删除 src/views/intellectInspect/inspectRecordManage/inspectRecord/components/inspectRecordDialog.vue
文件已删除 src/views/intellectInspect/inspectRecordManage/inspectRecord/components/sum.vue
文件已删除 src/views/intellectInspect/inspectRecordManage/inspectRecord/index.vue
文件已删除 src/views/intellectInspect/inspectTaskManage/inspectTask/components/inspectTaskDialog.vue
文件已删除 src/views/intellectInspect/inspectTaskManage/inspectTask/index.vue
文件已删除 src/views/intellectInspect/intelligentLine/index.vue
文件已删除 src/views/loginPage/component/accountLogin.vue
@@ -1,14 +1,14 @@ <template> <el-form size="large" class="login-content-form"> <el-form-item class="login-animation1"> <el-input type="text" :placeholder="$t('message.account.accountPlaceholder1')" v-model="ruleForm.username" clearable autocomplete="off" size="large"> <el-input type="text" :placeholder="$t('message.account.accountPlaceholder1')" v-model="ruleForm.name" clearable autocomplete="off" size="large"> <template #prefix> <el-icon class="el-input__icon" style="margin-right: 20px"><img src="../../../assets/loginPage/login_icon_user.png" style="width: 24px; height: 24px" /></el-icon> </template> </el-input> </el-form-item> <el-form-item class="login-animation2"> <el-input :type="isShowPassword ? 'text' : 'password'" :placeholder="$t('message.account.accountPlaceholder2')" v-model="ruleForm.password" autocomplete="off" size="large" @keyup.enter.native="onSignIn"> <el-input :type="isShowPassword ? 'text' : 'password'" :placeholder="$t('message.account.accountPlaceholder2')" v-model="ruleForm.pwd" autocomplete="off" size="large" @keyup.enter.native="onSignIn"> <template #prefix> <el-icon class="el-input__icon" style="margin-right: 20px"><img src="../../../assets/loginPage/login_icon_password.png" style="width: 24px; height: 24px" /></el-icon> </template> @@ -100,8 +100,8 @@ showRePass: false, saveCode: false, ruleForm: { username: '', password: '' name: '', pwd: '' }, loading: { signIn: false @@ -125,7 +125,7 @@ const hasUserCodeOrPassword =()=> { if (localStorage.getItem('userCode') && localStorage.getItem('userPassword')) { state.ruleForm.username = localStorage.getItem('userCode') as string state.ruleForm.name = localStorage.getItem('userCode') as string state.ruleForm.password = Base64.decode(localStorage.getItem('userPassword'))//解密 state.saveCode = true } @@ -175,7 +175,7 @@ realName: [{ required: true, message: '该内容不能为空', trigger: 'blur' }], identify: [{ required: true, validator: checkCode, trigger: 'blur'}], phone: [{ required: true, validator: checkPhone, trigger: 'blur' }], password: [{ required: true, validator: validatePass, trigger: 'blur' }], pwd: [{ required: true, validator: validatePass, trigger: 'blur' }], rePassword: [{ required: true, validator: validatePass2, trigger: 'blur' }] }); @@ -188,17 +188,15 @@ state.loading.signIn = true; // 存储 token 到浏览器缓存 let res = await useLoginApi().signIn(state.ruleForm); if (res.data.code === '200') { if (res.data.code === 100) { await userInfo.setUserInfos(res.data.data); Cookies.set('token', res.data.data.accessToken); Cookies.set('projectId', ''); Cookies.set('token', res.data.data.tk); Cookies.set('uid', res.data.data.uid); Cookies.set('depId', res.data.data.depId); // Session.set('token', res.data.data.accessToken); // Session.set('projectId', ''); // Session.set('uid', res.data.data.uid); if (state.saveCode) { localStorage.setItem('userCode', state.ruleForm.username) localStorage.setItem('userCode', state.ruleForm.name) localStorage.setItem('userPassword', Base64.encode(state.ruleForm.password),) } else { localStorage.removeItem('userCode') @@ -215,7 +213,7 @@ state.loading.signIn = false; // Session.set('token', Math.random().toString(36).substr(0)); // // 模拟数据,对接接口时,记得删除多余代码及对应依赖的引入。用于 `/src/stores/userInfo.ts` 中不同用户登录判断(模拟数据) // Cookies.set('userName', state.ruleForm.username); // Cookies.set('name', state.ruleForm.name); // if (!themeConfig.value.isRequestRoutes) { // // 前端控制路由,2、请注意执行顺序 // await initFrontEndControlRoutes(); @@ -234,11 +232,11 @@ let currentTimeInfo = currentTime.value; // 登录成功,跳到转首页 // 如果是复制粘贴的路径,非首页/登录页,那么登录成功后重定向到对应的路径中 // if (route.query?.redirect) { router.push('/newMenu'); // if (route.json.query?.redirect) { router.push('/newHome'); // router.push({ // path: <string>route.query?.redirect, // query: Object.keys(<string>route.query?.params).length > 0 ? JSON.parse(<string>route.query?.params) : '', // path: <string>route.json.query?.redirect, // query: Object.keys(<string>route.json.query?.params).length > 0 ? JSON.parse(<string>route.json.query?.params) : '', // }); // } else { // router.push('/loginPage'); src/views/riskWarningSys/warningBigScreen/components/SPI.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/accident.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/danger.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/educate.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/message.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/monitor.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/profession.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/risk.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/stock.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/training.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/index.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/indexs/index.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue
文件已删除 src/views/safeKnowledge/bmgz/index.vue
文件已删除 src/views/safeKnowledge/df/index.vue
文件已删除 src/views/safeKnowledge/index.vue
文件已删除 src/views/safeKnowledge/inner/index.vue
文件已删除 src/views/safeKnowledge/internationalRules/index.vue
文件已删除 src/views/safeKnowledge/law/index.vue
文件已删除 src/views/safeKnowledge/sfjs/index.vue
文件已删除 src/views/safeKnowledge/xzfg/index.vue
文件已删除 src/views/specialWorkSystem/alarm/zyyjjl/index.vue
文件已删除 src/views/specialWorkSystem/flow/basicApprove/components/approveBasicDialog.vue
文件已删除 src/views/specialWorkSystem/flow/basicApprove/index.vue
文件已删除 src/views/specialWorkSystem/flow/ruleofApp/components/approveItemDialog.vue
文件已删除 src/views/specialWorkSystem/flow/ruleofApp/components/approveLevelDialog.vue
文件已删除 src/views/specialWorkSystem/flow/ruleofApp/components/approveRuleDialog.vue
文件已删除 src/views/specialWorkSystem/flow/ruleofApp/index.vue
文件已删除 src/views/specialWorkSystem/foundationSet/goods/index.vue
文件已删除 src/views/specialWorkSystem/foundationSet/safetyAction/components/safetyActionDialog.vue
文件已删除 src/views/specialWorkSystem/foundationSet/safetyAction/index.vue
文件已删除 src/views/specialWorkSystem/plan/appoint/index.vue
文件已删除 src/views/specialWorkSystem/plan/reservation/index.vue
文件已删除 src/views/specialWorkSystem/plan/sumReserve/index.vue
文件已删除 src/views/specialWorkSystem/process/components/dialogPermitNo.vue
文件已删除 src/views/specialWorkSystem/process/qtjcfx/index.vue
文件已删除 src/views/specialWorkSystem/process/zyjcgl/index.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/brokenLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/fireLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/groundLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/heightLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/hoistLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/plateLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/powerLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/components/spaceLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsp/index.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/brokenLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/fireLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/groundLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/heightLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/hoistLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/plateLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/powerLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/components/spaceLog.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsq/index.vue
文件已删除 src/views/specialWorkSystem/workTicket/wdsqjl/index.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/broken.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/fire.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/ground.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/height.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/hoist.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/materialDialog.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/plate.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/power.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/components/space.vue
文件已删除 src/views/specialWorkSystem/workTicket/zysq/index.vue
文件已删除 src/views/system/menu/component/menuDialog.vue
@@ -99,7 +99,7 @@ isShowDialog: false, title: '', buttonName: '', // 参数请参考 `/src/router/route.ts` 中的 `dynamicRoutes` 路由菜单格式 // 参数请参考 `/src/router/route.json.ts` 中的 `dynamicRoutes` 路由菜单格式 ruleForm: { projectId: '', parentId: 0, src/views/test/index.vue
对比新文件 @@ -0,0 +1,13 @@ <template> </template> <script> export default { name: "index" } </script> <style scoped> </style>