Blame view

admin-web-master/src/views/detect/admap.vue 41 KB
3f535f30   杨鑫   '初始'
1
2
  <template>
    <div style="background-color:#f7f7f7;padding:10px 10px;">
4373acf5   wesley88   1
3
      <div class="zhuti" v-if="onaction == '1'">
3f535f30   杨鑫   '初始'
4
5
        <div style="height:58px;line-height:58px;">
          <div style="color:#0006"> <span>招商资源监测</span> <span style="padding:0 5px;">></span> <span
4373acf5   wesley88   1
6
              style="color:#000000e6">资源地图</span></div>
3f535f30   杨鑫   '初始'
7
        </div>
2727043f   wesley88   1
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
        <div>
          <div style="display: flex;margin-bottom: 20px;width: 100%;justify-content: space-between;">
            <div class="boxitem">
              <div class="leftrigth">
                <div class="tit">
                  租赁情况
                </div>
                <div class="num">
                  {{publishStatusinfo.source}}
                </div>
              </div>
              <dv class="leftrigth">
                <el-select size="mini" v-model="topinfo.publishStatus" clearable placeholder="请选择"
                  style="width: 185px;font-size: 8px;" @change="changepublishStatus">
                  <el-option label="待发布" value="0"></el-option>
                  <el-option label="待审核" value="1"></el-option>
                  <el-option label="已发布" value="2"></el-option>
                  <el-option label="不通过" value="3"></el-option>
                  <el-option label="已租赁" value="4"></el-option>
                </el-select>
                <div style="text-align: right;">
                  <!-- <el-button size="mini" style="background-color: #3F9B6A;color: #fff;font-size: 8px;padding: 0;text-align: center;height: 25px;line-height: 25px;min-width: 80px;">地图显示</el-button> -->
                </div>
              </dv>
            </div>
            <div class="boxitem">
              <div class="leftrigth">
                <div class="tit">
                  绿道段
                </div>
                <div class="num">
                  {{belongingGreenwaySectioninfo.source}}
                </div>
              </div>
              <dv class="leftrigth">
                <el-select size="mini" v-model="topinfo.belongingGreenwaySection" clearable placeholder="请选择"
                  style="width: 185px;font-size: 8px;" @change="changebelongingGreenwaySection">
                  <el-option :label="item.name" :value="item.code" v-for="(item,index) in lvdaoList"
                    :key="index"></el-option>
                </el-select>
                <div style="text-align: right;">
                  <!-- <el-button size="mini" style="background-color: #3F9B6A;color: #fff;font-size: 8px;padding: 0;text-align: center;height: 25px;line-height: 25px;min-width: 80px;">地图显示</el-button> -->
                </div>
              </dv>
            </div>
            <div class="boxitem">
              <div class="leftrigth">
                <div class="tit">
                  绿道公园
                </div>
                <div class="num">
                  {{belongingParkTrailinfo.source}}
                </div>
              </div>
              <dv class="leftrigth">
                <el-select size="mini" v-model="topinfo.belongingParkTrail" clearable placeholder="请选择"
                  style="width: 185px;font-size: 8px;" @change="changebelongingParkTrail">
                  <el-option :label="item.name" :value="item.code" v-for="(item,index) in gongyuanList"
                    :key="index"></el-option>
                </el-select>
                <div style="text-align: right;">
                  <!-- <el-button size="mini" style="background-color: #3F9B6A;color: #fff;font-size: 8px;padding: 0;text-align: center;height: 25px;line-height: 25px;min-width: 80px;">地图显示</el-button> -->
                </div>
              </dv>
            </div>
            <div class="boxitem">
              <div class="leftrigth">
                <div class="tit">
                  资源数量
                </div>
                <div class="num">
                  {{alllistnum}}
                </div>
              </div>
              <dv class="leftrigth">
                <el-select size="mini" v-model="topinfo.type" clearable placeholder="请选择"
                  style="width: 185px;font-size: 8px;" @change="changetype">
                  <el-option label="商铺" value="0"></el-option>
                  <el-option label="广告位" value="1"></el-option>
                  <el-option label="场地" value="2"></el-option>
                </el-select>
                <div style="text-align: right;">
                  <!-- <el-button size="mini" style="background-color: #3F9B6A;color: #fff;font-size: 8px;padding: 0;text-align: center;height: 25px;line-height: 25px;min-width: 80px;">地图显示</el-button> -->
                </div>
              </dv>
            </div>
          </div>
        </div>
a182f238   wesley88   1
96
97
98
99
100
        <div class="formSearch">
          <el-form :inline="true">
            <el-form-item label="资源名称" prop="name">
              <el-input v-model="name" placeholder="请输入" maxlength="50"></el-input>
            </el-form-item>
2727043f   wesley88   1
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
            <el-form-item label="状态" prop="allpublishStatus">
              <el-select v-model="allpublishStatus" clearable placeholder="请选择" style="width: 168px;margin-right: 15px">
                <el-option label="待发布" value="0"></el-option>
                <el-option label="待审核" value="1"></el-option>
                <el-option label="已发布" value="2"></el-option>
                <el-option label="不通过" value="3"></el-option>
                <el-option label="已租赁" value="4"></el-option>
              </el-select>
            </el-form-item>
  
            <el-form-item label="所属区域" prop="belongingRegion" v-if="ontype=='1'">
              <el-select v-model="pagequeryshop.belongingRegion" clearable placeholder="请选择"
                style="width: 168px;margin-right: 15px">
                <el-option v-for="(item,index) in regionOptions" :key="index" :label="item.label"
                  :value="item.value"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="商铺类型" prop="shopType" v-if="ontype=='1'">
              <el-select v-model="pagequeryshop.shopType" clearable placeholder="请选择"
                style="width: 168px;margin-right: 15px">
                <el-option v-for="(item,index) in typeShopList" :key="index" :label="item.label"
                  :value="item.value"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="所属区域" prop="district" v-if="ontype=='3'">
              <el-select v-model="pagequerycd.district" clearable placeholder="请选择"
                style="width: 168px;margin-right: 15px">
                <el-option v-for="(item,index) in regionOptions" :key="index" :label="item.label"
                  :value="item.value"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="场地类型" prop="venueType" v-if="ontype=='3'">
              <el-select v-model="pagequerycd.venueType" placeholder="请选择" style="width: 100%;">
                <el-option v-for="(item,index) in siteTypeList" :key="index" :label="item.label"
                  :value="item.value"></el-option>
              </el-select>
            </el-form-item>
