1.0.12 • Published 3 years ago

th-network-unrepair-conduct v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

项目名称

非抢指挥 th-network-unrepair-conduct

项目背景

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

如何安装

npm i th-network-unrepair-conduct -S

如何使用

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

  import ThNetworkUnrepairConduct from 'th-network-unrepair-conduct'
  import 'th-network-unrepair-conduct/lib/th-network-unrepair-conduct.css'
  Vue.use(ThNetworkUnrepairConduct)

然后使用模块组件

  <th-repair-conduct-module v-if="isShow" v-bind="repairConductProp" />
  <script>
  import { MapViewVo } from 'th-gis'
  export default {
    name: 'UnrepairConduct',
    data() {
      return {
        isShow: true
      }
    },
    computed: {
      repairConductProp() {
        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

参与贡献方式

开源协议

1.0.11

3 years ago

1.0.10

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago