Răsfoiți Sursa

判断逻辑

yanghao 2 zile în urmă
părinte
comite
b532664bbb
3 a modificat fișierele cu 7 adăugiri și 1 ștergeri
  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']
     ElBadge: typeof import('element-plus/es')['ElBadge']
     ElButton: typeof import('element-plus/es')['ElButton']
+    ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
     ElDialog: typeof import('element-plus/es')['ElDialog']
     ElDrawer: typeof import('element-plus/es')['ElDrawer']
     ElDropdown: typeof import('element-plus/es')['ElDropdown']
     ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
     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']
+    ElInput: typeof import('element-plus/es')['ElInput']
     ElPagination: typeof import('element-plus/es')['ElPagination']
     ElPopover: typeof import('element-plus/es')['ElPopover']
     ElTable: typeof import('element-plus/es')['ElTable']

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

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

+ 3 - 0
src/views/index.vue

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