yanghao 2 dni temu
rodzic
commit
b532664bbb
3 zmienionych plików z 7 dodań i 1 usunięć
  1. 4 0
      components.d.ts
  2. 0 1
      src/views/flow/todoList.vue
  3. 3 0
      src/views/index.vue

+ 4 - 0
components.d.ts

@@ -14,12 +14,16 @@ declare module 'vue' {
     CardItem: typeof import('./src/components/home/CardItem.vue')['default']
     CardItem: typeof import('./src/components/home/CardItem.vue')['default']
     ElBadge: typeof import('element-plus/es')['ElBadge']
     ElBadge: typeof import('element-plus/es')['ElBadge']
     ElButton: typeof import('element-plus/es')['ElButton']
     ElButton: typeof import('element-plus/es')['ElButton']
+    ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
     ElDialog: typeof import('element-plus/es')['ElDialog']
     ElDialog: typeof import('element-plus/es')['ElDialog']
     ElDrawer: typeof import('element-plus/es')['ElDrawer']
     ElDrawer: typeof import('element-plus/es')['ElDrawer']
     ElDropdown: typeof import('element-plus/es')['ElDropdown']
     ElDropdown: typeof import('element-plus/es')['ElDropdown']
     ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
     ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
     ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
     ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
+    ElForm: typeof import('element-plus/es')['ElForm']
+    ElFormItem: typeof import('element-plus/es')['ElFormItem']
     ElImage: typeof import('element-plus/es')['ElImage']
     ElImage: typeof import('element-plus/es')['ElImage']
+    ElInput: typeof import('element-plus/es')['ElInput']
     ElPagination: typeof import('element-plus/es')['ElPagination']
     ElPagination: typeof import('element-plus/es')['ElPagination']
     ElPopover: typeof import('element-plus/es')['ElPopover']
     ElPopover: typeof import('element-plus/es')['ElPopover']
     ElTable: typeof import('element-plus/es')['ElTable']
     ElTable: typeof import('element-plus/es')['ElTable']

+ 0 - 1
src/views/flow/todoList.vue

@@ -53,7 +53,6 @@
             prop="requestName"
             prop="requestName"
             label="请求标题"
             label="请求标题"
             min-width="250"
             min-width="250"
-            fixed="left"
             align="center"
             align="center"
           />
           />
           <el-table-column
           <el-table-column

+ 3 - 0
src/views/index.vue

@@ -1115,6 +1115,7 @@ const handlePortalAppClick = async (app: PortalApp) => {
   }
   }
 
 
   if (app.label === "供应商管理(SRM)") {
   if (app.label === "供应商管理(SRM)") {
+    alert("判断点击SRM");
     if (userStore.getUser.username && getAccessToken()) {
     if (userStore.getUser.username && getAccessToken()) {
       const ua = window.navigator.userAgent;
       const ua = window.navigator.userAgent;
       const isDesktop =
       const isDesktop =
@@ -1133,7 +1134,9 @@ const handlePortalAppClick = async (app: PortalApp) => {
       }
       }
 
 
       if (ua.includes("dingtalk") || ua.includes("dingtalkwork")) {
       if (ua.includes("dingtalk") || ua.includes("dingtalkwork")) {
+        alert("SRM判断是钉钉");
         if (isMobile && !isDesktop) {
         if (isMobile && !isDesktop) {
+          alert("SRM判断是钉钉手机端登录");
           dd.biz.util.openLink({
           dd.biz.util.openLink({
             url: `https://srm-m.deepoil.cc:7777/#/mixed-page/view/MXP00048?Authorization=${JSON.parse(res).msg}`,
             url: `https://srm-m.deepoil.cc:7777/#/mixed-page/view/MXP00048?Authorization=${JSON.parse(res).msg}`,