|
@@ -1,9 +1,5 @@
|
|
|
<template>
|
|
|
<div class="layout">
|
|
|
- <div class="l-back" @click="$router.push({path:'/list'})">
|
|
|
- <img :src="`${$cdn}images/back-icon.png`" alt="">
|
|
|
- <p>返回</p>
|
|
|
- </div>
|
|
|
<div class="p-con">
|
|
|
<div class="p-detail">
|
|
|
<div class="p-title" ref="ptil">
|
|
@@ -60,7 +56,6 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
handleItem(item){
|
|
|
- console.log(item);
|
|
|
this.activeItem = item
|
|
|
},
|
|
|
sliceStr(str=''){
|
|
@@ -73,14 +68,14 @@ export default {
|
|
|
return arr
|
|
|
},
|
|
|
async getList(){
|
|
|
- let {block,typeId,zone} = this.$route.query
|
|
|
+ let {block,typeId,zone,searchKey=""} = this.$route.query
|
|
|
let res = await this.$http({
|
|
|
method:'post',
|
|
|
data:{
|
|
|
block,
|
|
|
pageNum: 1,
|
|
|
pageSize: 1000,
|
|
|
- searchKey: "",
|
|
|
+ searchKey,
|
|
|
typeId,
|
|
|
zone
|
|
|
},
|
|
@@ -102,14 +97,6 @@ export default {
|
|
|
top: 0;
|
|
|
width: calc(100% - 200px);
|
|
|
left: 0;
|
|
|
- .l-back{
|
|
|
- position: absolute;
|
|
|
- top: 20px;
|
|
|
- right: 40px;
|
|
|
- color: @theme;
|
|
|
- cursor: pointer;
|
|
|
- z-index: 999;
|
|
|
- }
|
|
|
.p-con{
|
|
|
position: absolute;
|
|
|
width: 100%;
|