删除

  //删除
    delClick() {
      const _that = this
      let keys = this.selectedRowKeys
      let tabs = []
      keys.map(key => {
        tabs.push({
          GUID: key
        })
      })
      this.$confirm({
        title: '提示',
        content: '是否确认删除选中记录?',
        onOk() {
          Post(api.execute, {
            funcName: 'ZHRFM_PA_DELD_OPERATION',
            input: {
              IV_STRBTID: 'Z021'//删除code
            },
            tabObj: {
              IT_TAB: tabs
            }
          }).then(res => {
            _that.$refs.table.refresh(true)
          })
        }
      })
    },
原文地址:https://www.cnblogs.com/KoBe-bk/p/13791067.html