|
@@ -31,7 +31,7 @@
|
|
|
<p class="reset-button-one" @click="resetQuery">重置</p>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="" prop="title" style="float: right">
|
|
|
- <el-dropdown @command="exportButton" style="float: left" v-hasPermi="['airbottle:use:record:export']">
|
|
|
+ <el-dropdown @command="exportButton" style="float: left" v-hasPermi="['bottle:useRecord:export']">
|
|
|
<div class="form-dropdown-box">
|
|
|
<img src="@/assets/ZDimages/personnelManagement/icon_jzgxx_sc.png">
|
|
|
<p>导出</p>
|
|
@@ -76,7 +76,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="button-box">
|
|
|
<p class="table-min-button"
|
|
|
- v-hasPermi="['airbottle:use:record:query']"
|
|
|
+ v-hasPermi="['bottle:useRecord:query']"
|
|
|
@click="handleClick('',scope.row,'detail')"
|
|
|
>查看</p>
|
|
|
</div>
|
|
@@ -106,7 +106,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { gasApplyList, useRecordList } from '@/api/gasManage3_0/gasManageSYD'
|
|
|
+import { gasApplyList, useRecordManageList } from '@/api/gasManage3_0/gasManageSYD'
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
import detailPage from "./useRecordDetail.vue"
|
|
|
export default {
|
|
@@ -182,7 +182,7 @@ export default {
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(async () => {
|
|
|
- self.download('/zd-bottle/useRecord/export', {...self.queryParamsData}, '使用记录导出-'+currentDate+'.xlsx')
|
|
|
+ self.download('/zd-bottle/useRecord/exportByAdmin', {...self.queryParamsData}, '使用记录导出-'+currentDate+'.xlsx')
|
|
|
}).catch(() => {})
|
|
|
}else if(item.command == 2){
|
|
|
if(self.ids.length>0) {
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
ids :ids
|
|
|
}
|
|
|
console.log("obj",obj)
|
|
|
- self.download(`/zd-bottle/useRecord/export/`,obj, '使用记录导出-'+currentDate+'.xlsx')
|
|
|
+ self.download(`/zd-bottle/useRecord/exportByAdmin/`,obj, '使用记录导出-'+currentDate+'.xlsx')
|
|
|
}).catch(() => {})
|
|
|
}else {
|
|
|
this.msgError('请选择要导出的数据')
|
|
@@ -256,7 +256,7 @@ export default {
|
|
|
this.queryParams.startTime=null;
|
|
|
this.queryParams.endTime=null
|
|
|
}
|
|
|
- useRecordList(_this.queryParams).then( response => {
|
|
|
+ useRecordManageList(_this.queryParams).then( response => {
|
|
|
let res=response.rows;
|
|
|
_this.tableData=res;
|
|
|
_this.total=response.total;
|