3b8e4abdaa05ce1fcabaec918b595cc625930d9a.svn-base 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906
  1. <template>
  2. <div style="height:100%;">
  3. <mapContent ref="mapRef"
  4. @showVectorLayerDetail="showVectorLayerDetail"
  5. @clickMapHandler="clickMapHandler" @isChecks1="isCheckArray1"
  6. @showSkDetail="showSkDetail" @currentAdCodeChange="currentAdCodeChange1"></mapContent>
  7. <legendWidget
  8. v-if="checkedLayerList.length>0"
  9. :checkedLayerList='checkedLayerList'
  10. @lengendChangeHandler="lengendChangeHandler"></legendWidget>
  11. <leftBarMap @showLayer="showLayer"></leftBarMap>
  12. <!-- 搜索组件 -->
  13. <searchWidget @searchWidgetEmitHandler="searchWidgetEmitHandler" @hide="hideHandler" :currentAdCodeNew="currentAdCode"></searchWidget>
  14. <!--人员信息-->
  15. <personInfo v-if="personInfoDialog" :perInfoCon="personInfoContent" @trackHistory="trackHistory"
  16. @showGroupInfo="showGroupInfo" @closePerInfo="closeInfo" @trackRecord="trackRecord"></personInfo>
  17. <!-- 人员所在组信息 -->
  18. <!-- <personInGroupInfo v-if="showPersonInGroupInfo" :currentPersName="currentPersName" :currentIsAdmin="currentIsAdmin" :currentPersId="currentPersId" @closeHandler="closeInfo"></personInGroupInfo> -->
  19. <!-- 人员所在组信息 -->
  20. <personGzqk
  21. v-if="showPersonInGroupInfo"
  22. :currentPersName="currentPersName"
  23. :currentIsAdmin="currentIsAdmin"
  24. :currentPersId="currentPersId"
  25. @closeHandler="closeInfo"
  26. @showPerGzqkOnMap="showPerGzqkOnMap"></personGzqk>
  27. <el-dialog
  28. class="custom_dialog"
  29. title="问题详细查看"
  30. append-to-body
  31. width="700px"
  32. :close-on-click-modal="false"
  33. :visible.sync="supervisionDetailsVisible"
  34. @close="cancelHandler">
  35. <pblmDetail ref="xianqing" :rowData="pblmPointData" v-if="supervisionDetailsVisible" @cancelHandler="cancelHandler"></pblmDetail>
  36. </el-dialog>
  37. <!--水毁工程-->
  38. <WaterloggingProjectBase ref="shRef" v-if="shInfoBaseDialog" :shInfoCon="shInfoContent" @cancelHandler="shBaseCancelHandler"
  39. :Title="shTitle"></WaterloggingProjectBase>
  40. <WaterloggingProject v-if="shInfoDialog" :curOperate="''" :rowData="shInfoContent" :openType="false"
  41. @cancelHandler="shCancelHandler" :objId="shInfoContent.objId"></WaterloggingProject>
  42. <!--人饮工程-->
  43. <renyinProject v-if="ryInfoDialog" ref="ryRef" :ryTitle="ryTitle" :ryObjId="ryObjId"
  44. @cancelHandler="ryCancelHandler"></renyinProject>
  45. <!--小水库督查信息-->
  46. <!-- <shuikuProject v-if="xskInfoDialog" :xskRgstrId="xskRgstrId" :Title="skTitle" @closeModal="closeInfo" :skInfo="xskInfo"></shuikuProject> -->
  47. <!-- <popupSk ref="xskTianBaoRef"-->
  48. <!-- v-if="xskInfoDialog"-->
  49. <!-- :currentDuchaTpe="currentDuchaTpe"-->
  50. <!-- :currentObjectRgstrId="xskRgstrId"-->
  51. <!-- :currentResCode="currentRsCode"-->
  52. <!-- :currentObjectId="currentObjId"-->
  53. <!-- :currentObjectName="currentRsName"-->
  54. <!-- @cancelHandler="skCancelHandler">-->
  55. <!-- </popupSk>-->
  56. <popupSkBase v-if="xskInfoBaseDialog" :currentResCode="currentRsCode" @cancelHandler="skBaseCancelHandler"></popupSkBase>
  57. <popupSk v-if="xskInfoDialog" :rowData="rowData" :currentObjectRgstrId="xskRgstrId"
  58. :currentResCode="currentRsCode" :currentObjectId="currentObjId"
  59. :currentObjectName="currentRsName"
  60. :currentRsvrNm="currentRsName"
  61. :pType="1"
  62. :ifView="true"
  63. @cancelHandler="skCancelHandler"></popupSk>
  64. <!-- 水闸督查信息 -->
  65. <!-- <popupSz ref="shuizaJcxxRef"-->
  66. <!-- v-if="showSzDuChaInfo"-->
  67. <!-- :currentDuchaTpe="currentDuchaTpe"-->
  68. <!-- :currentObjectRgstrId="currentObjectRgstrId"-->
  69. <!-- :currentGroupId="currentGroupId"-->
  70. <!-- :currentResCode="currentSzCode"-->
  71. <!-- :currentObjectId="currentObjectId"-->
  72. <!-- :currentObjectName="currentObjectName"-->
  73. <!-- showOrEdit="show"-->
  74. <!-- @cancelHandler="szCancelHandler">-->
  75. <!-- </popupSz>-->
  76. <popupSz
  77. v-if="showSzDuChaInfo"
  78. :rowData="rowData"
  79. :currentObjectRgstrId="currentObjectRgstrId"
  80. :currentResCode="currentSzCode"
  81. :currentGroupId="currentGroupId"
  82. :currentObjectId="currentObjectId"
  83. :currentObjectName="currentObjectName"
  84. :currentRsvrNm="currentObjectName"
  85. :openType="false"
  86. :ifView="true"
  87. @cancelHandler="szCancelHandler"
  88. ></popupSz>
  89. <popupSzBase v-if="szInfoBaseDialog" :currentResCode="currentSzCode" @cancelHandler="szBaseCancelHandler"></popupSzBase>
  90. <!-- 取水户督查信息 -->
  91. <popupQsh v-if="showQshDuChaInfo"
  92. ref="qshTianBaoRef"
  93. :currentDuchaTpe="currentDuchaTpe"
  94. :currentObjectRgstrId="currentRgstrId"
  95. :currentGroupId="currentGroupId"
  96. :currentQshCode="currentQshCode"
  97. :currentQshWintCode="currentQshWintCode"
  98. :currentObjectName="currentObjectName"
  99. showOrEdit="show"
  100. @cancelHandler="qshCancelHandler"></popupQsh>
  101. <!-- 水资源取水口基础信息 -->
  102. <popupSzyQsk v-if="showSzyQskDuChaInfo"
  103. ref="szyQskTianBaoRef"
  104. :currentObjectRgstrId="currentRgstrId"
  105. :currentSzyQskCode="currentSzyQskCode"
  106. @cancelHandler="szyQskCancelHandler"></popupSzyQsk>
  107. <popupSzyJsgl v-if="showSzyJsgl"
  108. ref="popupSzyJsglRef"
  109. :currentDuchaTpe="currentDuchaTpe"
  110. :currentObjectRgstrId="currentRgstrId"
  111. :currentJysglAdCode="currentJysglAdCode"
  112. :currentObjectId="currentObjectId"
  113. :currentObjectName="currentObjectName"
  114. @cancelHandler="szyJsglCancelHandler"></popupSzyJsgl>
  115. <popupSzyYsdw v-if="showSzyYsdw"
  116. ref="popupSzyYsdwRef"
  117. :currentDuchaTpe="currentDuchaTpe"
  118. :currentObjectRgstrId="currentRgstrId"
  119. :currentYsdwCode="currentYsdwCode"
  120. :currentObjectId="currentObjectId"
  121. :currentObjectName="currentObjectName"
  122. :currentObjectType="currentObjectType"
  123. @cancelHandler="szyYsdwCancelHandler"></popupSzyYsdw>
  124. <!--地下水-->
  125. <dixiashuiProject v-if="modal_dixiashui" @closeDraggable="closeInfo" :propsStcd="stcd" :djbId="djbId"
  126. :currentObjectId="currentObjectId"></dixiashuiProject>
  127. <!-- 水闸督查信息 -->
  128. <!-- <szDuChaInfo v-if="showSzDuChaInfo"
  129. :currentObjectRgstrId="currentObjectRgstrId"
  130. :currentGroupId="currentGroupId"
  131. :currentResCode="currentSzCode"
  132. :currentObjectId="currentObjectId"
  133. :currentObjectName="currentObjectName"
  134. showOrEdit="show"
  135. @cancelHandler="szCancelHandler"></szDuChaInfo> -->
  136. <!-- 淤地坝督查信息 -->
  137. <ydbDuChaInfo v-if="showYdbDuChaInfo"
  138. ref="ydbTianBaoRef"
  139. :currentObjectRgstrId="currentObjectRgstrId"
  140. :currentGroupId="currentGroupId"
  141. :currentYdbCode="currentYdbCode"
  142. :currentObjectId="currentObjectId"
  143. :currentObjectName="currentObjectName"
  144. showOrEdit="show"
  145. :activeName="activeName"
  146. @cancelHandler="ydbCancelHandler"></ydbDuChaInfo>
  147. <!-- 淤地坝基础信息 -->
  148. <ydbBaseInfo v-if="showYdbBaseInfo"
  149. ref="ydbBaseInfoRef"
  150. :currentYdbCode="currentYdbCode"></ydbBaseInfo>
  151. <!--水源地督查信息-->
  152. <sydNewDuChaInfo v-if="showSydNewDuChaInfo"
  153. ref="sydNewTianBaoRef"
  154. :currentDuchaTpe="currentDuchaTpe"
  155. :currentObjectRgstrId="currentObjectRgstrId"
  156. :currentGroupId="currentGroupId"
  157. :currentSzySydCode="currentSydNewCode"
  158. :currentObjectId="currentObjectId"
  159. :currentObjectName="currentObjectName"
  160. showOrEdit="show"
  161. :activeName="activeName"
  162. @cancelHandler="sydNewCancelHandler">
  163. </sydNewDuChaInfo>
  164. <!--河湖四乱基础督查信息-->
  165. <hhSlDuChaInfo v-if="showHhSlDuChaInfo"
  166. ref="hhSlNewTianBaoRef"
  167. :currentObjectRgstrId="currentObjectRgstrId"
  168. :currentObjectId="currentObjectId"
  169. :currentObjectName="currentObjectName"
  170. :activeName="activeName"
  171. @cancelHandler="hhSlCancelHandler">
  172. </hhSlDuChaInfo>
  173. <!--河湖采砂基础督查信息-->
  174. <ffCsDuChaInfo v-if="showFfCsDuChaInfo"
  175. ref="FfCsNewTianBaoRef"
  176. :currentObjectRgstrId="currentObjectRgstrId"
  177. :currentObjectId="currentObjectId"
  178. :currentObjectName="currentObjectName"
  179. :activeName="activeName"
  180. @cancelHandler="ffCsCancelHandler">
  181. </ffCsDuChaInfo>
  182. <!-- 水库基础信息 (基础表) -->
  183. <!-- <jichuxinxiSk ref="skJcxxRef" v-if="showSkBaseInfo" :currentResCode=currentRsCode></jichuxinxiSk> -->
  184. <!-- 水库基础信息 (基础表) -->
  185. <jichuxinxiDxs ref="dxsJcxxRef" v-if="showDxsBaseInfo" :currentDxsCode=currentDxsCode></jichuxinxiDxs>
  186. <!-- 水源地 (基础表) -->
  187. <jichuxinxiSyd ref="sydJcxxRef" v-if="showSydBaseInfo" :currentResCode=currentEngSurId></jichuxinxiSyd>
  188. <!-- 150县 (基础表) -->
  189. <jichuxinxi150 ref="150JcxxRef" v-if="show150BaseInfo" :currentResCode=currentAdCode_150></jichuxinxi150>
  190. <!-- 行政村 (基础表) -->
  191. <jichuxinxiXzc ref="xzcJcxxRef" v-if="showXzcBaseInfo" :currentResCode=villageCode></jichuxinxiXzc>
  192. <!-- 农村饮水工程基础信息 (基础表) -->
  193. <jichuxinxiNcysgc ref="ncysgcJcxxRef" v-if="showNcysgcBaseInfo"
  194. :currentCwsCode=currentCwsCode></jichuxinxiNcysgc>
  195. <!-- 水毁工程基础信息 (基础表) -->
  196. <jichuxinxiShuihui ref="shuihuiJcxxRef" v-if="showshuihuiBaseInfo" :currentResCode=locAd></jichuxinxiShuihui>
  197. <!-- 水闸基础信息 (基础表) -->
  198. <!-- <jichuxinxiShuiza ref="shuizaJcxxRef" v-if="showshuizaBaseInfo" :currentResCode=currentSzobjCode></jichuxinxiShuiza> -->
  199. <!-- 全部水闸基础信息 (基础表) -->
  200. <!-- <jichuxinxiSzAll ref="szAllJcxxRef" v-if="showszAllBaseInfo" :currentResCode=currentSzobjCode></jichuxinxiSzAll> -->
  201. <!-- 水闸基础信息 (基础表) -->
  202. <jichuxinxi172 ref="172JcxxRef" v-if="show172BaseInfo" :currentResCode=current172Code></jichuxinxi172>
  203. <!-- 取水口基础信息 (基础表) -->
  204. <jichuxinxiQsk ref="qskJcxxRef" v-if="showQskBaseInfo" :currentResCode=currentQskCode></jichuxinxiQsk>
  205. <!-- 地表水基础信息 (基础表) -->
  206. <jichuxinxiDbs ref="dbsJcxxRef" v-if="showDbsBaseInfo" :currentResCode=currentDbsCode></jichuxinxiDbs>
  207. <!-- 水文站基础信息 (基础表) -->
  208. <jichuxinxiSwz ref="swzJcxxRef" v-if="showSwzBaseInfo" :currentResCode=currentSwzCode></jichuxinxiSwz>
  209. <!-- 堤防险工险段督查 -->
  210. <jichuxinxiDf ref="jichuxinxiDf" v-if="showDfDcInfo"
  211. :currentObjectRgstrId="dfObjectRgstrId"
  212. :currentResCode="dfResCode"
  213. :currentObjectId="dfObjectId"
  214. :currentObjectName="dfResName"
  215. :openType="false"
  216. :isMap="true"
  217. @cancelHandler="dfcancelHandler"></jichuxinxiDf>
  218. <!-- 堤防险工险段基础 -->
  219. <jichuxinxiDfBase ref="jichuxinxiDfBase" v-if="showDfBaseInfo" :dfBaseId="dfBaseId"></jichuxinxiDfBase>
  220. <!-- add by luochenghai 20191217 -->
  221. <!--水保项目基础信息 (基础表)-->
  222. <jichuxinxiShuiBao v-if="sbInfoDialog" ref="sbRef" :currentObjectName="currentObjectName" :currentObjectId="currentObjectId" @cancelHandler="sbCancelHandler" ></jichuxinxiShuiBao>
  223. <!--水保督查信息 -->
  224. <duchaShuiBao v-if="sbDcInfoDialog" ref="sbDcRef" :dcsbTitle="dcsbTitle" :currentObjectId="currentObjectId" :currentRgstectId="currentRgstectId" @cancelHandler="sbDcCancelHandler" :activeName="activeName"></duchaShuiBao>
  225. <!-- end -->
  226. <!-- 轨迹列表 -->
  227. <trackHistoryTable
  228. v-if="showTrackHistory"
  229. :perId="currentPersId"
  230. @showTrackOnMap="showTrackOnMap"
  231. @closeDraggable="closeInfo"></trackHistoryTable>
  232. <!-- 轨迹查看记录 -->
  233. <trackRecordTable
  234. v-if="showTrackRecord"
  235. @closeDraggable="closeInfo"></trackRecordTable>
  236. <!--列表-->
  237. <listModel
  238. @closeModal_data_common="closeInfo"
  239. @peopleInfo="peopleInfo"
  240. @groupHandler="groupHandler"
  241. v-if="dcryDialog"
  242. :checkedLayerList='checkedLayerList'
  243. :currentAdCode="currentAdCode"
  244. @skInfo="skInfo"
  245. @ryInfo="ryInfo"
  246. @shgcInfo="shgcInfo"
  247. @dxsInfo="dxsInfo"
  248. @szInfo="szInfo"
  249. @szInfoAll="szInfoAll"
  250. @Info172="Info172"
  251. @QskInfo="QskInfo"
  252. @DbsInfo="DbsInfo"
  253. @SwzInfo="SwzInfo"
  254. @allYdbInfo="allYdbInfo"
  255. @ydbInfo="ydbInfo"
  256. @qshInfo="qshInfo"
  257. @szyQskInfo="szyQskInfo"
  258. @sydNewInfo="sydNewInfo"
  259. @szyYsdwInfo="szyYsdwInfo"
  260. @szyJsglInfo="szyJsglInfo"
  261. @szyAllQyshInfo="szyAllQyshInfo"
  262. @szyAllSydInfo="szyAllSydInfo"
  263. @sbInfo="sbInfo"
  264. @sbDcInfo="sbDcInfo"
  265. @hhslInfo="hhslInfo"
  266. @ffcsInfo="ffcsInfo"
  267. ></listModel>
  268. <!-- 矢量服务详情框 -->
  269. <vectorLayerDetail ref="vectorLayerRef" v-if="showVectorDialog" :objType='currentVectorType'
  270. :feature="currentVectorFeature"></vectorLayerDetail>
  271. <!-- 添加对象到督查计划 -->
  272. <addObjToPlan ref="addToPlanRef" v-if="showPlanList" @addPbjToPlanSucc="addPbjToPlanSucc"
  273. :currentResCode=currentRsCode :currentRsName=currentRsName :currentRsLong=currentRsLong
  274. :currentRsLat=currentRsLat></addObjToPlan>
  275. <!--列表控制-->
  276. <div style="position: fixed;top: 96px;right: 607px;box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.5);
  277. background: rgba(255,255,255,1);border-radius: 4px;">
  278. <img src="./assets/tableIcon.png" style="width: 14px;padding-left: 10px;">
  279. <el-button style="color:#2C9EFF;height: 46px;border: none;
  280. padding-left: 5px;padding-right: 10px;font-size: 14px;" @click.native="lbClick">数据表
  281. </el-button>
  282. </div>
  283. </div>
  284. </template>
  285. <script>
  286. export default {
  287. components: {
  288. mapContent: resolve => {
  289. require(['./mapContent.vue'], resolve)
  290. },
  291. legendWidget: resolve => {
  292. require(['./components/legend'], resolve)
  293. },
  294. leftBarMap: resolve => {
  295. require(['./components/leftBarMap'], resolve)
  296. },
  297. searchWidget: resolve => {
  298. require(['./components/searchWidget'], resolve)
  299. },
  300. popupSk: resolve => {
  301. require(['../duChaTianBao/shuiKuTianbao.vue'], resolve)
  302. },//水库弹窗
  303. popupSkBase: resolve => {
  304. require(['../duChaTianBao/components/popupWindow/sk/main.vue'], resolve)
  305. },//水库弹窗
  306. popupSz: resolve => {
  307. require(['../duChaTianBao/sztb.vue'], resolve)
  308. },//水闸弹窗
  309. popupSzBase: resolve => {
  310. require(['../zongHeXinXiOl/components/popupWindow/sz/main.vue'], resolve)
  311. },//水闸弹窗
  312. popupQsh: resolve => {
  313. require(['./components/popupWindow/qysh/main.vue'], resolve)
  314. },//水闸弹窗
  315. popupSzyQsk: resolve => {
  316. require(['./components/popupWindow/szy_qsk/main.vue'], resolve)
  317. },//水闸弹窗
  318. popupSzyJsgl: resolve => {
  319. require(['./components/popupWindow/szy_jsgl/main.vue'], resolve)
  320. },//水资源 节水管理
  321. popupSzyYsdw: resolve => {
  322. require(['./components/popupWindow/szy_ysdw/main.vue'], resolve)
  323. },//水资源 用水单位
  324. jichuxinxiSk: resolve => {
  325. require(['./components/jichuxinxi_sk'], resolve)
  326. },
  327. // jichuxinxiDxs: resolve => {
  328. // require(['./components/jichuxinxi_dxs'], resolve)
  329. // },
  330. jichuxinxiDxs: resolve => {
  331. require(['./components/popupWindow/dxs/main.vue'], resolve)
  332. },
  333. jichuxinxiSyd: resolve => {
  334. require(['./components/jichuxinxi_nysyd'], resolve)
  335. },
  336. jichuxinxi150: resolve => {
  337. require(['./components/jichuxinxi_ny150'], resolve)
  338. },
  339. jichuxinxiXzc: resolve => {
  340. require(['./components/jichuxinxi_nyXzc'], resolve)
  341. },
  342. jichuxinxiNcysgc: resolve => {
  343. require(['./components/jichuxinxi_ncysgc'], resolve)
  344. },
  345. jichuxinxiShuihui: resolve => {
  346. require(['./components/jichuxinxi_shuihui'], resolve)
  347. },
  348. jichuxinxiShuiza: resolve => {
  349. require(['./components/jichuxinxi_shuiza'], resolve)
  350. },
  351. jichuxinxiSzAll: resolve => {
  352. require(['./components/jichuxinxi_szAll'], resolve)
  353. },
  354. // jichuxinxi172: resolve => {
  355. // require(['./components/jichuxinxi_172'], resolve)
  356. // },
  357. jichuxinxi172: resolve => {
  358. require(['./components/popupWindow/172/main.vue'], resolve)
  359. },
  360. jichuxinxiQsk: resolve => {
  361. require(['./components/popupWindow/qsk/main.vue'], resolve)
  362. },
  363. jichuxinxiDbs: resolve => {
  364. require(['./components/popupWindow/dbs_syd/main.vue'], resolve)
  365. },
  366. jichuxinxiSwz: resolve => {
  367. require(['./components/popupWindow/shw/main'], resolve)
  368. },
  369. jichuxinxiYdb: resolve => {
  370. require(['./components/popupWindow/ydb/main.vue'], resolve)
  371. },
  372. addObjToPlan: resolve => {
  373. require(['./components/addObjToPlan'], resolve)
  374. },
  375. personInfo: resolve => {
  376. require(['./components/personInfo'], resolve)
  377. },
  378. personInGroupInfo: resolve => {
  379. require(['./components/personInGroupInfo'], resolve)
  380. },
  381. personGzqk: resolve => {
  382. require(['./components/personGzqk'], resolve)
  383. },
  384. WaterloggingProjectBase: resolve => {
  385. require(['./components/popupWindow/sh/main.vue'], resolve)
  386. },
  387. WaterloggingProject: resolve => {
  388. require(['../duChaTianBao/shuihui/shuiHuiTianbao.vue'], resolve)
  389. },
  390. // renyinProject: resolve => {
  391. // require(['./components/renyinProject'], resolve)
  392. // },
  393. renyinProject: resolve => {
  394. require(['./components/popupWindow/renyin/main.vue'], resolve)
  395. },
  396. shuikuProject: resolve => {
  397. require(['./components/shuikuProject'], resolve)
  398. },
  399. shuiKuTianBaoShow: resolve => {//展示水库督查信息
  400. require(['../duChaTianBao/shuiKuTianbaoShow.vue'], resolve)
  401. },
  402. dixiashuiProject: resolve => {
  403. require(['../zonghexinxi/groundWateDialog'], resolve)
  404. },
  405. listModel: resolve => {
  406. require(['./components/listModel'], resolve)
  407. },
  408. trackHistoryTable: resolve => {
  409. require(['./components/trackHistoryTable'], resolve)
  410. },
  411. trackRecordTable: resolve => {
  412. require(['./components/trackRecordTable'], resolve)
  413. },
  414. szDuChaInfo: resolve => {
  415. require(['../duChaTianBao/sztb.vue'], resolve)
  416. },
  417. ydbDuChaInfo: resolve => {
  418. require(['./components/popupWindow/ydb/main'], resolve)
  419. },
  420. ydbBaseInfo: resolve => {
  421. require(['./components/popupWindow/ydb/baseMain'], resolve)
  422. },
  423. sydNewDuChaInfo: resolve => {
  424. require(['./components/popupWindow/szy_syd/main.vue'], resolve)
  425. // require(['./components/duchaxinxi_syd.vue'], resolve)
  426. },
  427. jichuxinxiSydNew: resolve => {
  428. require(['./components/popupWindow/szy_syd/main.vue'], resolve)
  429. },
  430. vectorLayerDetail: resolve => {
  431. require(['./components/vectorLayerDetail.vue'], resolve)
  432. },
  433. hhSlDuChaInfo: resolve => {
  434. require(['./components/popupWindow/hhsl/main.vue'], resolve)
  435. },
  436. ffCsDuChaInfo: resolve => {
  437. require(['./components/popupWindow/ffcs/main.vue'], resolve)
  438. },
  439. //问题铺点弹窗
  440. pblmDetail: resolve => {
  441. require(['./components/pblmDetail.vue'], resolve)
  442. },
  443. // add by luochenghai 20191216
  444. jichuxinxiShuiBao: resolve => { require(['./components/popupWindow/shuibao/shuibao_baseinfo/main.vue'], resolve) }, // 水保弹窗
  445. duchaShuiBao: resolve => { require(['./components/popupWindow/shuibao/shuibao_duchainfo/main.vue'], resolve) }, //水保督查
  446. jichuxinxiDf: resolve => { require(['../duChaTianBao/diFangTianBao'], resolve) }, //堤防督查
  447. jichuxinxiDfBase: resolve => { require(['../duChaTianBao/difang/jichuxinxiBase'], resolve) }, //堤防基础
  448. },
  449. props: [],
  450. computed: {},
  451. data() {
  452. return {
  453. dfBaseId:"",
  454. showDfBaseInfo:false,//堤防
  455. showDfDcInfo:false,//堤防
  456. dfObjectRgstrId:false,
  457. dfResCode:false,
  458. dfObjectId:false,
  459. dfResName:false,
  460. showSzyJsgl: false,
  461. currentJysglAdCode: '',//水资源 节水管理编码
  462. showSzyYsdw: false,
  463. currentYsdwCode: '',//水资源 用水单位编码
  464. currentObjectType: '',//水资源 用水单位 类型(节水还是非节水)
  465. currentAdCode: '',//当前行政区编码
  466. showSzDuChaInfo: false,//水闸
  467. szInfoBaseDialog: false,//水闸基础信息
  468. currentObjectRgstrId: '',//水闸
  469. currentGroupId: '',//水闸
  470. currentSzCode: '',//水闸
  471. currentObjectName: '',//水闸
  472. showPlanList: false,
  473. currentDuchaTpe: false,//督查还是未督查
  474. currentRsCode: '',//当前水库id
  475. currentRsName: '',//当前水库名称
  476. rowData:{},
  477. currentRsLong: '',
  478. currentRsLat: '',
  479. currentRgstrId: '',//当前登记表id
  480. currentObjId: '',//当前objId
  481. showSkBaseInfo: false,
  482. showDxsBaseInfo: false,
  483. currentDxsCode: '',
  484. currentSzobjCode: '',
  485. showXzcBaseInfo: false,
  486. show150BaseInfo: false,
  487. showSydBaseInfo: false,
  488. showNcysgcBaseInfo: false,//农村饮水工程基础信息
  489. showshuihuiBaseInfo: false,
  490. currentCwsCode: '',//农村饮水工程编码
  491. currentAdCode_150: '',//150县adcode
  492. personInfoDialog: false,
  493. showPersonInGroupInfo: false,
  494. currentPersId: '',//当前选中的人员id
  495. currentIsAdmin: '',//当前选中人员是否管理员
  496. currentPersName: '',//当前选中人员姓名
  497. showTrackHistory: false,//人员轨迹列表
  498. showTrackRecord: false,//人员轨迹列表
  499. personInfoContent: '',
  500. shInfoDialog: false,
  501. shInfoBaseDialog: false,
  502. shInfoContent: '',
  503. ryInfoDialog: false,
  504. xskInfoDialog: false,
  505. xskInfoBaseDialog:false,
  506. supervisionDetailsVisible:false,//问题详细查看
  507. pblmPointData:{},
  508. xskRgstrId: '',
  509. skTitle: '',
  510. shTitle: '',
  511. ryTitle: '',
  512. checkedLayerList: [
  513. {
  514. id: 'personGraphicLayer',
  515. title: '人员',
  516. list: [
  517. {
  518. name: '在线',
  519. url: '/src/views/zongHeXinXiNew/assets/online.png',
  520. }, {
  521. name: '不在线',
  522. url: '/src/views/zongHeXinXiNew/assets/offline.png',
  523. }
  524. ]
  525. }
  526. ],//被选中的图层
  527. checkedLayerLists: [],
  528. dcryDialog: false,
  529. xskInfo: '',
  530. ryObjId: '',
  531. // add by lch
  532. sbObjId:'', //水保项目图层
  533. sbInfoDialog: false,
  534. sbDcInfoDialog: false,
  535. dcSbInfoCon:'', // 督查水保
  536. dcsbTitle:'',
  537. currentRgstectId:'',
  538. //end
  539. stcd: "",
  540. djbId: "",
  541. currentObjectId: "",
  542. modal_dixiashui: false,
  543. villageCode: '',
  544. locAd: '',
  545. currentEngSurId: '',
  546. showshuizaBaseInfo: false,
  547. showszAllBaseInfo: false,
  548. show172BaseInfo: false,
  549. current172Code: "",
  550. showQskBaseInfo: false,
  551. currentQskCode: "",
  552. showDbsBaseInfo: false,
  553. currentDbsCode: "",
  554. showSwzBaseInfo: false,
  555. currentSwzCode: "",
  556. currentYdbCode: "",
  557. currentYdbName: "",
  558. showYdbDuChaInfo: false,
  559. showYdbBaseInfo: false,
  560. showSydNewBaseInfo: false,
  561. currentSydNewCode: "",
  562. currentSydNewName: "",
  563. showSydNewDuChaInfo: false,
  564. showQshBaseInfo: false,
  565. currentQshCode: "",
  566. currentQshWintCode: "",
  567. showSzyQskDuChaInfo: false,
  568. currentQshName: "",
  569. showQshDuChaInfo: false,
  570. showSzyQskBaseInfo: false,
  571. currentSzyQskCode: "",
  572. currentSzyQskName: "",
  573. activeName: "基础信息",
  574. currentVectorType: '',//当前矢量服务类型
  575. currentVectorFeature: {},//矢量服务属性对象
  576. showVectorDialog: false,//显示矢量服务信息框
  577. showHhSlDuChaInfo: false,//河湖四乱
  578. showFfCsDuChaInfo: false,//非法采沙
  579. }
  580. },
  581. watch: {},
  582. mounted() {
  583. },
  584. methods: {
  585. cancelHandler() {
  586. this.supervisionDetailsVisible = false;
  587. },
  588. showLayer(item){
  589. //debugger
  590. this.$refs.mapRef.layerChange(item);
  591. },
  592. dfcancelHandler(){
  593. this.showDfDcInfo = false;
  594. },
  595. currentAdCodeChange1(val) {
  596. if (val == "000000000000") {
  597. this.currentAdCode = '';
  598. } else {
  599. this.currentAdCode = val;//当前行政区编码
  600. }
  601. },
  602. clickMapHandler(layerId, obj) {//点击地图图层 显示详细信息
  603. console.log(layerId, obj);
  604. switch (layerId) {
  605. //人员督查
  606. case "personGraphicLayer":
  607. this.personInfoDialog = true;
  608. this.personInfoContent = obj;
  609. break;
  610. //水库
  611. case "allSkGraphicLayer":
  612. this.xskInfoDialog = false;
  613. this.xskInfoBaseDialog = false;
  614. this.rowData = obj;
  615. this.currentDuchaTpe = false;
  616. this.currentRsCode = obj.rsCode;
  617. this.currentRsName = obj.rsName;
  618. this.xskRgstrId = obj.rgstrId;
  619. this.currentObjId = obj.objId;
  620. // this.showSkBaseInfo = true;
  621. // if (this.$refs['skJcxxRef']) {
  622. // this.$refs['skJcxxRef'].showDialog();
  623. // }
  624. if(obj.rgstrId){
  625. this.xskInfoDialog = true;
  626. }else{
  627. this.xskInfoBaseDialog = true;
  628. }
  629. console.log(this.$refs['xskTianBaoRef'])
  630. if (this.$refs['xskTianBaoRef']) {
  631. this.$refs['xskTianBaoRef'].showDialog();
  632. }
  633. break;
  634. case "skGraphicLayer2018":
  635. this.currentDuchaTpe = false;
  636. this.currentRsCode = obj.rsCode;
  637. this.currentRsName = obj.rsName;
  638. if (obj.longitude) {
  639. this.currentRsLong = obj.longitude;
  640. }
  641. if (obj.latitude) {
  642. this.currentRsLat = obj.latitude;
  643. }
  644. if (obj.rgstrId) {
  645. this.currentRgstrId = obj.rgstrId;
  646. }
  647. if (obj.objId) {
  648. this.currentObjId = obj.objId;
  649. }
  650. // this.showSkBaseInfo = true;
  651. // if (this.$refs['skJcxxRef']) {
  652. // this.$refs['skJcxxRef'].showDialog();
  653. // }
  654. this.xskInfoDialog = true;
  655. if (this.$refs['xskTianBaoRef']) {
  656. this.$refs['xskTianBaoRef'].showDialog();
  657. }
  658. break;
  659. case "skGraphicLayer2019":
  660. this.currentDuchaTpe = true;
  661. this.xskInfoDialog = true;
  662. this.xskRgstrId = obj.rgstrId;
  663. this.currentRsCode = obj.rsCode;
  664. this.currentObjId = obj.objId;
  665. this.currentRsName = obj.rsName;
  666. this.skTitle = obj.rsName;
  667. if (this.$refs['xskTianBaoRef']) {
  668. this.$refs['xskTianBaoRef'].showDialog();
  669. }
  670. break;
  671. case "xgxdDcGraphicLayer":
  672. this.dfResCode = obj.code;
  673. this.dfObjectId = obj.objId;
  674. this.dfObjectRgstrId = obj.rgstrId;
  675. this.dfResName = obj.nm;
  676. this.showDfDcInfo = true;
  677. break;
  678. case "xgxdBaseGraphicLayer":
  679. this.dfBaseId = obj.code;
  680. this.showDfBaseInfo = true;
  681. if (this.$refs['jichuxinxiDfBase']) {
  682. this.$refs['jichuxinxiDfBase'].showDialog();
  683. }
  684. break;
  685. case "fcskGraphicLayer":
  686. this.currentDuchaTpe = true;
  687. this.xskInfoDialog = true;
  688. this.currentRsCode = obj.rsCode;
  689. this.currentObjId = obj.objId;
  690. this.currentRsName = obj.rsName;
  691. this.xskRgstrId = obj.rgstrId;
  692. this.skTitle = obj.rsName;
  693. if (this.$refs['xskTianBaoRef']) {
  694. this.$refs['xskTianBaoRef'].showDialog();
  695. }
  696. break;
  697. case "jhwskGraphicLayer":
  698. this.currentDuchaTpe = false;
  699. this.currentRsCode = obj.rsCode;
  700. this.currentRsName = obj.rsName;
  701. if (obj.longitude) {
  702. this.currentRsLong = obj.longitude;
  703. }
  704. if (obj.latitude) {
  705. this.currentRsLat = obj.latitude;
  706. }
  707. if (obj.rgstrId) {
  708. this.currentRgstrId = obj.rgstrId;
  709. }
  710. if (obj.objId) {
  711. this.currentObjId = obj.objId;
  712. }
  713. // this.showSkBaseInfo = true;
  714. // if (this.$refs['skJcxxRef']) {
  715. // this.$refs['skJcxxRef'].showDialog();
  716. // }
  717. this.xskInfoDialog = true;
  718. if (this.$refs['xskTianBaoRef']) {
  719. this.$refs['xskTianBaoRef'].showDialog();
  720. }
  721. break;
  722. //人饮
  723. case "ncysgcGraphicLayer":
  724. this.ryInfoDialog = true;
  725. this.ryTitle = obj.cwsName;
  726. this.ryObjId = obj.objId;
  727. if (this.$refs['ryRef']) {
  728. this.$refs['ryRef'].showDialog();
  729. }
  730. break;
  731. case "sydGraphicLayer":
  732. this.ryInfoDialog = true;
  733. this.ryObjId = obj.objId;
  734. this.ryTitle = obj.adNm;
  735. if (this.$refs['ryRef']) {
  736. this.$refs['ryRef'].showDialog();
  737. }
  738. break;
  739. case "country150Layer":
  740. this.ryInfoDialog = true;
  741. this.ryObjId = obj.objId;
  742. this.ryTitle = obj.adName;
  743. if (this.$refs['ryRef']) {
  744. this.$refs['ryRef'].showDialog();
  745. }
  746. break;
  747. case "xzcGraphicLayer":
  748. this.ryInfoDialog = true;
  749. this.ryObjId = obj.objId;
  750. this.ryTitle = obj.adNm;
  751. if (this.$refs['ryRef']) {
  752. this.$refs['ryRef'].showDialog();
  753. }
  754. break;
  755. case "graphicLayer172":
  756. this.current172Code = obj.id;
  757. this.show172BaseInfo = true;
  758. if (this.$refs['172JcxxRef']) {
  759. this.$refs['172JcxxRef'].showDialog();
  760. }
  761. break;
  762. //水毁
  763. case "shgcGraphicLayer":
  764. this.shInfoContent = obj;
  765. this.ryObjId = obj.objId;
  766. this.shTitle = obj.wtdstNm;
  767. if(obj.trackId){
  768. this.shInfoDialog = true;
  769. }else{
  770. this.shInfoBaseDialog = true;
  771. }
  772. if (this.$refs['shRef']) {
  773. this.$refs['shRef'].showDialog();
  774. }
  775. break;
  776. //水闸
  777. case "szGraphicLayer":
  778. this.currentDuchaTpe = true;
  779. this.currentObjectRgstrId = obj.rgstrId;
  780. this.currentGroupId = obj.groupId;
  781. this.currentSzCode = obj.objCode;
  782. this.currentObjectName = obj.gateName;
  783. this.currentObjectId = obj.objId;
  784. this.showSzDuChaInfo = true;
  785. break;
  786. case "szGraphicLayerAll":
  787. this.currentDuchaTpe = true;
  788. this.currentObjectRgstrId = obj.rgstrId;
  789. this.currentGroupId = obj.groupId;
  790. this.currentSzCode = obj.objCode;
  791. this.currentObjectName = obj.gateName;
  792. this.currentObjectId = obj.objId;
  793. if(obj.rgstrId){
  794. this.showSzDuChaInfo = true;
  795. }else{
  796. this.szInfoBaseDialog = true;
  797. }
  798. if (this.$refs['szAllJcxxRef']) {
  799. this.$refs['szAllJcxxRef'].showDialog();
  800. }
  801. break;
  802. //地下水
  803. case "dxsGraphicLayer":
  804. this.currentDxsCode = obj.stcd;
  805. this.showDxsBaseInfo = true;
  806. if (this.$refs['dxsJcxxRef']) {
  807. this.$refs['dxsJcxxRef'].showDialog();
  808. }
  809. // this.stcd = obj.stcd;
  810. // this.djbId = '';
  811. // this.currentObjectId = obj.objId;
  812. // this.modal_dixiashui = true;
  813. break;
  814. //取水口
  815. case "graphicLayerQsk":
  816. this.currentQskCode = obj.objCode;
  817. this.showQskBaseInfo = true;
  818. if (this.$refs['qskJcxxRef']) {
  819. this.$refs['qskJcxxRef'].showDialog();
  820. }
  821. break;
  822. //地表水水源地
  823. case "graphicLayerDbssyd":
  824. this.currentDbsCode = obj.id;
  825. this.currentObjectId = obj.objId;
  826. this.currentSydNewCode = obj.code;
  827. this.currentObjectName = obj.nm;
  828. this.showSydNewDuChaInfo = true;
  829. if (this.$refs['sydNewTianBaoRef']) {
  830. this.$refs['sydNewTianBaoRef'].showDialog();
  831. }
  832. break;
  833. //水资源水源地
  834. case "szy_sydGraphicLayer":
  835. this.currentObjectId = obj.objId;
  836. this.currentSydNewCode = obj.code;
  837. this.currentObjectName = obj.nm;
  838. this.currentObjectRgstrId = obj.id;
  839. this.showSydNewDuChaInfo = true;
  840. if (this.$refs['sydNewTianBaoRef']) {
  841. this.$refs['sydNewTianBaoRef'].showDialog();
  842. }
  843. break;
  844. //淤地坝
  845. case "ydbGraphicLayer":
  846. this.currentYdbCode = obj.code;
  847. this.showYdbDuChaInfo = true;
  848. if (this.$refs['ydbTianBaoRef']) {
  849. this.$refs['ydbTianBaoRef'].showDialog();
  850. }
  851. break;
  852. case "allYdbGraphicLayer":
  853. this.currentYdbCode = obj.code;
  854. this.showYdbBaseInfo = true;
  855. if (this.$refs['ydbBaseInfoRef']) {
  856. this.$refs['ydbBaseInfoRef'].showDialog();
  857. }
  858. break;
  859. //水文站
  860. case "graphicLayerSwz":
  861. this.currentSwzCode = obj.stcd;
  862. this.showSwzBaseInfo = true;
  863. if (this.$refs['swzJcxxRef']) {
  864. this.$refs['swzJcxxRef'].showDialog();
  865. }
  866. break;
  867. //水资源取用水户
  868. case "szy_qyshGraphicLayer":
  869. this.currentQshCode = obj.code;
  870. this.currentQshWintCode = obj.wintCode
  871. this.currentRgstrId = obj.rgstrId;
  872. this.showQshDuChaInfo = true;
  873. if (this.$refs['qshTianBaoRef']) {
  874. this.$refs['qshTianBaoRef'].showDialog();
  875. }
  876. break;
  877. //水资源取水口
  878. case "szy_qskGraphicLayer":
  879. this.currentSzyQskCode = obj.code;
  880. this.showSzyQskDuChaInfo = true;
  881. if (this.$refs['szyQskTianBaoRef']) {
  882. this.$refs['szyQskTianBaoRef'].showDialog();
  883. }
  884. break;
  885. //水资源节水管理
  886. case "szy_jsglGraphicLayer":
  887. this.activeName = "登记信息";
  888. this.currentDuchaTpe = true;
  889. this.currentObjectId = obj.objId;
  890. this.currentJysglAdCode = obj.code;
  891. this.currentObjectName = obj.nm;
  892. this.currentRgstrId = obj.rgstrId;
  893. this.showSzyJsgl = true;
  894. if (this.$refs['popupSzyJsglRef']) {
  895. this.$refs['popupSzyJsglRef'].showDialog();
  896. }
  897. break;
  898. //水资源用水单位
  899. case "szy_ysdwGraphicLayer":
  900. this.activeName = "登记信息";
  901. this.currentDuchaTpe = true;
  902. this.currentObjectId = obj.objId;
  903. this.currentYsdwCode = obj.code;
  904. this.currentObjectName = obj.nm;
  905. this.currentRgstrId = obj.rgstrId;
  906. this.currentObjectType = obj.type;
  907. this.showSzyYsdw = true;
  908. if (this.$refs['popupSzyYsdwRef']) {
  909. this.$refs['popupSzyYsdwRef'].showDialog();
  910. }
  911. break;
  912. case "szy_allQyshGraphicLayer":
  913. this.currentDuchaTpe = false;
  914. this.currentQshCode = obj.id;
  915. this.showQshDuChaInfo = true;
  916. if (this.$refs['qshTianBaoRef']) {
  917. this.$refs['qshTianBaoRef'].showDialog();
  918. }
  919. break;
  920. case "szy_allSydGraphicLayer":
  921. this.currentDuchaTpe = false;
  922. this.currentObjectId = obj.objId;
  923. this.currentSydNewCode = obj.id;
  924. this.currentObjectName = obj.nm;
  925. this.currentObjectRgstrId = obj.id;
  926. this.showSydNewDuChaInfo = true;
  927. if (this.$refs['sydNewTianBaoRef']) {
  928. this.$refs['sydNewTianBaoRef'].showDialog();
  929. }
  930. break;
  931. // add by lch
  932. case "graphicLayerSb": //水保项目 基础信息
  933. console.log('水保项目')
  934. this.currentDuchaTpe = false;
  935. this.sbInfoDialog = true;
  936. this.currentRgstectId = obj.rgstrId;
  937. this.currentObjectId = obj.id;
  938. this.currentObjectName = obj.name;
  939. if (this.$refs['sbRef']) {
  940. this.$refs['sbRef'].showDialog();
  941. }
  942. break;
  943. case "graphicLayerDcsb": //督查水保
  944. console.log('督查水保')
  945. this.sbDcInfoDialog = true;
  946. this.dcSbInfoCon = obj;
  947. this.currentRgstectId = obj.rgstrId;
  948. this.currentObjectId = obj.objId;
  949. this.dcsbTitle = obj.name;
  950. if (this.$refs['sbDcRef']) {
  951. this.$refs['sbDcRef'].showDialog();
  952. }
  953. break;
  954. case "graphicLayerHhsl": //河湖四乱
  955. console.log('河湖四乱');
  956. this.currentObjectId = obj.code;
  957. this.currentObjectName = obj.name;
  958. this.currentObjectRgstrId = obj.rgstrId;
  959. this.currentRgstectId = obj.rgstrId;
  960. this.activeName = '登记信息';
  961. this.showHhSlDuChaInfo = true;
  962. break;
  963. case "graphicLayerFfcs": //非法采砂
  964. console.log('非法采砂');
  965. this.currentObjectId = obj.code;
  966. this.currentObjectName = obj.name;
  967. this.currentObjectRgstrId = obj.rgstrId;
  968. this.currentRgstectId = obj.rgstrId;
  969. this.activeName = '登记信息';
  970. this.showFfCsDuChaInfo = true;
  971. break;
  972. }
  973. if(layerId.indexOf("pblmDcGraphicLayer_")>-1){
  974. this.supervisionDetailsVisible = true;
  975. this.pblmPointData = obj;
  976. }
  977. },
  978. addPbjToPlanSucc() {//添加督查计划成功
  979. this.$refs['mapRef'].graphicChange();//督查计划外 及 2018督查水库 添加到督查计划后 相应的对象应该增加到2019督查
  980. },
  981. showYdbDetail(type, item) {//淤地坝 基础信息base 督查信息dcxx 加入督查计划plan
  982. console.log(item)
  983. this.currentYdbCode = item.code;
  984. this.currentObjectName = item.nm;
  985. if (item.rgstrId) {
  986. this.currentRgstrId = item.rgstrId;
  987. }
  988. if (item.objId) {
  989. this.currentObjId = item.objId;
  990. }
  991. if (type == "base") {//基础信息
  992. this.activeName = "基础信息";
  993. } else if (type == "dcxx") {//督查信息
  994. this.activeName = "登记信息";
  995. } else if (type == "skLocate") {//定位
  996. this.$refs['mapRef'].tableRowClick(item, 'locate', 'sk', 'allSkGraphicLayer');
  997. }
  998. this.xskRgstrId = item.rgstrId;
  999. this.skTitle = item.rsName;
  1000. this.showYdbDuChaInfo = true;
  1001. if (this.$refs['ydbTianBaoRef']) {
  1002. this.$refs['ydbTianBaoRef'].showDialog();
  1003. }
  1004. },
  1005. showSzySydDetail(type, item) {
  1006. console.log(item);
  1007. this.currentSydNewCode = item.code;
  1008. this.currentObjectName = item.nm;
  1009. if (item.rgstrId) {
  1010. this.currentRgstrId = item.rgstrId;
  1011. }
  1012. if (item.objId) {
  1013. this.currentObjId = item.objId;
  1014. }
  1015. if (type == "base") {//基础信息
  1016. this.showSydNewBaseInfo = true;
  1017. if (this.$refs['sydNewJcxxRef']) {
  1018. this.$refs['sydNewJcxxRef'].showDialog();
  1019. }
  1020. } else if (type == "dcxx") {//督查信息
  1021. this.currentObjectRgstrId = this.currentRgstrId;
  1022. this.showSydNewDuChaInfo = true;
  1023. if (this.$refs['sydNewTianBaoRef']) {
  1024. this.$refs['sydNewTianBaoRef'].showDialog();
  1025. }
  1026. } else if (type == "skLocate") {//定位
  1027. this.$refs['mapRef'].tableRowClick(item, 'locate', 'sk', 'allSkGraphicLayer');
  1028. }
  1029. },
  1030. showSkDetail(type, item) {//水库 基础信息base 督查信息dcxx 加入督查计划plan
  1031. this.currentRsCode = item.rsCode;
  1032. this.currentRsName = item.rsName;
  1033. if (item.longitude) {
  1034. this.currentRsLong = item.longitude;
  1035. }
  1036. if (item.latitude) {
  1037. this.currentRsLat = item.latitude;
  1038. }
  1039. if (item.rgstrId) {
  1040. this.currentRgstrId = item.rgstrId;
  1041. }
  1042. if (item.objId) {
  1043. this.currentObjId = item.objId;
  1044. }
  1045. if (type == "base") {//基础信息
  1046. this.currentDuchaTpe = false;
  1047. this.currentRsCode = item.rsCode;
  1048. this.currentRsName = item.rsName;
  1049. if (item.longitude) {
  1050. this.currentRsLong = item.longitude;
  1051. }
  1052. if (item.latitude) {
  1053. this.currentRsLat = item.latitude;
  1054. }
  1055. if (item.rgstrId) {
  1056. this.currentRgstrId = item.rgstrId;
  1057. }
  1058. if (item.objId) {
  1059. this.currentObjId = item.objId;
  1060. }
  1061. this.xskInfoDialog = true;
  1062. if (this.$refs['xskTianBaoRef']) {
  1063. this.$refs['xskTianBaoRef'].showDialog();
  1064. }
  1065. } else if (type == "plan") {//添加到督查计划
  1066. this.showPlanList = true;
  1067. if (this.$refs['addToPlanRef']) {
  1068. this.$refs['addToPlanRef'].showDialog();
  1069. }
  1070. } else if (type == "dcxx") {//督查信息
  1071. // this.xskRgstrId = item.rgstrId;
  1072. // this.skTitle = item.rsName;
  1073. // this.xskInfoDialog = true;
  1074. // if (this.$refs['xskTianBaoRef']) {
  1075. // this.$refs['xskTianBaoRef'].showDialog();
  1076. // }
  1077. this.currentDuchaTpe = true
  1078. this.xskRgstrId = item.rgstrId;
  1079. this.skTitle = item.rsName;
  1080. this.xskInfoDialog = true;
  1081. } else if (type == "skLocate") {//定位
  1082. this.$refs['mapRef'].tableRowClick(item, 'locate', 'sk', 'allSkGraphicLayer');
  1083. }
  1084. },
  1085. isCheckArray1(item) {
  1086. var _self = this;
  1087. if (item.checked && item.id) {
  1088. _self.checkedLayerList.push(item);
  1089. } else {
  1090. for (var i = 0; i < _self.checkedLayerList.length; i++) {
  1091. if (item.id == _self.checkedLayerList[i].id) {
  1092. _self.checkedLayerList.splice(i, 1);
  1093. }
  1094. }
  1095. }
  1096. _self.checkedLayerLists = _self.checkedLayerList;
  1097. },
  1098. showGroupInfo(id, isAdmin, persName) {//展示人员所在组
  1099. this.currentPersId = id;
  1100. this.currentIsAdmin = isAdmin;
  1101. this.currentPersName = persName;
  1102. this.showPersonInGroupInfo = true;
  1103. },
  1104. trackHistory(id) {//展示人员历史轨迹列表
  1105. this.currentPersId = id;
  1106. this.showTrackHistory = true;
  1107. },
  1108. trackRecord(){
  1109. this.showTrackRecord = true;
  1110. },
  1111. // 弹窗关闭
  1112. closeInfo(name) {
  1113. switch (name) {
  1114. case 'ryxx':
  1115. this.personInfoDialog = false;
  1116. break;
  1117. case 'shgc':
  1118. this.shInfoDialog = false;
  1119. break;
  1120. case 'xsk':
  1121. this.xskInfoDialog = false;
  1122. break;
  1123. case 'lb':
  1124. this.dcryDialog = false;
  1125. this.checkedLayerLists = [];
  1126. case 'groupInfo':
  1127. this.showPersonInGroupInfo = false;
  1128. this.$refs['mapRef'].clearLayer();
  1129. break;
  1130. case 'dcryDialog':
  1131. this.ryInfoDialog = false;
  1132. break;
  1133. case 'trackTable':
  1134. this.showTrackHistory = false;
  1135. this.$refs['mapRef'].clearLayer();
  1136. this.$refs['mapRef'].clearLayer();
  1137. break;
  1138. case 'trackRecordTable':
  1139. this.showTrackRecord = false;
  1140. break;
  1141. case 'dxs':
  1142. this.modal_dixiashui = false;
  1143. }
  1144. },
  1145. //人员信息
  1146. peopleInfo(row, id, info, recPersId) {//lacaiton-定位,track-轨迹,group-加入工作组
  1147. console.log(row, id, info, recPersId);
  1148. if (info == 'location') {
  1149. this.$refs['mapRef'].tableRowClick(row, 'locate', 'personGraphicLayer', 'personGraphicLayer');
  1150. } else if (info == 'track') {
  1151. this.currentPersId = row.guid;
  1152. this.showTrackHistory = true;
  1153. // this.$refs['mapRef'].tableRowClick(row, 'track', 'person');
  1154. } else if (info == 'group') {
  1155. // this.currentPersId = recPersId;
  1156. this.currentPersId = row.guid;
  1157. this.currentIsAdmin = row.permission;
  1158. this.currentPersName = row.persName;
  1159. this.showPersonInGroupInfo = true;
  1160. }
  1161. },
  1162. showTrackOnMap(row, type) {//人员轨迹 历史轨迹列表
  1163. this.$refs['mapRef'].tableRowClick(row, 'track', 'track');
  1164. },
  1165. // 水库列表-操作-事件
  1166. skInfo(row, id, info) {//lacaiton-定位,baseInfo-基础信息,dcInfo-督查信息,addDcInfo-加入督查信息
  1167. console.log(row, id, info);
  1168. if (info == 'dcInfo') {
  1169. this.currentDuchaTpe = true
  1170. this.xskRgstrId = row.rgstrId;
  1171. this.skTitle = row.rsName;
  1172. this.xskInfoDialog = true;
  1173. } else if (info == "loaction") {
  1174. this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
  1175. } else if (info == "baseInfo") {
  1176. this.xskInfoDialog = false;
  1177. this.xskInfoBaseDialog = false;
  1178. this.rowData = row;
  1179. this.currentDuchaTpe = false;
  1180. this.currentRsCode = row.rsCode;
  1181. this.currentRsName = row.rsName;
  1182. this.xskRgstrId = row.rgstrId;
  1183. this.currentObjId = row.objId;
  1184. // this.showSkBaseInfo = true;
  1185. // if (this.$refs['skJcxxRef']) {
  1186. // this.$refs['skJcxxRef'].showDialog();
  1187. // }
  1188. if(row.rgstrId){
  1189. this.xskInfoDialog = true;
  1190. }else{
  1191. this.xskInfoBaseDialog = true;
  1192. }
  1193. } else if (info == "addDcInfo") {
  1194. this.currentRsCode = row.rsCode;
  1195. this.currentRsName = row.rsName;
  1196. this.currentRsLong = row.longitude;
  1197. this.currentRsLat = row.latitude;
  1198. this.showPlanList = true;
  1199. if (this.$refs['addToPlanRef']) {
  1200. this.$refs['addToPlanRef'].showDialog();
  1201. }
  1202. }
  1203. },
  1204. //人饮(row,id,点击)
  1205. ryInfo(row, id, info,) {//lacaiton-定位,baseInfo-基础信息,dcInfo-督查信息
  1206. console.log(row, id, info);
  1207. //农饮工程
  1208. if (id == 'ncysgcGraphicLayer') {
  1209. if (info == 'location') {
  1210. this.$refs['mapRef'].tableRowClick(row, 'locate', 'ncysgc', id);
  1211. } else if (info == 'baseInfo') {
  1212. this.currentCwsCode = row.cwsCode;
  1213. this.showNcysgcBaseInfo = true;
  1214. if (this.$refs['ncysgcJcxxRef']) {
  1215. this.$refs['ncysgcJcxxRef'].showDialog();
  1216. }
  1217. } else if (info == 'dcInfo') {
  1218. this.currentDuchaTpe = true
  1219. this.ryObjId = row.objId;
  1220. this.ryTitle = row.cwsName;
  1221. this.ryInfoDialog = true;
  1222. }
  1223. }
  1224. //水源地
  1225. else if (id == 'sydGraphicLayer') {
  1226. if (info == 'location') {
  1227. this.$refs['mapRef'].tableRowClick(row, 'locate', 'syd', id);
  1228. } else if (info == 'baseInfo') {
  1229. this.currentEngSurId = row.engSurId;
  1230. // this.ryTitle = row.cwsName;
  1231. this.showSydBaseInfo = true;
  1232. if (this.$refs['sydJcxxRef']) {
  1233. this.$refs['sydJcxxRef'].showDialog();
  1234. }
  1235. } else if (info == 'dcInfo') {
  1236. this.ryObjId = row.objId;
  1237. this.ryTitle = row.waterSourceNm;
  1238. this.ryInfoDialog = true;
  1239. }
  1240. }
  1241. // 150县
  1242. else if (id == 'country150Layer') {
  1243. if (info == 'location') {
  1244. this.$refs['mapRef'].tableRowClick(row, 'locate', '150', id);
  1245. } else if (info == 'baseInfo') {
  1246. this.currentAdCode_150 = row.adCode;
  1247. this.show150BaseInfo = true;
  1248. if (this.$refs['150JcxxRef']) {
  1249. this.$refs['150JcxxRef'].showDialog();
  1250. }
  1251. } else if (info == 'dcInfo') {
  1252. this.ryObjId = row.objId;
  1253. this.ryTitle = row.adName;
  1254. this.ryInfoDialog = true;
  1255. }
  1256. }
  1257. //督查行政村
  1258. else if (id == 'xzcGraphicLayer') {
  1259. if (info == 'location') {
  1260. this.$refs['mapRef'].tableRowClick(row, 'locate', 'xzc', id);
  1261. } else if (info == 'baseInfo') {
  1262. this.villageCode = row.villageCode;
  1263. this.showXzcBaseInfo = true;
  1264. if (this.$refs['xzcJcxxRef']) {
  1265. this.$refs['xzcJcxxRef'].showDialog();
  1266. }
  1267. } else if (info == 'dcInfo') {
  1268. this.ryObjId = row.objId;
  1269. this.ryTitle = row.adNm;
  1270. this.ryInfoDialog = true;
  1271. }
  1272. }
  1273. },
  1274. //水毁工程
  1275. shgcInfo(row, id, info,) {
  1276. console.log(row, id, info);
  1277. if (info == 'dcInfo') {
  1278. this.shInfoContent = row;
  1279. this.ryObjId = row.objId;
  1280. this.shTitle = row.wtdstNm;
  1281. if(row.trackId){
  1282. this.shInfoDialog = true;
  1283. }else{
  1284. this.shInfoBaseDialog = true;
  1285. }
  1286. } else if (info == 'location') {
  1287. this.$refs['mapRef'].tableRowClick(row, 'locate', 'shgc', id);
  1288. } else if (info == 'baseInfo') {
  1289. this.shInfoContent = row;
  1290. this.ryObjId = row.objId;
  1291. this.shTitle = row.wtdstNm;
  1292. if(row.trackId){
  1293. this.shInfoDialog = true;
  1294. }else{
  1295. this.shInfoBaseDialog = true;
  1296. }
  1297. if (this.$refs['shuihuiJcxxRef']) {
  1298. this.$refs['shuihuiJcxxRef'].showDialog();
  1299. }
  1300. }
  1301. },
  1302. //地下水
  1303. dxsInfo(row, id, info,) {
  1304. console.log(row, id, info);
  1305. if (info == 'dcInfo') {
  1306. } else if (info == 'location') {
  1307. this.$refs['mapRef'].tableRowClick(row, 'locate', 'dxs', id);
  1308. } else if (info == 'baseInfo') {
  1309. this.currentDxsCode = row.stcd;
  1310. this.showDxsBaseInfo = true;
  1311. if (this.$refs['dxsJcxxRef']) {
  1312. this.$refs['dxsJcxxRef'].showDialog();
  1313. }
  1314. }
  1315. },
  1316. //水闸
  1317. szInfo(row, id, info,) {
  1318. console.log(row, id, info);
  1319. if (info == 'dcInfo') {
  1320. this.currentDuchaTpe = true;
  1321. this.currentObjectRgstrId = row.rgstrId;
  1322. this.currentGroupId = row.groupId;
  1323. this.currentSzCode = row.code;
  1324. this.currentObjectName = row.nm;
  1325. this.currentObjectId = row.objId;
  1326. this.showSzDuChaInfo = true;
  1327. } else if (info == 'location') {
  1328. this.$refs['mapRef'].tableRowClick(row, 'locate', 'sz', id);
  1329. } else if (info == 'baseInfo') {
  1330. this.currentDuchaTpe = false;
  1331. this.currentObjectRgstrId = row.rgstrId;
  1332. this.currentGroupId = row.groupId;
  1333. this.currentSzCode = row.code;
  1334. this.currentObjectName = row.nm;
  1335. this.currentObjectId = row.objId;
  1336. this.showSzDuChaInfo = true;
  1337. if (this.$refs['szAllJcxxRef']) {
  1338. this.$refs['szAllJcxxRef'].showDialog();
  1339. }
  1340. }
  1341. },
  1342. //全部水闸
  1343. szInfoAll(row, id, info,) {
  1344. console.log(row, id, info);
  1345. if (info == 'dcInfo') {
  1346. } else if (info == 'location') {
  1347. this.$refs['mapRef'].tableRowClick(row, 'locate', 'szAll', id);
  1348. } else if (info == 'baseInfo') {
  1349. this.currentDuchaTpe = true;
  1350. this.currentObjectRgstrId = row.rgstrId;
  1351. this.currentGroupId = row.groupId;
  1352. this.currentSzCode = row.objCode;
  1353. this.currentObjectName = row.gateName;
  1354. this.currentObjectId = row.objId;
  1355. if(row.rgstrId){
  1356. this.showSzDuChaInfo = true;
  1357. }else{
  1358. this.szInfoBaseDialog = true;
  1359. }
  1360. if (this.$refs['szAllJcxxRef']) {
  1361. this.$refs['szAllJcxxRef'].showDialog();
  1362. }
  1363. }
  1364. },
  1365. ryCancelHandler() {
  1366. this.ryInfoDialog = false;
  1367. },
  1368. // 水保项目 列表-操作-事件 add by lch
  1369. sbInfo(row, id, info) {//lacaiton-定位,baseInfo-基础信息
  1370. console.log(row, id, info);
  1371. if (info == "loaction") {
  1372. this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
  1373. } else if (info == "baseInfo") {
  1374. this.currentDuchaTpe = false;
  1375. this.sbInfoDialog = true;
  1376. // this.currentRgstectId = row.rgstrId;
  1377. this.currentObjectId = row.id;
  1378. this.currentObjectName = row.name;
  1379. if (this.$refs['sbRef']) {
  1380. this.$refs['sbRef'].showDialog();
  1381. }
  1382. }
  1383. },
  1384. // 水保督查 列表-操作-事件
  1385. sbDcInfo(row, id, info) {//lacaiton-定位,dcInfo-督查信息 ,DcProblemListInfo 督查问题清单
  1386. console.log(row, id, info);
  1387. if (info == 'dcInfo') {
  1388. this.currentDuchaTpe = true
  1389. this.dcSbInfoCon = row;
  1390. this.dcsbTitle = row.name;
  1391. this.currentRgstectId = row.rgstrId;
  1392. this.activeName = '督查信息';
  1393. this.sbDcInfoDialog = true;
  1394. if (this.$refs['sbDcRef']) {
  1395. this.$refs['sbDcRef'].showDialog();
  1396. }
  1397. } else if (info == "loaction") {
  1398. this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
  1399. } else if (info == "DcProblemListInfo") {
  1400. this.currentDuchaTpe = false;
  1401. this.dcsbTitle = row.name;
  1402. this.currentRgstectId = row.rgstrId;
  1403. this.currentObjectId = row.objId;
  1404. this.sbDcInfoDialog = true;
  1405. this.activeName = '问题列表';
  1406. if (this.$refs['sbDcRef']) {
  1407. this.$refs['sbDcRef'].showDialog();
  1408. }
  1409. }
  1410. },
  1411. // 河湖四乱 列表-操作-事件
  1412. hhslInfo(row, id, info) {//lacaiton-定位,dcInfo-督查信息 ,hhslProblemListInfo 问题清单
  1413. // console.log(row, id, info);
  1414. if (info == 'dcInfo') {
  1415. this.currentDuchaTpe = true;
  1416. this.currentObjectId = row.code;
  1417. this.currentObjectRgstrId=row.rgstrId;
  1418. this.currentObjectName = row.name;
  1419. this.activeName = '登记信息';
  1420. this.showHhSlDuChaInfo = true;
  1421. } else if (info == "loaction") {
  1422. this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
  1423. } else if (info == "baseInfo") {
  1424. this.currentDuchaTpe = false;
  1425. this.currentObjectId = row.code;
  1426. this.currentObjectRgstrId=row.rgstrId;
  1427. this.currentObjectName = row.name;
  1428. this.activeName = '基础信息';
  1429. this.showHhSlDuChaInfo = true;
  1430. if (this.$refs['hhSlNewTianBaoRef']) {
  1431. this.$refs['hhSlNewTianBaoRef'].showDialog();
  1432. }
  1433. }
  1434. },
  1435. //非法采沙 列表-操作-事件
  1436. ffcsInfo(row, id, info) {//lacaiton-定位,dcInfo-督查信息 ,ffcsProblemListInfo 问题清单
  1437. console.log(row, id, info);
  1438. if (info == 'dcInfo') {
  1439. this.currentDuchaTpe = true;
  1440. this.currentObjectName = row.name;
  1441. this.currentObjectId = row.code;
  1442. this.currentObjectRgstrId=row.rgstrId;
  1443. this.activeName = '登记信息';
  1444. this.showFfCsDuChaInfo = true;
  1445. } else if (info == "loaction") {
  1446. this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
  1447. } else if (info == "baseInfo") {
  1448. this.currentDuchaTpe = false;
  1449. this.currentObjectName = row.name;
  1450. this.currentObjectId = row.code;
  1451. this.currentObjectRgstrId=row.rgstrId;
  1452. this.activeName = '基础信息';
  1453. this.showFfCsDuChaInfo = true;
  1454. if (this.$refs['FfCsNewTianBaoRef']) {
  1455. this.$refs['FfCsNewTianBaoRef'].showDialog();
  1456. }
  1457. }
  1458. },
  1459. //水保项目 基础信息
  1460. sbCancelHandler(){
  1461. this.sbInfoDialog = false;
  1462. },
  1463. // 水保督查
  1464. sbDcCancelHandler(){
  1465. this.sbDcInfoDialog = false;
  1466. },
  1467. // end
  1468. shCancelHandler() {
  1469. this.shInfoDialog = false;
  1470. },
  1471. shBaseCancelHandler(){
  1472. this.shInfoBaseDialog = false;
  1473. },
  1474. szCancelHandler() {
  1475. this.showSzDuChaInfo = false;
  1476. },
  1477. szBaseCancelHandler(){
  1478. this.szInfoBaseDialog = false;
  1479. },
  1480. ydbCancelHandler() {
  1481. this.showYdbDuChaInfo = false;
  1482. },
  1483. sydNewCancelHandler() {
  1484. this.showSydNewDuChaInfo = false;
  1485. },
  1486. skCancelHandler() {
  1487. this.xskInfoDialog = false
  1488. },
  1489. skBaseCancelHandler(){
  1490. this.xskInfoBaseDialog = false
  1491. },
  1492. qshCancelHandler() {
  1493. this.showQshDuChaInfo = false;
  1494. },
  1495. szyQskCancelHandler() {
  1496. this.showSzyQskDuChaInfo = false;
  1497. },
  1498. szyJsglCancelHandler() {
  1499. this.showSzyJsgl = false;
  1500. },
  1501. szyYsdwCancelHandler() {
  1502. this.showSzyYsdw = false;
  1503. },
  1504. hhSlCancelHandler() {
  1505. this.showHhSlDuChaInfo = false;
  1506. },
  1507. ffCsCancelHandler() {
  1508. this.showFfCsDuChaInfo = false;
  1509. },
  1510. //Info172
  1511. Info172(row, id, info,) {
  1512. console.log(row, id, info);
  1513. if (info == 'dcInfo') {
  1514. } else if (info == 'location') {
  1515. this.$refs['mapRef'].tableRowClick(row, 'locate', '172', id);
  1516. } else if (info == 'baseInfo') {
  1517. this.current172Code = row.code;
  1518. this.show172BaseInfo = true;
  1519. if (this.$refs['172JcxxRef']) {
  1520. this.$refs['172JcxxRef'].showDialog();
  1521. }
  1522. }
  1523. },
  1524. QskInfo(row, id, info,) {
  1525. console.log(row, id, info);
  1526. if (info == 'dcInfo') {
  1527. } else if (info == 'location') {
  1528. this.$refs['mapRef'].tableRowClick(row, 'locate', 'qsk', id);
  1529. } else if (info == 'baseInfo') {
  1530. this.currentQskCode = row.objCode;
  1531. this.showQskBaseInfo = true;
  1532. if (this.$refs['qskJcxxRef']) {
  1533. this.$refs['qskJcxxRef'].showDialog();
  1534. }
  1535. }
  1536. },
  1537. DbsInfo(row, id, info,) {
  1538. console.log(row, id, info);
  1539. if (info == 'dcInfo') {
  1540. } else if (info == 'location') {
  1541. this.$refs['mapRef'].tableRowClick(row, 'locate', 'dbssyd', id);
  1542. } else if (info == 'baseInfo') {
  1543. this.currentDbsCode = row.id;
  1544. this.showDbsBaseInfo = true;
  1545. if (this.$refs['dbsJcxxRef']) {
  1546. this.$refs['dbsJcxxRef'].showDialog();
  1547. }
  1548. }
  1549. },
  1550. SwzInfo(row, id, info,) {
  1551. console.log(row, id, info);
  1552. if (info == 'dcInfo') {
  1553. } else if (info == 'location') {
  1554. this.$refs['mapRef'].tableRowClick(row, 'locate', 'swz', id);
  1555. } else if (info == 'baseInfo') {
  1556. this.currentSwzCode = row.stcd;
  1557. this.showSwzBaseInfo = true;
  1558. if (this.$refs['swzJcxxRef']) {
  1559. this.$refs['swzJcxxRef'].showDialog();
  1560. }
  1561. }
  1562. },
  1563. allYdbInfo(row, id, info,) {
  1564. console.log(row, id, info);
  1565. if (info == 'location') {
  1566. this.$refs['mapRef'].tableRowClick(row, 'locate', 'allYdb', id);
  1567. return;
  1568. } else if (info == 'baseInfo') {
  1569. this.activeName = "基础信息";
  1570. }
  1571. this.currentYdbCode = row.code;
  1572. this.showYdbBaseInfo = true;
  1573. if (this.$refs['ydbBaseInfoRef']) {
  1574. this.$refs['ydbBaseInfoRef'].showDialog();
  1575. }
  1576. },
  1577. ydbInfo(row, id, info,) {
  1578. console.log(row, id, info);
  1579. if (info == 'dcInfo') {
  1580. this.activeName = "登记信息";
  1581. } else if (info == 'location') {
  1582. this.$refs['mapRef'].tableRowClick(row, 'locate', 'ydb', id);
  1583. return;
  1584. } else if (info == 'baseInfo') {
  1585. this.activeName = "基础信息";
  1586. }
  1587. this.currentYdbCode = row.code;
  1588. this.currentObjectName = row.nm;
  1589. this.showYdbDuChaInfo = true;
  1590. if (this.$refs['ydbTianBaoRef']) {
  1591. this.$refs['ydbTianBaoRef'].showDialog();
  1592. }
  1593. },
  1594. szyYsdwInfo(row, id, info,) {
  1595. console.log(row, id, info);
  1596. if (info == 'baseInfo') {
  1597. this.activeName = "基础信息";
  1598. this.currentDuchaTpe = false;
  1599. } else if (info == 'dcInfo') {
  1600. this.activeName = "登记信息";
  1601. this.currentDuchaTpe = true;
  1602. } else if (info == 'location') {
  1603. this.$refs['mapRef'].tableRowClick(row, 'locate', 'szy_ysdw', id);
  1604. return;
  1605. }
  1606. this.currentObjectId = row.objId;
  1607. this.currentYsdwCode = row.code;
  1608. this.currentObjectName = row.nm;
  1609. this.currentRgstrId = row.rgstrId;
  1610. this.showSzyYsdw = true;
  1611. if (this.$refs['popupSzyYsdwRef']) {
  1612. this.$refs['popupSzyYsdwRef'].showDialog();
  1613. }
  1614. },
  1615. szyJsglInfo(row, id, info,) {
  1616. console.log(row, id, info);
  1617. if (info == 'baseInfo') {
  1618. this.activeName = "基础信息";
  1619. this.currentDuchaTpe = false;
  1620. } else if (info == 'dcInfo') {
  1621. this.activeName = "登记信息";
  1622. this.currentDuchaTpe = true;
  1623. } else if (info == 'location') {
  1624. this.$refs['mapRef'].tableRowClick(row, 'locate', 'szy_jsgl', id);
  1625. return;
  1626. }
  1627. this.currentObjectId = row.objId;
  1628. this.currentJysglAdCode = row.code;
  1629. this.currentObjectName = row.nm;
  1630. this.currentRgstrId = row.rgstrId;
  1631. this.showSzyJsgl = true;
  1632. if (this.$refs['popupSzyJsglRef']) {
  1633. this.$refs['popupSzyJsglRef'].showDialog();
  1634. }
  1635. },
  1636. szyAllQyshInfo(row, id, info,) {
  1637. console.log(row, id, info);
  1638. if (info == 'location') {
  1639. this.$refs['mapRef'].tableRowClick(row, 'locate', 'szyAllQysh', id);
  1640. return;
  1641. } else if (info == 'baseInfo') {
  1642. this.activeName = "基础信息";
  1643. this.currentDuchaTpe = false;
  1644. this.currentQshCode = row.id;
  1645. this.showQshDuChaInfo = true;
  1646. if (this.$refs['qshTianBaoRef']) {
  1647. this.$refs['qshTianBaoRef'].showDialog();
  1648. }
  1649. }
  1650. },
  1651. szyAllSydInfo(row, id, info,) {
  1652. console.log(row, id, info);
  1653. if (info == 'location') {
  1654. this.$refs['mapRef'].tableRowClick(row, 'locate', 'szyAllSyd', id);
  1655. return;
  1656. } else if (info == 'baseInfo') {
  1657. this.activeName = "基础信息";
  1658. }
  1659. this.currentDuchaTpe = false;
  1660. this.currentObjectId = row.objId;
  1661. this.currentSydNewCode = row.id;
  1662. this.currentObjectName = row.nm;
  1663. this.currentObjectRgstrId = row.id;
  1664. this.showSydNewDuChaInfo = true;
  1665. if (this.$refs['sydNewTianBaoRef']) {
  1666. this.$refs['sydNewTianBaoRef'].showDialog();
  1667. }
  1668. },
  1669. sydNewInfo(row, id, info,) {
  1670. console.log(row, id, info);
  1671. if (info == 'baseInfo') {
  1672. this.activeName = "基础信息";
  1673. } else if (info == 'dcInfo') {
  1674. this.activeName = "登记信息";
  1675. } else if (info == 'location') {
  1676. this.$refs['mapRef'].tableRowClick(row, 'locate', 'syd', id);
  1677. return;
  1678. }
  1679. this.currentObjectId = row.objId;
  1680. this.currentSydNewCode = row.code;
  1681. this.currentObjectName = row.nm;
  1682. this.currentObjectRgstrId = row.id;
  1683. this.showSydNewDuChaInfo = true;
  1684. if (this.$refs['sydNewTianBaoRef']) {
  1685. this.$refs['sydNewTianBaoRef'].showDialog();
  1686. }
  1687. },
  1688. // 水资源取水户
  1689. qshInfo(row, id, info,) {
  1690. console.log(row, id, info);
  1691. if (info == 'dcInfo') {
  1692. this.currentDuchaTpe = true;
  1693. this.currentRgstrId = row.rgstrId;
  1694. this.currentQshCode = row.code;
  1695. this.currentQshWintCode = row.wintCode;
  1696. this.currentObjectName = row.nm;
  1697. this.showQshDuChaInfo = true;
  1698. if (this.$refs['qshTianBaoRef']) {
  1699. this.$refs['qshTianBaoRef'].showDialog();
  1700. }
  1701. } else if (info == 'location') {
  1702. this.$refs['mapRef'].tableRowClick(row, 'locate', 'ydb', id);
  1703. } else if (info == 'baseInfo') {
  1704. this.currentDuchaTpe = false;
  1705. this.currentQshCode = row.code;
  1706. this.showQshDuChaInfo = true;
  1707. if (this.$refs['qshTianBaoRef']) {
  1708. this.$refs['qshTianBaoRef'].showDialog();
  1709. }
  1710. }
  1711. },
  1712. // 水资源取水口
  1713. szyQskInfo(row, id, info) {
  1714. console.log(row, id, info);
  1715. if (info == 'location') {
  1716. this.$refs['mapRef'].tableRowClick(row, 'locate', 'szy_qsk', id);
  1717. } else if (info == 'baseInfo') {
  1718. this.currentSzyQskCode = row.code;
  1719. this.currentObjectName = row.nm;
  1720. this.showSzyQskDuChaInfo = true;
  1721. if (this.$refs['szyQskTianBaoRef']) {
  1722. this.$refs['szyQskTianBaoRef'].showDialog();
  1723. }
  1724. }
  1725. },
  1726. groupHandler(currentPersId, currentIsAdmin, currentPersName) {//工作组
  1727. this.currentPersId = currentPersId;
  1728. this.currentIsAdmin = currentIsAdmin;
  1729. this.currentPersName = currentPersName;
  1730. this.showPersonInGroupInfo = true;
  1731. },
  1732. //数据表
  1733. lbClick() {
  1734. this.$refs['mapRef'].closePanel();
  1735. if (this.checkedLayerList.length) {
  1736. this.dcryDialog = !this.dcryDialog;
  1737. } else {
  1738. this.$message('请选择督查对象');
  1739. }
  1740. },
  1741. //搜索组件
  1742. searchWidgetEmitHandler(item, type, typeDetail) {
  1743. if (type == 'rsvr') {//水库
  1744. this.xskInfoDialog = false;
  1745. this.xskInfoBaseDialog = false;
  1746. this.rowData = item;
  1747. this.currentDuchaTpe = false;
  1748. this.currentRsCode = item.rsCode;
  1749. this.currentRsName = item.rsName;
  1750. this.xskRgstrId = item.rgstrId;
  1751. this.currentObjId = item.objId;
  1752. // this.showSkBaseInfo = true;
  1753. // if (this.$refs['skJcxxRef']) {
  1754. // this.$refs['skJcxxRef'].showDialog();
  1755. // }
  1756. if(item.rgstrId){
  1757. this.xskInfoDialog = true;
  1758. }else{
  1759. this.xskInfoBaseDialog = true;
  1760. }
  1761. // this.showSkDetail(typeDetail, item)
  1762. } else if (type == 'pers') {
  1763. if (typeDetail == 'personInfo') {
  1764. this.personInfoDialog = true;
  1765. this.personInfoContent = item;
  1766. } else {
  1767. this.peopleInfo(item, '', typeDetail);
  1768. }
  1769. } else if (type == 'ny') {
  1770. this.ryInfo(item, 'ncysgcGraphicLayer', typeDetail)
  1771. } else if (type == 'xzc') {
  1772. this.ryInfo(item, 'xzcGraphicLayer', typeDetail)
  1773. } else if (type == 'dcx') {
  1774. this.ryInfo(item, 'country150Layer', typeDetail)
  1775. } else if (type == 'sh') {
  1776. this.shInfoContent = item;
  1777. this.ryObjId = item.objId;
  1778. this.shTitle = item.wtdstNm;
  1779. if(item.trackId){
  1780. this.shInfoDialog = true;
  1781. }else{
  1782. this.shInfoBaseDialog = true;
  1783. }
  1784. // this.shgcInfo(item, 'shgcGraphicLayer', typeDetail)
  1785. } else if (type == '172') {
  1786. item['code'] = item.id;
  1787. this.Info172(item, 'graphicLayer172', typeDetail)
  1788. } else if (type == 'dxs') {
  1789. this.dxsInfo(item, 'dxsGraphicLayer', typeDetail)
  1790. } else if (type == 'sz') {
  1791. item['code'] = item.objCode;
  1792. this.currentDuchaTpe = true;
  1793. this.currentObjectRgstrId = item.rgstrId;
  1794. this.currentGroupId = item.groupId;
  1795. this.currentSzCode = item.objCode;
  1796. this.currentObjectName = item.gateName;
  1797. this.currentObjectId = item.objId;
  1798. if(item.rgstrId){
  1799. this.showSzDuChaInfo = true;
  1800. }else{
  1801. this.szInfoBaseDialog = true;
  1802. }
  1803. // this.szInfo(item, 'szGraphicLayer', typeDetail)
  1804. } else if (type == 'syd') {
  1805. this.DbsInfo(item, 'graphicLayerDbssyd', typeDetail)
  1806. } else if (type == 'qsk') {
  1807. this.QskInfo(item, 'graphicLayerQsk', typeDetail)
  1808. } else if (type == 'swz') {
  1809. this.SwzInfo(item, 'graphicLayerSwz', typeDetail)
  1810. } else if (type == 'ydb') {
  1811. this.ydbInfo(item, 'ydbGraphicLayer', typeDetail)
  1812. } else if (type == 'szyQysh') {
  1813. this.qshInfo(item, 'szy_qyshGraphicLayer', typeDetail)
  1814. } else if (type == 'szyQsk') {
  1815. this.szyQskInfo(item, 'szy_qskGraphicLayer', typeDetail)
  1816. } else if (type == 'szySyd') {
  1817. this.sydNewInfo(item, 'szy_sydGraphicLayer', typeDetail)
  1818. } else if (type == 'szyJsgl') {
  1819. this.szyJsglInfo(item, 'szy_jsglGraphicLayer', typeDetail)
  1820. } else if (type == 'szyYsdw') {
  1821. this.szyYsdwInfo(item, 'szy_ysdwGraphicLayer', typeDetail)
  1822. }
  1823. // if(type == "track"){//人员轨迹
  1824. // this.currentPersId = item.guid;
  1825. // this.showTrackHistory = true;
  1826. // }else if(type == 'dcz'){//督查组
  1827. // this.currentPersName = item.persName;
  1828. // this.currentIsAdmin = item.permission;
  1829. // this.currentPersId = item.guid;
  1830. // this.showPersonInGroupInfo = true;
  1831. // }else if(type == 'personInfo'){//人员信息 名牌
  1832. // this.personInfoContent = item;
  1833. // this.personInfoDialog = true;
  1834. // }else if(type == "personLocate"){
  1835. // this.$refs['mapRef'].tableRowClick(item, 'locate', 'person');
  1836. // }
  1837. },
  1838. //地图展示人员轨迹 点
  1839. showPerGzqkOnMap(item) {
  1840. this.$refs['mapRef'].showPerGzqkOnMap(item);
  1841. },
  1842. //图例控制图层显隐
  1843. lengendChangeHandler(val) {
  1844. this.$refs['mapRef'].lengendChangeHandler(val);
  1845. },
  1846. hideHandler() {
  1847. this.$refs['mapRef'].closePanel()
  1848. },
  1849. //矢量服务信息框
  1850. showVectorLayerDetail(obj) {
  1851. if (obj.layer.indexOf('LAKE_') > -1) {
  1852. this.currentVectorType = 'lake';
  1853. } else if (obj.layer.indexOf('RIVER_') > -1) {
  1854. this.currentVectorType = 'river';
  1855. } else {
  1856. this.currentVectorType = obj.elementtype;
  1857. }
  1858. this.currentVectorFeature = obj;
  1859. this.showVectorDialog = true;
  1860. if (this.$refs['vectorLayerRef']) {
  1861. this.$refs['vectorLayerRef'].showDialog();
  1862. }
  1863. }
  1864. }
  1865. }
  1866. </script>
  1867. <style>
  1868. </style>