Explorar o código

Merge branch 'v_BI' into debug

jwyu hai 7 meses
pai
achega
a6e51dfd6c

+ 1 - 0
src/views/BI_manage/components/BoardContent.vue

@@ -82,6 +82,7 @@ export default {
     async drop(index) {
     async drop(index) {
       if (this.draggedIndex === null) return
       if (this.draggedIndex === null) return
       // Swap the two items
       // Swap the two items
+      const temp=this.value[this.draggedIndex]
       this.$set(this.value, this.draggedIndex, this.value[index]);
       this.$set(this.value, this.draggedIndex, this.value[index]);
       this.$set(this.value, index, temp);
       this.$set(this.value, index, temp);
       this.draggedIndex = null;
       this.draggedIndex = null;

+ 1 - 0
src/views/BI_manage/components/ChartBox.vue

@@ -7,6 +7,7 @@
           class="icon"
           class="icon"
           src="~@/assets/img/icons/refresh_blue_new.png"
           src="~@/assets/img/icons/refresh_blue_new.png"
           alt=""
           alt=""
+          v-permission="permissionBtn.BIBoardPermission.BIBoard_refresh"
           @click="refreshHandle"
           @click="refreshHandle"
         />
         />
         <slot name="drag"></slot>
         <slot name="drag"></slot>

+ 1 - 0
src/views/BI_manage/components/TableBox.vue

@@ -13,6 +13,7 @@
           class="icon"
           class="icon"
           src="~@/assets/img/icons/refresh_blue_new.png"
           src="~@/assets/img/icons/refresh_blue_new.png"
           alt=""
           alt=""
+          v-permission="permissionBtn.BIBoardPermission.BIBoard_refresh"
           @click="handleRefresh"
           @click="handleRefresh"
         />
         />
         <slot name="drag"></slot>
         <slot name="drag"></slot>