Browse Source

Merge branch 'dev_web' of http://dev.ccwin-in.com:3000/BoXu.Zheng/WZC2 into dev_web

集成Redis
陈薪名 2 years ago
parent
commit
c16685a1a3
  1. 41
      fe/PC/src/components/rowDrop/index.vue

41
fe/PC/src/components/rowDrop/index.vue

@ -42,11 +42,11 @@
</div>
</el-popover>
</template>
<script>
import draggable from "vuedraggable";
import Sortable from "sortablejs";
export default {
</template>
<script>
import draggable from "vuedraggable";
import Sortable from "sortablejs";
export default {
components: {
draggable,
Sortable,
@ -102,6 +102,25 @@
close() {
this.$emit('closeRowDrop')
},
// save () {
// this.$emit('closeRowDrop')
// this.$emit('radio',this.dataList)
// // +
// localStorage.setItem(this.$store.getters.name.userName + '_' + this.$route.name, JSON.stringify(this.dataList))
// },
//
formatData (val) {
this.dataList = JSON.parse(JSON.stringify(val))
this.dataList.forEach(item => {
if (item.isture == undefined) {
item.isture = true
}
})
},
//
handleEdit(index, row) {
console.log(index, row);
},
save () {
this.$forceUpdate()
this.$emit('radio',this.dataList)
@ -167,10 +186,10 @@
}
}
}
</script>
<style lang="scss">
$paddingSize:20px;
.rowDropContain{
</script>
<style lang="scss">
$paddingSize:20px;
.rowDropContain{
.el-popover{
position: fixed;
right: 30px;
@ -224,5 +243,5 @@
color: #409EFF;
}
}
}
</style>
}
</style>
Loading…
Cancel
Save