|
|
@@ -25,10 +25,10 @@
|
|
25
|
25
|
</el-form>
|
|
26
|
26
|
|
|
27
|
27
|
<el-row :gutter="10" class="mb8">
|
|
28
|
|
- <el-col :span="1.5">
|
|
|
28
|
+ <!-- <el-col :span="1.5">
|
|
29
|
29
|
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
|
30
|
|
- v-hasPermi="['oa:check:export']">导出</el-button>
|
|
31
|
|
- </el-col>
|
|
|
30
|
+ v-hasPermi="['oa:check:export']">全部导出</el-button>
|
|
|
31
|
+ </el-col> -->
|
|
32
|
32
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
33
|
33
|
</el-row>
|
|
34
|
34
|
|
|
|
@@ -48,7 +48,7 @@
|
|
48
|
48
|
<el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)"
|
|
49
|
49
|
v-hasPermi="['oa:check:query']">查看</el-button>
|
|
50
|
50
|
<el-button size="mini" type="text" icon="el-icon-download" @click="downloadInfo(scope.row)"
|
|
51
|
|
- v-hasPermi="['oa:check:query']">下载</el-button>
|
|
|
51
|
+ v-hasPermi="['oa:check:query']">导出</el-button>
|
|
52
|
52
|
</template>
|
|
53
|
53
|
</el-table-column>
|
|
54
|
54
|
</el-table>
|
|
|
@@ -256,28 +256,28 @@ export default {
|
|
256
|
256
|
downloadInfo(row){
|
|
257
|
257
|
this.download('oa/budget/export', {
|
|
258
|
258
|
'budgetId': row.budgetId
|
|
259
|
|
- }, `budget_${new Date().getTime()}.xlsx`);
|
|
|
259
|
+ }, `budget_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
260
|
260
|
this.download('oa/budgetCar/export', {
|
|
261
|
261
|
'budgetId': row.budgetId
|
|
262
|
|
- }, `budget_Car_${new Date().getTime()}.xlsx`);
|
|
|
262
|
+ }, `budget_Car_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
263
|
263
|
this.download('oa/budgetDevice/export', {
|
|
264
|
264
|
'budgetId': row.budgetId
|
|
265
|
|
- }, `budget_Device_${new Date().getTime()}.xlsx`);
|
|
|
265
|
+ }, `budget_Device_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
266
|
266
|
this.download('oa/budgetSettle/export', {
|
|
267
|
267
|
'budgetId': row.budgetId
|
|
268
|
|
- }, `budget_Settle_${new Date().getTime()}.xlsx`);
|
|
|
268
|
+ }, `budget_Settle_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
269
|
269
|
this.download('oa/budgetStaff/export', {
|
|
270
|
270
|
'budgetId': row.budgetId
|
|
271
|
|
- }, `budget_Staff${new Date().getTime()}.xlsx`);
|
|
|
271
|
+ }, `budget_Staff_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
272
|
272
|
this.download('oa/budgetOther/export', {
|
|
273
|
273
|
'budgetId': row.budgetId
|
|
274
|
|
- }, `budget_Other${new Date().getTime()}.xlsx`);
|
|
|
274
|
+ }, `budget_Other_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
275
|
275
|
this.download('oa/budgetSite/export', {
|
|
276
|
276
|
'budgetId': row.budgetId
|
|
277
|
|
- }, `budget_Site${new Date().getTime()}.xlsx`);
|
|
|
277
|
+ }, `budget_Site_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`);
|
|
278
|
278
|
this.download('oa/projectWork/export', {
|
|
279
|
279
|
'projectId': row.projectId
|
|
280
|
|
- }, `project_Work${new Date().getTime()}.xlsx`)
|
|
|
280
|
+ }, `project_Work_${row.project.projectNumber}_${row.project.projectName}_${new Date().getTime()}.xlsx`)
|
|
281
|
281
|
},
|
|
282
|
282
|
/** 导出按钮操作 */
|
|
283
|
283
|
handleExport() {
|