a182f238   wesley88   1
138
139
          </el-form>
  
2727043f   wesley88   1
140
          <div style="width: 200px;">
a182f238   wesley88   1
141
142
143
144
145
146
147
            <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询
            </el-button>
            <el-button @click="resetting" class="buttonHover"
              style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">重置
            </el-button>
          </div>
        </div>
4373acf5   wesley88   1
148
        <!-- 线上 -->
3f535f30   杨鑫   '初始'
149
        <div>
4373acf5   wesley88   1
150
151
152
153
154
          <div style="margin-bottom: 20px;">
            <el-button @click="removeonaction('2')" style="background-color: #3F9B6A;color: #fff;padding:8px 15px;"
              icon="el-icon-circle-plus-outline">新增</el-button>
            <!-- <el-button @click="" style="background-color: #3F9B6A;color: #fff">批量导入</el-button> -->
          </div>
3f535f30   杨鑫   '初始'
155
156
          <!-- 地图 -->
          <div style="display: flex;justify-content: space-between;margin-bottom: 20px;">
ab818baa   杨鑫   '1'
157
            <div style="width: 100%;height: 400px; border: 1px solid #3F9B6A;position: relative;">
96898da2   wesley88   1
158
              <mapchakannew v-if="isshowmap" :ontype="ontype" ref="mapchakannewrefs"></mapchakannew>
ab818baa   杨鑫   '1'
159
            </div>
3f535f30   杨鑫   '初始'
160
          </div>
2727043f   wesley88   1
161
162
163
164
165
166
167
          <div style="display: flex;margin-bottom: 20px;width: 100%;flex-direction: row-reverse;font-size: 12px;">
            <div v-for="(item,index) in typelist" :key="index"
              style="display: flex;margin-left: 15px;align-items: center;">
              <div style="width: 10px;height: 10px;margin-right: 3px;" :style="'background:'+item.background"></div>
              <div :style="'color:'+item.background">{{ item.name }}</div>
            </div>
          </div>
4373acf5   wesley88   1
168
169
170
          <div style="margin: 20px 0;">
            <div style="display: flex;font-size: 14px">
              <div style="margin-right: 25px;cursor: pointer;" @click="chenge('1')" :class="ontype=='1'?'chengeXia':''">商铺
ab818baa   杨鑫   '1'
171
              </div>
4373acf5   wesley88   1
172
173
174
              <div style="margin-right: 25px;cursor: pointer;" @click="chenge('2')" :class="ontype=='2'?'chengeXia':''">
                广告位</div>
              <div style="margin-right: 25px;cursor: pointer;" @click="chenge('3')" :class="ontype=='3'?'chengeXia':''">场地
ab818baa   杨鑫   '1'
175
              </div>
4373acf5   wesley88   1
176
177
178
            </div>
          </div>
          <!-- 表格 -->
9b392fc6   wesley88   1
179
          <el-table v-if="ontype=='1'" :data="tableData"
4373acf5   wesley88   1
180
            :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
6d7925d7   wesley88   1
181
  
a182f238   wesley88   1
182
183
184
            <el-table-column label="商铺名称" prop="shopName" show-overflow-tooltip></el-table-column>
            <el-table-column label="商铺类型" prop="publishStatus" show-overflow-tooltip>
              <template slot-scope="scope">
2727043f   wesley88   1
185
186
                {{gettypeShopList(scope.row.shopType) || '无'}}
                <!-- {{scope.row.shopType=='1'?'移动铺位':scope.row.shopType=='2'?'固定铺位':'无'}} -->
a182f238   wesley88   1
187
              </template>
4373acf5   wesley88   1
188
189
190
            </el-table-column>
            <el-table-column label="所属区域" prop="belongingRegion" show-overflow-tooltip>
            </el-table-column>
9b392fc6   wesley88   1
191
            <el-table-column prop="detailedLocation" width="180" label="详细地址" show-overflow-tooltip>
4373acf5   wesley88   1
192
            </el-table-column>
9b392fc6   wesley88   1
193
            <el-table-column label="归属部门" prop="belongingDepartment" show-overflow-tooltip>
a182f238   wesley88   1
194
              <template slot-scope="scope">
9b392fc6   wesley88   1
195
                {{scope.row.belongingDepartment || '无'}}
a182f238   wesley88   1
196
              </template>
4373acf5   wesley88   1
197
198
            </el-table-column>
            <el-table-column label="负责人" prop="head" show-overflow-tooltip>
a182f238   wesley88   1
199
200
201
              <template slot-scope="scope">
                {{scope.row.head || '无'}}
              </template>
4373acf5   wesley88   1
202
            </el-table-column>
3b97e418   wesley88   1
203
            <el-table-column label="提交时间" prop="createDate"> </el-table-column>
4373acf5   wesley88   1
204
205
            <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip>
              <template slot-scope="scope">
2727043f   wesley88   1
206
                {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}}
4373acf5   wesley88   1
207
208
              </template>
            </el-table-column>
a182f238   wesley88   1
209
            <el-table-column label="操作" min-width="100" fixed="right">
4373acf5   wesley88   1
210
              <template slot-scope="scope">
4373acf5   wesley88   1
211
                <div @click="details(scope.row)" class="tableBtn greens">查看</div>
9b392fc6   wesley88   1
212
213
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="removeinfo(scope.row,'编辑')">编辑
3f535f30   杨鑫   '初始'
214
                </div>
9b392fc6   wesley88   1
215
216
217
218
219
220
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="closemsg(scope.row)">删除</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="opencl(scope.row,'sp')">发布</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='2'"
                  @click="removeinfozz(scope.row,'0','下架')">下架</div>
4373acf5   wesley88   1
221
222
223
              </template>
            </el-table-column>
          </el-table>
