| | |
| | | :class="activeNum===index?'hover':''"> |
| | | <img class="state" :src="getImgSrc()" style="background: none"/> |
| | | <div> |
| | | <h3 @click="handleLocation(item,index)">{{ item.properties.pipename }} |
| | | {{item.properties.companyname }}</h3> |
| | | <h3 @click="handleLocation(item,index)">{{ item.properties.name || item.properties.code }}</h3> |
| | | <p>æå±ä¼ä¸ï¼<span>{{ item.properties.orgname }}</span> |
| | | <p>设æ½ç±»åï¼<span>{{form.pipelineType}}</span> |
| | | <p>设æ½ç±»åï¼<span>{{ item.properties.type }}</span> |
| | | <el-button v-if="fuShuSheShiShow" class="rt btn00fff6" size="mini" |
| | | style="margin-right: 0.04rem;" |
| | | @click="btnAffiliatedFacilities(item,index)"> |
| | |
| | | this.list = [] |
| | | this.wfsHelper.clearFilter() |
| | | // todo ç°å¨ç®¡ç½è¿æ²¡åºåå¼ç±»åï¼å颿¹ |
| | | this.wfsHelper.setTypeName([this.form.dataType.typeName]) |
| | | this.wfsHelper.setTypeName(['sewer:view_pipeline']) |
| | | if (this.form.keyword) { |
| | | this.wfsHelper.addLike('name', this.form.keyword) |
| | | this.wfsHelper.setFilter(this.form.keyword) |
| | | } |
| | | this.wfsHelper.addEquals('type', '\'' + this.form.dataType.sname + '\'') |
| | | // const filter = this.form.dataType.filter |
| | | // if (filter) { |
| | | // this.wfsHelper.setFilter(filter) |
| | |
| | | this.total = res.totalFeatures |
| | | this.list = res.features |
| | | } |
| | | this.wfsHelper = new WfsHelper() |
| | | }, |
| | | // ç¹å»æç´¢å°çæ°æ® å®ç°åè½ = å®ä½ é«äº® å¼¹æ¡ |
| | | handleLocation (val, index) { |
| | |
| | | type: SERVICE_TYPE.WMS, |
| | | checked: false, // é»è®¤éä¸ç¶æ |
| | | icon: 'sewers/.png', |
| | | index: 1, |
| | | typeName: 'sewer:unitareaboundary' |
| | | } |
| | | ] |
| | |
| | | { |
| | | code: 'piperack', |
| | | name: '管æ¶(墩)', |
| | | sname: 'PipeRack', |
| | | sname: '管æ¶(墩)', |
| | | minZoom: 16, |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:piperack', |
| | |
| | | { |
| | | code: 'pipegallery', |
| | | name: '管å»(带)', |
| | | sname: 'PipeGallery', |
| | | sname: '管å»(带)', |
| | | minZoom: 16, |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:pipegallery', |
| | |
| | | name: 'æµå', |
| | | sname: 'ywslx', |
| | | type: SERVICE_TYPE.WMS, |
| | | icon: 'sewers/æµå.png', |
| | | typeName: 'sewer:pipesegment_flow', |
| | | checked: false |
| | | }, |
| | | { |
| | |
| | | { |
| | | code: 'jsc', |
| | | name: 'éæ°´æ± ', |
| | | sname: 'éæ°´æ± ', |
| | | sname: 'éæ°´æ± (ç½)', |
| | | minZoom: 16, |
| | | typeName: 'sewer:collectingbasin', |
| | | checked: false, |
| | |
| | | { |
| | | code: 'rainline', |
| | | name: '鍿°´çº¿', |
| | | sname: '管ç½', |
| | | sname: '鍿°´', |
| | | checked: true, |
| | | type: SERVICE_TYPE.WMS, |
| | | layerGroup: 'sewer:pipeline_group', |
| | |
| | | FILL_COLOR: '#0070ff' |
| | | }, |
| | | filter: 'mediumtype = \'鍿°´\'', |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'accidentline', |
| | |
| | | FILL_COLOR: '#E64C00' |
| | | }, |
| | | filter: 'mediumtype = \'äºæ
æ°´\'', |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'oilline', |
| | |
| | | COLOR: '#ffaa00', |
| | | FILL_COLOR: '#ffaa00' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'saltline', |
| | |
| | | COLOR: '#FF7F7F', |
| | | FILL_COLOR: '#FF7F7F' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'alkaliline', |
| | |
| | | COLOR: '#E8BEFF', |
| | | FILL_COLOR: '#E8BEFF' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'sulfurline', |
| | |
| | | COLOR: '', |
| | | FILL_COLOR: '' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'lifeline', |
| | |
| | | COLOR: '#A8A800', |
| | | FILL_COLOR: '#A8A800' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'purifyline', |
| | |
| | | COLOR: '#55FF00', |
| | | FILL_COLOR: '#55FF00' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'loopline', |
| | |
| | | COLOR: '#73FFDF', |
| | | FILL_COLOR: '#73FFDF' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | }, |
| | | { |
| | | code: 'buildline', |
| | |
| | | COLOR: '#a8a800', |
| | | FILL_COLOR: '#a8a800' |
| | | }, |
| | | index: 1 |
| | | index: 20 |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | code: 'sewersNpk', |
| | | name: 'å
æå£', |
| | | sname: 'å
æå£', |
| | | sname: 'å
æ', |
| | | checked: false, |
| | | type: SERVICE_TYPE.WMS, |
| | | icon: 'sewers/鍿°´æå£.png', |
| | |
| | | { |
| | | code: 'sewersWpk', |
| | | name: '夿å£', |
| | | sname: '夿å£', |
| | | sname: '夿', |
| | | icon: 'sewers/鍿°´æå£.png', |
| | | checked: false, // é»è®¤éä¸ç¶æ |
| | | type: SERVICE_TYPE.WMS, |
New file |
| | |
| | | ##é
ç½®wms |
| | | |
| | | type: SERVICE_TYPE.WMS, //表æè¿æ¯ä¸ä¸ªwmsæå¡é
ç½® |
| | | layerGroup: 'sewer:pipeline_group', //å¾å±ç»ï¼å¦ææ²¡æå°±ä¸è¦æ¤é¡¹ï¼ä¸è¦é
置空ï¼ï¼ï¼ |
| | | typeName: 'sewer:pipeline', //geoserveré
ç½®çå¾å±åç§° |
| | | filter: 'mediumtype = \'ååæ°´\'', //çåäºwmsçcql_filter |
| | | index: 5 //é
ç½®æ¾ç¤ºå¨å°å¾ä¸çå±çº§ï¼å¦ææ¯é¢åé
ç½®1>=ä¸<20,妿æ¯çº¿ç论ä¸å¯ä»¥é
ç½®>=20ï¼ç¸ålayerGroupçå¯ä»¥éå¤ï¼ä¸åçä¸è½éå¤ï¼ï¼ï¼ |
| | | |