diff --git a/src/views/threeSystems/standardLibrary/components/list.vue b/src/views/threeSystems/standardLibrary/components/list.vue index d815fe2..af860ab 100644 --- a/src/views/threeSystems/standardLibrary/components/list.vue +++ b/src/views/threeSystems/standardLibrary/components/list.vue @@ -95,6 +95,7 @@ align="center"/> + diff --git a/src/views/xgf/personStrucManage/components/list.vue b/src/views/xgf/personStrucManage/components/list.vue index e1286a0..fa94697 100644 --- a/src/views/xgf/personStrucManage/components/list.vue +++ b/src/views/xgf/personStrucManage/components/list.vue @@ -626,37 +626,6 @@ export default { }, // 导出指定数据项至 excel 表格 exportExcelHandler(ids, head) { - // return new Promise((resolve, reject) => { - // axios - // .post( - // config.httpurl + '/xgf/user/exportExcel?' + `ids=${ids}&head=${head}`, - // {}, - // { - // responseType: 'blob' - // } - // ) - // .then(res => { - // setTimeout(() => { - // const blob = new Blob([res.data], { - // type: 'application/vnd.ms-excel' - // }) - // const downloadElement = document.createElement('a') - // const href = window.URL.createObjectURL(blob) - // downloadElement.style.display = 'none' - // downloadElement.href = href - // downloadElement.download = moment().format('YYYY-MM-DD HH:mm:ss') - // document.body.appendChild(downloadElement) - // downloadElement.click() - // document.body.removeChild(downloadElement) - // window.URL.revokeObjectURL(href) - // resolve(res) - // }, 2000) - // }) - // .catch(e => { - // reject(e) - // this.$message.error('导出失败,或未查询到隐患') - // }) - // }) window.open(`${this.config.httpurl}/xgf/user/exportExcel?ids=${ids}&head=${head}`) }, // 点击操作打开菜单选择框