9b392fc6   wesley88   1
224
          <el-table v-if="ontype=='2'" :data="tableData"
4373acf5   wesley88   1
225
            :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
a182f238   wesley88   1
226
            <el-table-column label="序号" width="50">
4373acf5   wesley88   1
227
228
229
230
              <template slot-scope="scope">
                {{scope.$index +1}}
              </template>
            </el-table-column>
9b392fc6   wesley88   1
231
            <el-table-column label="广告位名称" prop="advertisingName" show-overflow-tooltip>
4373acf5   wesley88   1
232
            </el-table-column>
9b392fc6   wesley88   1
233
            <el-table-column label="广告位类型" prop="advertisingType" show-overflow-tooltip>
4373acf5   wesley88   1
234
            </el-table-column>
9b392fc6   wesley88   1
235
            <el-table-column label="创建人" prop="createUser"> </el-table-column>
3b97e418   wesley88   1
236
            <el-table-column label="提交时间" prop="createDate"> </el-table-column>
9b392fc6   wesley88   1
237
            <!-- <el-table-column prop="publishStatus" label="发布状态" >
4373acf5   wesley88   1
238
              <template slot-scope="scope">
2210df30   wesley88   1
239
                {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}}
4373acf5   wesley88   1
240
241
              </template>
            </el-table-column>
a182f238   wesley88   1
242
            <el-table-column prop="leaseExpirationDate" label="租赁到期时间" >
4373acf5   wesley88   1
243
            </el-table-column>
d64cd58f   wesley88   上传验收小程序
244
            <el-table-column label="操作" fixed="right">
4373acf5   wesley88   1
245
246
              <template slot-scope="scope">
                <div @click="details(scope.row)" class="tableBtn greens">查看</div>
4373acf5   wesley88   1
247
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="removeinfo(scope.row,'编辑')">编辑
ab818baa   杨鑫   '1'
248
                </div>
4373acf5   wesley88   1
249
250
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="closemsg(scope.row)">删除</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0'"
0c5d2ce8   wesley88   1
251
                @click="opencl(scope.row,'gg')">发布</div>
4373acf5   wesley88   1
252
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='1'"
0c5d2ce8   wesley88   1
253
                  @click="removeinfozz(scope.row,'2','下架')">下架</div>
4373acf5   wesley88   1
254
              </template>
9b392fc6   wesley88   1
255
256
257
            </el-table-column> -->
            <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip>
              <template slot-scope="scope">
2727043f   wesley88   1
258
                {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}}
9b392fc6   wesley88   1
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
              </template>
            </el-table-column>
            <el-table-column label="操作" min-width="100" fixed="right">
              <template slot-scope="scope">
                <div @click="details(scope.row)" class="tableBtn greens">查看</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="removeinfo(scope.row,'编辑')">编辑
                </div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="closemsg(scope.row)">删除</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="opencl(scope.row,'gg')">发布</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='2'"
                  @click="removeinfozz(scope.row,'0','下架')">下架</div>
              </template>
4373acf5   wesley88   1
274
275
            </el-table-column>
          </el-table>
9b392fc6   wesley88   1
276
          <el-table v-if="ontype=='3'" :data="tableData"
4373acf5   wesley88   1
277
            :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
a182f238   wesley88   1
278
            <el-table-column label="序号" width="50">
4373acf5   wesley88   1
279
280
281
282
              <template slot-scope="scope">
                {{scope.$index +1}}
              </template>
            </el-table-column>
a182f238   wesley88   1
283
            <el-table-column label="场地名称" prop="venueName" show-overflow-tooltip>
4373acf5   wesley88   1
284
            </el-table-column>
a182f238   wesley88   1
285
            <el-table-column label="场地类型" prop="venueType" show-overflow-tooltip>
4373acf5   wesley88   1
286
            </el-table-column>
2210df30   wesley88   1
287
            <el-table-column label="实际使用面积(元/m²)" prop="actualArea" show-overflow-tooltip>
2727043f   wesley88   1
288
289
290
              <template slot-scope="scope">
                {{scope.row.actualArea}}元/m²
              </template>
4373acf5   wesley88   1
291
            </el-table-column>
a182f238   wesley88   1
292
            <el-table-column label="所属区域" prop="district" show-overflow-tooltip>
4373acf5   wesley88   1
293
            </el-table-column>
1dbc0b2d   wesley88   1
294
295
            <!-- <el-table-column label="详细位置" prop="detailedLocation" show-overflow-tooltip>
            </el-table-column> -->
9b392fc6   wesley88   1
296
            <!-- <el-table-column prop="publishStatus" label="发布状态">
4373acf5   wesley88   1
297
              <template slot-scope="scope">
2210df30   wesley88   1
298
                {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}}
4373acf5   wesley88   1
299
300
              </template>
            </el-table-column>
a182f238   wesley88   1
301
            <el-table-column label="操作" fixed="right">
4373acf5   wesley88   1
302
303
              <template slot-scope="scope">
                <div @click="details(scope.row)" class="tableBtn greens">查看</div>
a182f238   wesley88   1
304
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="removeinfo(scope.row,'编辑')">编辑
ab818baa   杨鑫   '1'
305
                </div>
a182f238   wesley88   1
306
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="closemsg(scope.row)">删除</div>
9b392fc6   wesley88   1
307
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="opencl(scope.row,'cd')">发布</div>
4373acf5   wesley88   1
308
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='1'"
a182f238   wesley88   1
309
                  @click="removeinfozz(scope.row,'2','下架')">下架</div>
4373acf5   wesley88   1
310
              </template>
9b392fc6   wesley88   1
311
312
313
            </el-table-column> -->
            <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip>
              <template slot-scope="scope">
2727043f   wesley88   1
314
                {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}}
9b392fc6   wesley88   1
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
              </template>
            </el-table-column>
            <el-table-column label="操作" min-width="100" fixed="right">
              <template slot-scope="scope">
                <div @click="details(scope.row)" class="tableBtn greens">查看</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="removeinfo(scope.row,'编辑')">编辑
                </div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="closemsg(scope.row)">删除</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
                  @click="opencl(scope.row,'cd')">发布</div>
                <div class="tableBtn greens" v-if="scope.row.publishStatus=='2'"
                  @click="removeinfozz(scope.row,'0','下架')">下架</div>
              </template>
