Commit e3f7efc1 authored by 秦嘉's avatar 秦嘉

导出修改

parent c3c4de4d
......@@ -192,8 +192,8 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="fcryList" @selection-change="handleSelectionChange" border>
<el-table-column type="selection" width="55" align="center" />
<el-table ref="fcryTable" :row-key="(row) => {return row.id}" v-loading="loading" :data="fcryList" @selection-change="handleSelectionChange" border>
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" />
<el-table-column label="方舱名称" align="center" prop="fcPlace" width="200" :show-overflow-tooltip="true">
<template slot-scope="scope">
......@@ -684,7 +684,8 @@ export default {
doorplate: null,
positiveOnly: null,
isPositive: null,
peopleType: null
peopleType: null,
idList: []
},
formLoading: false,
// 表单参数
......@@ -1141,11 +1142,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.fcryTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.fcryTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1248,6 +1251,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/fcry/export', {
...this.queryParams
}, `方舱人员数据.xlsx`)
......
......@@ -124,8 +124,8 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="fkqkList" @selection-change="handleSelectionChange" border>
<el-table-column type="selection" width="55" align="center" />
<el-table ref="fkqkTable" :row-key="(row) => {return row.id}" v-loading="loading" :data="fkqkList" @selection-change="handleSelectionChange" border>
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" />
<el-table-column label="所在区" width="140" align="center" prop="area" :show-overflow-tooltip="true">
<template slot-scope="scope">
......@@ -555,6 +555,7 @@ export default {
jfTime: null,
status: null,
floor: null,
idList: []
},
formLoading: false,
floorOptions: [
......@@ -1030,11 +1031,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.fkqkTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.fkqkTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1141,6 +1144,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/fkqk/export', {
...this.queryParams
}, `小区封控情况数据.xlsx`)
......
......@@ -190,8 +190,8 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="gldryList" @selection-change="handleSelectionChange" border>
<el-table-column type="selection" width="55" align="center" />
<el-table ref="gldryTable" :row-key="(row) => {return row.id}" v-loading="loading" :data="gldryList" @selection-change="handleSelectionChange" border>
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" />
<el-table-column label="隔离点名称" width="200" align="center" prop="glPlace" :show-overflow-tooltip="true">
<template slot-scope="scope">
......@@ -620,6 +620,7 @@ export default {
buildingNo: null,
unitNo: null,
houseNo: null,
idList: []
},
// 表单参数
formLoading: false,
......@@ -1076,11 +1077,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.gldryTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.gldryTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1183,6 +1186,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/gldry/export', {
...this.queryParams
}, `隔离点人员数据.xlsx`)
......
......@@ -264,9 +264,11 @@
<el-table
v-loading="loading"
:data="hscjList"
ref="hscjTable"
:row-key="(row) => {return row.id}"
border
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" width="100" :show-overflow-tooltip="true" />
<el-table-column label="省" align="center" prop="province" width="100" :show-overflow-tooltip="true" />
<el-table-column label="市" align="center" prop="city" width="100" :show-overflow-tooltip="true" />
......@@ -981,6 +983,7 @@ export default {
rygx: null,
boxhao: null,
status: null,
idList: [],
},
formLoading: false,
// 表单参数
......@@ -1271,11 +1274,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.hscjTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.hscjTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1358,6 +1363,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/hscj/export', {
...this.queryParams
}, `核算采集数据.xlsx`)
......
......@@ -165,8 +165,8 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="jcglryList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table ref="jcglryTable" :row-key="(row) => {return row.id}" v-loading="loading" :data="jcglryList" @selection-change="handleSelectionChange">
<el-table-column :reserve-selection="true" type="selection" width="55" align="center"/>
<!-- <el-table-column label="主键" align="center" prop="id"/>-->
<el-table-column label="是否区内" align="center" width="80" prop="isArea" :show-overflow-tooltip="true">
<template slot-scope="scope">
......@@ -561,7 +561,8 @@ export default {
arrangeDrivers: null,
bzStreet: null,
bzAddress: null,
status: null
status: null,
idList: []
},
importLoading: false,
// 导入列表
......@@ -899,11 +900,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1
this.$refs.jcglryTable.clearSelection();
this.getList()
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm('queryForm')
this.$refs.jcglryTable.clearSelection();
this.handleQuery()
},
// 多选框选中数据
......@@ -1126,6 +1129,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/jcglry/export', {
...this.queryParams
}, `解除隔离人员数据.xlsx`)
......
......@@ -118,8 +118,8 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="wzzryList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table ref="wzzryTable" :row-key="(row) => {return row.id}" v-loading="loading" :data="wzzryList" @selection-change="handleSelectionChange">
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" />
<el-table-column label="姓名" align="center" prop="userName" width="100" :show-overflow-tooltip="true" />
<el-table-column label="身份证号码" align="center" prop="cardNo" width="180" :show-overflow-tooltip="true" />
......@@ -493,6 +493,7 @@ export default {
isCare: null,
cohabitantsNumber: null,
status: null,
idList: []
},
basicdiseaseOptions: [],
basicDiseaseName: [],
......@@ -940,11 +941,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.wzzryTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.wzzryTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1062,6 +1065,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/wzzry/export', {
...this.queryParams
}, `wzzry_${new Date().getTime()}.xlsx`)
......
......@@ -157,9 +157,11 @@
<el-table
v-loading="loading"
:data="ycsbList"
ref="ycsbTable"
:row-key="(row) => {return row.id}"
border
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" width="100" :show-overflow-tooltip="true" />
<el-table-column label="是否已处理" align="center" prop="isHandle" width="100" :show-overflow-tooltip="true">
<template slot-scope="scope">
......@@ -762,6 +764,7 @@ export default {
unit: null,
hasAcid: null,
status: null,
idList: []
},
hasAcidOptions: [
{code: '0', name: '是'},
......@@ -1002,11 +1005,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.ycsbTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.ycsbTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1090,6 +1095,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/ycsb/export', {
...this.queryParams
}, `抗原异常上报数据.xlsx`)
......
......@@ -222,9 +222,11 @@
<el-table
v-loading="loading"
:data="yxryList"
ref="yxryTable"
:row-key="(row) => {return row.id}"
border
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" width="100" :show-overflow-tooltip="true" />
<el-table-column label="姓名" align="center" prop="userName" width="100" :show-overflow-tooltip="true" />
<el-table-column label="日期" align="center" prop="sbDate" width="100" :show-overflow-tooltip="true">
......@@ -972,6 +974,7 @@ export default {
glPlace: null,
status: null,
isYz: null,
idList: []
},
// 表单参数
formLoading: false,
......@@ -1288,11 +1291,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.yxryTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.yxryTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -1399,6 +1404,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/yxry/export', {
...this.queryParams
}, `阳性人员数据.xlsx`)
......
......@@ -113,8 +113,8 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="zlqkList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table ref="zlqkTable" :row-key="(row) => {return row.id}" v-loading="loading" :data="zlqkList" @selection-change="handleSelectionChange">
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" />
<el-table-column label="日期" align="center" prop="sbDate" width="180">
<template slot-scope="scope">
......@@ -276,6 +276,7 @@ export default {
phone: null,
medication: null,
status: null,
idList: []
},
// 表单参数
form: {},
......@@ -419,11 +420,13 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.$refs.zlqkTable.clearSelection();
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.$refs.zlqkTable.clearSelection();
this.handleQuery();
},
// 多选框选中数据
......@@ -501,6 +504,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids !== null) {
this.queryParams.idList = this.ids
}
this.download('system/zlqk/export', {
...this.queryParams
}, `zlqk_${new Date().getTime()}.xlsx`)
......
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