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'}">
|
a182f238
wesley88
1
|
181
|
<el-table-column label="序号" width="50">
|
4373acf5
wesley88
1
|
182
183
184
185
|
<template slot-scope="scope">
{{scope.$index +1 }}
</template>
</el-table-column>
|
a182f238
wesley88
1
|
186
187
188
|
<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
|
189
190
|
{{gettypeShopList(scope.row.shopType) || '无'}}
<!-- {{scope.row.shopType=='1'?'移动铺位':scope.row.shopType=='2'?'固定铺位':'无'}} -->
|
a182f238
wesley88
1
|
191
|
</template>
|
4373acf5
wesley88
1
|
192
193
194
|
</el-table-column>
<el-table-column label="所属区域" prop="belongingRegion" show-overflow-tooltip>
</el-table-column>
|
9b392fc6
wesley88
1
|
195
|
<el-table-column prop="detailedLocation" width="180" label="详细地址" show-overflow-tooltip>
|
4373acf5
wesley88
1
|
196
|
</el-table-column>
|
9b392fc6
wesley88
1
|
197
|
<el-table-column label="归属部门" prop="belongingDepartment" show-overflow-tooltip>
|
a182f238
wesley88
1
|
198
|
<template slot-scope="scope">
|
9b392fc6
wesley88
1
|
199
|
{{scope.row.belongingDepartment || '无'}}
|
a182f238
wesley88
1
|
200
|
</template>
|
4373acf5
wesley88
1
|
201
202
|
</el-table-column>
<el-table-column label="负责人" prop="head" show-overflow-tooltip>
|
a182f238
wesley88
1
|
203
204
205
|
<template slot-scope="scope">
{{scope.row.head || '无'}}
</template>
|
4373acf5
wesley88
1
|
206
|
</el-table-column>
|
3b97e418
wesley88
1
|
207
|
<el-table-column label="提交时间" prop="createDate"> </el-table-column>
|
4373acf5
wesley88
1
|
208
209
|
<el-table-column label="状态" prop="publishStatus" show-overflow-tooltip>
<template slot-scope="scope">
|
2727043f
wesley88
1
|
210
|
{{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}}
|
4373acf5
wesley88
1
|
211
212
|
</template>
</el-table-column>
|
a182f238
wesley88
1
|
213
|
<el-table-column label="操作" min-width="100" fixed="right">
|
4373acf5
wesley88
1
|
214
|
<template slot-scope="scope">
|
4373acf5
wesley88
1
|
215
|
<div @click="details(scope.row)" class="tableBtn greens">查看</div>
|
9b392fc6
wesley88
1
|
216
217
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='0' || scope.row.publishStatus=='3'"
@click="removeinfo(scope.row,'编辑')">编辑
|
3f535f30
杨鑫
'初始'
|
218
|
</div>
|
9b392fc6
wesley88
1
|
219
220
221
222
223
224
|
<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
|
225
226
227
|
</template>
</el-table-column>
</el-table>
|
9b392fc6
wesley88
1
|
228
|
<el-table v-if="ontype=='2'" :data="tableData"
|
4373acf5
wesley88
1
|
229
|
:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
|
a182f238
wesley88
1
|
230
|
<el-table-column label="序号" width="50">
|
4373acf5
wesley88
1
|
231
232
233
234
|
<template slot-scope="scope">
{{scope.$index +1}}
</template>
</el-table-column>
|
9b392fc6
wesley88
1
|
235
|
<el-table-column label="广告位名称" prop="advertisingName" show-overflow-tooltip>
|
4373acf5
wesley88
1
|
236
|
</el-table-column>
|
9b392fc6
wesley88
1
|
237
|
<el-table-column label="广告位类型" prop="advertisingType" show-overflow-tooltip>
|
4373acf5
wesley88
1
|
238
|
</el-table-column>
|
9b392fc6
wesley88
1
|
239
|
<el-table-column label="创建人" prop="createUser"> </el-table-column>
|
3b97e418
wesley88
1
|
240
|
<el-table-column label="提交时间" prop="createDate"> </el-table-column>
|
9b392fc6
wesley88
1
|
241
|
<!-- <el-table-column prop="publishStatus" label="发布状态" >
|
4373acf5
wesley88
1
|
242
|
<template slot-scope="scope">
|
2210df30
wesley88
1
|
243
|
{{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}}
|
4373acf5
wesley88
1
|
244
245
|
</template>
</el-table-column>
|
a182f238
wesley88
1
|
246
|
<el-table-column prop="leaseExpirationDate" label="租赁到期时间" >
|
4373acf5
wesley88
1
|
247
|
</el-table-column>
|
d64cd58f
wesley88
上传验收小程序
|
248
|
<el-table-column label="操作" fixed="right">
|
4373acf5
wesley88
1
|
249
250
|
<template slot-scope="scope">
<div @click="details(scope.row)" class="tableBtn greens">查看</div>
|
4373acf5
wesley88
1
|
251
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="removeinfo(scope.row,'编辑')">编辑
|
ab818baa
杨鑫
'1'
|
252
|
</div>
|
4373acf5
wesley88
1
|
253
254
|
<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
|
255
|
@click="opencl(scope.row,'gg')">发布</div>
|
4373acf5
wesley88
1
|
256
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='1'"
|
0c5d2ce8
wesley88
1
|
257
|
@click="removeinfozz(scope.row,'2','下架')">下架</div>
|
4373acf5
wesley88
1
|
258
|
</template>
|
9b392fc6
wesley88
1
|
259
260
261
|
</el-table-column> -->
<el-table-column label="状态" prop="publishStatus" show-overflow-tooltip>
<template slot-scope="scope">
|
2727043f
wesley88
1
|
262
|
{{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}}
|
9b392fc6
wesley88
1
|
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
</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
|
278
279
|
</el-table-column>
</el-table>
|
9b392fc6
wesley88
1
|
280
|
<el-table v-if="ontype=='3'" :data="tableData"
|
4373acf5
wesley88
1
|
281
|
:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
|
a182f238
wesley88
1
|
282
|
<el-table-column label="序号" width="50">
|
4373acf5
wesley88
1
|
283
284
285
286
|
<template slot-scope="scope">
{{scope.$index +1}}
</template>
</el-table-column>
|
a182f238
wesley88
1
|
287
|
<el-table-column label="场地名称" prop="venueName" show-overflow-tooltip>
|
4373acf5
wesley88
1
|
288
|
</el-table-column>
|
a182f238
wesley88
1
|
289
|
<el-table-column label="场地类型" prop="venueType" show-overflow-tooltip>
|
4373acf5
wesley88
1
|
290
|
</el-table-column>
|
2210df30
wesley88
1
|
291
|
<el-table-column label="实际使用面积(元/m²)" prop="actualArea" show-overflow-tooltip>
|
2727043f
wesley88
1
|
292
293
294
|
<template slot-scope="scope">
{{scope.row.actualArea}}元/m²
</template>
|
4373acf5
wesley88
1
|
295
|
</el-table-column>
|
a182f238
wesley88
1
|
296
|
<el-table-column label="所属区域" prop="district" show-overflow-tooltip>
|
4373acf5
wesley88
1
|
297
|
</el-table-column>
|
1dbc0b2d
wesley88
1
|
298
299
|
<!-- <el-table-column label="详细位置" prop="detailedLocation" show-overflow-tooltip>
</el-table-column> -->
|
9b392fc6
wesley88
1
|
300
|
<!-- <el-table-column prop="publishStatus" label="发布状态">
|
4373acf5
wesley88
1
|
301
|
<template slot-scope="scope">
|
2210df30
wesley88
1
|
302
|
{{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}}
|
4373acf5
wesley88
1
|
303
304
|
</template>
</el-table-column>
|
a182f238
wesley88
1
|
305
|
<el-table-column label="操作" fixed="right">
|
4373acf5
wesley88
1
|
306
307
|
<template slot-scope="scope">
<div @click="details(scope.row)" class="tableBtn greens">查看</div>
|
a182f238
wesley88
1
|
308
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="removeinfo(scope.row,'编辑')">编辑
|
ab818baa
杨鑫
'1'
|
309
|
</div>
|
a182f238
wesley88
1
|
310
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="closemsg(scope.row)">删除</div>
|
9b392fc6
wesley88
1
|
311
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='0'" @click="opencl(scope.row,'cd')">发布</div>
|
4373acf5
wesley88
1
|
312
|
<div class="tableBtn greens" v-if="scope.row.publishStatus=='1'"
|
a182f238
wesley88
1
|
313
|
@click="removeinfozz(scope.row,'2','下架')">下架</div>
|
4373acf5
wesley88
1
|
314
|
</template>
|
9b392fc6
wesley88
1
|
315
316
317
|
</el-table-column> -->
<el-table-column label="状态" prop="publishStatus" show-overflow-tooltip>
<template slot-scope="scope">
|
2727043f
wesley88
1
|
318
|
{{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}}
|
9b392fc6
wesley88
1
|
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
|
</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
|
334
335
336
337
338
339
340
341
|
</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'
|
342
|
</div>
|
ab818baa
杨鑫
'1'
|
343
|
|
ab818baa
杨鑫
'1'
|
344
|
</div>
|
8550d958
杨鑫
'最新'
|
345
|
|
4373acf5
wesley88
1
|
346
|
</div>
|
8550d958
杨鑫
'最新'
|
347
|
|
8550d958
杨鑫
'最新'
|
348
|
|
8550d958
杨鑫
'最新'
|
349
350
|
|
8550d958
杨鑫
'最新'
|
351
352
|
|
4373acf5
wesley88
1
|
353
354
|
<div class="zhuti" v-if="onaction == '2'">
<div style="height:58px;line-height:58px;">
|
9b392fc6
wesley88
1
|
355
356
|
<div style="color:#0006">
<span>{{ontype == '1'?'商铺基本信息':ontype == '2'?'广告位基本信息管理':ontype == '3'?'场地基本信息管理':'-' }}</span> <span
|
2727043f
wesley88
1
|
357
358
|
style="padding:0 5px;">></span> <span style="color:#000000e6">新增</span>
</div>
|
4373acf5
wesley88
1
|
359
|
</div>
|
a182f238
wesley88
1
|
360
|
<div style="margin: 0 0;">
|
4373acf5
wesley88
1
|
361
362
|
<div style="display: flex;font-size: 14px">
<div style="margin-right: 25px;cursor: pointer;" @click="chenge('1')" :class="ontype=='1'?'chengeXia':''">商铺
|
8550d958
杨鑫
'最新'
|
363
|
</div>
|
4373acf5
wesley88
1
|
364
365
366
|
<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'
|
367
|
</div>
|
4373acf5
wesley88
1
|
368
369
370
371
372
373
|
</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
|
374
|
<addmap @removeonaction="removeonaction" type="all" :leixing="leixing"></addmap>
|
4373acf5
wesley88
1
|
375
376
377
378
|
</div>
<div v-if="ontype == '3'" style="padding: 20px 20px 20px 0;">
<addcd @removeonaction="removeonaction"></addcd>
</div>
|
ab818baa
杨鑫
'1'
|
379
|
</div>
|
4373acf5
wesley88
1
|
380
381
|
<div class="zhuti" v-if="onaction == '3'">
<div style="height:58px;line-height:58px;">
|
9b392fc6
wesley88
1
|
382
383
|
<div style="color:#0006">
<span>{{ontype == '1'?'商铺基本信息':ontype == '2'?'广告位基本信息管理':ontype == '3'?'场地基本信息管理':'-' }}</span> <span
|
2727043f
wesley88
1
|
384
385
|
style="padding:0 5px;">></span> <span style="color:#000000e6">查看</span>
</div>
|
4373acf5
wesley88
1
|
386
387
388
389
390
391
392
393
394
395
396
397
398
|
</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
|
399
400
|
<div style="color:#0006">
<span>{{ontype == '1'?'商铺基本信息':ontype == '2'?'广告位基本信息管理':ontype == '3'?'场地基本信息管理':'-' }}</span> <span
|
2727043f
wesley88
1
|
401
402
|
style="padding:0 5px;">></span> <span style="color:#000000e6">{{contractChangeReason}}</span>
</div>
|
4373acf5
wesley88
1
|
403
404
405
406
407
408
409
410
411
412
413
|
</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
|
414
415
|
<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
|
416
417
|
<cl :type="ontype == '1'?'商铺':ontype == '2'?'广告位':ontype == '3'?'场地':'-'" :resourcesId="oncetype+oninfo.id"
v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl>
|
4373acf5
wesley88
1
|
418
|
</el-dialog>
|
3f535f30
杨鑫
'初始'
|
419
|
</div>
|
4373acf5
wesley88
1
|
420
421
|
|
3f535f30
杨鑫
'初始'
|
422
423
424
425
|
</template>
<script>
import {
|
9b392fc6
wesley88
1
|
426
427
|
cereResourceStrategy,
editStatus,
|
2727043f
wesley88
1
|
428
429
430
431
432
433
434
435
436
437
438
|
cereBusinessOperationadd,
rentalSituationStatistics,
areaShopStatistics,
areaParkStatistics
} from '@/api/newly.js'
import {
gongyuan,
lvdaoduan,
parkTrails
} from '@/api/information.js';
|
4373acf5
wesley88
1
|
439
440
441
442
443
|
import {
ceGetAll
} from '../../api/sam.js'
import * as information from '../../api/information';
import * as map1 from '../../api/map1';
|
3f535f30
杨鑫
'初始'
|
444
|
import {
|
4373acf5
wesley88
1
|
445
|
likeGet,
|
3f535f30
杨鑫
'初始'
|
446
|
} from '../../api/map1'
|
4373acf5
wesley88
1
|
447
448
449
450
451
452
|
import {
getAlls,
changAlls
} from '../../api/information';
import add from '../../components/add/addinformation'
import resourceCommodity from '../../components/resourceCommodity/index'
|
3f535f30
杨鑫
'初始'
|
453
|
import MapContainer from "@/components/MapContainer/MapContainer"
|
4373acf5
wesley88
1
|
454
455
456
457
|
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
|
458
459
|
import cl from '@/components/change/cl.vue'
import mapchakannew from '@/components/newmap/map'
|
3f535f30
杨鑫
'初始'
|
460
|
export default {
|
3f535f30
杨鑫
'初始'
|
461
462
|
data() {
return {
|
96898da2
wesley88
1
|
463
|
isshowmap:true,
|
2727043f
wesley88
1
|
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
510
511
512
513
|
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
|
514
|
name: '',
|
4373acf5
wesley88
1
|
515
516
517
518
519
520
521
522
523
524
525
526
|
oninfo: {},
celueData: [],
clData: [],
multipleSelection: [],
addcl: false,
leixing: true,
//传地图数据
parentMessage: [],
ontype: '1',
contractChangeReason: '',
detailsinfo: {},
pagequery: {
|
4373acf5
wesley88
1
|
527
|
pageNumber: 0,
|
3f535f30
杨鑫
'初始'
|
528
|
pageSize: 10,
|
3f535f30
杨鑫
'初始'
|
529
|
},
|
3f535f30
杨鑫
'初始'
|
530
|
tableData: [],
|
4373acf5
wesley88
1
|
531
532
533
|
total: 0,
onaction: '1',
formInline: {},
|
3f535f30
杨鑫
'初始'
|
534
535
536
537
|
pageindex: {
pageNumber: 1,
pageSize: 10,
},
|
3f535f30
杨鑫
'初始'
|
538
|
}
|
3f535f30
杨鑫
'初始'
|
539
|
},
|
2727043f
wesley88
1
|
540
541
542
543
544
545
546
547
548
549
550
|
computed: {
regionOptions() {
return this.$store.state.cent.regionList;
},
typeShopList() {
return this.$store.state.cent.typeShopList;
},
siteTypeList() {
return this.$store.state.cent.siteTypeList;
}
},
|
ab818baa
杨鑫
'1'
|
551
|
components: {
|
a182f238
wesley88
1
|
552
|
mapchakannew,
|
9d8bcb26
wesley88
2
|
553
|
cl,
|
4373acf5
wesley88
1
|
554
555
556
557
|
chakancd,
addcd,
addmap,
chakanmap,
|
ab818baa
杨鑫
'1'
|
558
|
MapContainer,
|
4373acf5
wesley88
1
|
559
560
|
add,
resourceCommodity,
|
ab818baa
杨鑫
'1'
|
561
|
},
|
2727043f
wesley88
1
|
562
563
564
565
566
567
|
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
|
568
|
this.getAll()
|
f43899da
wesley88
1
|
569
570
571
572
|
// this.changepublishStatus()
// this.changebelongingGreenwaySection()
// this.changebelongingParkTrail()
// this.changetype()
|
3f535f30
杨鑫
'初始'
|
573
|
},
|
3f535f30
杨鑫
'初始'
|
574
|
methods: {
|
2727043f
wesley88
1
|
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
647
648
649
650
|
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
|
651
652
|
minSev(e) {
this.multipleSelection = e
|
4373acf5
wesley88
1
|
653
654
655
656
657
658
659
|
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
|
660
|
resourcesId: this.oncetype + this.oninfo.id,
|
4373acf5
wesley88
1
|
661
|
rentalPoliciesIds: ids,
|
ab818baa
杨鑫
'1'
|
662
|
}
|
2727043f
wesley88
1
|
663
664
665
666
667
668
669
|
if (c1.rentalPoliciesIds.length == 0) {
this.$message({
message: '请选择策略进行绑定',
type: 'warning'
})
return
}
|
4373acf5
wesley88
1
|
670
671
672
673
674
675
676
677
|
console.error(c1)
cereResourceStrategy(c1).then(res => {
if (res.code == 200) {
this.addcl = false
this.$message({
message: '绑定成功',
type: 'success'
})
|
0c5d2ce8
wesley88
1
|
678
|
editStatus({
|
9b392fc6
wesley88
1
|
679
680
|
resourcesId: this.oncetype + this.oninfo.id,
publishStatus: '1'
|
0c5d2ce8
wesley88
1
|
681
682
683
|
}).then(res => {
this.onSubmit()
})
|
9b392fc6
wesley88
1
|
684
685
686
687
688
689
690
691
|
cereBusinessOperationadd({
type: '发布',
resourceId: this.oncetype + this.oninfo.id,
operator: localStorage.getItem('roleName'),
operationTime: this.gettime()
}).then(res => {
console.error(res)
})
|
4373acf5
wesley88
1
|
692
693
694
695
696
697
698
699
700
701
702
703
|
} else {
this.$message({
message: '绑定失败',
type: 'error'
})
}
})
},
mingClose() {
this.multipleSelection = []
this.addcl = false
},
|
9b392fc6
wesley88
1
|
704
|
async opencl(row, e) {
|
4373acf5
wesley88
1
|
705
706
|
this.oncetype = e
this.oninfo = row
|
9d8bcb26
wesley88
2
|
707
|
this.multipleSelection = []
|
4373acf5
wesley88
1
|
708
|
this.addcl = true
|
3f535f30
杨鑫
'初始'
|
709
|
},
|
4373acf5
wesley88
1
|
710
|
chenge(e) {
|
73ad29f2
wesley88
1
|
711
712
713
714
715
716
717
718
|
this.ontype = null
// 延迟一秒执行
setTimeout(() => {
this.ontype = e
this.pagequery.pageNumber = 0
this.getAll()
this.$forceUpdate();
}, 10)
|
2727043f
wesley88
1
|
719
|
|
4373acf5
wesley88
1
|
720
721
722
723
|
},
gettime() {
// 获取当前时间
let currentTime = new Date();
|
3f535f30
杨鑫
'初始'
|
724
|
|
4373acf5
wesley88
1
|
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
752
753
754
755
|
// 获取年份
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
杨鑫
'初始'
|
756
|
|
ab818baa
杨鑫
'1'
|
757
|
},
|
4373acf5
wesley88
1
|
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
|
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
|
777
778
779
780
781
782
783
784
|
cereBusinessOperationadd({
type: tit,
resourceId: 'sp' + row.id,
operator: localStorage.getItem('roleName'),
operationTime: that.gettime()
}).then(res => {
console.error(res)
})
|
4373acf5
wesley88
1
|
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
|
} 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
|
804
805
806
807
808
809
810
811
|
cereBusinessOperationadd({
type: tit,
resourceId: 'gg' + row.id,
operator: localStorage.getItem('roleName'),
operationTime: that.gettime()
}).then(res => {
console.error(res)
})
|
4373acf5
wesley88
1
|
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
|
} 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
|
831
832
833
834
835
836
837
838
|
cereBusinessOperationadd({
type: tit,
resourceId: 'cd' + row.id,
operator: localStorage.getItem('roleName'),
operationTime: that.gettime()
}).then(res => {
console.error(res)
})
|
4373acf5
wesley88
1
|
839
840
841
842
843
844
845
|
} else {
this.$message({
message: res.msg,
type: 'error'
})
}
})
|
ab818baa
杨鑫
'1'
|
846
|
}
|
4373acf5
wesley88
1
|
847
848
|
})
|
ab818baa
杨鑫
'1'
|
849
|
},
|
4373acf5
wesley88
1
|
850
851
852
853
854
855
856
857
858
859
|
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
|
860
|
let that = this
|
4373acf5
wesley88
1
|
861
|
if (this.ontype == '1') {
|
9b392fc6
wesley88
1
|
862
863
|
const res = await getAlls({
...this.pagequery,
|
2727043f
wesley88
1
|
864
865
866
|
shopName: this.name,
publishStatus: this.allpublishStatus,
...this.pagequeryshop
|
9b392fc6
wesley88
1
|
867
|
})
|
ab818baa
杨鑫
'1'
|
868
|
this.tableData = res.data.content
|
4373acf5
wesley88
1
|
869
870
|
this.total = res.data.totalElements
} else if (this.ontype == '2') {
|
9b392fc6
wesley88
1
|
871
872
|
const res = await likeGet({
...this.pagequery,
|
2727043f
wesley88
1
|
873
874
|
advertisingName: this.name,
publishStatus: this.allpublishStatus
|
9b392fc6
wesley88
1
|
875
|
})
|
ab818baa
杨鑫
'1'
|
876
|
this.tableData = res.data.content
|
4373acf5
wesley88
1
|
877
878
|
this.total = res.data.totalElements
} else if (this.ontype == '3') {
|
9b392fc6
wesley88
1
|
879
880
|
const res = await changAlls({
...this.pagequery,
|
2727043f
wesley88
1
|
881
882
883
|
venueName: this.name,
publishStatus: this.allpublishStatus,
...this.pagequerycd
|
9b392fc6
wesley88
1
|
884
|
})
|
ab818baa
杨鑫
'1'
|
885
|
this.tableData = res.data.content
|
4373acf5
wesley88
1
|
886
|
this.total = res.data.totalElements
|
ab818baa
杨鑫
'1'
|
887
|
}
|
a182f238
wesley88
1
|
888
889
|
// console.error(']]]]]]]]]')
// console.error(this.tableData)
|
96898da2
wesley88
1
|
890
891
892
893
894
895
896
897
898
899
900
|
this.isshowmap = false
// 刷新渲染层
this.$nextTick(() => {
this.isshowmap = true
// 延迟渲染
setTimeout(() => {
that.$refs.mapchakannewrefs.initMap(that.tableData)
}, 100)
})
|
3f535f30
杨鑫
'初始'
|
901
|
|
4373acf5
wesley88
1
|
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
|
},
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
|
926
|
},
|
a182f238
wesley88
1
|
927
|
this.name = ''
|
2727043f
wesley88
1
|
928
929
930
931
932
933
934
935
936
937
|
this.allpublishStatus = ''
this.pagequeryshop = {
belongingRegion: '',
belongingDepartment: '',
shopType: ''
}
this.pagequerycd = {
district: '',
venueType: ''
}
|
9b392fc6
wesley88
1
|
938
|
this.getAll()
|
4373acf5
wesley88
1
|
939
|
},
|
ab818baa
杨鑫
'1'
|
940
|
//删除
|
4373acf5
wesley88
1
|
941
|
closemsg(item) {
|
ab818baa
杨鑫
'1'
|
942
943
944
945
946
947
948
949
950
951
952
953
954
|
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
|
955
956
|
if (this.ontype == '1') {
information.delList({
|
ab818baa
杨鑫
'1'
|
957
958
|
id: item.id
}).then(res => {
|
4373acf5
wesley88
1
|
959
960
961
|
this.$message({
message: '删除成功',
type: 'success'
|
3f535f30
杨鑫
'初始'
|
962
|
})
|
4373acf5
wesley88
1
|
963
964
|
this.getAll()
done();
|
ab818baa
杨鑫
'1'
|
965
|
})
|
4373acf5
wesley88
1
|
966
967
|
} else if (this.ontype == '2') {
map1.delList({
|
ab818baa
杨鑫
'1'
|
968
969
|
id: item.id
}).then(res => {
|
4373acf5
wesley88
1
|
970
971
972
|
this.$message({
message: '删除成功',
type: 'success'
|
3f535f30
杨鑫
'初始'
|
973
|
})
|
4373acf5
wesley88
1
|
974
975
|
this.getAll()
done();
|
ab818baa
杨鑫
'1'
|
976
|
})
|
4373acf5
wesley88
1
|
977
978
|
} else if (this.ontype == '3') {
information.changDel({
|
ab818baa
杨鑫
'1'
|
979
980
|
id: item.id
}).then(res => {
|
4373acf5
wesley88
1
|
981
982
983
|
this.$message({
message: '删除成功',
type: 'success'
|
3f535f30
杨鑫
'初始'
|
984
|
})
|
4373acf5
wesley88
1
|
985
986
|
this.getAll()
done();
|
ab818baa
杨鑫
'1'
|
987
|
})
|
ab818baa
杨鑫
'1'
|
988
|
}
|
ab818baa
杨鑫
'1'
|
989
990
991
992
993
|
} else {
done();
}
}
})
|
3f535f30
杨鑫
'初始'
|
994
995
|
},
//地图详细
|
ab818baa
杨鑫
'1'
|
996
997
998
999
|
HandMapItem(item) {
console.log(item)
|
4373acf5
wesley88
1
|
1000
1001
1002
|
// if (this.activeName == 'first') {
// this.editbgid = item
// this.restype = '商铺'
|
ab818baa
杨鑫
'1'
|
1003
|
|
4373acf5
wesley88
1
|
1004
1005
1006
1007
|
// this.showBian = true
// if (typeof this.editbgid.mapPunctuation == 'string') {
// this.parentMessage = JSON.parse(this.editbgid.mapPunctuation)
// }
|
ab818baa
杨鑫
'1'
|
1008
|
|
4373acf5
wesley88
1
|
1009
1010
1011
|
// } else if (this.activeName == 'second') {
// this.editbgid = item
// this.restype = '广告位'
|
ab818baa
杨鑫
'1'
|
1012
|
|
4373acf5
wesley88
1
|
1013
1014
1015
1016
1017
1018
|
// this.showBian = true
// if (item.advertisingType == '线上广告位') {
// this.leixing = true
// } else {
// this.leixing = false
// }
|
ab818baa
杨鑫
'1'
|
1019
|
|
4373acf5
wesley88
1
|
1020
1021
1022
1023
1024
1025
|
// 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'
|
1026
|
|
4373acf5
wesley88
1
|
1027
1028
1029
1030
1031
|
// this.showBian = true
// if (typeof this.editbgid.mapMarker == 'string') {
// this.parentMessage = JSON.parse(this.editbgid.mapMarker)
// }
// } else if (this.activeName == 'fourth') {
|
ab818baa
杨鑫
'1'
|
1032
|
|
4373acf5
wesley88
1
|
1033
|
// }
|
ab818baa
杨鑫
'1'
|
1034
1035
1036
|
},
|
3f535f30
杨鑫
'初始'
|
1037
|
}
|
4373acf5
wesley88
1
|
1038
|
|
3f535f30
杨鑫
'初始'
|
1039
1040
|
}
</script>
|
d64cd58f
wesley88
上传验收小程序
|
1041
|
<style lang="scss" scoped>
|
2727043f
wesley88
1
|
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
1069
1070
1071
1072
|
.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
|
1073
1074
1075
1076
1077
1078
|
.formSearch {
display: flex;
width: 100%;
font-size: 14px;
justify-content: space-between;
}
|
9b392fc6
wesley88
1
|
1079
|
|
3f535f30
杨鑫
'初始'
|
1080
1081
1082
1083
1084
1085
1086
|
.zhuti {
padding: 0 20px 20px 20px;
min-height: calc(100vh - 50px - 20px);
background-color: #Fff;
}
|
4373acf5
wesley88
1
|
1087
1088
1089
1090
|
.chengeXia {
border-bottom: 6px solid #3F9B6A;
padding-bottom: 4px;
color: #3F9B6A;
|
3f535f30
杨鑫
'初始'
|
1091
|
}
|
9b392fc6
wesley88
1
|
1092
|
|
3f535f30
杨鑫
'初始'
|
1093
1094
1095
|
.tableBtn {
display: inline-block;
margin-right: 10px;
|
d64cd58f
wesley88
上传验收小程序
|
1096
|
cursor: pointer;
|
ab818baa
杨鑫
'1'
|
1097
|
}
|
9b392fc6
wesley88
1
|
1098
|
|
a182f238
wesley88
1
|
1099
1100
1101
|
::v-deep .el-dialog__body {
padding: 0 0 !important;
}
|
9b392fc6
wesley88
1
|
1102
1103
|
.el-dialog__header {
|
a182f238
wesley88
1
|
1104
1105
1106
|
padding: 0;
display: none;
}
|
3f535f30
杨鑫
'初始'
|
1107
|
</style>
|