4373acf5   wesley88   1
330
331
332
333
334
335
336
337
            </el-table-column>
          </el-table>
          <div style="display: flex;justify-content: space-between;" class="bom">
            <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{total}}</span> 项数据</div>
            <el-pagination :current-page="pagequery.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="10"
              background small layout="prev, pager, next" :total="total" @size-change="handleSizeChange"
              @current-change="handleCurrentChange">
            </el-pagination>
ab818baa   杨鑫   '1'
338
          </div>
ab818baa   杨鑫   '1'
339
  
ab818baa   杨鑫   '1'
340
        </div>
8550d958   杨鑫   '最新'
341
  
4373acf5   wesley88   1
342
      </div>
8550d958   杨鑫   '最新'
343
  
8550d958   杨鑫   '最新'
344
  
8550d958   杨鑫   '最新'
345
346
  
  
8550d958   杨鑫   '最新'
347
348
  
  
4373acf5   wesley88   1
349
350
      <div class="zhuti" v-if="onaction == '2'">
        <div style="height:58px;line-height:58px;">
9b392fc6   wesley88   1
351
352
          <div style="color:#0006">
            <span>{{ontype == '1'?'商铺基本信息':ontype == '2'?'广告位基本信息管理':ontype == '3'?'场地基本信息管理':'-'  }}</span> <span
2727043f   wesley88   1
353
354
              style="padding:0 5px;">></span> <span style="color:#000000e6">新增</span>
          </div>
4373acf5   wesley88   1
355
        </div>
a182f238   wesley88   1
356
        <div style="margin: 0 0;">
4373acf5   wesley88   1
357
358
          <div style="display: flex;font-size: 14px">
            <div style="margin-right: 25px;cursor: pointer;" @click="chenge('1')" :class="ontype=='1'?'chengeXia':''">商铺
8550d958   杨鑫   '最新'
359
            </div>
4373acf5   wesley88   1
360
361
362
            <div style="margin-right: 25px;cursor: pointer;" @click="chenge('2')" :class="ontype=='2'?'chengeXia':''">
              广告位</div>
            <div style="margin-right: 25px;cursor: pointer;" @click="chenge('3')" :class="ontype=='3'?'chengeXia':''">场地
ab818baa   杨鑫   '1'
363
            </div>
4373acf5   wesley88   1
364
365
366
367
368
369
          </div>
        </div>
        <div v-if="ontype == '1'" style="padding: 20px 20px 20px 0;">
          <add @removeonaction="removeonaction"></add>
        </div>
        <div v-if="ontype == '2'" style="padding: 20px 20px 20px 0;">
a182f238   wesley88   1
370
          <addmap @removeonaction="removeonaction" type="all" :leixing="leixing"></addmap>
4373acf5   wesley88   1
371
372
373
374
        </div>
        <div v-if="ontype == '3'" style="padding: 20px 20px 20px 0;">
          <addcd @removeonaction="removeonaction"></addcd>
        </div>
ab818baa   杨鑫   '1'
375
      </div>
4373acf5   wesley88   1
376
377
      <div class="zhuti" v-if="onaction == '3'">
        <div style="height:58px;line-height:58px;">
9b392fc6   wesley88   1
378
379
          <div style="color:#0006">
            <span>{{ontype == '1'?'商铺基本信息':ontype == '2'?'广告位基本信息管理':ontype == '3'?'场地基本信息管理':'-'  }}</span> <span
2727043f   wesley88   1
380
381
              style="padding:0 5px;">></span> <span style="color:#000000e6">查看</span>
          </div>
4373acf5   wesley88   1
382
383
384
385
386
387
388
389
390
391
392
393
394
        </div>
        <div v-if="ontype == '1'">
          <resourceCommodity :editbgid="detailsinfo" @removeonaction="removeonaction"></resourceCommodity>
        </div>
        <div v-if="ontype == '2'">
          <chakanmap :editbgid="detailsinfo" @removeonaction="removeonaction" :leixing="leixing"></chakanmap>
        </div>
        <div v-if="ontype == '3'">
          <chakancd :editbgid="detailsinfo" @removeonaction="removeonaction"></chakancd>
        </div>
      </div>
      <div class="zhuti" v-if="onaction == '4'">
        <div style="height:58px;line-height:58px;">
9b392fc6   wesley88   1
395
396
          <div style="color:#0006">
            <span>{{ontype == '1'?'商铺基本信息':ontype == '2'?'广告位基本信息管理':ontype == '3'?'场地基本信息管理':'-'  }}</span> <span
2727043f   wesley88   1
397
398
              style="padding:0 5px;">></span> <span style="color:#000000e6">{{contractChangeReason}}</span>
          </div>
4373acf5   wesley88   1
399
400
401
402
403
404
405
406
407
408
409
        </div>
        <div v-if="ontype == '1'" style="padding: 20px 20px 20px 0;">
          <add :info="detailsinfo" @removeonaction="removeonaction"></add>
        </div>
        <div v-if="ontype == '2'" style="padding: 20px 20px 20px 0;">
          <addmap :info="detailsinfo" @removeonaction="removeonaction" :leixing="leixing"></addmap>
        </div>
        <div v-if="ontype == '3'" style="padding: 20px 20px 20px 0;">
          <addcd :info="detailsinfo" @removeonaction="removeonaction"></addcd>
        </div>
      </div>
9b392fc6   wesley88   1
410
411
      <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false"
        :close-on-press-escape="false" :show-close="false">
2727043f   wesley88   1
412
413
        <cl :type="ontype == '1'?'商铺':ontype == '2'?'广告位':ontype == '3'?'场地':'-'" :resourcesId="oncetype+oninfo.id"
          v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl>
4373acf5   wesley88   1
414
      </el-dialog>
3f535f30   杨鑫   '初始'
415
    </div>
