From 7f6291e80073c0c29f9d24bfdd3ac2602a059e70 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期二, 18 五月 2021 10:10:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 src/conf/Constants.js |  206 +++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 175 insertions(+), 31 deletions(-)

diff --git a/src/conf/Constants.js b/src/conf/Constants.js
index 3bab997..0935f69 100644
--- a/src/conf/Constants.js
+++ b/src/conf/Constants.js
@@ -35,35 +35,179 @@
   ICON_SIZE: [10, 10]
 }
 
-export const props = {
-  code: '缂栧彿',
-  name: '鍚嶇О',
-  teamname: '鍚嶇О',
-  pfktype: '鎺掓斁鍙g被鍨�',
-  level: '绾у埆',
-  length: '闀垮害(m)',
-  unitname: '鍗曚綅鍚嶇О',
-  pipename: '绠$嚎鍚嶇О',
-  subchaname: '鏀嚎鍚嶇О',
-  subchacode: '鏀嚎缂栫爜',
-  mediumtype: '杈撻�佷粙璐�',
-  startposname: '璧风偣浣嶇疆鍚嶇О',
-  endposname: '缁堢偣浣嶇疆鍚嶇О',
-  pressureating: '璁捐鍘嬪姏锛圡Pa锛�',
-  designtranyear: '璁捐杈撻噺锛堜竾绔�/骞达級',
-  earningcapacity: '瀹為檯杈撻噺锛堜竾绔�/骞达級',
-  buriedtime: '鍩嬭鏃堕棿',
-  coatingmaterial: '闃茶厫鐘跺喌',
-  inservicetime: '鎶曚骇鏃堕棿',
-  reportname: '濉姤浜哄鍚�',
-  reportphone: '濉姤浜鸿仈绯绘柟寮�',
-  diameter: '绠″緞(mm)',
-  meterial: '鏉愯川',
-  pressuerating: '绠¢亾鍘嬪姏(Mpa)',
-  embeddingmode: '鍩嬭鏂瑰紡',
-  pipetrenchtype: '绠℃矡绫诲瀷',
-  datecollected: '鎺㈡祴鏃堕棿',
-  operationalstatus: '杩愯鐘舵��',
-  fourtype: '鍥涢�氱被鍨�',
-  fourm: '鍥涢�氭潗鏂�'
+export const LAYERS = {
+  pipenetwork: '绠$綉',
+  pipeline: '绠$嚎',
+  manhole: '绐ㄤ簳',
+  valve: '闃�闂�',
+  pipegallery: '绠″粖锛堝甫锛�',
+  piperack: '绠℃灦锛堝ⅸ锛�',
+  tee: '涓夐��',
+  fourlink: '鍥涢��',
+  elbow: '寮ご',
+  raingate: '闆ㄧ瀛�',
+  firedike: '闃茬伀鍫�',
+  collectingbasin: '闆嗘按姹狅紙缃愶級',
+  dischargeport: '鎺掓斁鍙�',
+  overflowweir: '婧㈡祦鍫�',
+  oilseparator: '闅旀补姹�',
+  pointhydrology: '姘翠綋',
+  pointpreservationzone: '鑷劧淇濇姢鍖�',
+  hospital: '鍖婚櫌',
+  emergencyres: '绀句細涓撲笟搴旀�ユ晳鎻撮槦浼�',
+  emergencyesources: '搴旀�ョ墿璧�',
+  firefightingunit: '娑堥槻鍗曚綅'
+}
+
+export const LAYERPROPS = {
+  // 绠$綉
+  pipenetwork: {
+    // 绠$綉
+    name: '鍚嶇О',
+    LINENUMTYPE: '绠$嚎绫诲瀷',
+    PIPENAME: '绠$嚎鍚嶇О',
+    MEDIUMTYPE: '杈撻�佷粙璐�',
+    LENGTH: '闀垮害(m)',
+    STARTPOSNAME: '璧风偣浣嶇疆鍚嶇О',
+    ENDPOSNAME: '缁堢偣浣嶇疆鍚嶇О',
+    BURIEDTIME: '鍩嬭鏃堕棿',
+    COATINGMATERIAL: '闃茶厫鐘跺喌',
+    INSERVICETIME: '鎶曚骇鏃堕棿',
+    UNITNAME: '鎵�灞炲崟浣嶅悕绉�',
+    ORGNAME: '鎵�灞炰紒涓氬悕绉�',
+    OPERATIONALSTATUS: '杩愯鐘舵��'
+  },
+  // 绠$嚎
+  pipeline: {
+    // 绠$綉
+    name: '鍚嶇О',
+    linenumtype: '绠$嚎绫诲瀷',
+    pipename: '绠$嚎鍚嶇О',
+    mediumtype: '杈撻�佷粙璐�',
+    length: '闀垮害(m)',
+    startposname: '璧风偣浣嶇疆鍚嶇О',
+    endposname: '缁堢偣浣嶇疆鍚嶇О',
+    buriedtime: '鍩嬭鏃堕棿',
+    coatingmaterial: '闃茶厫鐘跺喌',
+    inservicetime: '鎶曚骇鏃堕棿',
+    unitname: '鎵�灞炲崟浣嶅悕绉�',
+    orgname: '鎵�灞炰紒涓氬悕绉�',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 绐ㄤ簳
+  manhole: {
+    type: '绫诲瀷',
+    wellmaterial: '浜曠洊鏉愯川',
+    havesafetynet: '鏄惁鏈夊畨鍏ㄧ綉',
+    datasource: '鏁版嵁鏉ユ簮',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 闃�闂�
+  valve: {
+    valvetype: '闃�闂ㄧ被鍨�',
+    executagencyf: '鎵ц鏈烘瀯褰㈠紡',
+    datasource: '鏁版嵁鏉ユ簮',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 绠″粖锛堝甫锛�
+  pipegallery: {
+    datasource: '鏁版嵁鏉ユ簮',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 绠℃灦锛堝ⅸ锛�
+  piperack: {
+    piperacktype: '绫诲瀷',
+    piperackst: '绠℃灦(澧╋級缁撴瀯绫诲瀷',
+    longitudinalpiperack: '鏄惁鏈夌旱鍚戞灦',
+    datasource: '鏁版嵁鏉ユ簮',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 涓夐��
+  tee: {
+    teetype: '涓夐�氱被鍨�',
+    exportconnectm: '鍑哄彛杩炴帴鏂瑰紡',
+    entrycontype: '鍏ュ彛杩炴帴鏂瑰紡',
+    teem: '涓夐�氭潗鏂�',
+    branchconntype: '鏀杩炴帴绫诲瀷',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 鍥涢��
+  fourlink: {
+    fourtype: '鍥涢�氱被鍨�',
+    exportcontype: '鍑哄彛杩炴帴鏂瑰紡',
+    entrycontype: '鍏ュ彛杩炴帴鏂瑰紡',
+    fourm: '鍥涢�氭潗鏂�',
+    branchconntype1: '鏀嚎1杩炴帴鏂瑰紡',
+    branchconntype2: '鏀嚎2杩炴帴鏂瑰紡',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 寮ご
+  elbow: {
+    elbowtype: '寮ご绫诲瀷',
+    elbowmaterial: '寮ご鏉愭枡',
+    anticorros: '闃茶厫鏉愭枡',
+    entryconntype: '鍏ュ彛杩炴帴鏂瑰紡',
+    outletconntype: '鍑哄彛杩炴帴鏂瑰紡',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 闆ㄧ瀛�
+  raingate: {
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 闃茬伀鍫�
+  firedike: {
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 闆嗘按姹狅紙缃愶級
+  collectingbasin: {
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 鎺掓斁鍙�
+  dischargeport: {
+    mediumtype: '浠嬭川',
+    pfktype: '鎺掓斁鍙g被鍨�',
+    level: '绾у埆',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 鎴祦闂�
+
+  // 婧㈡祦鍫�
+  overflowweir: {
+    mediumtype: '闃叉孩浠嬭川',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 闅旀补姹�
+  oilseparator: {
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 姘翠綋
+  pointhydrology: {
+    hydrotype: '姘寸郴绫诲瀷',
+    drinkingresourceind: '鏄惁鏄ギ鐢ㄦ按婧�',
+    seasonalriverind: '鏄惁鏄鑺傛�ф渤娴�',
+    reservoirlocation: '姘村簱浣嶇疆',
+    operationalstatus: '杩愯鐘舵��'
+  },
+  // 鑷劧淇濇姢鍖�
+  pointpreservationzone: {
+    datasource: '鏁版嵁鏉ユ簮'
+  },
+  // 鍖婚櫌
+  hospital: {
+    hospitalleaval: '鍖婚櫌璧勮川绛夌骇',
+    subtypecd: '鍖婚櫌绫诲瀷',
+    datasource: '鏁版嵁鏉ユ簮'
+  },
+  // 绀句細涓撲笟搴旀�ユ晳鎻撮槦浼�
+  emergencyres: {
+    datasource: '鏁版嵁鏉ユ簮'
+  },
+  // 搴旀�ョ墿璧�
+  emergencyesources: {
+    datasource: '鏁版嵁鏉ユ簮'
+  },
+  // 娑堥槻鍗曚綅
+  firefightingunit: {
+    datasource: '鏁版嵁鏉ユ簮'
+  }
 }

--
Gitblit v1.8.0