cfort 3 жил өмнө
parent
commit
892cb4f8f1

+ 0 - 4
src/business/platform/form/formrender/dynamic-form/dynamic-form-table.vue

@@ -212,11 +212,9 @@ export default {
             return this.filterButtons('toolbar')
             return this.filterButtons('toolbar')
         },
         },
         manageButtons() {
         manageButtons() {
-
             return this.filterButtons('manage')
             return this.filterButtons('manage')
         },
         },
         manageButtonWidth() {
         manageButtonWidth() {
-
             return this.manageButtons.length > 2 || this.manageButtons.length === 1 ? 70 : 150
             return this.manageButtons.length > 2 || this.manageButtons.length === 1 ? 70 : 150
         },
         },
         mode() {
         mode() {
@@ -406,7 +404,6 @@ export default {
             this.copDataModel = JSON.parse(JSON.stringify(this.dataModel)).slice(this.dataPage, this.dataPage + 10)
             this.copDataModel = JSON.parse(JSON.stringify(this.dataModel)).slice(this.dataPage, this.dataPage + 10)
             this.currentPage = val
             this.currentPage = val
         },
         },
-
         columnHidden(column) {
         columnHidden(column) {
             // 是否隐藏
             // 是否隐藏
             return this.columnsRights[column.name] === FormOptions.t.PERMISSIONS.HIDE || column.field_type === 'hidden'
             return this.columnsRights[column.name] === FormOptions.t.PERMISSIONS.HIDE || column.field_type === 'hidden'
@@ -477,7 +474,6 @@ export default {
         filterDetailButtons(position) {
         filterDetailButtons(position) {
             const bs = []
             const bs = []
             this.buttons.forEach((button) => {
             this.buttons.forEach((button) => {
-                console.log(button, button.enabledDetail, this.$utils.toBoolean(button.enabledDetail))
                 if (
                 if (
                     hasPermission(button.key, position) && // 有位置权限
                     hasPermission(button.key, position) && // 有位置权限
                     (!button.position || button.position === 'all' || button.position === position) && // 有位置权限
                     (!button.position || button.position === 'all' || button.position === position) && // 有位置权限