Browse Source

图片集

luckysheet_xiaowang
是小王呀\24601 6 months ago
parent
commit
2331fa985f
  1. 6
      src/views/modules/base/smartExcel/cpts/picture-collection.vue
  2. 6
      src/views/modules/base/smartExcel/cpts/picture-list.vue

6
src/views/modules/base/smartExcel/cpts/picture-collection.vue

@ -8,7 +8,7 @@
<div v-for="(item, index) in pictureList" style="margin-bottom: 30px;"> <div v-for="(item, index) in pictureList" style="margin-bottom: 30px;">
<div style="margin: 30px 30px 100px 30px "> <div style="margin: 30px 30px 100px 30px ">
<div style="position: relative;"> <div style="position: relative;">
<div style="position: absolute;z-index: 10; right: -10px;top: -10px; "> <div style="position: absolute;z-index: 10; right: 20px;top: -20px; ">
<el-dropdown @command="onClickEdit"> <el-dropdown @command="onClickEdit">
<span class="el-dropdown-link" style="color: blue;"> <span class="el-dropdown-link" style="color: blue;">
. . . . . .
@ -102,12 +102,16 @@ mounted() {
}, },
methods: { methods: {
closePictureList(){ closePictureList(){
console.log("dslkfjklsd");
this.showPictureList=false this.showPictureList=false
}, },
onPictureList(){ onPictureList(){
this.showPictureList=true this.showPictureList=true
}, },
closeAdd(){ closeAdd(){
console.log("dsfjklsdfjl");
this.formShow=false this.formShow=false
}, },
onClick(type,id){ onClick(type,id){

6
src/views/modules/base/smartExcel/cpts/picture-list.vue

@ -1,7 +1,7 @@
<template> <template>
<div class="" style="height: 900px;margin: 20px;"> <div class="" style="height: 900px;margin: 20px;">
<div style="margin:20px 0 20px 0;align-items: center;" class="flex"> <div style="margin:20px 0 20px 0;align-items: center;" class="flex">
<el-button type="text" size="small" style="margin-right: 10px; font-size: 10px;">返回</el-button> <el-button type="text" size="small" @click="handelClickBack" style="margin-right: 10px; font-size: 10px;">返回</el-button>
<div style="margin-right: 10px;">{{ title }} </div> <div style="margin-right: 10px;">{{ title }} </div>
<div> <div>
<el-upload :headers="$getElUploadHeaders()" class="upload-demo" <el-upload :headers="$getElUploadHeaders()" class="upload-demo"
@ -113,6 +113,10 @@ mounted() {
this.getTableData() this.getTableData()
}, },
methods: { methods: {
handelClickBack(){
console.log("closePictureList");
this.$emit('closeAdd')
},
onClickInfo(item){ onClickInfo(item){
this.showInfo=true, this.showInfo=true,
console.log("打开详情"); console.log("打开详情");

Loading…
Cancel
Save