浏览代码

更改

更改
huangxiaoming 2 年之前
父节点
当前提交
fb5e758a21
共有 1 个文件被更改,包括 2 次插入88 次删除
  1. 2 88
      src/views/CustomPage/FengXianSaoMiao/Company/FengXianMoreList.vue

+ 2 - 88
src/views/CustomPage/FengXianSaoMiao/Company/FengXianMoreList.vue

@@ -3,7 +3,7 @@
  * @Author: 狼牙
  * @Email: huangxiaoming@winhc.cn
  * @Date: 2022-04-19 19:44:19
- * @LastEditTime: 2022-04-20 19:28:43
+ * @LastEditTime: 2022-04-20 19:36:16
  * @LastEditors: 狼牙
 -->
 <template>
@@ -31,7 +31,7 @@
     </div>
 </template>
 
-<script lang='ts' setup>
+<script lang="ts" setup>
     import $axios from "@/api";
     import {EnterpriseEnum} from '@/utils/sfaj';
     import { $goDetail } from '@/utils/utils';
@@ -124,93 +124,7 @@
             //  window.location.hash= '#/' + route;
             $goDetail(routeUrl)
         }
-    
     }
-  
-
-    // export default {
-    //     name: "FengXianMoreList",
-    //     data() {
-    //         return {
-    //             dataList: [],
-    //             loading: false,
-    //             pageNum: 1,
-    //             totalPage: 0,
-    //             totalNum: "", // 总条数
-    //         }
-    //     },
-    //     methods: {
-    //         onLoad() {
-    //             if (!this.loading && this.totalPage > this.pageNum) {
-    //                 this.pageNum++;
-    //                 this.getData()
-    //             }
-    //         },
-    //         async getData() {
-    //             try {
-    //                 this.loading = true
-    //                 if (this.pageNum != 1) {
-    //                     window.globalVariables.cancelLoadingOnce = true
-    //                 }
-    //                 let sendData = {
-    //                     entityType:this.$route.query.entityType,
-    //                     riskScanType:this.$route.query.riskScanType == 'zsfx'?'1':this.$route.query.riskScanType == 'glfx'?'2':'',
-    //                     // entityId : this.$route.query.entityId,
-    //                     entityName: this.$route.query.entityName,
-    //                     types:[this.$route.query.types],
-    //                     pageNum: this.pageNum,
-    //                     pageSize: '20'
-    //                 }
-    //                 if(this.$route.query.entityId && this.$route.query.entityId != 'undefined'){
-    //                     sendData.entityId = this.$route.query.entityId
-    //                 }
-
-    //                 let res = await $axios.post('lawyer-workbench/risk/summary/relate/page',sendData)
-    //                 console.log("res==", res)
-    //                 let dataList = res;
-    //                 this.dataList = this.dataList.concat(dataList);
-    //                 this.totalPage = res.totalPage;
-    //                 this.totalNum = res.totalNum;
-    //                 this.loading = false
-    //             } catch (err) {
-    //                 this.loading = false
-    //                 console.log(err)
-    //             }
-    //         },
-    //         goDet(val) {
-    //             localStorage.setItem("ztbDet",JSON.stringify(val))
-    //             $goDetail("ZhaoTouBiaoDet")
-    //         },
-    //         filterRiskLevel(type){
-    //             let name = "";
-    //             if(type){
-    //                 name = type == '1'?'良好':type == '2'?'提示':type == '3'?'警示':type == '4'?'高风险':''
-    //             }
-    //             return name
-    //         },
-    //          filterDesc(des){
-    //             return des.replace(/ /g,'');
-    //         },
-    //         goList(item) {
-    //             let route = '';
-    //             EnterpriseEnum.forEach((e)=>{
-    //                 if(e.code == item.dimensionCode){
-    //                     route =e.route + '?companyName='+this.$companyName + "&companyId="+item.companyId
-    //                 }
-    //             })
-    //             if(route){
-    //                 //  window.location.hash= '#/' + route;
-    //                 $goDetail(route)
-    //             }
-            
-    //         },
-
-    //     },
-    //     async mounted() {
-            
-
-    //     }
-    // };
 </script>
 
 <style scoped lang="scss">