|
|
@ -24,6 +24,7 @@
|
|
|
|
<el-col :span="9">
|
|
|
|
<el-col :span="9">
|
|
|
|
<el-form-item style="float: right" >
|
|
|
|
<el-form-item style="float: right" >
|
|
|
|
<el-button type="success" @click="initList">查询</el-button>
|
|
|
|
<el-button type="success" @click="initList">查询</el-button>
|
|
|
|
|
|
|
|
<el-button type="success" @click="exportExcel()">导出</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -92,6 +93,7 @@ import { mapGetters } from 'vuex'
|
|
|
|
import XEUtils from 'xe-utils'
|
|
|
|
import XEUtils from 'xe-utils'
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
import ScrollPane from "@/layout/components/TagsView/ScrollPane.vue";
|
|
|
|
import ScrollPane from "@/layout/components/TagsView/ScrollPane.vue";
|
|
|
|
|
|
|
|
import {exportByExcel} from "@/utils/rpkj";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name:'YdjhzxCX',
|
|
|
|
name:'YdjhzxCX',
|
|
|
|
components: {ScrollPane},
|
|
|
|
components: {ScrollPane},
|
|
|
@ -698,6 +700,12 @@ export default {
|
|
|
|
this.initgxList()
|
|
|
|
this.initgxList()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exportExcel(){
|
|
|
|
|
|
|
|
exportByExcel(this.tableColumn,this.$refs.xGrid.getTableData().visibleData,1,'作业计划.xlsx')
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initgxList(){
|
|
|
|
initgxList(){
|
|
|
|
const dict=window.localStorage.getItem( 'SYZT');
|
|
|
|
const dict=window.localStorage.getItem( 'SYZT');
|
|
|
|
const status =JSON.parse(dict)
|
|
|
|
const status =JSON.parse(dict)
|
|
|
|