4373acf5   wesley88   1
416
417
  
  
3f535f30   杨鑫   '初始'
418
419
420
421
  </template>
  
  <script>
    import {
9b392fc6   wesley88   1
422
423
      cereResourceStrategy,
      editStatus,
2727043f   wesley88   1
424
425
426
427
428
429
430
431
432
433
434
      cereBusinessOperationadd,
  
      rentalSituationStatistics,
      areaShopStatistics,
      areaParkStatistics
    } from '@/api/newly.js'
    import {
      gongyuan,
      lvdaoduan,
      parkTrails
    } from '@/api/information.js';
4373acf5   wesley88   1
435
436
437
438
439
    import {
      ceGetAll
    } from '../../api/sam.js'
    import * as information from '../../api/information';
    import * as map1 from '../../api/map1';
3f535f30   杨鑫   '初始'
440
    import {
4373acf5   wesley88   1
441
      likeGet,
3f535f30   杨鑫   '初始'
442
    } from '../../api/map1'
4373acf5   wesley88   1
443
444
445
446
447
448
    import {
      getAlls,
      changAlls
    } from '../../api/information';
    import add from '../../components/add/addinformation'
    import resourceCommodity from '../../components/resourceCommodity/index'
3f535f30   杨鑫   '初始'
449
    import MapContainer from "@/components/MapContainer/MapContainer"
4373acf5   wesley88   1
450
451
452
453
    import addmap from '../../components/add/addmap'
    import addcd from '../../components/add/addcd'
    import chakanmap from '../../components/chakan/map'
    import chakancd from '../../components/chakan/cd'
9b392fc6   wesley88   1
454
455
    import cl from '@/components/change/cl.vue'
    import mapchakannew from '@/components/newmap/map'
