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 | 88 | default: function () { |
| 89 | 89 | return '' |
| 90 | 90 | } |
| 91 | - } | |
| 91 | + }, | |
| 92 | + type: { | |
| 93 | + type: String, | |
| 94 | + default: function () { | |
| 95 | + return '' | |
| 96 | + } | |
| 97 | + }, | |
| 92 | 98 | }, |
| 93 | 99 | methods: { |
| 94 | 100 | async intdatalist() { |
| ... | ... | @@ -161,7 +167,7 @@ |
| 161 | 167 | this.isone = true |
| 162 | 168 | }, |
| 163 | 169 | async getAll() { |
| 164 | - const celue = await ceGetAll(this.pageindex) | |
| 170 | + const celue = await ceGetAll({...this.pageindex,applicableResources:this.type}) | |
| 165 | 171 | this.celueData = celue.data.content |
| 166 | 172 | this.total = celue.data.totalElements |
| 167 | 173 | ... | ... |
admin-web-master/src/views/detect/admap.vue
| ... | ... | @@ -274,7 +274,7 @@ |
| 274 | 274 | </div> |
| 275 | 275 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false" |
| 276 | 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 | 278 | </el-dialog> |
| 279 | 279 | </div> |
| 280 | 280 | ... | ... |
admin-web-master/src/views/detect/information/index.vue
| ... | ... | @@ -131,7 +131,7 @@ |
| 131 | 131 | </div> |
| 132 | 132 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center |
| 133 | 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 | 135 | </el-dialog> |
| 136 | 136 | </div> |
| 137 | 137 | ... | ... |
admin-web-master/src/views/detect/map/index.vue
| ... | ... | @@ -154,7 +154,7 @@ |
| 154 | 154 | </div> |
| 155 | 155 | <el-dialog :visible.sync="addcl" title="选择策略" width="65%" append-to-body center :close-on-click-modal="false" |
| 156 | 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 | 158 | </el-dialog> |
| 159 | 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 | 157 | </template> |
| 158 | 158 | </el-table-column> |
| 159 | 159 | |
| 160 | - </el-table-column> | |
| 161 | 160 | <el-table-column label="场地名称" prop="venueName" width="150"> |
| 162 | 161 | |
| 163 | 162 | </el-table-column> |
| ... | ... | @@ -179,7 +178,10 @@ |
| 179 | 178 | <el-col :span="24"> |
| 180 | 179 | <el-form-item label="封面图片" prop="businessScope"> |
| 181 | 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 | 185 | </el-form-item> |
| 184 | 186 | </el-col> |
| 185 | 187 | </el-row> |
| ... | ... | @@ -360,13 +362,16 @@ |
| 360 | 362 | </el-dialog> |
| 361 | 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 | 366 | :close-on-click-modal="false" :show-close="false"> |
| 365 | 367 | <div style="padding:20px;"> |
| 366 | 368 | <div style="font-size: 14px;padding-bottom: 20px;color: #000;">活动二维码</div> |
| 367 | 369 | <div style="padding:20px;"> |
| 368 | 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 | 375 | </div> |
| 371 | 376 | <div style="padding-top:20px;display:flex;justify-content: flex-end;"> |
| 372 | 377 | <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" |
| ... | ... | @@ -427,6 +432,7 @@ |
| 427 | 432 | Registration |
| 428 | 433 | } from '../../../api/MarkActivity.js' |
| 429 | 434 | import upimg from "@/components/ImageUpload/index" |
| 435 | + import allimg from '@/components/chakan/allimg.vue'; | |
| 430 | 436 | import { |
| 431 | 437 | changAlls |
| 432 | 438 | } from '../../../api/information.js' |
| ... | ... | @@ -434,7 +440,8 @@ |
| 434 | 440 | export default { |
| 435 | 441 | components: { |
| 436 | 442 | upimg, |
| 437 | - wangEditor | |
| 443 | + wangEditor, | |
| 444 | + allimg | |
| 438 | 445 | }, |
| 439 | 446 | data() { |
| 440 | 447 | return { | ... | ... |
admin-web-master/src/views/serve/Merchant/index.vue
| ... | ... | @@ -182,17 +182,22 @@ |
| 182 | 182 | <el-row :gutter="20"> |
| 183 | 183 | <el-col :span="24"> |
| 184 | 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 | 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 | 191 | </el-form-item> |
| 190 | 192 | </el-col> |
| 191 | 193 | </el-row> |
| 192 | 194 | <el-row :gutter="20"> |
| 193 | 195 | <el-col :span="24"> |
| 194 | 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 | 201 | </el-form-item> |
| 197 | 202 | </el-col> |
| 198 | 203 | </el-row> |
| ... | ... | @@ -402,11 +407,12 @@ |
| 402 | 407 | import { |
| 403 | 408 | changAlls |
| 404 | 409 | } from '../../../api/information.js' |
| 405 | - | |
| 410 | + import allimg from '@/components/chakan/allimg.vue'; | |
| 406 | 411 | export default { |
| 407 | 412 | components: { |
| 408 | 413 | upimg, |
| 409 | - wangEditor | |
| 414 | + wangEditor, | |
| 415 | + allimg | |
| 410 | 416 | }, |
| 411 | 417 | data() { |
| 412 | 418 | return { | ... | ... |
admin-web-master/src/views/serve/actSp.vue
| ... | ... | @@ -138,7 +138,10 @@ |
| 138 | 138 | <el-col :span="12"> |
| 139 | 139 | <el-form-item label="活动照片" prop="coverImage"> |
| 140 | 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 | 145 | </el-form-item> |
| 143 | 146 | </el-col> |
| 144 | 147 | </el-row> |
| ... | ... | @@ -217,7 +220,10 @@ |
| 217 | 220 | <el-col :span="12"> |
| 218 | 221 | <el-form-item label="活动照片" prop="coverImage"> |
| 219 | 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 | 227 | </el-form-item> |
| 222 | 228 | </el-col> |
| 223 | 229 | </el-row> |
| ... | ... | @@ -255,10 +261,13 @@ |
| 255 | 261 | |
| 256 | 262 | <div style="padding:20px;"> |
| 257 | 263 | <!-- <img :src="qfUrl" alt="" style="height:330px;width:80%"> --> |
| 258 | - <el-image | |
| 264 | + <!-- <el-image | |
| 259 | 265 | style="width:200px; height: 200px" |
| 260 | 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 | 271 | </div> |
| 263 | 272 | <div style="padding-top:20px;display:flex;justify-content: flex-end;"> |
| 264 | 273 | <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" |
| ... | ... | @@ -284,8 +293,9 @@ |
| 284 | 293 | import { |
| 285 | 294 | uploadUrl |
| 286 | 295 | } from '@/utils/request' |
| 296 | + import allimg from '@/components/chakan/allimg.vue'; | |
| 287 | 297 | export default { |
| 288 | - components: { wangEditor ,upimg,TitleWithCircle}, | |
| 298 | + components: { wangEditor ,upimg,TitleWithCircle,allimg}, | |
| 289 | 299 | data() { |
| 290 | 300 | return { |
| 291 | 301 | upload:uploadUrl, | ... | ... |