| | |
| | | <template> |
| | | <div class="sewers-search" v-if="gdVisible"> |
| | | <div class="search-title"> |
| | | 污雨水 |
| | | </div> |
| | | <div class="panel-title">{{title}}</div> |
| | | <div class="search-panel "> |
| | | <el-form ref="form" :model="form" label-width="90px" class="search-form"> |
| | | <el-form-item label="设施类型:" size="mini" class="search-panel-item"> |
| | |
| | | <!-- <i slot="prefix" class="el-input__icon el-icon-search"></i>--> |
| | | <!-- <i slot="suffix" class="search-btn el-input__icon el-icon-search" @click="handleSearch"></i> --> |
| | | </el-input> |
| | | <el-buttom class="el-icon-search" @click="handleSearch"></el-buttom> |
| | | <el-button class="el-icon-search" @click="handleSearch"></el-button> |
| | | </div> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item>--> |
| | |
| | | <!-- </el-form-item>--> |
| | | </el-form> |
| | | </div> |
| | | <el-scrollbar style="height:100%"> |
| | | <div class="B-TMD-table-list" v-for="(item,index) in list" :key="index"> |
| | | <div class="B-TMD-table-list-title"> |
| | | <div class="B-TMD-table-list-head"> |
| | | <div class="B-TMD-table-list-title-y" |
| | | :class="['B-TMD-table-list-title-y-nam', { 'warning': item.vehicleStatus==='910003' }, { 'offline': item.vehicleStatus==='910001' }]"> |
| | | <!-- <span>运单号:</span>--> |
| | | <span id="waybillNumber" class="" |
| | | :title="item.properties.pipename"> |
| | | <span class="location-btn" @click="handleLocation(item)">{{ item.properties.pipename }}</span> |
| | | </span> |
| | | </div> |
| | | <!-- <div class="B-TMD-table-list-title-c">--> |
| | | <!-- {{ labelList[0] }}:--> |
| | | <!-- <span id="plateNumber_p">--> |
| | | <!-- <span id="plateNumber_n"><a href="#">{{ item.properties.item.p1 }}</a></span>--> |
| | | <!-- </span>--> |
| | | <!-- </div>--> |
| | | </div> |
| | | <!-- <div class="B-TMD-table-icons" style="float:right">--> |
| | | <!-- <ul>--> |
| | | <!-- <li class="B-TMD-table-list-title-y-adress"--> |
| | | <!-- @click="handleLocation(item)"></li>--> |
| | | <!-- <li :class="[{'B-TMD-table-list-title-y-car': item.vehicleStatus ==='910002', 'B-TMD-table-list-title-y-car-offline': item.vehicleStatus ==='910001','B-TMD-table-list-title-y-car-warning': item.vehicleStatus==='910003' }]"></li>--> |
| | | <!-- </ul>--> |
| | | <!-- </div>--> |
| | | </div> |
| | | <div class="B-TMD-table-list-content"> |
| | | |
| | | <div v-for="itm in labelList" :key="itm.label"> |
| | | <el-scrollbar style="height:380.44px;" > |
| | | <div class="environmental-risk-list" v-for="(item,index) in list" :key="index" > |
| | | <!-- <i class="state"></i> --> |
| | | <div @click="handleLocation(item)"> |
| | | <h3 class="B-TMD-table-list-title-y" :class="['B-TMD-table-list-title-y-nam', { 'warning': item.vehicleStatus==='910003' }, { 'offline': item.vehicleStatus==='910001' }]" >{{ item.properties.pipename }}</h3> |
| | | <p v-for="itm in labelList" :key="itm.label"> |
| | | <span>{{ itm.label }}:</span> |
| | | <span id="b_twe_loan" :title="item.properties[itm.key] ">{{ item.properties[itm.key] }}</span> |
| | | </div> |
| | | <!-- <div><span>收货企业:</span> <span--> |
| | | <!-- id="b_twe_loan1" :title="item.recvWarehouseName">{{ item.recvWarehouseName }}</span>--> |
| | | <!-- </div>--> |
| | | <span :title="item.properties[itm.key] ">{{ item.properties[itm.key] }}</span> |
| | | </p> |
| | | </div> |
| | | <!-- <div class="B-TMD-table-list-bottom">--> |
| | | <!-- <div class="B-TMD-table-list-bottom-name">--> |
| | | <!-- 货物名称:<span :title="item.materialName">{{ item.materialName }}</span></div>--> |
| | | <!-- </div>--> |
| | | </div> |
| | | </el-scrollbar> |
| | | <el-card class="footer-page" v-if="total > 10"> |
| | |
| | | wfsHelper.addLike(this.form.query.key, this.form.keyword) |
| | | // const _this = this |
| | | const res = await AjaxUtils.GetDataAsynByUrl(wfsHelper.getUrl(), {}) |
| | | if (res.data instanceof Object && Object.prototype.hasOwnProperty.call(res.data, 'features')) { |
| | | this.list = res.data.features |
| | | if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) { |
| | | this.list = res.features |
| | | } |
| | | }, |
| | | handleLocation (val) { |