npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

th-network-industry-power

v1.0.10

Published

th-network-industry-power

Readme

项目名称

非抢指挥 th-network-industry-power

项目背景

配网一张图对各个模块进行可视化于地图的基础之上,并各个模块独立成包供展示层项目使用,依赖于公共代码包和GIS包,如此便于管理和按需求供给客户现场

如何安装

npm i element-ui -S npm i xlsx -S npm i th-vue-component -S npm i th-vue-business -S npm i th-vue-echarts -S npm i th-gis -S npm i th-network-common -S npm i th-network-industry-power -S

如何使用

在安装成功后,在项目或者包项目的入口文件中加入引用

  import ThNetworkIndustryPower from 'th-network-industry-power'
  import 'th-network-industry-power/lib/th-network-industry-power.css'
  Vue.use(ThNetworkIndustryPower)

然后使用模块组件

  <th-industry-power-module v-if="isShow" v-bind="repairConductProp" />
  <script>
  import { MapViewVo } from 'th-gis'
  export default {
    name: 'IndustryPower',
    data() {
      return {
        isShow: true
      }
    },
    computed: {
      industryPowerProp() {
        const mapViewVo = new MapViewVo()
        const rcProp = {
          mapParam: {
            thMap: mapViewVo.map, // 所需地图对象
            mapType: 'baidu'
          },
          apiParam: {
            isOrigin: true, // 是否是原服务, false是微服务
            serverUrl: 'http://192.168.20.214:9000', // 服务的域名
            egisServerUrl: 'http://192.168.20.214:9000'
          },
          dialogLinkParam: { // 链接弹窗链接到供服页面所需要的参数
            iscUserId: '8a6a88f25b858e47015bf522ab45133b',
            baseUrl: 'http://192.168.20.214:9000/sgpssc/thFrame/accommodate.jsp',
            pmsYwId: '8a6a8b324ac8bc72014bd863458a3b36'
          },
          otherParam: {
            sysCurrOrgId: ''
          },
          isModuleShow: this.isShow
        }
        return rcProp
      }
    }
  }
  </script>

相关项目

依赖

th-network-common th-vue-component element-ui echarts moment

兄弟模块项目

th-network-repair-conduct th-network-ops

指令说明

# 启动DEMO开发模式
npm run dev

# 打包组件
npm run build

# 发布(npm adduser && npm login)
npm run deploy

主要项目负责人

@huangfengnv

参与贡献方式

开源协议