Commit d96aca00 authored by 刘怀志's avatar 刘怀志

65709 病历管理-选择不同页的数据进行批量导出,只导出最后一条数据

parent ab00357b
......@@ -498,24 +498,21 @@ export default {
// 反向选择(把永久临时集合和变化的临时集合做减法重新赋给变化的临时集合赋给)
reverseSelection() {
const temp = []
this.registerList.forEach(item => {
console.log(this.ids.includes(item.id))
if (!this.ids.includes(item.id)) {
temp.push(item.id)
this.idsForever.forEach(item => {
if (!this.ids.includes(item)) {
temp.push(item)
}
})
this.ids = temp
this.manualCheck()
},
// 表格当前手动勾选的
// 表格当前手动勾选的
selectChange(selection, row) {
console.log('selectChange', selection, '----', row)
const temp = []
selection.forEach(item => {
temp.push(item.id)
if (!this.ids.some(idItem => idItem === item.id)) {
this.ids.push(item.id)
}
})
this.ids = temp
},
/** 功能按钮--导出按钮操作 */
handleExport() {
......
......@@ -69,8 +69,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8091`,
// target: `http://114.67.241.140:8091`,
// target: `http://localhost:8091`,
target: `http://114.67.241.140:8091`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment