xiangpei
2024-08-16 085a5c7be0a347e1dfeab30a73a148fb98e8e14d
src/views/system/data-manage/index.vue
@@ -139,7 +139,7 @@
          :style="item.ruleName == '' ? 'display:none' : ''"
          class="col-margin"
        >
          <el-link @click="handleDetail(item, item.ruleIndex, item.apiUrl)" style="width: 100%">
          <el-link @click="jumpToEquipment" style="width: 100%">
            <el-card style="min-width: 150px;width:100%; height: 150px; text-align: center">
              <i style="font-size: 40px; padding: 15px" :class="item.icon"></i>
              <div>{{ item.ruleName }}</div>
@@ -363,10 +363,11 @@
      equipment: [
        {
          ruleName: "资产管理",
          ruleIndex: 'view_zc_manage',
          ruleIndex: 'assetManagement',
          icon: "el-icon-wallet",
          description: "描述信息",
          ruleCategory: "4",
          apiUrl: 'assetManagement'
        }
      ],
    };
@@ -383,6 +384,11 @@
        this.loading = false;
      });
    },
    jumpToEquipment() {
      this.$router.push({
        path: '/equipment'
      });
    },
    handleDetail(item, index, url) {
      this.$router.push({
        path: `/data-manage/data-detail/index/1/1?type=${item.ruleCategory}&index=${index}&url=${url}`,