Merge branch 'master' of http://123.56.95.229:10010/r/高精
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"/>
|
||||
<el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
|
||||
<el-tooltip v-show="true" :open-delay="1000" effect="dark" content="导出合同执行情况" placement="top">
|
||||
<el-button type="primary" plain class="el-icon-download" size="small" style="margin: 10px 0 0 300px" @click="exportExcel">导出</el-button>
|
||||
</el-tooltip>
|
||||
</el-row>
|
||||
</el-card>
|
||||
<el-card>
|
||||
@@ -777,6 +780,32 @@ export default {
|
||||
this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName')
|
||||
this.getSelect(selectProvince, ['省份', '省份流水号'], 'Province')
|
||||
},
|
||||
exportExcel() {
|
||||
if (this.customerName1 === '' || this.customerName1 === null) { this.customerName1_check = 0 } else { this.customerName1_check = 1 }
|
||||
if (this.entryNameValue === '' || this.entryNameValue === null) { this.entryNameValue_check = 0 } else { this.entryNameValue_check = 1 }
|
||||
if (this.MarketingManagerValue === '' || this.MarketingManagerValue === null) { this.peopleid_check = 0 } else { this.peopleid_check = 1 }
|
||||
this.dateRange ? this.check1 = 1 : (this.check1 = 0, this.dateRange = '')
|
||||
if (this.startTime === '' || this.startTime === null) { this.startTime_check = 0 } else { this.startTime_check = 1 }
|
||||
if (this.endTime === '' || this.endTime === null) { this.endTime_check = 0 } else { this.endTime_check = 1 }
|
||||
if (this.machine === '' || this.machine === null) { this.machine_check = 0 } else { this.machine_check = 1 }
|
||||
this.ExecutionProgressShow = false
|
||||
this.uploader = false
|
||||
this.ExecutionProgress = null
|
||||
// this.listLoading = true
|
||||
var param = []
|
||||
param[0] = ['项目流水号_check', this.entryNameValue_check]
|
||||
param[1] = ['合同ID', this.entryNameValue]
|
||||
param[2] = ['客户名称_check', this.customerName1_check]
|
||||
param[3] = ['客户名称', this.customerName1]
|
||||
param[4] = ['开始日期_check', this.check1]
|
||||
param[5] = ['开始日期', this.dateRange[0]]
|
||||
param[6] = ['结束日期_check', this.check1]
|
||||
param[7] = ['结束日期', this.dateRange[1]]
|
||||
param[8] = ['营销经理流水号_check', 0]
|
||||
param[9] = ['机床型号_check', 0]
|
||||
var Data = this.CreateData('2001', '报表_合同执行查询', param)
|
||||
this.exportExcel_NPOI(Data)
|
||||
},
|
||||
openName() {
|
||||
this.dialogFormVisiblePeople = true
|
||||
this.ProvinceValue = ''
|
||||
|
||||
Reference in New Issue
Block a user