| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906 |
- <template>
- <div style="height:100%;">
- <mapContent ref="mapRef"
- @showVectorLayerDetail="showVectorLayerDetail"
- @clickMapHandler="clickMapHandler" @isChecks1="isCheckArray1"
- @showSkDetail="showSkDetail" @currentAdCodeChange="currentAdCodeChange1"></mapContent>
- <legendWidget
- v-if="checkedLayerList.length>0"
- :checkedLayerList='checkedLayerList'
- @lengendChangeHandler="lengendChangeHandler"></legendWidget>
- <leftBarMap @showLayer="showLayer"></leftBarMap>
- <!-- 搜索组件 -->
- <searchWidget @searchWidgetEmitHandler="searchWidgetEmitHandler" @hide="hideHandler" :currentAdCodeNew="currentAdCode"></searchWidget>
- <!--人员信息-->
- <personInfo v-if="personInfoDialog" :perInfoCon="personInfoContent" @trackHistory="trackHistory"
- @showGroupInfo="showGroupInfo" @closePerInfo="closeInfo" @trackRecord="trackRecord"></personInfo>
- <!-- 人员所在组信息 -->
- <!-- <personInGroupInfo v-if="showPersonInGroupInfo" :currentPersName="currentPersName" :currentIsAdmin="currentIsAdmin" :currentPersId="currentPersId" @closeHandler="closeInfo"></personInGroupInfo> -->
- <!-- 人员所在组信息 -->
- <personGzqk
- v-if="showPersonInGroupInfo"
- :currentPersName="currentPersName"
- :currentIsAdmin="currentIsAdmin"
- :currentPersId="currentPersId"
- @closeHandler="closeInfo"
- @showPerGzqkOnMap="showPerGzqkOnMap"></personGzqk>
- <el-dialog
- class="custom_dialog"
- title="问题详细查看"
- append-to-body
- width="700px"
- :close-on-click-modal="false"
- :visible.sync="supervisionDetailsVisible"
- @close="cancelHandler">
- <pblmDetail ref="xianqing" :rowData="pblmPointData" v-if="supervisionDetailsVisible" @cancelHandler="cancelHandler"></pblmDetail>
- </el-dialog>
- <!--水毁工程-->
- <WaterloggingProjectBase ref="shRef" v-if="shInfoBaseDialog" :shInfoCon="shInfoContent" @cancelHandler="shBaseCancelHandler"
- :Title="shTitle"></WaterloggingProjectBase>
- <WaterloggingProject v-if="shInfoDialog" :curOperate="''" :rowData="shInfoContent" :openType="false"
- @cancelHandler="shCancelHandler" :objId="shInfoContent.objId"></WaterloggingProject>
- <!--人饮工程-->
- <renyinProject v-if="ryInfoDialog" ref="ryRef" :ryTitle="ryTitle" :ryObjId="ryObjId"
- @cancelHandler="ryCancelHandler"></renyinProject>
- <!--小水库督查信息-->
- <!-- <shuikuProject v-if="xskInfoDialog" :xskRgstrId="xskRgstrId" :Title="skTitle" @closeModal="closeInfo" :skInfo="xskInfo"></shuikuProject> -->
- <!-- <popupSk ref="xskTianBaoRef"-->
- <!-- v-if="xskInfoDialog"-->
- <!-- :currentDuchaTpe="currentDuchaTpe"-->
- <!-- :currentObjectRgstrId="xskRgstrId"-->
- <!-- :currentResCode="currentRsCode"-->
- <!-- :currentObjectId="currentObjId"-->
- <!-- :currentObjectName="currentRsName"-->
- <!-- @cancelHandler="skCancelHandler">-->
- <!-- </popupSk>-->
- <popupSkBase v-if="xskInfoBaseDialog" :currentResCode="currentRsCode" @cancelHandler="skBaseCancelHandler"></popupSkBase>
- <popupSk v-if="xskInfoDialog" :rowData="rowData" :currentObjectRgstrId="xskRgstrId"
- :currentResCode="currentRsCode" :currentObjectId="currentObjId"
- :currentObjectName="currentRsName"
- :currentRsvrNm="currentRsName"
- :pType="1"
- :ifView="true"
- @cancelHandler="skCancelHandler"></popupSk>
- <!-- 水闸督查信息 -->
- <!-- <popupSz ref="shuizaJcxxRef"-->
- <!-- v-if="showSzDuChaInfo"-->
- <!-- :currentDuchaTpe="currentDuchaTpe"-->
- <!-- :currentObjectRgstrId="currentObjectRgstrId"-->
- <!-- :currentGroupId="currentGroupId"-->
- <!-- :currentResCode="currentSzCode"-->
- <!-- :currentObjectId="currentObjectId"-->
- <!-- :currentObjectName="currentObjectName"-->
- <!-- showOrEdit="show"-->
- <!-- @cancelHandler="szCancelHandler">-->
- <!-- </popupSz>-->
- <popupSz
- v-if="showSzDuChaInfo"
- :rowData="rowData"
- :currentObjectRgstrId="currentObjectRgstrId"
- :currentResCode="currentSzCode"
- :currentGroupId="currentGroupId"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- :currentRsvrNm="currentObjectName"
- :openType="false"
- :ifView="true"
- @cancelHandler="szCancelHandler"
- ></popupSz>
- <popupSzBase v-if="szInfoBaseDialog" :currentResCode="currentSzCode" @cancelHandler="szBaseCancelHandler"></popupSzBase>
- <!-- 取水户督查信息 -->
- <popupQsh v-if="showQshDuChaInfo"
- ref="qshTianBaoRef"
- :currentDuchaTpe="currentDuchaTpe"
- :currentObjectRgstrId="currentRgstrId"
- :currentGroupId="currentGroupId"
- :currentQshCode="currentQshCode"
- :currentQshWintCode="currentQshWintCode"
- :currentObjectName="currentObjectName"
- showOrEdit="show"
- @cancelHandler="qshCancelHandler"></popupQsh>
- <!-- 水资源取水口基础信息 -->
- <popupSzyQsk v-if="showSzyQskDuChaInfo"
- ref="szyQskTianBaoRef"
- :currentObjectRgstrId="currentRgstrId"
- :currentSzyQskCode="currentSzyQskCode"
- @cancelHandler="szyQskCancelHandler"></popupSzyQsk>
- <popupSzyJsgl v-if="showSzyJsgl"
- ref="popupSzyJsglRef"
- :currentDuchaTpe="currentDuchaTpe"
- :currentObjectRgstrId="currentRgstrId"
- :currentJysglAdCode="currentJysglAdCode"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- @cancelHandler="szyJsglCancelHandler"></popupSzyJsgl>
- <popupSzyYsdw v-if="showSzyYsdw"
- ref="popupSzyYsdwRef"
- :currentDuchaTpe="currentDuchaTpe"
- :currentObjectRgstrId="currentRgstrId"
- :currentYsdwCode="currentYsdwCode"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- :currentObjectType="currentObjectType"
- @cancelHandler="szyYsdwCancelHandler"></popupSzyYsdw>
- <!--地下水-->
- <dixiashuiProject v-if="modal_dixiashui" @closeDraggable="closeInfo" :propsStcd="stcd" :djbId="djbId"
- :currentObjectId="currentObjectId"></dixiashuiProject>
- <!-- 水闸督查信息 -->
- <!-- <szDuChaInfo v-if="showSzDuChaInfo"
- :currentObjectRgstrId="currentObjectRgstrId"
- :currentGroupId="currentGroupId"
- :currentResCode="currentSzCode"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- showOrEdit="show"
- @cancelHandler="szCancelHandler"></szDuChaInfo> -->
- <!-- 淤地坝督查信息 -->
- <ydbDuChaInfo v-if="showYdbDuChaInfo"
- ref="ydbTianBaoRef"
- :currentObjectRgstrId="currentObjectRgstrId"
- :currentGroupId="currentGroupId"
- :currentYdbCode="currentYdbCode"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- showOrEdit="show"
- :activeName="activeName"
- @cancelHandler="ydbCancelHandler"></ydbDuChaInfo>
- <!-- 淤地坝基础信息 -->
- <ydbBaseInfo v-if="showYdbBaseInfo"
- ref="ydbBaseInfoRef"
- :currentYdbCode="currentYdbCode"></ydbBaseInfo>
- <!--水源地督查信息-->
- <sydNewDuChaInfo v-if="showSydNewDuChaInfo"
- ref="sydNewTianBaoRef"
- :currentDuchaTpe="currentDuchaTpe"
- :currentObjectRgstrId="currentObjectRgstrId"
- :currentGroupId="currentGroupId"
- :currentSzySydCode="currentSydNewCode"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- showOrEdit="show"
- :activeName="activeName"
- @cancelHandler="sydNewCancelHandler">
- </sydNewDuChaInfo>
- <!--河湖四乱基础督查信息-->
- <hhSlDuChaInfo v-if="showHhSlDuChaInfo"
- ref="hhSlNewTianBaoRef"
- :currentObjectRgstrId="currentObjectRgstrId"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- :activeName="activeName"
- @cancelHandler="hhSlCancelHandler">
- </hhSlDuChaInfo>
- <!--河湖采砂基础督查信息-->
- <ffCsDuChaInfo v-if="showFfCsDuChaInfo"
- ref="FfCsNewTianBaoRef"
- :currentObjectRgstrId="currentObjectRgstrId"
- :currentObjectId="currentObjectId"
- :currentObjectName="currentObjectName"
- :activeName="activeName"
- @cancelHandler="ffCsCancelHandler">
- </ffCsDuChaInfo>
- <!-- 水库基础信息 (基础表) -->
- <!-- <jichuxinxiSk ref="skJcxxRef" v-if="showSkBaseInfo" :currentResCode=currentRsCode></jichuxinxiSk> -->
- <!-- 水库基础信息 (基础表) -->
- <jichuxinxiDxs ref="dxsJcxxRef" v-if="showDxsBaseInfo" :currentDxsCode=currentDxsCode></jichuxinxiDxs>
- <!-- 水源地 (基础表) -->
- <jichuxinxiSyd ref="sydJcxxRef" v-if="showSydBaseInfo" :currentResCode=currentEngSurId></jichuxinxiSyd>
- <!-- 150县 (基础表) -->
- <jichuxinxi150 ref="150JcxxRef" v-if="show150BaseInfo" :currentResCode=currentAdCode_150></jichuxinxi150>
- <!-- 行政村 (基础表) -->
- <jichuxinxiXzc ref="xzcJcxxRef" v-if="showXzcBaseInfo" :currentResCode=villageCode></jichuxinxiXzc>
- <!-- 农村饮水工程基础信息 (基础表) -->
- <jichuxinxiNcysgc ref="ncysgcJcxxRef" v-if="showNcysgcBaseInfo"
- :currentCwsCode=currentCwsCode></jichuxinxiNcysgc>
- <!-- 水毁工程基础信息 (基础表) -->
- <jichuxinxiShuihui ref="shuihuiJcxxRef" v-if="showshuihuiBaseInfo" :currentResCode=locAd></jichuxinxiShuihui>
- <!-- 水闸基础信息 (基础表) -->
- <!-- <jichuxinxiShuiza ref="shuizaJcxxRef" v-if="showshuizaBaseInfo" :currentResCode=currentSzobjCode></jichuxinxiShuiza> -->
- <!-- 全部水闸基础信息 (基础表) -->
- <!-- <jichuxinxiSzAll ref="szAllJcxxRef" v-if="showszAllBaseInfo" :currentResCode=currentSzobjCode></jichuxinxiSzAll> -->
- <!-- 水闸基础信息 (基础表) -->
- <jichuxinxi172 ref="172JcxxRef" v-if="show172BaseInfo" :currentResCode=current172Code></jichuxinxi172>
- <!-- 取水口基础信息 (基础表) -->
- <jichuxinxiQsk ref="qskJcxxRef" v-if="showQskBaseInfo" :currentResCode=currentQskCode></jichuxinxiQsk>
- <!-- 地表水基础信息 (基础表) -->
- <jichuxinxiDbs ref="dbsJcxxRef" v-if="showDbsBaseInfo" :currentResCode=currentDbsCode></jichuxinxiDbs>
- <!-- 水文站基础信息 (基础表) -->
- <jichuxinxiSwz ref="swzJcxxRef" v-if="showSwzBaseInfo" :currentResCode=currentSwzCode></jichuxinxiSwz>
- <!-- 堤防险工险段督查 -->
- <jichuxinxiDf ref="jichuxinxiDf" v-if="showDfDcInfo"
- :currentObjectRgstrId="dfObjectRgstrId"
- :currentResCode="dfResCode"
- :currentObjectId="dfObjectId"
- :currentObjectName="dfResName"
- :openType="false"
- :isMap="true"
- @cancelHandler="dfcancelHandler"></jichuxinxiDf>
- <!-- 堤防险工险段基础 -->
- <jichuxinxiDfBase ref="jichuxinxiDfBase" v-if="showDfBaseInfo" :dfBaseId="dfBaseId"></jichuxinxiDfBase>
- <!-- add by luochenghai 20191217 -->
- <!--水保项目基础信息 (基础表)-->
- <jichuxinxiShuiBao v-if="sbInfoDialog" ref="sbRef" :currentObjectName="currentObjectName" :currentObjectId="currentObjectId" @cancelHandler="sbCancelHandler" ></jichuxinxiShuiBao>
- <!--水保督查信息 -->
- <duchaShuiBao v-if="sbDcInfoDialog" ref="sbDcRef" :dcsbTitle="dcsbTitle" :currentObjectId="currentObjectId" :currentRgstectId="currentRgstectId" @cancelHandler="sbDcCancelHandler" :activeName="activeName"></duchaShuiBao>
- <!-- end -->
- <!-- 轨迹列表 -->
- <trackHistoryTable
- v-if="showTrackHistory"
- :perId="currentPersId"
- @showTrackOnMap="showTrackOnMap"
- @closeDraggable="closeInfo"></trackHistoryTable>
- <!-- 轨迹查看记录 -->
- <trackRecordTable
- v-if="showTrackRecord"
- @closeDraggable="closeInfo"></trackRecordTable>
- <!--列表-->
- <listModel
- @closeModal_data_common="closeInfo"
- @peopleInfo="peopleInfo"
- @groupHandler="groupHandler"
- v-if="dcryDialog"
- :checkedLayerList='checkedLayerList'
- :currentAdCode="currentAdCode"
- @skInfo="skInfo"
- @ryInfo="ryInfo"
- @shgcInfo="shgcInfo"
- @dxsInfo="dxsInfo"
- @szInfo="szInfo"
- @szInfoAll="szInfoAll"
- @Info172="Info172"
- @QskInfo="QskInfo"
- @DbsInfo="DbsInfo"
- @SwzInfo="SwzInfo"
- @allYdbInfo="allYdbInfo"
- @ydbInfo="ydbInfo"
- @qshInfo="qshInfo"
- @szyQskInfo="szyQskInfo"
- @sydNewInfo="sydNewInfo"
- @szyYsdwInfo="szyYsdwInfo"
- @szyJsglInfo="szyJsglInfo"
- @szyAllQyshInfo="szyAllQyshInfo"
- @szyAllSydInfo="szyAllSydInfo"
- @sbInfo="sbInfo"
- @sbDcInfo="sbDcInfo"
- @hhslInfo="hhslInfo"
- @ffcsInfo="ffcsInfo"
- ></listModel>
- <!-- 矢量服务详情框 -->
- <vectorLayerDetail ref="vectorLayerRef" v-if="showVectorDialog" :objType='currentVectorType'
- :feature="currentVectorFeature"></vectorLayerDetail>
- <!-- 添加对象到督查计划 -->
- <addObjToPlan ref="addToPlanRef" v-if="showPlanList" @addPbjToPlanSucc="addPbjToPlanSucc"
- :currentResCode=currentRsCode :currentRsName=currentRsName :currentRsLong=currentRsLong
- :currentRsLat=currentRsLat></addObjToPlan>
- <!--列表控制-->
- <div style="position: fixed;top: 96px;right: 607px;box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.5);
- background: rgba(255,255,255,1);border-radius: 4px;">
- <img src="./assets/tableIcon.png" style="width: 14px;padding-left: 10px;">
- <el-button style="color:#2C9EFF;height: 46px;border: none;
- padding-left: 5px;padding-right: 10px;font-size: 14px;" @click.native="lbClick">数据表
- </el-button>
- </div>
- </div>
- </template>
- <script>
- export default {
- components: {
- mapContent: resolve => {
- require(['./mapContent.vue'], resolve)
- },
- legendWidget: resolve => {
- require(['./components/legend'], resolve)
- },
- leftBarMap: resolve => {
- require(['./components/leftBarMap'], resolve)
- },
- searchWidget: resolve => {
- require(['./components/searchWidget'], resolve)
- },
- popupSk: resolve => {
- require(['../duChaTianBao/shuiKuTianbao.vue'], resolve)
- },//水库弹窗
- popupSkBase: resolve => {
- require(['../duChaTianBao/components/popupWindow/sk/main.vue'], resolve)
- },//水库弹窗
- popupSz: resolve => {
- require(['../duChaTianBao/sztb.vue'], resolve)
- },//水闸弹窗
- popupSzBase: resolve => {
- require(['../zongHeXinXiOl/components/popupWindow/sz/main.vue'], resolve)
- },//水闸弹窗
- popupQsh: resolve => {
- require(['./components/popupWindow/qysh/main.vue'], resolve)
- },//水闸弹窗
- popupSzyQsk: resolve => {
- require(['./components/popupWindow/szy_qsk/main.vue'], resolve)
- },//水闸弹窗
- popupSzyJsgl: resolve => {
- require(['./components/popupWindow/szy_jsgl/main.vue'], resolve)
- },//水资源 节水管理
- popupSzyYsdw: resolve => {
- require(['./components/popupWindow/szy_ysdw/main.vue'], resolve)
- },//水资源 用水单位
- jichuxinxiSk: resolve => {
- require(['./components/jichuxinxi_sk'], resolve)
- },
- // jichuxinxiDxs: resolve => {
- // require(['./components/jichuxinxi_dxs'], resolve)
- // },
- jichuxinxiDxs: resolve => {
- require(['./components/popupWindow/dxs/main.vue'], resolve)
- },
- jichuxinxiSyd: resolve => {
- require(['./components/jichuxinxi_nysyd'], resolve)
- },
- jichuxinxi150: resolve => {
- require(['./components/jichuxinxi_ny150'], resolve)
- },
- jichuxinxiXzc: resolve => {
- require(['./components/jichuxinxi_nyXzc'], resolve)
- },
- jichuxinxiNcysgc: resolve => {
- require(['./components/jichuxinxi_ncysgc'], resolve)
- },
- jichuxinxiShuihui: resolve => {
- require(['./components/jichuxinxi_shuihui'], resolve)
- },
- jichuxinxiShuiza: resolve => {
- require(['./components/jichuxinxi_shuiza'], resolve)
- },
- jichuxinxiSzAll: resolve => {
- require(['./components/jichuxinxi_szAll'], resolve)
- },
- // jichuxinxi172: resolve => {
- // require(['./components/jichuxinxi_172'], resolve)
- // },
- jichuxinxi172: resolve => {
- require(['./components/popupWindow/172/main.vue'], resolve)
- },
- jichuxinxiQsk: resolve => {
- require(['./components/popupWindow/qsk/main.vue'], resolve)
- },
- jichuxinxiDbs: resolve => {
- require(['./components/popupWindow/dbs_syd/main.vue'], resolve)
- },
- jichuxinxiSwz: resolve => {
- require(['./components/popupWindow/shw/main'], resolve)
- },
- jichuxinxiYdb: resolve => {
- require(['./components/popupWindow/ydb/main.vue'], resolve)
- },
- addObjToPlan: resolve => {
- require(['./components/addObjToPlan'], resolve)
- },
- personInfo: resolve => {
- require(['./components/personInfo'], resolve)
- },
- personInGroupInfo: resolve => {
- require(['./components/personInGroupInfo'], resolve)
- },
- personGzqk: resolve => {
- require(['./components/personGzqk'], resolve)
- },
- WaterloggingProjectBase: resolve => {
- require(['./components/popupWindow/sh/main.vue'], resolve)
- },
- WaterloggingProject: resolve => {
- require(['../duChaTianBao/shuihui/shuiHuiTianbao.vue'], resolve)
- },
- // renyinProject: resolve => {
- // require(['./components/renyinProject'], resolve)
- // },
- renyinProject: resolve => {
- require(['./components/popupWindow/renyin/main.vue'], resolve)
- },
- shuikuProject: resolve => {
- require(['./components/shuikuProject'], resolve)
- },
- shuiKuTianBaoShow: resolve => {//展示水库督查信息
- require(['../duChaTianBao/shuiKuTianbaoShow.vue'], resolve)
- },
- dixiashuiProject: resolve => {
- require(['../zonghexinxi/groundWateDialog'], resolve)
- },
- listModel: resolve => {
- require(['./components/listModel'], resolve)
- },
- trackHistoryTable: resolve => {
- require(['./components/trackHistoryTable'], resolve)
- },
- trackRecordTable: resolve => {
- require(['./components/trackRecordTable'], resolve)
- },
- szDuChaInfo: resolve => {
- require(['../duChaTianBao/sztb.vue'], resolve)
- },
- ydbDuChaInfo: resolve => {
- require(['./components/popupWindow/ydb/main'], resolve)
- },
- ydbBaseInfo: resolve => {
- require(['./components/popupWindow/ydb/baseMain'], resolve)
- },
- sydNewDuChaInfo: resolve => {
- require(['./components/popupWindow/szy_syd/main.vue'], resolve)
- // require(['./components/duchaxinxi_syd.vue'], resolve)
- },
- jichuxinxiSydNew: resolve => {
- require(['./components/popupWindow/szy_syd/main.vue'], resolve)
- },
- vectorLayerDetail: resolve => {
- require(['./components/vectorLayerDetail.vue'], resolve)
- },
- hhSlDuChaInfo: resolve => {
- require(['./components/popupWindow/hhsl/main.vue'], resolve)
- },
- ffCsDuChaInfo: resolve => {
- require(['./components/popupWindow/ffcs/main.vue'], resolve)
- },
- //问题铺点弹窗
- pblmDetail: resolve => {
- require(['./components/pblmDetail.vue'], resolve)
- },
- // add by luochenghai 20191216
- jichuxinxiShuiBao: resolve => { require(['./components/popupWindow/shuibao/shuibao_baseinfo/main.vue'], resolve) }, // 水保弹窗
- duchaShuiBao: resolve => { require(['./components/popupWindow/shuibao/shuibao_duchainfo/main.vue'], resolve) }, //水保督查
- jichuxinxiDf: resolve => { require(['../duChaTianBao/diFangTianBao'], resolve) }, //堤防督查
- jichuxinxiDfBase: resolve => { require(['../duChaTianBao/difang/jichuxinxiBase'], resolve) }, //堤防基础
- },
- props: [],
- computed: {},
- data() {
- return {
- dfBaseId:"",
- showDfBaseInfo:false,//堤防
- showDfDcInfo:false,//堤防
- dfObjectRgstrId:false,
- dfResCode:false,
- dfObjectId:false,
- dfResName:false,
- showSzyJsgl: false,
- currentJysglAdCode: '',//水资源 节水管理编码
- showSzyYsdw: false,
- currentYsdwCode: '',//水资源 用水单位编码
- currentObjectType: '',//水资源 用水单位 类型(节水还是非节水)
- currentAdCode: '',//当前行政区编码
- showSzDuChaInfo: false,//水闸
- szInfoBaseDialog: false,//水闸基础信息
- currentObjectRgstrId: '',//水闸
- currentGroupId: '',//水闸
- currentSzCode: '',//水闸
- currentObjectName: '',//水闸
- showPlanList: false,
- currentDuchaTpe: false,//督查还是未督查
- currentRsCode: '',//当前水库id
- currentRsName: '',//当前水库名称
- rowData:{},
- currentRsLong: '',
- currentRsLat: '',
- currentRgstrId: '',//当前登记表id
- currentObjId: '',//当前objId
- showSkBaseInfo: false,
- showDxsBaseInfo: false,
- currentDxsCode: '',
- currentSzobjCode: '',
- showXzcBaseInfo: false,
- show150BaseInfo: false,
- showSydBaseInfo: false,
- showNcysgcBaseInfo: false,//农村饮水工程基础信息
- showshuihuiBaseInfo: false,
- currentCwsCode: '',//农村饮水工程编码
- currentAdCode_150: '',//150县adcode
- personInfoDialog: false,
- showPersonInGroupInfo: false,
- currentPersId: '',//当前选中的人员id
- currentIsAdmin: '',//当前选中人员是否管理员
- currentPersName: '',//当前选中人员姓名
- showTrackHistory: false,//人员轨迹列表
- showTrackRecord: false,//人员轨迹列表
- personInfoContent: '',
- shInfoDialog: false,
- shInfoBaseDialog: false,
- shInfoContent: '',
- ryInfoDialog: false,
- xskInfoDialog: false,
- xskInfoBaseDialog:false,
- supervisionDetailsVisible:false,//问题详细查看
- pblmPointData:{},
- xskRgstrId: '',
- skTitle: '',
- shTitle: '',
- ryTitle: '',
- checkedLayerList: [
- {
- id: 'personGraphicLayer',
- title: '人员',
- list: [
- {
- name: '在线',
- url: '/src/views/zongHeXinXiNew/assets/online.png',
- }, {
- name: '不在线',
- url: '/src/views/zongHeXinXiNew/assets/offline.png',
- }
- ]
- }
- ],//被选中的图层
- checkedLayerLists: [],
- dcryDialog: false,
- xskInfo: '',
- ryObjId: '',
- // add by lch
- sbObjId:'', //水保项目图层
- sbInfoDialog: false,
- sbDcInfoDialog: false,
- dcSbInfoCon:'', // 督查水保
- dcsbTitle:'',
- currentRgstectId:'',
- //end
- stcd: "",
- djbId: "",
- currentObjectId: "",
- modal_dixiashui: false,
- villageCode: '',
- locAd: '',
- currentEngSurId: '',
- showshuizaBaseInfo: false,
- showszAllBaseInfo: false,
- show172BaseInfo: false,
- current172Code: "",
- showQskBaseInfo: false,
- currentQskCode: "",
- showDbsBaseInfo: false,
- currentDbsCode: "",
- showSwzBaseInfo: false,
- currentSwzCode: "",
- currentYdbCode: "",
- currentYdbName: "",
- showYdbDuChaInfo: false,
- showYdbBaseInfo: false,
- showSydNewBaseInfo: false,
- currentSydNewCode: "",
- currentSydNewName: "",
- showSydNewDuChaInfo: false,
- showQshBaseInfo: false,
- currentQshCode: "",
- currentQshWintCode: "",
- showSzyQskDuChaInfo: false,
- currentQshName: "",
- showQshDuChaInfo: false,
- showSzyQskBaseInfo: false,
- currentSzyQskCode: "",
- currentSzyQskName: "",
- activeName: "基础信息",
- currentVectorType: '',//当前矢量服务类型
- currentVectorFeature: {},//矢量服务属性对象
- showVectorDialog: false,//显示矢量服务信息框
- showHhSlDuChaInfo: false,//河湖四乱
- showFfCsDuChaInfo: false,//非法采沙
- }
- },
- watch: {},
- mounted() {
- },
- methods: {
- cancelHandler() {
- this.supervisionDetailsVisible = false;
- },
- showLayer(item){
- //debugger
- this.$refs.mapRef.layerChange(item);
- },
- dfcancelHandler(){
- this.showDfDcInfo = false;
- },
- currentAdCodeChange1(val) {
- if (val == "000000000000") {
- this.currentAdCode = '';
- } else {
- this.currentAdCode = val;//当前行政区编码
- }
- },
- clickMapHandler(layerId, obj) {//点击地图图层 显示详细信息
- console.log(layerId, obj);
- switch (layerId) {
- //人员督查
- case "personGraphicLayer":
- this.personInfoDialog = true;
- this.personInfoContent = obj;
- break;
- //水库
- case "allSkGraphicLayer":
- this.xskInfoDialog = false;
- this.xskInfoBaseDialog = false;
- this.rowData = obj;
- this.currentDuchaTpe = false;
- this.currentRsCode = obj.rsCode;
- this.currentRsName = obj.rsName;
- this.xskRgstrId = obj.rgstrId;
- this.currentObjId = obj.objId;
- // this.showSkBaseInfo = true;
- // if (this.$refs['skJcxxRef']) {
- // this.$refs['skJcxxRef'].showDialog();
- // }
- if(obj.rgstrId){
- this.xskInfoDialog = true;
- }else{
- this.xskInfoBaseDialog = true;
- }
- console.log(this.$refs['xskTianBaoRef'])
- if (this.$refs['xskTianBaoRef']) {
- this.$refs['xskTianBaoRef'].showDialog();
- }
- break;
- case "skGraphicLayer2018":
- this.currentDuchaTpe = false;
- this.currentRsCode = obj.rsCode;
- this.currentRsName = obj.rsName;
- if (obj.longitude) {
- this.currentRsLong = obj.longitude;
- }
- if (obj.latitude) {
- this.currentRsLat = obj.latitude;
- }
- if (obj.rgstrId) {
- this.currentRgstrId = obj.rgstrId;
- }
- if (obj.objId) {
- this.currentObjId = obj.objId;
- }
- // this.showSkBaseInfo = true;
- // if (this.$refs['skJcxxRef']) {
- // this.$refs['skJcxxRef'].showDialog();
- // }
- this.xskInfoDialog = true;
- if (this.$refs['xskTianBaoRef']) {
- this.$refs['xskTianBaoRef'].showDialog();
- }
- break;
- case "skGraphicLayer2019":
- this.currentDuchaTpe = true;
- this.xskInfoDialog = true;
- this.xskRgstrId = obj.rgstrId;
- this.currentRsCode = obj.rsCode;
- this.currentObjId = obj.objId;
- this.currentRsName = obj.rsName;
- this.skTitle = obj.rsName;
- if (this.$refs['xskTianBaoRef']) {
- this.$refs['xskTianBaoRef'].showDialog();
- }
- break;
- case "xgxdDcGraphicLayer":
- this.dfResCode = obj.code;
- this.dfObjectId = obj.objId;
- this.dfObjectRgstrId = obj.rgstrId;
- this.dfResName = obj.nm;
- this.showDfDcInfo = true;
- break;
- case "xgxdBaseGraphicLayer":
- this.dfBaseId = obj.code;
- this.showDfBaseInfo = true;
- if (this.$refs['jichuxinxiDfBase']) {
- this.$refs['jichuxinxiDfBase'].showDialog();
- }
- break;
- case "fcskGraphicLayer":
- this.currentDuchaTpe = true;
- this.xskInfoDialog = true;
- this.currentRsCode = obj.rsCode;
- this.currentObjId = obj.objId;
- this.currentRsName = obj.rsName;
- this.xskRgstrId = obj.rgstrId;
- this.skTitle = obj.rsName;
- if (this.$refs['xskTianBaoRef']) {
- this.$refs['xskTianBaoRef'].showDialog();
- }
- break;
- case "jhwskGraphicLayer":
- this.currentDuchaTpe = false;
- this.currentRsCode = obj.rsCode;
- this.currentRsName = obj.rsName;
- if (obj.longitude) {
- this.currentRsLong = obj.longitude;
- }
- if (obj.latitude) {
- this.currentRsLat = obj.latitude;
- }
- if (obj.rgstrId) {
- this.currentRgstrId = obj.rgstrId;
- }
- if (obj.objId) {
- this.currentObjId = obj.objId;
- }
- // this.showSkBaseInfo = true;
- // if (this.$refs['skJcxxRef']) {
- // this.$refs['skJcxxRef'].showDialog();
- // }
- this.xskInfoDialog = true;
- if (this.$refs['xskTianBaoRef']) {
- this.$refs['xskTianBaoRef'].showDialog();
- }
- break;
- //人饮
- case "ncysgcGraphicLayer":
- this.ryInfoDialog = true;
- this.ryTitle = obj.cwsName;
- this.ryObjId = obj.objId;
- if (this.$refs['ryRef']) {
- this.$refs['ryRef'].showDialog();
- }
- break;
- case "sydGraphicLayer":
- this.ryInfoDialog = true;
- this.ryObjId = obj.objId;
- this.ryTitle = obj.adNm;
- if (this.$refs['ryRef']) {
- this.$refs['ryRef'].showDialog();
- }
- break;
- case "country150Layer":
- this.ryInfoDialog = true;
- this.ryObjId = obj.objId;
- this.ryTitle = obj.adName;
- if (this.$refs['ryRef']) {
- this.$refs['ryRef'].showDialog();
- }
- break;
- case "xzcGraphicLayer":
- this.ryInfoDialog = true;
- this.ryObjId = obj.objId;
- this.ryTitle = obj.adNm;
- if (this.$refs['ryRef']) {
- this.$refs['ryRef'].showDialog();
- }
- break;
- case "graphicLayer172":
- this.current172Code = obj.id;
- this.show172BaseInfo = true;
- if (this.$refs['172JcxxRef']) {
- this.$refs['172JcxxRef'].showDialog();
- }
- break;
- //水毁
- case "shgcGraphicLayer":
- this.shInfoContent = obj;
- this.ryObjId = obj.objId;
- this.shTitle = obj.wtdstNm;
- if(obj.trackId){
- this.shInfoDialog = true;
- }else{
- this.shInfoBaseDialog = true;
- }
- if (this.$refs['shRef']) {
- this.$refs['shRef'].showDialog();
- }
- break;
- //水闸
- case "szGraphicLayer":
- this.currentDuchaTpe = true;
- this.currentObjectRgstrId = obj.rgstrId;
- this.currentGroupId = obj.groupId;
- this.currentSzCode = obj.objCode;
- this.currentObjectName = obj.gateName;
- this.currentObjectId = obj.objId;
- this.showSzDuChaInfo = true;
- break;
- case "szGraphicLayerAll":
- this.currentDuchaTpe = true;
- this.currentObjectRgstrId = obj.rgstrId;
- this.currentGroupId = obj.groupId;
- this.currentSzCode = obj.objCode;
- this.currentObjectName = obj.gateName;
- this.currentObjectId = obj.objId;
- if(obj.rgstrId){
- this.showSzDuChaInfo = true;
- }else{
- this.szInfoBaseDialog = true;
- }
- if (this.$refs['szAllJcxxRef']) {
- this.$refs['szAllJcxxRef'].showDialog();
- }
- break;
- //地下水
- case "dxsGraphicLayer":
- this.currentDxsCode = obj.stcd;
- this.showDxsBaseInfo = true;
- if (this.$refs['dxsJcxxRef']) {
- this.$refs['dxsJcxxRef'].showDialog();
- }
- // this.stcd = obj.stcd;
- // this.djbId = '';
- // this.currentObjectId = obj.objId;
- // this.modal_dixiashui = true;
- break;
- //取水口
- case "graphicLayerQsk":
- this.currentQskCode = obj.objCode;
- this.showQskBaseInfo = true;
- if (this.$refs['qskJcxxRef']) {
- this.$refs['qskJcxxRef'].showDialog();
- }
- break;
- //地表水水源地
- case "graphicLayerDbssyd":
- this.currentDbsCode = obj.id;
- this.currentObjectId = obj.objId;
- this.currentSydNewCode = obj.code;
- this.currentObjectName = obj.nm;
- this.showSydNewDuChaInfo = true;
- if (this.$refs['sydNewTianBaoRef']) {
- this.$refs['sydNewTianBaoRef'].showDialog();
- }
- break;
- //水资源水源地
- case "szy_sydGraphicLayer":
- this.currentObjectId = obj.objId;
- this.currentSydNewCode = obj.code;
- this.currentObjectName = obj.nm;
- this.currentObjectRgstrId = obj.id;
- this.showSydNewDuChaInfo = true;
- if (this.$refs['sydNewTianBaoRef']) {
- this.$refs['sydNewTianBaoRef'].showDialog();
- }
- break;
- //淤地坝
- case "ydbGraphicLayer":
- this.currentYdbCode = obj.code;
- this.showYdbDuChaInfo = true;
- if (this.$refs['ydbTianBaoRef']) {
- this.$refs['ydbTianBaoRef'].showDialog();
- }
- break;
- case "allYdbGraphicLayer":
- this.currentYdbCode = obj.code;
- this.showYdbBaseInfo = true;
- if (this.$refs['ydbBaseInfoRef']) {
- this.$refs['ydbBaseInfoRef'].showDialog();
- }
- break;
- //水文站
- case "graphicLayerSwz":
- this.currentSwzCode = obj.stcd;
- this.showSwzBaseInfo = true;
- if (this.$refs['swzJcxxRef']) {
- this.$refs['swzJcxxRef'].showDialog();
- }
- break;
- //水资源取用水户
- case "szy_qyshGraphicLayer":
- this.currentQshCode = obj.code;
- this.currentQshWintCode = obj.wintCode
- this.currentRgstrId = obj.rgstrId;
- this.showQshDuChaInfo = true;
- if (this.$refs['qshTianBaoRef']) {
- this.$refs['qshTianBaoRef'].showDialog();
- }
- break;
- //水资源取水口
- case "szy_qskGraphicLayer":
- this.currentSzyQskCode = obj.code;
- this.showSzyQskDuChaInfo = true;
- if (this.$refs['szyQskTianBaoRef']) {
- this.$refs['szyQskTianBaoRef'].showDialog();
- }
- break;
- //水资源节水管理
- case "szy_jsglGraphicLayer":
- this.activeName = "登记信息";
- this.currentDuchaTpe = true;
- this.currentObjectId = obj.objId;
- this.currentJysglAdCode = obj.code;
- this.currentObjectName = obj.nm;
- this.currentRgstrId = obj.rgstrId;
- this.showSzyJsgl = true;
- if (this.$refs['popupSzyJsglRef']) {
- this.$refs['popupSzyJsglRef'].showDialog();
- }
- break;
- //水资源用水单位
- case "szy_ysdwGraphicLayer":
- this.activeName = "登记信息";
- this.currentDuchaTpe = true;
- this.currentObjectId = obj.objId;
- this.currentYsdwCode = obj.code;
- this.currentObjectName = obj.nm;
- this.currentRgstrId = obj.rgstrId;
- this.currentObjectType = obj.type;
- this.showSzyYsdw = true;
- if (this.$refs['popupSzyYsdwRef']) {
- this.$refs['popupSzyYsdwRef'].showDialog();
- }
- break;
- case "szy_allQyshGraphicLayer":
- this.currentDuchaTpe = false;
- this.currentQshCode = obj.id;
- this.showQshDuChaInfo = true;
- if (this.$refs['qshTianBaoRef']) {
- this.$refs['qshTianBaoRef'].showDialog();
- }
- break;
- case "szy_allSydGraphicLayer":
- this.currentDuchaTpe = false;
- this.currentObjectId = obj.objId;
- this.currentSydNewCode = obj.id;
- this.currentObjectName = obj.nm;
- this.currentObjectRgstrId = obj.id;
- this.showSydNewDuChaInfo = true;
- if (this.$refs['sydNewTianBaoRef']) {
- this.$refs['sydNewTianBaoRef'].showDialog();
- }
- break;
- // add by lch
- case "graphicLayerSb": //水保项目 基础信息
- console.log('水保项目')
- this.currentDuchaTpe = false;
- this.sbInfoDialog = true;
- this.currentRgstectId = obj.rgstrId;
- this.currentObjectId = obj.id;
- this.currentObjectName = obj.name;
- if (this.$refs['sbRef']) {
- this.$refs['sbRef'].showDialog();
- }
- break;
- case "graphicLayerDcsb": //督查水保
- console.log('督查水保')
- this.sbDcInfoDialog = true;
- this.dcSbInfoCon = obj;
- this.currentRgstectId = obj.rgstrId;
- this.currentObjectId = obj.objId;
- this.dcsbTitle = obj.name;
- if (this.$refs['sbDcRef']) {
- this.$refs['sbDcRef'].showDialog();
- }
- break;
- case "graphicLayerHhsl": //河湖四乱
- console.log('河湖四乱');
- this.currentObjectId = obj.code;
- this.currentObjectName = obj.name;
- this.currentObjectRgstrId = obj.rgstrId;
- this.currentRgstectId = obj.rgstrId;
- this.activeName = '登记信息';
- this.showHhSlDuChaInfo = true;
- break;
- case "graphicLayerFfcs": //非法采砂
- console.log('非法采砂');
- this.currentObjectId = obj.code;
- this.currentObjectName = obj.name;
- this.currentObjectRgstrId = obj.rgstrId;
- this.currentRgstectId = obj.rgstrId;
- this.activeName = '登记信息';
- this.showFfCsDuChaInfo = true;
- break;
- }
- if(layerId.indexOf("pblmDcGraphicLayer_")>-1){
- this.supervisionDetailsVisible = true;
- this.pblmPointData = obj;
- }
- },
- addPbjToPlanSucc() {//添加督查计划成功
- this.$refs['mapRef'].graphicChange();//督查计划外 及 2018督查水库 添加到督查计划后 相应的对象应该增加到2019督查
- },
- showYdbDetail(type, item) {//淤地坝 基础信息base 督查信息dcxx 加入督查计划plan
- console.log(item)
- this.currentYdbCode = item.code;
- this.currentObjectName = item.nm;
- if (item.rgstrId) {
- this.currentRgstrId = item.rgstrId;
- }
- if (item.objId) {
- this.currentObjId = item.objId;
- }
- if (type == "base") {//基础信息
- this.activeName = "基础信息";
- } else if (type == "dcxx") {//督查信息
- this.activeName = "登记信息";
- } else if (type == "skLocate") {//定位
- this.$refs['mapRef'].tableRowClick(item, 'locate', 'sk', 'allSkGraphicLayer');
- }
- this.xskRgstrId = item.rgstrId;
- this.skTitle = item.rsName;
- this.showYdbDuChaInfo = true;
- if (this.$refs['ydbTianBaoRef']) {
- this.$refs['ydbTianBaoRef'].showDialog();
- }
- },
- showSzySydDetail(type, item) {
- console.log(item);
- this.currentSydNewCode = item.code;
- this.currentObjectName = item.nm;
- if (item.rgstrId) {
- this.currentRgstrId = item.rgstrId;
- }
- if (item.objId) {
- this.currentObjId = item.objId;
- }
- if (type == "base") {//基础信息
- this.showSydNewBaseInfo = true;
- if (this.$refs['sydNewJcxxRef']) {
- this.$refs['sydNewJcxxRef'].showDialog();
- }
- } else if (type == "dcxx") {//督查信息
- this.currentObjectRgstrId = this.currentRgstrId;
- this.showSydNewDuChaInfo = true;
- if (this.$refs['sydNewTianBaoRef']) {
- this.$refs['sydNewTianBaoRef'].showDialog();
- }
- } else if (type == "skLocate") {//定位
- this.$refs['mapRef'].tableRowClick(item, 'locate', 'sk', 'allSkGraphicLayer');
- }
- },
- showSkDetail(type, item) {//水库 基础信息base 督查信息dcxx 加入督查计划plan
- this.currentRsCode = item.rsCode;
- this.currentRsName = item.rsName;
- if (item.longitude) {
- this.currentRsLong = item.longitude;
- }
- if (item.latitude) {
- this.currentRsLat = item.latitude;
- }
- if (item.rgstrId) {
- this.currentRgstrId = item.rgstrId;
- }
- if (item.objId) {
- this.currentObjId = item.objId;
- }
- if (type == "base") {//基础信息
- this.currentDuchaTpe = false;
- this.currentRsCode = item.rsCode;
- this.currentRsName = item.rsName;
- if (item.longitude) {
- this.currentRsLong = item.longitude;
- }
- if (item.latitude) {
- this.currentRsLat = item.latitude;
- }
- if (item.rgstrId) {
- this.currentRgstrId = item.rgstrId;
- }
- if (item.objId) {
- this.currentObjId = item.objId;
- }
- this.xskInfoDialog = true;
- if (this.$refs['xskTianBaoRef']) {
- this.$refs['xskTianBaoRef'].showDialog();
- }
- } else if (type == "plan") {//添加到督查计划
- this.showPlanList = true;
- if (this.$refs['addToPlanRef']) {
- this.$refs['addToPlanRef'].showDialog();
- }
- } else if (type == "dcxx") {//督查信息
- // this.xskRgstrId = item.rgstrId;
- // this.skTitle = item.rsName;
- // this.xskInfoDialog = true;
- // if (this.$refs['xskTianBaoRef']) {
- // this.$refs['xskTianBaoRef'].showDialog();
- // }
- this.currentDuchaTpe = true
- this.xskRgstrId = item.rgstrId;
- this.skTitle = item.rsName;
- this.xskInfoDialog = true;
- } else if (type == "skLocate") {//定位
- this.$refs['mapRef'].tableRowClick(item, 'locate', 'sk', 'allSkGraphicLayer');
- }
- },
- isCheckArray1(item) {
- var _self = this;
- if (item.checked && item.id) {
- _self.checkedLayerList.push(item);
- } else {
- for (var i = 0; i < _self.checkedLayerList.length; i++) {
- if (item.id == _self.checkedLayerList[i].id) {
- _self.checkedLayerList.splice(i, 1);
- }
- }
- }
- _self.checkedLayerLists = _self.checkedLayerList;
- },
- showGroupInfo(id, isAdmin, persName) {//展示人员所在组
- this.currentPersId = id;
- this.currentIsAdmin = isAdmin;
- this.currentPersName = persName;
- this.showPersonInGroupInfo = true;
- },
- trackHistory(id) {//展示人员历史轨迹列表
- this.currentPersId = id;
- this.showTrackHistory = true;
- },
- trackRecord(){
- this.showTrackRecord = true;
- },
- // 弹窗关闭
- closeInfo(name) {
- switch (name) {
- case 'ryxx':
- this.personInfoDialog = false;
- break;
- case 'shgc':
- this.shInfoDialog = false;
- break;
- case 'xsk':
- this.xskInfoDialog = false;
- break;
- case 'lb':
- this.dcryDialog = false;
- this.checkedLayerLists = [];
- case 'groupInfo':
- this.showPersonInGroupInfo = false;
- this.$refs['mapRef'].clearLayer();
- break;
- case 'dcryDialog':
- this.ryInfoDialog = false;
- break;
- case 'trackTable':
- this.showTrackHistory = false;
- this.$refs['mapRef'].clearLayer();
- this.$refs['mapRef'].clearLayer();
- break;
- case 'trackRecordTable':
- this.showTrackRecord = false;
- break;
- case 'dxs':
- this.modal_dixiashui = false;
- }
- },
- //人员信息
- peopleInfo(row, id, info, recPersId) {//lacaiton-定位,track-轨迹,group-加入工作组
- console.log(row, id, info, recPersId);
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'personGraphicLayer', 'personGraphicLayer');
- } else if (info == 'track') {
- this.currentPersId = row.guid;
- this.showTrackHistory = true;
- // this.$refs['mapRef'].tableRowClick(row, 'track', 'person');
- } else if (info == 'group') {
- // this.currentPersId = recPersId;
- this.currentPersId = row.guid;
- this.currentIsAdmin = row.permission;
- this.currentPersName = row.persName;
- this.showPersonInGroupInfo = true;
- }
- },
- showTrackOnMap(row, type) {//人员轨迹 历史轨迹列表
- this.$refs['mapRef'].tableRowClick(row, 'track', 'track');
- },
- // 水库列表-操作-事件
- skInfo(row, id, info) {//lacaiton-定位,baseInfo-基础信息,dcInfo-督查信息,addDcInfo-加入督查信息
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.currentDuchaTpe = true
- this.xskRgstrId = row.rgstrId;
- this.skTitle = row.rsName;
- this.xskInfoDialog = true;
- } else if (info == "loaction") {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
- } else if (info == "baseInfo") {
- this.xskInfoDialog = false;
- this.xskInfoBaseDialog = false;
- this.rowData = row;
- this.currentDuchaTpe = false;
- this.currentRsCode = row.rsCode;
- this.currentRsName = row.rsName;
- this.xskRgstrId = row.rgstrId;
- this.currentObjId = row.objId;
- // this.showSkBaseInfo = true;
- // if (this.$refs['skJcxxRef']) {
- // this.$refs['skJcxxRef'].showDialog();
- // }
- if(row.rgstrId){
- this.xskInfoDialog = true;
- }else{
- this.xskInfoBaseDialog = true;
- }
- } else if (info == "addDcInfo") {
- this.currentRsCode = row.rsCode;
- this.currentRsName = row.rsName;
- this.currentRsLong = row.longitude;
- this.currentRsLat = row.latitude;
- this.showPlanList = true;
- if (this.$refs['addToPlanRef']) {
- this.$refs['addToPlanRef'].showDialog();
- }
- }
- },
- //人饮(row,id,点击)
- ryInfo(row, id, info,) {//lacaiton-定位,baseInfo-基础信息,dcInfo-督查信息
- console.log(row, id, info);
- //农饮工程
- if (id == 'ncysgcGraphicLayer') {
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'ncysgc', id);
- } else if (info == 'baseInfo') {
- this.currentCwsCode = row.cwsCode;
- this.showNcysgcBaseInfo = true;
- if (this.$refs['ncysgcJcxxRef']) {
- this.$refs['ncysgcJcxxRef'].showDialog();
- }
- } else if (info == 'dcInfo') {
- this.currentDuchaTpe = true
- this.ryObjId = row.objId;
- this.ryTitle = row.cwsName;
- this.ryInfoDialog = true;
- }
- }
- //水源地
- else if (id == 'sydGraphicLayer') {
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'syd', id);
- } else if (info == 'baseInfo') {
- this.currentEngSurId = row.engSurId;
- // this.ryTitle = row.cwsName;
- this.showSydBaseInfo = true;
- if (this.$refs['sydJcxxRef']) {
- this.$refs['sydJcxxRef'].showDialog();
- }
- } else if (info == 'dcInfo') {
- this.ryObjId = row.objId;
- this.ryTitle = row.waterSourceNm;
- this.ryInfoDialog = true;
- }
- }
- // 150县
- else if (id == 'country150Layer') {
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', '150', id);
- } else if (info == 'baseInfo') {
- this.currentAdCode_150 = row.adCode;
- this.show150BaseInfo = true;
- if (this.$refs['150JcxxRef']) {
- this.$refs['150JcxxRef'].showDialog();
- }
- } else if (info == 'dcInfo') {
- this.ryObjId = row.objId;
- this.ryTitle = row.adName;
- this.ryInfoDialog = true;
- }
- }
- //督查行政村
- else if (id == 'xzcGraphicLayer') {
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'xzc', id);
- } else if (info == 'baseInfo') {
- this.villageCode = row.villageCode;
- this.showXzcBaseInfo = true;
- if (this.$refs['xzcJcxxRef']) {
- this.$refs['xzcJcxxRef'].showDialog();
- }
- } else if (info == 'dcInfo') {
- this.ryObjId = row.objId;
- this.ryTitle = row.adNm;
- this.ryInfoDialog = true;
- }
- }
- },
- //水毁工程
- shgcInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.shInfoContent = row;
- this.ryObjId = row.objId;
- this.shTitle = row.wtdstNm;
- if(row.trackId){
- this.shInfoDialog = true;
- }else{
- this.shInfoBaseDialog = true;
- }
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'shgc', id);
- } else if (info == 'baseInfo') {
- this.shInfoContent = row;
- this.ryObjId = row.objId;
- this.shTitle = row.wtdstNm;
- if(row.trackId){
- this.shInfoDialog = true;
- }else{
- this.shInfoBaseDialog = true;
- }
- if (this.$refs['shuihuiJcxxRef']) {
- this.$refs['shuihuiJcxxRef'].showDialog();
- }
- }
- },
- //地下水
- dxsInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'dxs', id);
- } else if (info == 'baseInfo') {
- this.currentDxsCode = row.stcd;
- this.showDxsBaseInfo = true;
- if (this.$refs['dxsJcxxRef']) {
- this.$refs['dxsJcxxRef'].showDialog();
- }
- }
- },
- //水闸
- szInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.currentDuchaTpe = true;
- this.currentObjectRgstrId = row.rgstrId;
- this.currentGroupId = row.groupId;
- this.currentSzCode = row.code;
- this.currentObjectName = row.nm;
- this.currentObjectId = row.objId;
- this.showSzDuChaInfo = true;
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'sz', id);
- } else if (info == 'baseInfo') {
- this.currentDuchaTpe = false;
- this.currentObjectRgstrId = row.rgstrId;
- this.currentGroupId = row.groupId;
- this.currentSzCode = row.code;
- this.currentObjectName = row.nm;
- this.currentObjectId = row.objId;
- this.showSzDuChaInfo = true;
- if (this.$refs['szAllJcxxRef']) {
- this.$refs['szAllJcxxRef'].showDialog();
- }
- }
- },
- //全部水闸
- szInfoAll(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'szAll', id);
- } else if (info == 'baseInfo') {
- this.currentDuchaTpe = true;
- this.currentObjectRgstrId = row.rgstrId;
- this.currentGroupId = row.groupId;
- this.currentSzCode = row.objCode;
- this.currentObjectName = row.gateName;
- this.currentObjectId = row.objId;
- if(row.rgstrId){
- this.showSzDuChaInfo = true;
- }else{
- this.szInfoBaseDialog = true;
- }
- if (this.$refs['szAllJcxxRef']) {
- this.$refs['szAllJcxxRef'].showDialog();
- }
- }
- },
- ryCancelHandler() {
- this.ryInfoDialog = false;
- },
- // 水保项目 列表-操作-事件 add by lch
- sbInfo(row, id, info) {//lacaiton-定位,baseInfo-基础信息
- console.log(row, id, info);
- if (info == "loaction") {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
- } else if (info == "baseInfo") {
- this.currentDuchaTpe = false;
- this.sbInfoDialog = true;
- // this.currentRgstectId = row.rgstrId;
- this.currentObjectId = row.id;
- this.currentObjectName = row.name;
- if (this.$refs['sbRef']) {
- this.$refs['sbRef'].showDialog();
- }
- }
- },
- // 水保督查 列表-操作-事件
- sbDcInfo(row, id, info) {//lacaiton-定位,dcInfo-督查信息 ,DcProblemListInfo 督查问题清单
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.currentDuchaTpe = true
- this.dcSbInfoCon = row;
- this.dcsbTitle = row.name;
- this.currentRgstectId = row.rgstrId;
- this.activeName = '督查信息';
- this.sbDcInfoDialog = true;
- if (this.$refs['sbDcRef']) {
- this.$refs['sbDcRef'].showDialog();
- }
- } else if (info == "loaction") {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
- } else if (info == "DcProblemListInfo") {
- this.currentDuchaTpe = false;
- this.dcsbTitle = row.name;
- this.currentRgstectId = row.rgstrId;
- this.currentObjectId = row.objId;
- this.sbDcInfoDialog = true;
- this.activeName = '问题列表';
- if (this.$refs['sbDcRef']) {
- this.$refs['sbDcRef'].showDialog();
- }
- }
- },
- // 河湖四乱 列表-操作-事件
- hhslInfo(row, id, info) {//lacaiton-定位,dcInfo-督查信息 ,hhslProblemListInfo 问题清单
- // console.log(row, id, info);
- if (info == 'dcInfo') {
- this.currentDuchaTpe = true;
- this.currentObjectId = row.code;
- this.currentObjectRgstrId=row.rgstrId;
- this.currentObjectName = row.name;
- this.activeName = '登记信息';
- this.showHhSlDuChaInfo = true;
- } else if (info == "loaction") {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
- } else if (info == "baseInfo") {
- this.currentDuchaTpe = false;
- this.currentObjectId = row.code;
- this.currentObjectRgstrId=row.rgstrId;
- this.currentObjectName = row.name;
- this.activeName = '基础信息';
- this.showHhSlDuChaInfo = true;
- if (this.$refs['hhSlNewTianBaoRef']) {
- this.$refs['hhSlNewTianBaoRef'].showDialog();
- }
- }
- },
- //非法采沙 列表-操作-事件
- ffcsInfo(row, id, info) {//lacaiton-定位,dcInfo-督查信息 ,ffcsProblemListInfo 问题清单
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.currentDuchaTpe = true;
- this.currentObjectName = row.name;
- this.currentObjectId = row.code;
- this.currentObjectRgstrId=row.rgstrId;
- this.activeName = '登记信息';
- this.showFfCsDuChaInfo = true;
- } else if (info == "loaction") {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'sk', id);
- } else if (info == "baseInfo") {
- this.currentDuchaTpe = false;
- this.currentObjectName = row.name;
- this.currentObjectId = row.code;
- this.currentObjectRgstrId=row.rgstrId;
- this.activeName = '基础信息';
- this.showFfCsDuChaInfo = true;
- if (this.$refs['FfCsNewTianBaoRef']) {
- this.$refs['FfCsNewTianBaoRef'].showDialog();
- }
- }
- },
- //水保项目 基础信息
- sbCancelHandler(){
- this.sbInfoDialog = false;
- },
- // 水保督查
- sbDcCancelHandler(){
- this.sbDcInfoDialog = false;
- },
- // end
- shCancelHandler() {
- this.shInfoDialog = false;
- },
- shBaseCancelHandler(){
- this.shInfoBaseDialog = false;
- },
- szCancelHandler() {
- this.showSzDuChaInfo = false;
- },
- szBaseCancelHandler(){
- this.szInfoBaseDialog = false;
- },
- ydbCancelHandler() {
- this.showYdbDuChaInfo = false;
- },
- sydNewCancelHandler() {
- this.showSydNewDuChaInfo = false;
- },
- skCancelHandler() {
- this.xskInfoDialog = false
- },
- skBaseCancelHandler(){
- this.xskInfoBaseDialog = false
- },
- qshCancelHandler() {
- this.showQshDuChaInfo = false;
- },
- szyQskCancelHandler() {
- this.showSzyQskDuChaInfo = false;
- },
- szyJsglCancelHandler() {
- this.showSzyJsgl = false;
- },
- szyYsdwCancelHandler() {
- this.showSzyYsdw = false;
- },
- hhSlCancelHandler() {
- this.showHhSlDuChaInfo = false;
- },
- ffCsCancelHandler() {
- this.showFfCsDuChaInfo = false;
- },
- //Info172
- Info172(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', '172', id);
- } else if (info == 'baseInfo') {
- this.current172Code = row.code;
- this.show172BaseInfo = true;
- if (this.$refs['172JcxxRef']) {
- this.$refs['172JcxxRef'].showDialog();
- }
- }
- },
- QskInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'qsk', id);
- } else if (info == 'baseInfo') {
- this.currentQskCode = row.objCode;
- this.showQskBaseInfo = true;
- if (this.$refs['qskJcxxRef']) {
- this.$refs['qskJcxxRef'].showDialog();
- }
- }
- },
- DbsInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'dbssyd', id);
- } else if (info == 'baseInfo') {
- this.currentDbsCode = row.id;
- this.showDbsBaseInfo = true;
- if (this.$refs['dbsJcxxRef']) {
- this.$refs['dbsJcxxRef'].showDialog();
- }
- }
- },
- SwzInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'swz', id);
- } else if (info == 'baseInfo') {
- this.currentSwzCode = row.stcd;
- this.showSwzBaseInfo = true;
- if (this.$refs['swzJcxxRef']) {
- this.$refs['swzJcxxRef'].showDialog();
- }
- }
- },
- allYdbInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'allYdb', id);
- return;
- } else if (info == 'baseInfo') {
- this.activeName = "基础信息";
- }
- this.currentYdbCode = row.code;
- this.showYdbBaseInfo = true;
- if (this.$refs['ydbBaseInfoRef']) {
- this.$refs['ydbBaseInfoRef'].showDialog();
- }
- },
- ydbInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.activeName = "登记信息";
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'ydb', id);
- return;
- } else if (info == 'baseInfo') {
- this.activeName = "基础信息";
- }
- this.currentYdbCode = row.code;
- this.currentObjectName = row.nm;
- this.showYdbDuChaInfo = true;
- if (this.$refs['ydbTianBaoRef']) {
- this.$refs['ydbTianBaoRef'].showDialog();
- }
- },
- szyYsdwInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'baseInfo') {
- this.activeName = "基础信息";
- this.currentDuchaTpe = false;
- } else if (info == 'dcInfo') {
- this.activeName = "登记信息";
- this.currentDuchaTpe = true;
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'szy_ysdw', id);
- return;
- }
- this.currentObjectId = row.objId;
- this.currentYsdwCode = row.code;
- this.currentObjectName = row.nm;
- this.currentRgstrId = row.rgstrId;
- this.showSzyYsdw = true;
- if (this.$refs['popupSzyYsdwRef']) {
- this.$refs['popupSzyYsdwRef'].showDialog();
- }
- },
- szyJsglInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'baseInfo') {
- this.activeName = "基础信息";
- this.currentDuchaTpe = false;
- } else if (info == 'dcInfo') {
- this.activeName = "登记信息";
- this.currentDuchaTpe = true;
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'szy_jsgl', id);
- return;
- }
- this.currentObjectId = row.objId;
- this.currentJysglAdCode = row.code;
- this.currentObjectName = row.nm;
- this.currentRgstrId = row.rgstrId;
- this.showSzyJsgl = true;
- if (this.$refs['popupSzyJsglRef']) {
- this.$refs['popupSzyJsglRef'].showDialog();
- }
- },
- szyAllQyshInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'szyAllQysh', id);
- return;
- } else if (info == 'baseInfo') {
- this.activeName = "基础信息";
- this.currentDuchaTpe = false;
- this.currentQshCode = row.id;
- this.showQshDuChaInfo = true;
- if (this.$refs['qshTianBaoRef']) {
- this.$refs['qshTianBaoRef'].showDialog();
- }
- }
- },
- szyAllSydInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'szyAllSyd', id);
- return;
- } else if (info == 'baseInfo') {
- this.activeName = "基础信息";
- }
- this.currentDuchaTpe = false;
- this.currentObjectId = row.objId;
- this.currentSydNewCode = row.id;
- this.currentObjectName = row.nm;
- this.currentObjectRgstrId = row.id;
- this.showSydNewDuChaInfo = true;
- if (this.$refs['sydNewTianBaoRef']) {
- this.$refs['sydNewTianBaoRef'].showDialog();
- }
- },
- sydNewInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'baseInfo') {
- this.activeName = "基础信息";
- } else if (info == 'dcInfo') {
- this.activeName = "登记信息";
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'syd', id);
- return;
- }
- this.currentObjectId = row.objId;
- this.currentSydNewCode = row.code;
- this.currentObjectName = row.nm;
- this.currentObjectRgstrId = row.id;
- this.showSydNewDuChaInfo = true;
- if (this.$refs['sydNewTianBaoRef']) {
- this.$refs['sydNewTianBaoRef'].showDialog();
- }
- },
- // 水资源取水户
- qshInfo(row, id, info,) {
- console.log(row, id, info);
- if (info == 'dcInfo') {
- this.currentDuchaTpe = true;
- this.currentRgstrId = row.rgstrId;
- this.currentQshCode = row.code;
- this.currentQshWintCode = row.wintCode;
- this.currentObjectName = row.nm;
- this.showQshDuChaInfo = true;
- if (this.$refs['qshTianBaoRef']) {
- this.$refs['qshTianBaoRef'].showDialog();
- }
- } else if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'ydb', id);
- } else if (info == 'baseInfo') {
- this.currentDuchaTpe = false;
- this.currentQshCode = row.code;
- this.showQshDuChaInfo = true;
- if (this.$refs['qshTianBaoRef']) {
- this.$refs['qshTianBaoRef'].showDialog();
- }
- }
- },
- // 水资源取水口
- szyQskInfo(row, id, info) {
- console.log(row, id, info);
- if (info == 'location') {
- this.$refs['mapRef'].tableRowClick(row, 'locate', 'szy_qsk', id);
- } else if (info == 'baseInfo') {
- this.currentSzyQskCode = row.code;
- this.currentObjectName = row.nm;
- this.showSzyQskDuChaInfo = true;
- if (this.$refs['szyQskTianBaoRef']) {
- this.$refs['szyQskTianBaoRef'].showDialog();
- }
- }
- },
- groupHandler(currentPersId, currentIsAdmin, currentPersName) {//工作组
- this.currentPersId = currentPersId;
- this.currentIsAdmin = currentIsAdmin;
- this.currentPersName = currentPersName;
- this.showPersonInGroupInfo = true;
- },
- //数据表
- lbClick() {
- this.$refs['mapRef'].closePanel();
- if (this.checkedLayerList.length) {
- this.dcryDialog = !this.dcryDialog;
- } else {
- this.$message('请选择督查对象');
- }
- },
- //搜索组件
- searchWidgetEmitHandler(item, type, typeDetail) {
- if (type == 'rsvr') {//水库
- this.xskInfoDialog = false;
- this.xskInfoBaseDialog = false;
- this.rowData = item;
- this.currentDuchaTpe = false;
- this.currentRsCode = item.rsCode;
- this.currentRsName = item.rsName;
- this.xskRgstrId = item.rgstrId;
- this.currentObjId = item.objId;
- // this.showSkBaseInfo = true;
- // if (this.$refs['skJcxxRef']) {
- // this.$refs['skJcxxRef'].showDialog();
- // }
- if(item.rgstrId){
- this.xskInfoDialog = true;
- }else{
- this.xskInfoBaseDialog = true;
- }
- // this.showSkDetail(typeDetail, item)
- } else if (type == 'pers') {
- if (typeDetail == 'personInfo') {
- this.personInfoDialog = true;
- this.personInfoContent = item;
- } else {
- this.peopleInfo(item, '', typeDetail);
- }
- } else if (type == 'ny') {
- this.ryInfo(item, 'ncysgcGraphicLayer', typeDetail)
- } else if (type == 'xzc') {
- this.ryInfo(item, 'xzcGraphicLayer', typeDetail)
- } else if (type == 'dcx') {
- this.ryInfo(item, 'country150Layer', typeDetail)
- } else if (type == 'sh') {
- this.shInfoContent = item;
- this.ryObjId = item.objId;
- this.shTitle = item.wtdstNm;
- if(item.trackId){
- this.shInfoDialog = true;
- }else{
- this.shInfoBaseDialog = true;
- }
- // this.shgcInfo(item, 'shgcGraphicLayer', typeDetail)
- } else if (type == '172') {
- item['code'] = item.id;
- this.Info172(item, 'graphicLayer172', typeDetail)
- } else if (type == 'dxs') {
- this.dxsInfo(item, 'dxsGraphicLayer', typeDetail)
- } else if (type == 'sz') {
- item['code'] = item.objCode;
- this.currentDuchaTpe = true;
- this.currentObjectRgstrId = item.rgstrId;
- this.currentGroupId = item.groupId;
- this.currentSzCode = item.objCode;
- this.currentObjectName = item.gateName;
- this.currentObjectId = item.objId;
- if(item.rgstrId){
- this.showSzDuChaInfo = true;
- }else{
- this.szInfoBaseDialog = true;
- }
- // this.szInfo(item, 'szGraphicLayer', typeDetail)
- } else if (type == 'syd') {
- this.DbsInfo(item, 'graphicLayerDbssyd', typeDetail)
- } else if (type == 'qsk') {
- this.QskInfo(item, 'graphicLayerQsk', typeDetail)
- } else if (type == 'swz') {
- this.SwzInfo(item, 'graphicLayerSwz', typeDetail)
- } else if (type == 'ydb') {
- this.ydbInfo(item, 'ydbGraphicLayer', typeDetail)
- } else if (type == 'szyQysh') {
- this.qshInfo(item, 'szy_qyshGraphicLayer', typeDetail)
- } else if (type == 'szyQsk') {
- this.szyQskInfo(item, 'szy_qskGraphicLayer', typeDetail)
- } else if (type == 'szySyd') {
- this.sydNewInfo(item, 'szy_sydGraphicLayer', typeDetail)
- } else if (type == 'szyJsgl') {
- this.szyJsglInfo(item, 'szy_jsglGraphicLayer', typeDetail)
- } else if (type == 'szyYsdw') {
- this.szyYsdwInfo(item, 'szy_ysdwGraphicLayer', typeDetail)
- }
- // if(type == "track"){//人员轨迹
- // this.currentPersId = item.guid;
- // this.showTrackHistory = true;
- // }else if(type == 'dcz'){//督查组
- // this.currentPersName = item.persName;
- // this.currentIsAdmin = item.permission;
- // this.currentPersId = item.guid;
- // this.showPersonInGroupInfo = true;
- // }else if(type == 'personInfo'){//人员信息 名牌
- // this.personInfoContent = item;
- // this.personInfoDialog = true;
- // }else if(type == "personLocate"){
- // this.$refs['mapRef'].tableRowClick(item, 'locate', 'person');
- // }
- },
- //地图展示人员轨迹 点
- showPerGzqkOnMap(item) {
- this.$refs['mapRef'].showPerGzqkOnMap(item);
- },
- //图例控制图层显隐
- lengendChangeHandler(val) {
- this.$refs['mapRef'].lengendChangeHandler(val);
- },
- hideHandler() {
- this.$refs['mapRef'].closePanel()
- },
- //矢量服务信息框
- showVectorLayerDetail(obj) {
- if (obj.layer.indexOf('LAKE_') > -1) {
- this.currentVectorType = 'lake';
- } else if (obj.layer.indexOf('RIVER_') > -1) {
- this.currentVectorType = 'river';
- } else {
- this.currentVectorType = obj.elementtype;
- }
- this.currentVectorFeature = obj;
- this.showVectorDialog = true;
- if (this.$refs['vectorLayerRef']) {
- this.$refs['vectorLayerRef'].showDialog();
- }
- }
- }
- }
- </script>
- <style>
- </style>
|