qushaowei
2024-07-12 336dcb70c156c947530eab0f0a96ee17de477929
src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
@@ -138,6 +138,7 @@
      scrollTrigger: {},
      dataSource: [],
      selectionRows: [],
      selectionRowsNotClear: [],
      title: '根据查询结果选择保养项目',
      ipagination: {
        current: 1,
@@ -167,6 +168,7 @@
        type: 'checkbox',
        onChange: (selectedRowKeys, selectedRows) => {
          this.selectedRowKeys = selectedRowKeys
          this.selectionRowsNotClear.push(selectedRows)
          this.onSelectChange(selectedRows)
        },
        getCheckboxProps: record => ({
@@ -209,6 +211,7 @@
    showModals(oldSelectRows) {
      this.selectionRows = []
      this.selectionRowsNotClear = []
      this.oldSelectRows = oldSelectRows
      this.visible = true
      this.loadData(1)
@@ -252,7 +255,7 @@
      this.loadData()
    },
    handleSubmit() {
      this.$bus.$emit('selectionRows', this.selectionRows)
      this.$bus.$emit('selectionRows', this.selectionRowsNotClear)
      // this.searchReset(0)
      this.close()
    },