田源
2024-08-15 7407f7fd5b9d8e52edf4d1398eae710a0dd08ce9
Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/enumType/index.vue
@@ -97,7 +97,7 @@
          append-to-body="true"
          class="avue-dialog"
          title="查看使用范围"
          width="70%"
          width="60%"
        >
          <avue-crud
            ref="checkViewCrud"
@@ -243,6 +243,7 @@
      dialogData: [],
      dialogOption: {
        ...basicOption,
        calcHeight:50,
        refreshBtn: false,
        selection: false,
        column: [
@@ -320,7 +321,8 @@
      },
      tableLoading: false,
      selectList: [],
      searchParams: {}
      searchParams: {},
      lastIndex: null
    }
  },
  computed: {
@@ -366,13 +368,18 @@
    // 选择框
    selectChange(row) {
      console.log(row)
      this.selectList = row;
    },
    // 点击行
    rowClickHandler(row) {
      this.$refs.userCrud.toggleRowSelection(row);
      func.rowClickHandler(
        row,
        this.$refs.userCrud,
        this.lastIndex,
        (newIndex) => { this.lastIndex = newIndex; },
        () => { this.selectList = []; }
      );
    },
    // 关闭对话框