浏览代码

提交代码

Lijy 4 月之前
父节点
当前提交
5f4a9f55b3

+ 3 - 0
fhKeeper/formulahousekeeper/customerBuler-crm-h5/src/pages/login.vue

@@ -37,6 +37,9 @@ const isWX = ref(false)
 useLifecycle({
   load: () => {
     verifyLoginEnvironment()
+  },
+  init: () => {
+    verifyLoginEnvironment()
   }
 });
 

+ 16 - 16
fhKeeper/formulahousekeeper/customerBuler-crm-h5/src/utility/generalVariables.js

@@ -12,8 +12,8 @@ export const routingInfos = {
     addEditingInterface: NEW_BUSINESS_OPPORTUNITY_EDITING, // 新增/编辑请求接口
     topMountedInterface: TOP_OF_BUSINESS_OPPORTUNITIES, // 顶置接口
     cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_BUSINESS_OPPORTUNITIES, // 取消顶置接口
-    homeImage: '/src/assets/image/module/min_business.png', // 首页图片
-    moduleImage: '/src/assets/image/module/business.png', // 模块图片
+    homeImage: new URL('/src/assets/image/module/min_business.png', import.meta.url).href, // 首页图片
+    moduleImage: new URL('/src/assets/image/module/business.png', import.meta.url).href, // 模块图片
     searchFiled: { search: 'name' }, // 搜索字段
     image: '', // 图片
     jurisdiction: { // 权限
@@ -33,8 +33,8 @@ export const routingInfos = {
     addEditingInterface: NEW_CLUE_EDITING,
     topMountedInterface: TOP_OF_CLUES,
     cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_CLUES,
-    homeImage: '/src/assets/image/module/min_thread.png',
-    moduleImage: '/src/assets/image/module/thread.png',
+    homeImage: new URL('/src/assets/image/module/min_thread.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/thread.png', import.meta.url).href,
     searchFiled: { search: 'clueName' },
     image: '',
     jurisdiction: {
@@ -54,8 +54,8 @@ export const routingInfos = {
     addEditingInterface: CUSTOMER_ADDED_EDITOR,
     topMountedInterface: CUSTOMER_TOP_MOUNTED,
     cancelTheTopMountedInterface: CUSTOMER_CANCELS_TOP_PLACEMENT,
-    homeImage: '/src/assets/image/module/min_customer.png',
-    moduleImage: '/src/assets/image/module/customer.png',
+    homeImage: new URL('/src/assets/image/module/min_customer.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/customer.png', import.meta.url).href,
     searchFiled: { search: 'customName' },
     image: '',
     jurisdiction: {
@@ -75,8 +75,8 @@ export const routingInfos = {
     addEditingInterface: CONTACT_PERSON_ADDITION_EDITOR,
     topMountedInterface: CONTACT_TOP,
     cancelTheTopMountedInterface: CONTACT_PERSON_CANCELS_TOP_PLACEMENT,
-    homeImage: '/src/assets/image/module/min_contacts.png',
-    moduleImage: '/src/assets/image/module/contacts.png',
+    homeImage: new URL('/src/assets/image/module/min_contacts.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/contacts.png', import.meta.url).href,
     searchFiled: { search: 'name' },
     image: '',
     jurisdiction: {
@@ -96,8 +96,8 @@ export const routingInfos = {
     addEditingInterface: TASK_ADD_EDIT,
     topMountedInterface: TASK_TOP,
     cancelTheTopMountedInterface: TASK_CANCELLATION_TOP,
-    homeImage: '/src/assets/image/module/min_tasks.png',
-    moduleImage: '/src/assets/image/module/tasks.png',
+    homeImage: new URL('/src/assets/image/module/min_tasks.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/tasks.png', import.meta.url).href,
     searchFiled: { search: 'taskName' },
     image: '',
     jurisdiction: {
@@ -117,8 +117,8 @@ export const routingInfos = {
     addEditingInterface: PRODUCT_ADD_EDITOR,
     topMountedInterface: TOP_MOUNTED_PRODUCT,
     cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_THE_PRODUCT,
-    homeImage: '/src/assets/image/module/min_product.png',
-    moduleImage: '/src/assets/image/module/product.png',
+    homeImage: new URL('/src/assets/image/module/min_product.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/product.png', import.meta.url).href,
     searchFiled: { search: 'productName' },
     image: '',
     jurisdiction: {
@@ -138,8 +138,8 @@ export const routingInfos = {
     addEditingInterface: CONTRACT_ADDITION_EDITING,
     topMountedInterface: TOP_OF_THE_CONTRACT,
     cancelTheTopMountedInterface: CONTRACT_CANCELLATION_WITH_TOP_PLACEMENT,
-    homeImage: '/src/assets/image/module/min_contract.png',
-    moduleImage: '/src/assets/image/module/contract.png',
+    homeImage: new URL('/src/assets/image/module/min_contract.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/contract.png', import.meta.url).href,
     searchFiled: { search: 'name' },
     image: '',
     jurisdiction: {
@@ -159,8 +159,8 @@ export const routingInfos = {
     addEditingInterface: ORDER_ADDITION_EDITING,
     topMountedInterface: SALES_ORDER_TOP_PLACEMENT,
     cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_THE_SALES_ORDER,
-    homeImage: '/src/assets/image/module/min_order.png',
-    moduleImage: '/src/assets/image/module/order.png',
+    homeImage: new URL('/src/assets/image/module/min_order.png', import.meta.url).href,
+    moduleImage: new URL('/src/assets/image/module/order.png', import.meta.url).href,
     searchFiled: { search: 'orderName' },
     image: '',
     jurisdiction: {