123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- const Url = "http://36.138.232.112";
- const esriApiPort = "8082";
- export const esriConfig = {
- baseUrl: `${Url}:${esriApiPort}/arcgis_js_api/library/4.16/dojo/dojo.js`,
- baseCssUrl: `${Url}:${esriApiPort}/arcgis_js_api/library/4.16/esri/css/main.css`,
- font_url: `${Url}:${esriApiPort}/arcgis_js_api/library/fonts/`,
- };
- export const appconfig = {
-
- isonline: true,
-
- isloadServer: false,
-
- tianMapKey: "9248d7f5b183142e4f1d5c908fba42e0",
-
- initCenter: { x: 102.18017, y: 27.40482 },
-
-
- templateFolder: "D:/tool20230208/template",
-
- initZoom: 2,
- usertoken:
- "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJVc2VySUQiOiIiLCJVU0VSTkFNRSI6IiIsIlJFQUxOQU1FIjoiIiwiV0tJRCI6NDU0NCwiUkFOR0UiOiJYUlRZIiwiUkFOR0VGSUVMRCI6bnVsbCwiQ09ERSI6IlhSVFkiLCJDT05ORUNUU1RSIjoiREFUQUJBU0U9b3JjbDtORVROQU1FPTE5Mi4xNjguMC4xOC9vcmNsO1NFUlZFUj0xOTIuMTY4LjAuMTg7VVNFUklEPXNkZV9kY3N3O1BBU1NXT1JEPVpoc3dfMTIzO1BPUlQ9MTUyMUA1MTUxL3RjcDtWRVJTSU9OPXNkZS5ERUZBVUxUIiwiQm9yblRpbWUiOjAsIkFwcElEIjpudWxsfQ.QBNAdOM7H36k_1lF-z3oRR_E2-QkDyp8wfgTrvssOKANYTSjY5bWvoMxrV52_k1h9ouqv1CM71C8fl7TFioIvw",
-
- gisResource: {
- tian_online_vector: {
- groupname: "天地图在线矢量服务",
- type: "webTiled",
- config: [
- {
- name: "矢量地图",
- url: "http://{subDomain}.tianditu.com/DataServer?T=vec_c&x={col}&y={row}&l={level}&tk=",
- },
- ],
- },
- tian_online_raster: {
- groupname: "天地图在线影像服务",
- type: "webTiled",
- config: [
- {
- name: "影像地图",
- url: "http://{subDomain}.tianditu.com/DataServer?T=img_c&x={col}&y={row}&l={level}&tk=",
- },
- ],
- },
- tian_online_vector_label: {
- groupname: "天地图在线矢量标注服务",
- type: "webTiled",
- config: [
- {
- name: "矢量标注图",
- url: "http://{subDomain}.tianditu.com/DataServer?T=cva_c&x={col}&y={row}&l={level}&tk=",
- },
- ],
- },
- tian_online_raster_label: {
- groupname: "天地图在线影像标注服务",
- type: "webTiled",
- config: [
- {
- name: "影像标注图",
- url: "http://{subDomain}.tianditu.com/DataServer?T=cia_c&x={col}&y={row}&l={level}&tk=",
- },
- ],
- },
- tian_offline_raster_label: {
- groupname: "天地图离线标注图服务",
- type: "tiled",
- config: [
- {
- name: "标注地图",
- url: "http://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_imgano/MapServer",
- },
- ],
- },
- tian_offline_vector_label: {
- groupname: "天地图离线标注图服务",
- type: "tiled",
- config: [
- {
- name: "标注地图",
- url: "http://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_vecano/MapServer",
- },
- ],
- },
- tian_offline_raster: {
- groupname: "天地图离线影像图服务",
- type: "tiled",
- config: [
- {
- name: "影像地图",
- url: "http://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_img/MapServer",
- },
- ],
- },
- tian_offline_vector: {
- groupname: "天地图离线矢量服务",
- type: "tiled",
- config: [
- {
- name: "矢量地图",
- url: "https://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_vec/MapServer",
- },
- ],
- },
- river_thema: {
- groupname: "水系专题图服务",
- type: "dynamic",
- config: [
- {
- name: "水系专题图",
- url: "http://36.138.232.112:6080/arcgis/rest/services/xrty/pipe_river/MapServer",
- },
- ],
- },
- business_map: {
- groupname: "离线业务地图服务",
- type: "dynamic",
- config: [
- {
- name: "业务地图",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer",
- },
- ],
- },
- print: {
- groupname: "打印服务",
- config: [
-
- {
- name: "打印地图",
- url: "http://36.138.232.112:6080/arcgis/rest/services/DCSW/TFPrintMxd/GPServer/TFPrintMxd",
- },
- ],
- },
- geometry: {
- groupname: "地图图形操作工具",
- type: "tiled",
- config: [
- {
- name: "地图工具",
- url: "http://36.138.232.112:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer",
- },
- ],
- },
- layer_name: {
- groupname: "获取图层名称服务",
- config: [
- {
- name: "图层名称",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/exts/TFGeoAPISOE/getLayerInfor",
- },
- ],
- },
- field_intersect: {
- groupname: "获取重复字段",
- config: [
- {
- name: "字段名称",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/exts/TFGeoAPISOE/fieldIntersect",
- },
- ],
- },
- fieldUniqueValue: {
- groupname: "获取字段唯一值",
- config: [
- {
- name: "字段唯一",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/exts/TFGeoAPISOE/getFieldUniqueValue",
- },
- ],
- },
- statistic: {
- groupname: "属性统计",
- config: [
- {
- name: "属性统计",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/exts/TFGeoAPISOE/statistic",
- },
- ],
- },
- horizental_section_analysis: {
- groupname: "横剖面分析",
- config: [
- {
- name: "横剖面分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/exts/TFGeoAPISOE/HorizentalSectionAnalysis",
- },
- ],
- },
- vertical_section_analysis: {
- groupname: "纵剖面分析",
- config: [
- {
- name: "纵剖面分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/exts/TFGeoAPISOE/VerticalSectionAnalysis",
- },
- ],
- },
- shutOff_valve_extend_analysis: {
- groupname: "关阀扩展分析",
- config: [
- {
- name: "关阀扩展分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/GPTool/GPServer/ShutOffValveExtend",
- },
- ],
- },
- shutOff_valve_analysis: {
- groupname: "关阀分析",
- config: [
- {
- name: "关阀分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/GPTool/ShutOffValveAnalyze",
- },
- ],
- },
- burst_pipe_analyze_analysis: {
- groupname: "爆管分析",
- config: [
- {
- name: "爆管分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/GPTool/GPServer/BurstPipeAnalyze",
- },
- ],
- },
- connected_analysis: {
- groupname: "连通性分析",
- config: [
- {
- name: "连通性分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/GPTool/GPServer/ConnectedAnalyze",
- },
- ],
- },
- path_analysis: {
- groupname: "路径分析",
- config: [
- {
- name: "路径分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/GPTool/PathAnalyze/GPServer/PathAnalyze",
- },
- ],
- },
- trace_downStream_analyze: {
- groupname: "下游追踪分析",
- config: [
- {
- name: "下游追踪分析",
- url: "http://36.138.232.112:6080/arcgis/rest/services/hnls/lsswgp/GPServer/TraceDownstreamAnalyze",
- },
- ],
- },
- },
- };
- export const notificationInterval = 30000;
- export const homeInterval = 60000;
- export const hyduralicsMenus = [
- {
- name: "onlineForecast",
- title: "在线预测",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/monitoring",
- },
- {
- name: "smartScheduling",
- title: "智能调度",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/smart",
- },
- {
- name: "schedulingPlan",
- title: "调度预案",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/scheduling",
- },
- {
- name: "planEvaluation",
- title: "规划评估",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/plan",
- },
- {
- name: "pipeFushing",
- title: "管道冲洗",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/wash",
- },
- {
- name: "riskAssessment",
- title: "风险评估",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/risk",
- },
- {
- name: "hydrualicsSysSetting",
- title: "系统设置",
- url: "https://192.168.100.201/JinTangWDWebApp/#/single/system",
- },
- ];
|