全车型导出对接
分车型导出对接
This commit is contained in:
@@ -103,55 +103,55 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 全部导出-->
|
<!-- 全部导出-->
|
||||||
<div class="table-operator" style='margin-bottom: 19px;text-align: left;margin-top: 20px;'>
|
<div class="table-operator" style='margin-bottom: 19px;text-align: left;margin-top: 20px;'>
|
||||||
<div v-if="vehicleTypeCode === '全部'" class="operator-text" @click="handleExportManage('all')"
|
<div v-show="vehicleTypeCode === '全部'" class="operator-text" @click="handleExportManage('all')"
|
||||||
v-has="'otadetail:export'">
|
v-has="'otadetail:export'">
|
||||||
<a-icon type="export" :rotate="-90" />
|
<a-icon type="export" :rotate="-90" />
|
||||||
{{ $t('export') }}
|
{{ $t('export') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 全部下发通知-->
|
<!-- 全部下发通知-->
|
||||||
<div v-if="vehicleTypeCode === '全部'" class="operator-text" @click="issuenotice"
|
<div v-show="vehicleTypeCode === '全部'" class="operator-text" @click="issuenotice"
|
||||||
v-has="'otadetail:Issuenotice'">
|
v-has="'otadetail:Issuenotice'">
|
||||||
<a-icon type="sound" />
|
<a-icon type="sound" />
|
||||||
{{ $t('issuenotice') }}
|
{{ $t('issuenotice') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- studio导出-->
|
<!-- studio导出-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="handleExportManage('studio')"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="handleExportManage('studio')"
|
||||||
v-has="'otad:export'">
|
v-has="'otad:export'">
|
||||||
<a-icon type="export" :rotate="-90"/>
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{ $t('export') }}
|
{{ $t('export') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- studio批量设置-->
|
<!-- studio批量设置-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="BatchSetting"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="BatchSetting"
|
||||||
v-has="'otad:batchsetting'">
|
v-has="'otad:batchsetting'">
|
||||||
<a-icon type="setting" />
|
<a-icon type="setting" />
|
||||||
{{ $t('BatchSetting') }}
|
{{ $t('BatchSetting') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- studio申请重新匹配-->
|
<!-- studio申请重新匹配-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="applyforrematch"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="applyforrematch"
|
||||||
v-has="'otad:rematch'">
|
v-has="'otad:rematch'">
|
||||||
<a-icon type="rollback" />
|
<a-icon type="rollback" />
|
||||||
{{ $t('applyforrematch') }}
|
{{ $t('applyforrematch') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- studio保存-->
|
<!-- studio保存-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="preservation"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="preservation"
|
||||||
v-has="'otad:save'">
|
v-has="'otad:save'">
|
||||||
<a-icon type="check-circle" />
|
<a-icon type="check-circle" />
|
||||||
{{ $t('preservation') }}
|
{{ $t('preservation') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- studio提交-->
|
<!-- studio提交-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="submit"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="submit"
|
||||||
v-has="'otad-submit'">
|
v-has="'otad-submit'">
|
||||||
<a-icon type="check-circle" />
|
<a-icon type="check-circle" />
|
||||||
{{ $t('submit') }}
|
{{ $t('submit') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- manger确认-->
|
<!-- manger确认-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="confirm"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="confirm"
|
||||||
v-has="'otaman:confirm'">
|
v-has="'otaman:confirm'">
|
||||||
<a-icon type="check-circle" />
|
<a-icon type="check-circle" />
|
||||||
{{ $t('confirm') }}
|
{{ $t('confirm') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- manger退回-->
|
<!-- manger退回-->
|
||||||
<div v-if="vehicleTypeCode !== '全部'" class="operator-text" @click="sendBack"
|
<div v-show="vehicleTypeCode !== '全部'" class="operator-text" @click="sendBack"
|
||||||
v-has="'otaman:return'">
|
v-has="'otaman:return'">
|
||||||
<a-icon type="rollback" />
|
<a-icon type="rollback" />
|
||||||
{{ $t('sendBack') }}
|
{{ $t('sendBack') }}
|
||||||
@@ -1019,11 +1019,15 @@ export default {
|
|||||||
url = 'ota/otaManageApplyEO/oneCarExportXls'
|
url = 'ota/otaManageApplyEO/oneCarExportXls'
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
let exportName = name + ' ' + dateName + '.xlsx'
|
this.queryParam.appliedVehicleProject = this.vehicleTypeCode == '全部'?this.queryParam.appliedVehicleProject:this.vehicleTypeCode
|
||||||
|
this.queryParam.plannedBpLaunchBatch = this.$route.query.plannedBpLaunchBatch
|
||||||
|
let exportName = this.$route.query.plannedBpLaunchBatch + dateName + '.xlsx'
|
||||||
let query = {
|
let query = {
|
||||||
exportName: exportName,
|
exportName: exportName,
|
||||||
selections: this.selectedRowKeys.join(','),
|
selections: this.selectedRowKeys.join(','),
|
||||||
...this.queryParam
|
...this.queryParam,
|
||||||
|
orderBy: this.orderBy,
|
||||||
|
orderByField: this.orderByField,
|
||||||
}
|
}
|
||||||
|
|
||||||
downloadFile(url, exportName, query, this.selectClear)
|
downloadFile(url, exportName, query, this.selectClear)
|
||||||
|
|||||||
Reference in New Issue
Block a user