Commit e75fe4fed20179bcf69f9096697d506e5804b0d8
1 parent
73ad29f2
2
Showing
8 changed files
with
51 additions
and
22 deletions
admin-web-master/src/components/change/cl.vue
| @@ -88,7 +88,13 @@ | @@ -88,7 +88,13 @@ | ||
| 88 | default: function () { | 88 | default: function () { |
| 89 | return '' | 89 | return '' |
| 90 | } | 90 | } |
| 91 | - } | 91 | + }, |
| 92 | + type: { | ||
| 93 | + type: String, | ||
| 94 | + default: function () { | ||
| 95 | + return '' | ||
| 96 | + } | ||
| 97 | + }, | ||
| 92 | }, | 98 | }, |
| 93 | methods: { | 99 | methods: { |
| 94 | async intdatalist() { | 100 | async intdatalist() { |
| @@ -161,7 +167,7 @@ | @@ -161,7 +167,7 @@ | ||
| 161 | this.isone = true | 167 | this.isone = true |
| 162 | }, | 168 | }, |
| 163 | async getAll() { | 169 | async getAll() { |
| 164 | - const celue = await ceGetAll(this.pageindex) | 170 | + const celue = await ceGetAll({...this.pageindex,applicableResources:this.type}) |
| 165 | this.celueData = celue.data.content | 171 | this.celueData = celue.data.content |
| 166 | this.total = celue.data.totalElements | 172 | this.total = celue.data.totalElements |
| 167 | 173 |
admin-web-master/src/views/detect/admap.vue
| @@ -274,7 +274,7 @@ | @@ -274,7 +274,7 @@ | ||
| 274 | </div> | 274 | </div> |
| 275 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false" | 275 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false" |
| 276 | :close-on-press-escape="false" :show-close="false"> | 276 | :close-on-press-escape="false" :show-close="false"> |
| 277 | - <cl :resourcesId="oncetype+oninfo.id" v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl> | 277 | + <cl :type="ontype == '1'?'商铺':ontype == '2'?'广告位':ontype == '3'?'场地':'-'" :resourcesId="oncetype+oninfo.id" v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl> |
| 278 | </el-dialog> | 278 | </el-dialog> |
| 279 | </div> | 279 | </div> |
| 280 | 280 |
admin-web-master/src/views/detect/information/index.vue
| @@ -131,7 +131,7 @@ | @@ -131,7 +131,7 @@ | ||
| 131 | </div> | 131 | </div> |
| 132 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center | 132 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center |
| 133 | :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | 133 | :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> |
| 134 | - <cl :resourcesId="oncetype+oninfo.id" v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl> | 134 | + <cl :type="'商铺'" :resourcesId="oncetype+oninfo.id" v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl> |
| 135 | </el-dialog> | 135 | </el-dialog> |
| 136 | </div> | 136 | </div> |
| 137 | 137 |
admin-web-master/src/views/detect/map/index.vue
| @@ -154,7 +154,7 @@ | @@ -154,7 +154,7 @@ | ||
| 154 | </div> | 154 | </div> |
| 155 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false" | 155 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false" |
| 156 | :close-on-press-escape="false" :show-close="false"> | 156 | :close-on-press-escape="false" :show-close="false"> |
| 157 | - <cl :resourcesId="oncetype+oninfo.id" v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl> | 157 | + <cl :type="'广告位'" :resourcesId="oncetype+oninfo.id" v-if="addcl" @minSev="minSev" @mingClose="mingClose"></cl> |
| 158 | </el-dialog> | 158 | </el-dialog> |
| 159 | </div> | 159 | </div> |
| 160 | 160 |
admin-web-master/src/views/scheme/sam.vue
admin-web-master/src/views/serve/MarkActivity/index.vue
| @@ -157,7 +157,6 @@ | @@ -157,7 +157,6 @@ | ||
| 157 | </template> | 157 | </template> |
| 158 | </el-table-column> | 158 | </el-table-column> |
| 159 | 159 | ||
| 160 | - </el-table-column> | ||
| 161 | <el-table-column label="场地名称" prop="venueName" width="150"> | 160 | <el-table-column label="场地名称" prop="venueName" width="150"> |
| 162 | 161 | ||
| 163 | </el-table-column> | 162 | </el-table-column> |
| @@ -179,7 +178,10 @@ | @@ -179,7 +178,10 @@ | ||
| 179 | <el-col :span="24"> | 178 | <el-col :span="24"> |
| 180 | <el-form-item label="封面图片" prop="businessScope"> | 179 | <el-form-item label="封面图片" prop="businessScope"> |
| 181 | <!-- {{idCardPhotoFront}} --> | 180 | <!-- {{idCardPhotoFront}} --> |
| 182 | - <el-image :src="$baseURL +xiangData.coverImage" style="width: 140px;height:140px;"></el-image> | 181 | + <!-- <el-image :src="$baseURL +xiangData.coverImage" style="width: 140px;height:140px;"></el-image> --> |
| 182 | + <div style="display: flex;"> | ||
| 183 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in xiangData.coverImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 184 | + </div> | ||
| 183 | </el-form-item> | 185 | </el-form-item> |
| 184 | </el-col> | 186 | </el-col> |
| 185 | </el-row> | 187 | </el-row> |
| @@ -360,13 +362,16 @@ | @@ -360,13 +362,16 @@ | ||
| 360 | </el-dialog> | 362 | </el-dialog> |
| 361 | </div> | 363 | </div> |
| 362 | 364 | ||
| 363 | - <el-dialog :visible.sync="showQF" custom-class='tongyong_css' style="padding: 0;" width="25%" center | 365 | + <el-dialog :visible.sync="showQF" style="padding: 0;" width="25%" center |
| 364 | :close-on-click-modal="false" :show-close="false"> | 366 | :close-on-click-modal="false" :show-close="false"> |
| 365 | <div style="padding:20px;"> | 367 | <div style="padding:20px;"> |
| 366 | <div style="font-size: 14px;padding-bottom: 20px;color: #000;">活动二维码</div> | 368 | <div style="font-size: 14px;padding-bottom: 20px;color: #000;">活动二维码</div> |
| 367 | <div style="padding:20px;"> | 369 | <div style="padding:20px;"> |
| 368 | <!-- <img :src="qfUrl" alt="" style="height:330px;width:80%"> --> | 370 | <!-- <img :src="qfUrl" alt="" style="height:330px;width:80%"> --> |
| 369 | - <el-image style="width:200px; height: 200px" :src="$baseURL+qfUrl" fit="fill"></el-image> | 371 | + <!-- <el-image style="width:200px; height: 200px" :src="$baseURL+qfUrl" fit="fill"></el-image> --> |
| 372 | + <div style="display: flex;"> | ||
| 373 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in qfUrl.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 374 | + </div> | ||
| 370 | </div> | 375 | </div> |
| 371 | <div style="padding-top:20px;display:flex;justify-content: flex-end;"> | 376 | <div style="padding-top:20px;display:flex;justify-content: flex-end;"> |
| 372 | <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | 377 | <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" |
| @@ -427,6 +432,7 @@ | @@ -427,6 +432,7 @@ | ||
| 427 | Registration | 432 | Registration |
| 428 | } from '../../../api/MarkActivity.js' | 433 | } from '../../../api/MarkActivity.js' |
| 429 | import upimg from "@/components/ImageUpload/index" | 434 | import upimg from "@/components/ImageUpload/index" |
| 435 | + import allimg from '@/components/chakan/allimg.vue'; | ||
| 430 | import { | 436 | import { |
| 431 | changAlls | 437 | changAlls |
| 432 | } from '../../../api/information.js' | 438 | } from '../../../api/information.js' |
| @@ -434,7 +440,8 @@ | @@ -434,7 +440,8 @@ | ||
| 434 | export default { | 440 | export default { |
| 435 | components: { | 441 | components: { |
| 436 | upimg, | 442 | upimg, |
| 437 | - wangEditor | 443 | + wangEditor, |
| 444 | + allimg | ||
| 438 | }, | 445 | }, |
| 439 | data() { | 446 | data() { |
| 440 | return { | 447 | return { |
admin-web-master/src/views/serve/Merchant/index.vue
| @@ -182,17 +182,22 @@ | @@ -182,17 +182,22 @@ | ||
| 182 | <el-row :gutter="20"> | 182 | <el-row :gutter="20"> |
| 183 | <el-col :span="24"> | 183 | <el-col :span="24"> |
| 184 | <el-form-item label="往期活动展示" prop="previousEvents"> | 184 | <el-form-item label="往期活动展示" prop="previousEvents"> |
| 185 | - <div style="display: flex;justify-content: space-between;" > | 185 | + <!-- <div style="display: flex;justify-content: space-between;" > |
| 186 | <el-image style="width:48%" fit="fill" :src="$baseURL+item" v-for="(item,index) in xiangData.previousEvents"></el-image> | 186 | <el-image style="width:48%" fit="fill" :src="$baseURL+item" v-for="(item,index) in xiangData.previousEvents"></el-image> |
| 187 | - </div> | ||
| 188 | - | 187 | + </div> --> |
| 188 | + <div style="display: flex;"> | ||
| 189 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in xiangData.previousEvents" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 190 | + </div> | ||
| 189 | </el-form-item> | 191 | </el-form-item> |
| 190 | </el-col> | 192 | </el-col> |
| 191 | </el-row> | 193 | </el-row> |
| 192 | <el-row :gutter="20"> | 194 | <el-row :gutter="20"> |
| 193 | <el-col :span="24"> | 195 | <el-col :span="24"> |
| 194 | <el-form-item label="封面图片" prop="coverImage"> | 196 | <el-form-item label="封面图片" prop="coverImage"> |
| 195 | - <el-image :src="$baseURL +xiangData.coverImage" style="width: 140px;height:140px;"></el-image> | 197 | + <!-- <el-image :src="$baseURL +xiangData.coverImage" style="width: 140px;height:140px;"></el-image> --> |
| 198 | + <div style="display: flex;"> | ||
| 199 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in xiangData.coverImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 200 | + </div> | ||
| 196 | </el-form-item> | 201 | </el-form-item> |
| 197 | </el-col> | 202 | </el-col> |
| 198 | </el-row> | 203 | </el-row> |
| @@ -402,11 +407,12 @@ | @@ -402,11 +407,12 @@ | ||
| 402 | import { | 407 | import { |
| 403 | changAlls | 408 | changAlls |
| 404 | } from '../../../api/information.js' | 409 | } from '../../../api/information.js' |
| 405 | - | 410 | + import allimg from '@/components/chakan/allimg.vue'; |
| 406 | export default { | 411 | export default { |
| 407 | components: { | 412 | components: { |
| 408 | upimg, | 413 | upimg, |
| 409 | - wangEditor | 414 | + wangEditor, |
| 415 | + allimg | ||
| 410 | }, | 416 | }, |
| 411 | data() { | 417 | data() { |
| 412 | return { | 418 | return { |
admin-web-master/src/views/serve/actSp.vue
| @@ -138,7 +138,10 @@ | @@ -138,7 +138,10 @@ | ||
| 138 | <el-col :span="12"> | 138 | <el-col :span="12"> |
| 139 | <el-form-item label="活动照片" prop="coverImage"> | 139 | <el-form-item label="活动照片" prop="coverImage"> |
| 140 | <!-- {{idCardPhotoFront}} --> | 140 | <!-- {{idCardPhotoFront}} --> |
| 141 | - <el-image :src="$baseURL +secondData.coverImage"></el-image> | 141 | + <!-- <el-image :src="$baseURL +secondData.coverImage"></el-image> --> |
| 142 | + <div style="display: flex;"> | ||
| 143 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in secondData.coverImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 144 | + </div> | ||
| 142 | </el-form-item> | 145 | </el-form-item> |
| 143 | </el-col> | 146 | </el-col> |
| 144 | </el-row> | 147 | </el-row> |
| @@ -217,7 +220,10 @@ | @@ -217,7 +220,10 @@ | ||
| 217 | <el-col :span="12"> | 220 | <el-col :span="12"> |
| 218 | <el-form-item label="活动照片" prop="coverImage"> | 221 | <el-form-item label="活动照片" prop="coverImage"> |
| 219 | <!-- {{idCardPhotoFront}} --> | 222 | <!-- {{idCardPhotoFront}} --> |
| 220 | - <el-image :src="$baseURL +secondData.coverImage"></el-image> | 223 | + <!-- <el-image :src="$baseURL +secondData.coverImage"></el-image> --> |
| 224 | + <div style="display: flex;"> | ||
| 225 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in secondData.coverImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 226 | + </div> | ||
| 221 | </el-form-item> | 227 | </el-form-item> |
| 222 | </el-col> | 228 | </el-col> |
| 223 | </el-row> | 229 | </el-row> |
| @@ -255,10 +261,13 @@ | @@ -255,10 +261,13 @@ | ||
| 255 | 261 | ||
| 256 | <div style="padding:20px;"> | 262 | <div style="padding:20px;"> |
| 257 | <!-- <img :src="qfUrl" alt="" style="height:330px;width:80%"> --> | 263 | <!-- <img :src="qfUrl" alt="" style="height:330px;width:80%"> --> |
| 258 | - <el-image | 264 | + <!-- <el-image |
| 259 | style="width:200px; height: 200px" | 265 | style="width:200px; height: 200px" |
| 260 | :src="$baseURL+qfUrl" | 266 | :src="$baseURL+qfUrl" |
| 261 | - fit="fill"></el-image> | 267 | + fit="fill"></el-image> --> |
| 268 | + <div style="display: flex;"> | ||
| 269 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in qfUrl.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 270 | + </div> | ||
| 262 | </div> | 271 | </div> |
| 263 | <div style="padding-top:20px;display:flex;justify-content: flex-end;"> | 272 | <div style="padding-top:20px;display:flex;justify-content: flex-end;"> |
| 264 | <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | 273 | <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" |
| @@ -284,8 +293,9 @@ | @@ -284,8 +293,9 @@ | ||
| 284 | import { | 293 | import { |
| 285 | uploadUrl | 294 | uploadUrl |
| 286 | } from '@/utils/request' | 295 | } from '@/utils/request' |
| 296 | + import allimg from '@/components/chakan/allimg.vue'; | ||
| 287 | export default { | 297 | export default { |
| 288 | - components: { wangEditor ,upimg,TitleWithCircle}, | 298 | + components: { wangEditor ,upimg,TitleWithCircle,allimg}, |
| 289 | data() { | 299 | data() { |
| 290 | return { | 300 | return { |
| 291 | upload:uploadUrl, | 301 | upload:uploadUrl, |