|
@@ -98,16 +98,16 @@
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
- <!-- <el-col :span="1.5">
|
|
|
|
|
|
+ <el-col :span="1.5">
|
|
<el-button
|
|
<el-button
|
|
type="warning"
|
|
type="warning"
|
|
plain
|
|
plain
|
|
icon="el-icon-download"
|
|
icon="el-icon-download"
|
|
size="mini"
|
|
size="mini"
|
|
- @click="repastOrderAcceptFun"
|
|
|
|
|
|
+ @click="handleExport"
|
|
v-hasPermi="configPermi.export"
|
|
v-hasPermi="configPermi.export"
|
|
>导出</el-button>
|
|
>导出</el-button>
|
|
- </el-col> -->
|
|
|
|
|
|
+ </el-col>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
@@ -209,7 +209,7 @@
|
|
details: ['orderManagement:cateringOrders:details'], // 详情权限
|
|
details: ['orderManagement:cateringOrders:details'], // 详情权限
|
|
delect: [''], // 删除权限
|
|
delect: [''], // 删除权限
|
|
upload: [''],// 导入权限
|
|
upload: [''],// 导入权限
|
|
- export: [''],// 导出权限
|
|
|
|
|
|
+ export: ['orderManagement:cateringOrders:export'],// 导出权限
|
|
repastOrderAccept: ['orderManagement:cateringOrders:repastOrderAccept'],
|
|
repastOrderAccept: ['orderManagement:cateringOrders:repastOrderAccept'],
|
|
},
|
|
},
|
|
configUrl: {
|
|
configUrl: {
|
|
@@ -217,7 +217,7 @@
|
|
delect: '', // 删除地址
|
|
delect: '', // 删除地址
|
|
upload: '',// 导入地址
|
|
upload: '',// 导入地址
|
|
download:'', // 下载模板地址
|
|
download:'', // 下载模板地址
|
|
- export: '',// 导出地址
|
|
|
|
|
|
+ export: '/order/orderInfo/repastOrderListExport',// 导出地址
|
|
updateStatusById: '',
|
|
updateStatusById: '',
|
|
repastOrderAccept: '/order/orderInfo/repastOrderAccept', // 接单/拒单
|
|
repastOrderAccept: '/order/orderInfo/repastOrderAccept', // 接单/拒单
|
|
},
|
|
},
|
|
@@ -358,7 +358,7 @@
|
|
/** 导出按钮操作 */
|
|
/** 导出按钮操作 */
|
|
handleExport() {
|
|
handleExport() {
|
|
let params = this.paramsFormat({...this.queryParams},true)
|
|
let params = this.paramsFormat({...this.queryParams},true)
|
|
- this.download(this.configUrl.export, {
|
|
|
|
|
|
+ this.downloadGet(this.configUrl.export, {
|
|
...params
|
|
...params
|
|
}, `${this.title }_${new Date().getTime()}.xlsx`)
|
|
}, `${this.title }_${new Date().getTime()}.xlsx`)
|
|
},
|
|
},
|