From c06aea2bc2a7dd01a3a3c63b01e2520a3772b53c Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Sat, 5 Jan 2019 09:56:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=88=E5=90=8C=E6=9C=BA?= =?UTF-8?q?=E5=BA=8A=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContractInformationManagement.js | 4 +- .../ContractInformationManagement/index.vue | 51 +++---------------- 2 files changed, 10 insertions(+), 45 deletions(-) diff --git a/src/api/MarketingCenter/ContractInformationManagement.js b/src/api/MarketingCenter/ContractInformationManagement.js index 59a2ae6c..833d38f6 100644 --- a/src/api/MarketingCenter/ContractInformationManagement.js +++ b/src/api/MarketingCenter/ContractInformationManagement.js @@ -20,14 +20,14 @@ export function initMarketingManager() { } }) } -export function searchTable1(pageCurrent, pageSize, num1, num2, num3, num4, num5, num6, num7, num8) { +export function searchTable1(pageCurrent, pageSize, num1, num2, num3, num4, num5, num6, num7, num8, num9, num10) { return request({ url: '', method: 'post', data: { type: '1', name: '合同信息管理_合同信息_查询', - param: '合同ID=' + num1 + '=int&人员ID=' + num2 + '=int&项目流水号_check=' + num3 + '=int&营销经理流水号_check=' + num4 + '=int&开始日期_check=' + num5 + '=int&结束日期_check=' + num6 + '=int&开始日期=' + num7 + '=date&结束日期=' + num8 + '=date', + param: '合同ID=' + num1 + '=int&人员ID=' + num2 + '=int&项目流水号_check=' + num3 + '=int&营销经理流水号_check=' + num4 + '=int&开始日期_check=' + num5 + '=int&结束日期_check=' + num6 + '=int&开始日期=' + num7 + '=date&结束日期=' + num8 + '=date&机床型号_check=' + num9 + '=int&机床型号=' + num10 + '=string', Pagination: pageCurrent + '&' + pageSize } }) diff --git a/src/views/MarketingCenter/ContractInformationManagement/index.vue b/src/views/MarketingCenter/ContractInformationManagement/index.vue index b42916d2..af06e319 100644 --- a/src/views/MarketingCenter/ContractInformationManagement/index.vue +++ b/src/views/MarketingCenter/ContractInformationManagement/index.vue @@ -9,9 +9,11 @@ :label="item.label" :value="item.value"/> + 机床型号: + 销售经理: - 开始日期: + 时间区间: - 结束日期: + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -586,6 +548,8 @@ export default { time6: '', time7: '', time8: '', + machine: '', + machine_check: '', disabledTime: false, dialogTimeVisible: false, executionProgressIDdisabled: false, @@ -745,11 +709,12 @@ export default { if (this.MarketingManagerValue === '' || this.MarketingManagerValue === null) { this.peopleid_check = 0 } else { this.peopleid_check = 1 } 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 - this.getTable(searchTable1, [this.PageCurrent, this.PageSize, this.entryNameValue, this.peopleid, this.entryNameValue_check, this.peopleid_check, this.startTime_check, this.endTime_check, this.startTime, this.endTime], ['tableData1', 'total', 'listLoading']) + this.getTable(searchTable1, [this.PageCurrent, this.PageSize, this.entryNameValue, this.peopleid, this.entryNameValue_check, this.peopleid_check, this.startTime_check, this.endTime_check, this.startTime, this.endTime, this.machine_check, this.machine], ['tableData1', 'total', 'listLoading']) }, fetchExecutionProgressdata(row) { this.projectNum = row.项目流水号