3f535f30   杨鑫   '初始'
456
    export default {
3f535f30   杨鑫   '初始'
457
458
      data() {
        return {
96898da2   wesley88   1
459
          isshowmap:true,
2727043f   wesley88   1
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
          alllistnum: 0,
          typelist: [{
              name: '已租赁',
              background: '#2AB867',
            },
            {
              name: '已发布',
              background: '#4A77C9',
            },
            {
              name: '不通过',
              background: '#E75A46',
            },
            {
              name: '待审核',
              background: '#ECAF5C',
            },
            {
              name: '待发布',
              background: '#707B86',
            },
          ],
          pagequerycd: {
            district: '',
            venueType: ''
          },
          pagequeryshop: {
            belongingRegion: '',
            belongingDepartment: '',
            shopType: ''
          },
          allpublishStatus: '',
          lvdaoList: [],
          gongyuanList: [],
          topinfo: {
            publishStatus: '',
            belongingGreenwaySection: '',
            belongingParkTrail: '',
            type: ''
          },
          publishStatusinfo: {
            source: 0
          },
          belongingGreenwaySectioninfo: {
            source: 0
          },
          belongingParkTrailinfo: {
            source: 0
          },
          oncetype: '',
9b392fc6   wesley88   1
510
          name: '',
4373acf5   wesley88   1
511
512
513
514
515
516
517
518
519
520
521
522
          oninfo: {},
          celueData: [],
          clData: [],
          multipleSelection: [],
          addcl: false,
          leixing: true,
          //传地图数据
          parentMessage: [],
          ontype: '1',
          contractChangeReason: '',
          detailsinfo: {},
          pagequery: {
4373acf5   wesley88   1
523
            pageNumber: 0,
3f535f30   杨鑫   '初始'
524
            pageSize: 10,
3f535f30   杨鑫   '初始'
525
          },
3f535f30   杨鑫   '初始'
526
          tableData: [],
4373acf5   wesley88   1
527
528
529
          total: 0,
          onaction: '1',
          formInline: {},
3f535f30   杨鑫   '初始'
530
531
532
533
          pageindex: {
            pageNumber: 1,
            pageSize: 10,
          },
3f535f30   杨鑫   '初始'
534
        }
3f535f30   杨鑫   '初始'
535
      },
2727043f   wesley88   1
536
537
538
539
540
541
542
543
544
545
546
      computed: {
        regionOptions() {
          return this.$store.state.cent.regionList;
        },
        typeShopList() {
          return this.$store.state.cent.typeShopList;
        },
        siteTypeList() {
          return this.$store.state.cent.siteTypeList;
        }
      },
ab818baa   杨鑫   '1'
547
      components: {
a182f238   wesley88   1
548
        mapchakannew,
9d8bcb26   wesley88   2
549
        cl,
4373acf5   wesley88   1
550
551
552
553
        chakancd,
        addcd,
        addmap,
        chakanmap,
ab818baa   杨鑫   '1'
554
        MapContainer,
4373acf5   wesley88   1
555
556
        add,
        resourceCommodity,
ab818baa   杨鑫   '1'
557
      },
2727043f   wesley88   1
558
559
560
561
562
563
      async created() {
        const lvdao = await lvdaoduan()
        const gongyua = await parkTrails()
        this.lvdaoList = lvdao.data.concat(gongyua.data)
        const budao = await gongyuan()
        this.gongyuanList = budao.data.concat(gongyua.data)
4373acf5   wesley88   1
564
        this.getAll()
f43899da   wesley88   1
565
566
567
568
        // this.changepublishStatus() 
        // this.changebelongingGreenwaySection()
        // this.changebelongingParkTrail()
        // this.changetype()
3f535f30   杨鑫   '初始'
569
      },
3f535f30   杨鑫   '初始'
570
      methods: {
2727043f   wesley88   1
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
        gettypeShopList(code) {
          if (!code) {
            return '无';
          }
          for (let i = 0; i < this.typeShopList.length; i++) {
            const item = this.typeShopList[i];
            item.value = item.value + ''
            if (item.value === code) {
              return item.label;
            }
          }
          return '无';
        },
        changepublishStatus() {
          rentalSituationStatistics({
            rentalStatus: this.topinfo.publishStatus
          }).then(res => {
            console.error(res)
            this.publishStatusinfo = res.data
          })
        },
        changebelongingGreenwaySection() {
          areaShopStatistics({
            belongingGreenwaySection: this.topinfo.belongingGreenwaySection
          }).then(res => {
            console.error(res)
            this.belongingGreenwaySectioninfo = res.data
          })
        },
         async changetype() {
          let nums = 0
          if (this.topinfo.type == '') {
            const res = await getAlls({
              pageNumber: 0,
              pageSize: 1,
            })
            nums = nums + res.data.totalElements
            const res1 = await likeGet({
              pageNumber: 0,
              pageSize: 1,
            })
            nums = nums + res1.data.totalElements
            const res2 = await changAlls({
              pageNumber: 0,
              pageSize: 1,
            })
            nums = nums + res2.data.totalElements
          } else if (this.topinfo.type == '0') {
            const res = await getAlls({
              pageNumber: 0,
              pageSize: 1,
            })
            nums = nums + res.data.totalElements
          } else if (this.topinfo.type == '1') {
            const res = await likeGet({
              pageNumber: 0,
              pageSize: 1,
            })
            nums = nums + res.data.totalElements
          } else if (this.topinfo.type == '2') {
            const res = await changAlls({
              pageNumber: 0,
              pageSize: 1,
            })
            nums = nums + res.data.totalElements
          }
          this.alllistnum = nums
        },
        changebelongingParkTrail() {
          areaParkStatistics({
            belongingParkTrail: this.topinfo.belongingParkTrail
          }).then(res => {
            console.error(res)
            this.belongingParkTrailinfo = res.data
          })
        },
9d8bcb26   wesley88   2
647
648
        minSev(e) {
          this.multipleSelection = e
4373acf5   wesley88   1
649
650
651
652
653
654
655
          console.error(this.multipleSelection)
          let ids = []
          for (let index = 0; index < this.multipleSelection.length; index++) {
            ids.push(this.multipleSelection[index].id)
          }
          console.error(this.oninfo)
          let c1 = {
9b392fc6   wesley88   1
656
            resourcesId: this.oncetype + this.oninfo.id,
4373acf5   wesley88   1
657
            rentalPoliciesIds: ids,
ab818baa   杨鑫   '1'
658
          }
2727043f   wesley88   1
659
660
661
662
663
664
665
          if (c1.rentalPoliciesIds.length == 0) {
            this.$message({
              message: '请选择策略进行绑定',
              type: 'warning'
            })
            return
          }
4373acf5   wesley88   1
666
667
668
669
670
671
672
673
          console.error(c1)
          cereResourceStrategy(c1).then(res => {
            if (res.code == 200) {
              this.addcl = false
              this.$message({
                message: '绑定成功',
                type: 'success'
              })
0c5d2ce8   wesley88   1
674
              editStatus({
9b392fc6   wesley88   1
675
676
                resourcesId: this.oncetype + this.oninfo.id,
                publishStatus: '1'
0c5d2ce8   wesley88   1
677
678
679
              }).then(res => {
                this.onSubmit()
              })
9b392fc6   wesley88   1
680
681
682
683
684
685
686
687
              cereBusinessOperationadd({
                type: '发布',
                resourceId: this.oncetype + this.oninfo.id,
                operator: localStorage.getItem('roleName'),
                operationTime: this.gettime()
              }).then(res => {
                console.error(res)
              })
4373acf5   wesley88   1
688
689
690
691
692
693
694
695
696
697
698
699
            } else {
              this.$message({
                message: '绑定失败',
                type: 'error'
              })
            }
          })
        },
        mingClose() {
          this.multipleSelection = []
          this.addcl = false
        },
9b392fc6   wesley88   1
700
        async opencl(row, e) {
4373acf5   wesley88   1
701
702
          this.oncetype = e
          this.oninfo = row
9d8bcb26   wesley88   2
703
          this.multipleSelection = []
4373acf5   wesley88   1
704
          this.addcl = true
3f535f30   杨鑫   '初始'
705
        },
4373acf5   wesley88   1
706
        chenge(e) {
73ad29f2   wesley88   1
707
708
709
710
711
712
713
714
          this.ontype = null
          // 延迟一秒执行
          setTimeout(() => {
            this.ontype = e
            this.pagequery.pageNumber = 0
            this.getAll()
            this.$forceUpdate();
          }, 10)
2727043f   wesley88   1
715
  
4373acf5   wesley88   1
716
717
718
719
        },
        gettime() {
          // 获取当前时间
          let currentTime = new Date();
3f535f30   杨鑫   '初始'
720
  
4373acf5   wesley88   1
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
          // 获取年份
          let year = currentTime.getFullYear();
  
          // 获取月份(注意月份是从0开始计数的,所以需要加1)
          let month = currentTime.getMonth() + 1;
  
          // 获取日期
          let day = currentTime.getDate();
  
          // 获取小时
          let hours = currentTime.getHours();
  
          // 获取分钟
          let minutes = currentTime.getMinutes();
  
          // 获取秒数
          let seconds = currentTime.getSeconds();
  
          // 获取毫秒数
          let milliseconds = currentTime.getMilliseconds();
  
          // 格式化时间为 YYYY-MM-DD
          let formattedDate = `${year}-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`;
  
          // 格式化时间为 HH:MM:SS
          let formattedTime =
            `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
  
          // 格式化时间为 YYYY-MM-DD HH:MM:SS
          let formattedDateTime = `${formattedDate} ${formattedTime}`;
          return formattedDateTime
3f535f30   杨鑫   '初始'
752
  
ab818baa   杨鑫   '1'
753
        },
4373acf5   wesley88   1
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
        removeinfozz(row, e, tit) {
          let that = this
          this.$confirm('确定要' + tit + '吗?', '提示', {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
            type: 'warning'
          }).then(() => {
            if (this.ontype == '1') {
              information.editList({
                ...row,
                publishStatus: e
              }).then(res => {
                console.error(res)
                if (res.code == 200) {
                  this.$message({
                    message: tit + '成功',
                    type: 'success'
                  })
                  this.removeonaction('1')
9b392fc6   wesley88   1
773
774
775
776
777
778
779
780
                  cereBusinessOperationadd({
                    type: tit,
                    resourceId: 'sp' + row.id,
                    operator: localStorage.getItem('roleName'),
                    operationTime: that.gettime()
                  }).then(res => {
                    console.error(res)
                  })
4373acf5   wesley88   1
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
                } else {
                  this.$message({
                    message: res.msg,
                    type: 'error'
                  })
                }
              })
            } else if (this.ontype == '2') {
              map1.editList({
                ...row,
                publishStatus: e
              }).then(res => {
                console.error(res)
                if (res.code == 200) {
                  this.$message({
                    message: tit + '成功',
                    type: 'success'
                  })
                  this.removeonaction('1')
9b392fc6   wesley88   1
800
801
802
803
804
805
806
807
                  cereBusinessOperationadd({
                    type: tit,
                    resourceId: 'gg' + row.id,
                    operator: localStorage.getItem('roleName'),
                    operationTime: that.gettime()
                  }).then(res => {
                    console.error(res)
                  })
4373acf5   wesley88   1
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
                } else {
                  this.$message({
                    message: res.msg,
                    type: 'error'
                  })
                }
              })
            } else if (this.ontype == '3') {
              information.changedit({
                ...row,
                publishStatus: e
              }).then(res => {
                console.error(res)
                if (res.code == 200) {
                  this.$message({
                    message: tit + '成功',
                    type: 'success'
                  })
                  this.removeonaction('1')
9b392fc6   wesley88   1
827
828
829
830
831
832
833
834
                  cereBusinessOperationadd({
                    type: tit,
                    resourceId: 'cd' + row.id,
                    operator: localStorage.getItem('roleName'),
                    operationTime: that.gettime()
                  }).then(res => {
                    console.error(res)
                  })
4373acf5   wesley88   1
835
836
837
838
839
840
841
                } else {
                  this.$message({
                    message: res.msg,
                    type: 'error'
                  })
                }
              })
ab818baa   杨鑫   '1'
842
            }
4373acf5   wesley88   1
843
844
  
          })
ab818baa   杨鑫   '1'
845
        },
4373acf5   wesley88   1
846
847
848
849
850
851
852
853
854
855
        details(row) {
          this.detailsinfo = row
          this.onaction = '3'
        },
        removeinfo(row, e) {
          this.contractChangeReason = e
          this.detailsinfo = row
          this.onaction = '4'
        },
        async getAll() {
96898da2   wesley88   1
856
          let that = this
4373acf5   wesley88   1
857
          if (this.ontype == '1') {
9b392fc6   wesley88   1
858
859
            const res = await getAlls({
              ...this.pagequery,
2727043f   wesley88   1
860
861
862
              shopName: this.name,
              publishStatus: this.allpublishStatus,
              ...this.pagequeryshop
9b392fc6   wesley88   1
863
            })
ab818baa   杨鑫   '1'
864
            this.tableData = res.data.content
4373acf5   wesley88   1
865
866
            this.total = res.data.totalElements
          } else if (this.ontype == '2') {
9b392fc6   wesley88   1
867
868
            const res = await likeGet({
              ...this.pagequery,
2727043f   wesley88   1
869
870
              advertisingName: this.name,
              publishStatus: this.allpublishStatus
9b392fc6   wesley88   1
871
            })
ab818baa   杨鑫   '1'
872
            this.tableData = res.data.content
4373acf5   wesley88   1
873
874
            this.total = res.data.totalElements
          } else if (this.ontype == '3') {
9b392fc6   wesley88   1
875
876
            const res = await changAlls({
              ...this.pagequery,
2727043f   wesley88   1
877
878
879
              venueName: this.name,
              publishStatus: this.allpublishStatus,
              ...this.pagequerycd
9b392fc6   wesley88   1
880
            })
ab818baa   杨鑫   '1'
881
            this.tableData = res.data.content
4373acf5   wesley88   1
882
            this.total = res.data.totalElements
ab818baa   杨鑫   '1'
883
          }
a182f238   wesley88   1
884
885
          // console.error(']]]]]]]]]')
          // console.error(this.tableData)
96898da2   wesley88   1
886
887
888
889
890
891
892
893
894
895
896
          this.isshowmap = false
          
          // 刷新渲染层
          this.$nextTick(() => {
            this.isshowmap = true
            // 延迟渲染
            setTimeout(() => {
              that.$refs.mapchakannewrefs.initMap(that.tableData)
            }, 100)
           
          })
3f535f30   杨鑫   '初始'
897
  
4373acf5   wesley88   1
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
        },
        removeonaction(e) {
          console.error(e)
          this.onaction = e
          this.pagequery.pageNumber = 0
          this.getAll()
        },
        handleCurrentChange(val) {
          this.pagequery.pageNumber = val - 1
          this.getAll()
        },
        handleSizeChange(val) {
          this.pagequery.pageSize = val
        },
        // 查询按钮
        async onSubmit() {
          this.pagequery.pageNumber = 0
          this.getAll()
        },
        //重置按钮
        resetting() {
          this.pagequery = {
              pageNumber: 0,
              pageSize: 10,
4373acf5   wesley88   1
922
            },
a182f238   wesley88   1
923
            this.name = ''
2727043f   wesley88   1
924
925
926
927
928
929
930
931
932
933
          this.allpublishStatus = ''
          this.pagequeryshop = {
            belongingRegion: '',
            belongingDepartment: '',
            shopType: ''
          }
          this.pagequerycd = {
            district: '',
            venueType: ''
          }
9b392fc6   wesley88   1
934
          this.getAll()
4373acf5   wesley88   1
935
        },
ab818baa   杨鑫   '1'
936
        //删除
4373acf5   wesley88   1
937
        closemsg(item) {
ab818baa   杨鑫   '1'
938
939
940
941
942
943
944
945
946
947
948
949
950
          const h = this.$createElement;
          this.$msgbox({
            title: '消息',
            message: h('p', null, [
              h('span', null, '是否删除 '),
            ]),
            showCancelButton: true,
            showClose: false,
            confirmButtonText: '确定',
            cancelButtonText: '取消',
            customClass: 'oe-dialog-btn',
            beforeClose: (action, instance, done) => {
              if (action === 'confirm') {
4373acf5   wesley88   1
951
952
                if (this.ontype == '1') {
                  information.delList({
ab818baa   杨鑫   '1'
953
954
                    id: item.id
                  }).then(res => {
4373acf5   wesley88   1
955
956
957
                    this.$message({
                      message: '删除成功',
                      type: 'success'
3f535f30   杨鑫   '初始'
958
                    })
4373acf5   wesley88   1
959
960
                    this.getAll()
                    done();
ab818baa   杨鑫   '1'
961
                  })
4373acf5   wesley88   1
962
963
                } else if (this.ontype == '2') {
                  map1.delList({
ab818baa   杨鑫   '1'
964
965
                    id: item.id
                  }).then(res => {
4373acf5   wesley88   1
966
967
968
                    this.$message({
                      message: '删除成功',
                      type: 'success'
3f535f30   杨鑫   '初始'
969
                    })
4373acf5   wesley88   1
970
971
                    this.getAll()
                    done();
ab818baa   杨鑫   '1'
972
                  })
4373acf5   wesley88   1
973
974
                } else if (this.ontype == '3') {
                  information.changDel({
ab818baa   杨鑫   '1'
975
976
                    id: item.id
                  }).then(res => {
4373acf5   wesley88   1
977
978
979
                    this.$message({
                      message: '删除成功',
                      type: 'success'
3f535f30   杨鑫   '初始'
980
                    })
4373acf5   wesley88   1
981
982
                    this.getAll()
                    done();
ab818baa   杨鑫   '1'
983
                  })
ab818baa   杨鑫   '1'
984
                }
ab818baa   杨鑫   '1'
985
986
987
988
989
              } else {
                done();
              }
            }
          })
3f535f30   杨鑫   '初始'
990
991
        },
        //地图详细
ab818baa   杨鑫   '1'
992
993
994
995
        HandMapItem(item) {
          console.log(item)
  
  
4373acf5   wesley88   1
996
997
998
          // if (this.activeName == 'first') {
          //   this.editbgid = item
          //   this.restype = '商铺'
ab818baa   杨鑫   '1'
999
  
4373acf5   wesley88   1
1000
1001
1002
1003
          //   this.showBian = true
          //   if (typeof this.editbgid.mapPunctuation == 'string') {
          //     this.parentMessage = JSON.parse(this.editbgid.mapPunctuation)
          //   }
ab818baa   杨鑫   '1'
1004
  
4373acf5   wesley88   1
1005
1006
1007
          // } else if (this.activeName == 'second') {
          //   this.editbgid = item
          //   this.restype = '广告位'
ab818baa   杨鑫   '1'
1008
  
4373acf5   wesley88   1
1009
1010
1011
1012
1013
1014
          //   this.showBian = true
          //   if (item.advertisingType == '线上广告位') {
          //     this.leixing = true
          //   } else {
          //     this.leixing = false
          //   }
ab818baa   杨鑫   '1'
1015
  
4373acf5   wesley88   1
1016
1017
1018
1019
1020
1021
          //   if (typeof this.editbgid.mapMarker == 'string') {
          //     this.parentMessage = JSON.parse(this.editbgid.mapMarker)
          //   }
          // } else if (this.activeName == 'third') {
          //   this.editbgid = item
          //   this.restype = '场地'
ab818baa   杨鑫   '1'
1022
  
4373acf5   wesley88   1
1023
1024
1025
1026
1027
          //   this.showBian = true
          //   if (typeof this.editbgid.mapMarker == 'string') {
          //     this.parentMessage = JSON.parse(this.editbgid.mapMarker)
          //   }
          // } else if (this.activeName == 'fourth') {
ab818baa   杨鑫   '1'
1028
  
4373acf5   wesley88   1
1029
          // }
ab818baa   杨鑫   '1'
1030
1031
1032
  
  
        },
3f535f30   杨鑫   '初始'
1033
      }
4373acf5   wesley88   1
1034
  
3f535f30   杨鑫   '初始'
1035
1036
    }
  </script>
d64cd58f   wesley88   上传验收小程序
1037
  <style lang="scss" scoped>
2727043f   wesley88   1
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
    .boxitem {
      // width: 280px;
      width: 23%;
      padding: 10px;
      box-sizing: border-box;
      height: 110px;
      display: flex;
      justify-content: space-between;
      border: 1px solid #eee;
      font-size: 13px;
      margin-right: 20px;
  
      .leftrigth {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
      }
  
      .num {
        font-size: 26px;
        color: #3F9B6A;
      }
  
      .tit {
        font-size: 13px;
        color: #000;
        line-height: 28px;
      }
    }
  
a182f238   wesley88   1
1069
1070
1071
1072
1073
1074
    .formSearch {
      display: flex;
      width: 100%;
      font-size: 14px;
      justify-content: space-between;
    }
9b392fc6   wesley88   1
1075
  
3f535f30   杨鑫   '初始'
1076
1077
1078
1079
1080
1081
1082
    .zhuti {
      padding: 0 20px 20px 20px;
      min-height: calc(100vh - 50px - 20px);
      background-color: #Fff;
  
    }
  
4373acf5   wesley88   1
1083
1084
1085
1086
    .chengeXia {
      border-bottom: 6px solid #3F9B6A;
      padding-bottom: 4px;
      color: #3F9B6A;
3f535f30   杨鑫   '初始'
1087
    }
9b392fc6   wesley88   1
1088
  
3f535f30   杨鑫   '初始'
1089
1090
1091
    .tableBtn {
      display: inline-block;
      margin-right: 10px;
d64cd58f   wesley88   上传验收小程序
1092
      cursor: pointer;
ab818baa   杨鑫   '1'
1093
    }
9b392fc6   wesley88   1
1094
  
a182f238   wesley88   1
1095
1096
1097
    ::v-deep .el-dialog__body {
      padding: 0 0 !important;
    }
9b392fc6   wesley88   1
1098
1099
  
    .el-dialog__header {
a182f238   wesley88   1
1100
1101
1102
      padding: 0;
      display: none;
    }
3f535f30   杨鑫   '初始'
1103
  </style>