jump.js 1.13 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-09-15 16:55:37
 */
import Router from '@/router'
export default {
  methods: {
    //点击行选中或取消复选框
    /**
     * @description: 点击行选中或取消复选框
     * @param {*} row
     * @param {*} column
     * @param {*} event
     * @author: renchao
     */
    handleRowClick (row, column, event) {
      this.$refs.table.toggleRowSelection(row)
    },
    /**
     * @description: jump
     * @param {*} data
     * @param {*} type
     * @author: renchao
     */
    jump (data, type) {
      // const { href } = Router.resolve(
      //   "/workFrame?bsmSlsq=" +
      //   data.bsmSlsq +
      //   "&bestepid=" +
      //   data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理"
      // );
      // window.open(href, "_blank");
      const { href } = Router.resolve('/workFrame?ywh=' + data.ywh + '&zbhj=受理')
      window.open(href, "_blank")
      this.$popupCacel()
    },
    /**
     * @description: queryClick
     * @author: renchao
     */
    queryClick () {
      this.pageData.currentPage = 1
      // this.fetchData();
    }
  }
}