21 Revīzijas 8e670cbb37 ... 1aca98dcd4

Autors SHA1 Ziņojums Datums
  huangxiaoming 1aca98dcd4 Merge branch 'master' of http://139.224.213.4:3000/wenshuai/winhc-demension-vue3 2 gadi atpakaļ
  huangxiaoming 5acd4cc50e 风险扫描 2 gadi atpakaļ
  Satsiki e270636303 feat: 维度开发,查漏补缺 2 gadi atpakaļ
  Satsiki 33a2c3951f feat: 维度开发 2 gadi atpakaļ
  Satsiki a92d95d0d7 feat: 维度开发 2 gadi atpakaļ
  Satsiki a1d0640f46 feat: 维度开发 2 gadi atpakaļ
  huangxiaoming 942acbcd03 新增404页面 2 gadi atpakaļ
  Satsiki 0d1a1eba58 feat: 添加企业自定义id 2 gadi atpakaļ
  Satsiki 4b3d45f0c6 feat: 财产线索 2 gadi atpakaļ
  Satsiki dcda1ebc9c feat: 增加维度 2 gadi atpakaļ
  huangxiaoming 14cc674372 Merge branch 'master' of http://139.224.213.4:3000/wenshuai/winhc-demension-vue3 2 gadi atpakaļ
  huangxiaoming 21e9d32a74 打包 2 gadi atpakaļ
  Satsiki 8510dd42b5 chore: vant引入修改,path添加类型插件 2 gadi atpakaļ
  Satsiki 9bd02d07c8 Merge branch 'master' of 139.224.213.4:wenshuai/winhc-demension-vue3 2 gadi atpakaļ
  Satsiki bcd9e0747c feat: 字段列表完善,跳转逻辑完善 2 gadi atpakaļ
  wenshuai 3ab1b177e1 列表tab开发 2 gadi atpakaļ
  wenshuai 9a0788cc3e 列表tab开发 2 gadi atpakaļ
  Satsiki 081a7c3edb feat: tab开发 2 gadi atpakaļ
  wenshuai 3161fd6c92 feat: 完善列表,添加tab 2 gadi atpakaļ
  wenshuai 8bb33c7a6a feat: 项目结构搭建 2 gadi atpakaļ
  wenshuai ecd6b572fc init 2 gadi atpakaļ

+ 4 - 0
src/api/index.ts

@@ -1,6 +1,7 @@
 import { config } from './../../config'
 import axios from 'axios'
 import { headerData } from './reqHeaders'
+import { Toast } from 'vant'
 
 
 
@@ -31,7 +32,10 @@ $axios.interceptors.response.use(
   (response) => {
     // console.log(response, 78)
     if (response.data.isSuccess === 'T') {
+      // console.log("response.data=",response.data)
       return response.data.body
+    }else{
+      Toast(response.data.errorMsg || '系统异常')
     }
   }
 )

+ 26 - 0
src/components/DetailCustom/FengXianSaoMiao.vue

@@ -0,0 +1,26 @@
+<!--
+ * @Description: 
+ * @Author: 狼牙
+ * @Email: huangxiaoming@winhc.cn
+ * @Date: 2022-04-17 20:52:13
+ * @LastEditTime: 2022-04-17 21:01:05
+ * @LastEditors: 狼牙
+-->
+<template>
+  <div>
+    <!-- <component :is="store.selectDemension.detailCustomRender"></component> -->
+    <div>123</div>
+  </div>
+</template>
+
+<script lang="ts" setup>
+  import { useDemensionDetailStore } from '@/store/demensionDetail'
+  const store = useDemensionDetailStore()
+
+</script>
+
+<style lang="scss" scoped>
+
+
+</style>
+

+ 1 - 1
src/components/ListCustom/GongShangXinXi.vue

@@ -137,7 +137,6 @@
                   details.historyNames
                     ? details.historyNames
                       .split("\t;\t")
-                      .filter((i:number) => i)
                       .join("、")
                     : "-"
                 }}
@@ -242,6 +241,7 @@
       entityType: useDemensionListStore().entityType
     }
     const res:any = await $axios.get('lawyer-workbench/risk/dimension/page',{params})
+    
     details.value = res
     loadingSkeleton.value = false
   }

+ 25 - 0
src/js-pages/company-detail/FengXianSaoMiao/index.ts

@@ -0,0 +1,25 @@
+/*
+ * @Description: 
+ * @Author: 狼牙
+ * @Email: huangxiaoming@winhc.cn
+ * @Date: 2022-04-17 20:10:14
+ * @LastEditTime: 2022-04-17 21:30:19
+ * @LastEditors: 狼牙
+ */
+import { DemensionPagesInter } from '../../types'
+import FengXianSaoMiaoPage from '@/components/DetailCustom/FengXianSaoMiao.vue'
+import { shallowRef } from 'vue'
+export const FengXianSaoMiao: DemensionPagesInter = {
+  projectName: '风险扫描',
+  list: [
+    
+    {
+      routing: 'FengXianSaoMiao',
+      code: '',
+      title: '风险扫瞄',
+      companyId: 'ab154ca9fbaeb0fe6ae3cfb17359855e',
+      detailCustomRender: shallowRef(FengXianSaoMiaoPage)
+    }
+  ]
+}
+

+ 5 - 2
src/store/demensionDetail.ts

@@ -25,8 +25,11 @@ export const useDemensionDetailStore = defineStore({
       } else {
         return demensionInfo.allDemensionArr
       }
-
-      this.getDetail()
+      //风险扫描走特殊情况,直接进去页面调用接口
+      if(!(routerName === 'FengXianSaoMiao')){
+        this.getDetail()
+      }
+      
     },
     async getDetail() {
       const route = useRoute()

+ 1 - 1
src/views/demension/detail.vue

@@ -45,7 +45,7 @@
         </div>
       </div>
     </div>
-    <GlSiFaCase v-if="store.info.caseNo && store.selectDemension.detailType" :caseNo="store.info.caseNo" :rowKey="store.info.rowKey"></GlSiFaCase>
+    <GlSiFaCase v-if="store.info?.caseNo && store.selectDemension.detailType" :caseNo="store.info.caseNo" :rowKey="store.info.rowKey"></GlSiFaCase>
     <DetailCustomComponent v-if="store.selectDemension" />
   </div>
 </template>