diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js index cf9639fd..c38ed0fb 100644 --- a/src/api/Assembly/QualityInspectionInformationInquiry.js +++ b/src/api/Assembly/QualityInspectionInformationInquiry.js @@ -95,25 +95,23 @@ export function searchTableDetail(...params) { } }) } -export function searchData(pageSize, pageCurrent) { +export function searchData() { return request({ url: '', method: 'post', data: { type: '1', - name: '车间生产管理工艺_加工顺序调整_查询正在加工零件工序_NEW', - Pagination: pageCurrent + '&' + pageSize + name: '车间生产管理工艺_加工顺序调整_查询正在加工零件工序_NEW' } }) } -export function searchData1(pageSize, pageCurrent) { +export function searchData1() { return request({ url: '', method: 'post', data: { type: '1', - name: 'MES_机加工MES_记录零件待加工显示_NEW', - Pagination: pageCurrent + '&' + pageSize + name: 'MES_机加工MES_记录零件待加工显示_NEW' } }) } diff --git a/src/api/BasicData/PartsNumberMaintenance.js b/src/api/BasicData/PartsNumberMaintenance.js index 1233566a..f730742e 100644 --- a/src/api/BasicData/PartsNumberMaintenance.js +++ b/src/api/BasicData/PartsNumberMaintenance.js @@ -34,27 +34,25 @@ export function groupSelect(machineValue) { } }) } -export function searchTable5(pageCurrent, pageSize, projectCheck, project, machineCheck, machine, groupCheck, group) { +export function searchTable5(projectCheck, project, machineCheck, machine, groupCheck, group) { return request({ url: '', method: 'post', data: { type: '1', name: 'PDM_零件明细表_外购件和标准件_临时表数据查询', - param: `项目名字_check=${projectCheck}&项目名字=${project}&机床名字_check=${machineCheck}&机床名字=${machine}&组号_check=${groupCheck}&组号=${group}`, - Pagination: pageCurrent + '&' + pageSize + param: `项目名字_check=${projectCheck}&项目名字=${project}&机床名字_check=${machineCheck}&机床名字=${machine}&组号_check=${groupCheck}&组号=${group}` } }) } -export function searchTable6(pageCurrent, pageSize, projectCheck, project, machineCheck, machine, groupCheck, group) { +export function searchTable6(projectCheck, project, machineCheck, machine, groupCheck, group) { return request({ url: '', method: 'post', data: { type: '1', name: 'PDM_零件明细表_基本件_临时表数据查询', - param: `项目名字_check=${projectCheck}&项目名字=${project}&机床名字_check=${machineCheck}&机床名字=${machine}&组号_check=${groupCheck}&组号=${group}`, - Pagination: pageCurrent + '&' + pageSize + param: `项目名字_check=${projectCheck}&项目名字=${project}&机床名字_check=${machineCheck}&机床名字=${machine}&组号_check=${groupCheck}&组号=${group}` } }) } @@ -70,27 +68,25 @@ export function searchTable7(pageCurrent, pageSize, projectCheck, project, machi } }) } -export function basicPartsData(project_check, project, machine_check, machine, group_check, group, pageSize, pageCurrent) { +export function basicPartsData(project_check, project, machine_check, machine, group_check, group) { return request({ url: '', method: 'post', data: { type: '1', name: 'PDM_零件明细表_基本件_查询数据_综合gj', - param: `项目流水号_check=${project_check}&项目流水号=${project}&机床流水号_check=${machine_check}&机床流水号=${machine}&组件流水号_check=${group_check}&组件流水号=${group}`, - Pagination: pageCurrent + '&' + pageSize + param: `项目流水号_check=${project_check}&项目流水号=${project}&机床流水号_check=${machine_check}&机床流水号=${machine}&组件流水号_check=${group_check}&组件流水号=${group}` } }) } -export function purchasePartsData(num, pageCurrent, pageSize) { +export function purchasePartsData(num) { return request({ url: '', method: 'post', data: { type: '1', name: 'PDM_零件明细表_标准件和外购件_查询数据', - param: `组件流水号=${num}`, - pagination: pageCurrent + '&' + pageSize + param: `组件流水号=${num}` } }) } @@ -204,15 +200,14 @@ export function editBasicParts(num, num1) { } }) } -export function getTable(num, pageList, pageSize) { +export function getTable(num) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理工艺_零件工艺计划_已投产_按组查', - param: '组件流水号=' + num + '=int', - Pagination: pageList + '&' + pageSize + param: '组件流水号=' + num + '=int' } }) } @@ -227,15 +222,14 @@ export function editProductNum(num, num1) { } }) } -export function getTable1(num, a, b, c, d, e, f, g, pageList, pageSize) { +export function getTable1(num, a, b, c, d, e, f, g) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理工艺_新排产算法_能力平衡_查询数据_要平衡的零件', - param: '项目流水号_check=' + num + '=string&项目流水号=' + a + '=int&机床流水号_check=' + b + '=string&机床流水号=' + c + '=int&组件流水号_check=' + d + '=string&组件流水号=' + e + '=int&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=1=int&考核状态=5=int', - Pagination: pageList + '&' + pageSize + param: '项目流水号_check=' + num + '=string&项目流水号=' + a + '=int&机床流水号_check=' + b + '=string&机床流水号=' + c + '=int&组件流水号_check=' + d + '=string&组件流水号=' + e + '=int&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=1=int&考核状态=5=int' } }) } @@ -258,8 +252,7 @@ export function searchTable1(...params) { data: { type: '1', name: '采购管理_采购部采购_查询物料_数量维护', - param: `项目流水号_check=${params[2]}&项目流水号=${params[3]}&机床流水号_check=${params[4]}&机床流水号=${params[5]}&组件流水号_check=${params[6]}&组件流水号=${params[7]}&物料状态=1`, - Pagination: params[0] + '&' + params[1] + param: `项目流水号_check=${params[0]}&项目流水号=${params[1]}&机床流水号_check=${params[2]}&机床流水号=${params[3]}&组件流水号_check=${params[4]}&组件流水号=${params[5]}&物料状态=1` } }) } @@ -271,8 +264,7 @@ export function searchTable2(...params) { data: { type: '1', name: '采购管理_采购部采购_查询物料_基本件_数量维护', - param: `项目流水号_check=${params[2]}&项目流水号=${params[3]}&机床流水号_check=${params[4]}&机床流水号=${params[5]}&组件流水号_check=${params[6]}&组件流水号=${params[7]}&物料状态=1`, - Pagination: params[0] + '&' + params[1] + param: `项目流水号_check=${params[0]}&项目流水号=${params[1]}&机床流水号_check=${params[2]}&机床流水号=${params[3]}&组件流水号_check=${params[4]}&组件流水号=${params[5]}&物料状态=1` } }) } diff --git a/src/api/BasicData/SystemRrolemaintenance.js b/src/api/BasicData/SystemRrolemaintenance.js index df3b93e5..c7d85663 100644 --- a/src/api/BasicData/SystemRrolemaintenance.js +++ b/src/api/BasicData/SystemRrolemaintenance.js @@ -1,13 +1,12 @@ import request from '@/utils/request' -export function InitRolefunction(pageCurrent, pageSize) { +export function InitRolefunction() { return request({ url: '', method: 'post', data: { type: '1', - name: '菜单系统模块_项目角色_查询数据_MESWORK', - Pagination: pageCurrent + '&' + pageSize + name: '菜单系统模块_项目角色_查询数据_MESWORK' } }) } diff --git a/src/api/BasicData/WorkshopPersonnelRoleMana.js b/src/api/BasicData/WorkshopPersonnelRoleMana.js index d287983e..c3b5d0f0 100644 --- a/src/api/BasicData/WorkshopPersonnelRoleMana.js +++ b/src/api/BasicData/WorkshopPersonnelRoleMana.js @@ -136,15 +136,14 @@ export function initOrderType() { } }) } -export function searchTable(check1, staffName, check2, systemAdministrator, pageCurrent, pageSize) { +export function searchTable(check1, staffName, check2, systemAdministrator) { return request({ url: '', method: 'post', data: { type: '1', name: '菜单系统模块_项目角色员工综合_查询数据', - param: '姓名_check=' + check1 + '=int&姓名=' + staffName + '=string&角色编号_check=' + check2 + ' =int&角色编号=' + systemAdministrator + '=int', - Pagination: pageCurrent + '&' + pageSize + param: '姓名_check=' + check1 + '=int&姓名=' + staffName + '=string&角色编号_check=' + check2 + ' =int&角色编号=' + systemAdministrator + '=int' } }) } diff --git a/src/api/ManufacturingCenter/EquipmentConditionAnalysis.js b/src/api/ManufacturingCenter/EquipmentConditionAnalysis.js index 9d5837f6..b9da9f53 100644 --- a/src/api/ManufacturingCenter/EquipmentConditionAnalysis.js +++ b/src/api/ManufacturingCenter/EquipmentConditionAnalysis.js @@ -1,14 +1,13 @@ import request from '@/utils/request' -export function getData(num, num1, pageCurrent, pageSize) { +export function getData(num, num1) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理_设备运行情况_查询数据', - param: '工位号=' + num + '&日期=' + num1, - pagination: pageCurrent + '&' + pageSize + param: '工位号=' + num + '&日期=' + num1 } }) } diff --git a/src/api/ManufacturingCenter/GroupMatching.js b/src/api/ManufacturingCenter/GroupMatching.js index 582033f8..bc448266 100644 --- a/src/api/ManufacturingCenter/GroupMatching.js +++ b/src/api/ManufacturingCenter/GroupMatching.js @@ -98,8 +98,8 @@ export function searchTable01(...params) { data: { type: '1', name: '采购管理_采购部采购_查询物料_分配后_加供应商', - param: `项目流水号_check=${params[0]}&项目流水号=${params[1]}&机床流水号_check=${params[2]}&机床流水号=${params[3]}&组件流水号_check=${params[4]}&组件流水号=${params[5]}`, - Pagination: params[6] + '&' + params[7] + param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件类型=${params[6]}`, + Pagination: params[4] + '&' + params[5] } }) } diff --git a/src/api/ManufacturingCenter/machiningHoursStatistics.js b/src/api/ManufacturingCenter/machiningHoursStatistics.js index ee02ffc3..78dd29ee 100644 --- a/src/api/ManufacturingCenter/machiningHoursStatistics.js +++ b/src/api/ManufacturingCenter/machiningHoursStatistics.js @@ -62,15 +62,14 @@ export function initProject() { }) } // 车间生产管理工艺_工时统计_机床查询_查询数据 -export function searchtable4(num1, num2, pageCurrent, pageSize) { +export function searchtable4(num1, num2) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理工艺_工时统计_机床查询_查询数据', - param: '机床流水号_check=' + num1 + '&机床流水号=' + num2, - Pagination: pageCurrent + '&' + pageSize + param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 } }) } @@ -87,15 +86,14 @@ export function searchtable44(num1, num2) { }) } // 车间生产管理工艺_工时统计_组号查询_查询数据 -export function searchtable5(num1, pageCurrent, pageSize) { +export function searchtable5(num1) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理工艺_工时统计_组号查询_查询数据', - param: '机床流水号=' + num1, - Pagination: pageCurrent + '&' + pageSize + param: '机床流水号=' + num1 } }) } diff --git a/src/utils/request.js b/src/utils/request.js index da3f9d7b..f5d89e37 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx` export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx` const service = axios.create({ - baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, + baseURL: `http://192.168.0.110:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 }) export default service diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue index 3de576d4..74dc3854 100644 --- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue +++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue @@ -61,7 +61,7 @@ :label="item.label" :value="item.value"/> - 查询 + 查询 导出 @@ -254,7 +254,7 @@ -

正在加工零件列表

+ 正在加工零件列表 -
- -
+ + + + + + + + + +
-

待加工零件列表

+ 待加工零件列表 -
- -
+ + + + + + + + + +
@@ -402,7 +402,7 @@ { - this.tableData10 = response.data.rows + searchData().then(response => { + this.tableData10 = response.data this.total1 = response.data.total }) }, fetchData1() { - searchData1(this.pageSize2, this.pageCurrent2).then(response => { + searchData1().then(response => { console.log(response) - this.tableData20 = response.data.rows + this.tableData20 = response.data this.total2 = response.data.total }) }, @@ -672,25 +672,25 @@ export default { handleCurrentChange(val) { this.pageCurrent = val this.selecttable() - }, - handleSizeChange1(val) { - this.pageCurrent1 = 1 - this.pageSize1 = val - this.fetchData() - }, - handleCurrentChange1(val) { - this.pageCurrent1 = val - this.fetchData() - }, - handleSizeChange2(val) { - this.pageCurrent2 = 1 - this.pageSize2 = val - this.fetchData1() - }, - handleCurrentChange2(val) { - this.pageCurrent2 = val - this.fetchData1() } + // handleSizeChange1(val) { + // this.pageCurrent1 = 1 + // this.pageSize1 = val + // this.fetchData() + // }, + // handleCurrentChange1(val) { + // this.pageCurrent1 = val + // this.fetchData() + // }, + // handleSizeChange2(val) { + // this.pageCurrent2 = 1 + // this.pageSize2 = val + // this.fetchData1() + // }, + // handleCurrentChange2(val) { + // this.pageCurrent2 = val + // this.fetchData1() + // } } } diff --git a/src/views/BasicData/PartsNumberMaintenance/index.vue b/src/views/BasicData/PartsNumberMaintenance/index.vue index 25233287..572c2ff5 100644 --- a/src/views/BasicData/PartsNumberMaintenance/index.vue +++ b/src/views/BasicData/PartsNumberMaintenance/index.vue @@ -2,7 +2,7 @@
项目名称 - + 机床图号 - + 组号 - + 基本件三表数量 - 全部删除 + 全部删除
-
- -
+ + + + + + + + + +
外购件和标准件三表数量 - 全部删除 + 全部删除
-
- -
+ + + + + + + + + +
@@ -303,17 +303,17 @@ -
- -
+ + + + + + + + + + +
@@ -362,17 +362,17 @@
-
- -
+ + + + + + + + + + +
未分配采购零件数量
@@ -433,17 +433,17 @@ -
- -
+ + + + + + + + + + + @@ -496,17 +496,17 @@ -
- -
+ + + + + + + + + + +
@@ -515,7 +515,7 @@ 临时表 全部删除 - + @@ -562,17 +562,17 @@ -
- -
+ + + + + + + + + + +
@@ -615,17 +615,17 @@ -
- -
+ + + + + + + + + + +
@@ -677,7 +677,7 @@ export default { dialogFormVisible3: false, loading: false, loadingWB: false, - total: 0, + // total: 0, tableData: [], tableData1: [], tableData2: [], @@ -687,32 +687,32 @@ export default { tableData6: [], tableData7: [], tableDataWB: [], - pageCurrent: 1, - pageSize: 10, - pageCurrent1: 1, - pageSize1: 10, - total1: 0, - pageCurrent2: 1, - pageSize2: 10, - total2: 0, - pageCurrent3: 1, - pageSize3: 10, - total3: 0, - pageCurrent4: 1, - pageSize4: 10, - total4: 0, - pageCurrent5: 1, - pageSize5: 10, - total5: 0, - pageCurrent6: 1, - pageSize6: 10, - total6: 0, + // pageCurrent: 1, + // pageSize: 10, + // pageCurrent1: 1, + // pageSize1: 10, + // total1: 0, + // pageCurrent2: 1, + // pageSize2: 10, + // total2: 0, + // pageCurrent3: 1, + // pageSize3: 10, + // total3: 0, + // pageCurrent4: 1, + // pageSize4: 10, + // total4: 0, + // pageCurrent5: 1, + // pageSize5: 10, + // total5: 0, + // pageCurrent6: 1, + // pageSize6: 10, + // total6: 0, pageCurrent7: 1, pageSize7: 10, - total7: 0, - pageCurrentWB: 1, - pageSizeWB: 10, - totalWB: 0 + total7: 0 + // pageCurrentWB: 1, + // pageSizeWB: 10, + // totalWB: 0 } }, computed: { @@ -871,12 +871,12 @@ export default { const machine_check = this.machineValue ? 1 : 0 const group_check = this.groupValue ? 1 : 0 this.loading = true - basicPartsData(project_check, this.projectValue, machine_check, this.machineValue, group_check, this.groupValue, this.pageSize, this.pageCurrent).then(response => { + basicPartsData(project_check, this.projectValue, machine_check, this.machineValue, group_check, this.groupValue).then(response => { this.loading = false const res = response.data this.total = res.total // console.log(this.tableData) - this.tableData = res.rows.map(item => { + this.tableData = res.map(item => { if (item.整改类型 === '1') { item.整改类型 = '新增' } else if (item.整改类型 === '2') { @@ -888,11 +888,11 @@ export default { }) }) this.loadingWB = true - purchasePartsData(this.groupValue, this.pageCurrentWB, this.pageSizeWB).then(response => { + purchasePartsData(this.groupValue).then(response => { this.loadingWB = false const data = response.data this.totalWB = data.total - this.tableDataWB = data.rows.map(item => { + this.tableDataWB = data.map(item => { console.log(item) item.零件类型 = item.零件类型 === '2' ? '外购件' : '标准件' return item @@ -901,22 +901,22 @@ export default { }, getTable() { this.tableData1 = [] - getTable(this.groupValue, this.pageCurrent1, this.pageSize1).then(response => { + getTable(this.groupValue).then(response => { this.total1 = parseInt(response.data.total) this.tableData1 = [] - for (let i = 0; i < response.data.rows.length; i++) { + for (let i = 0; i < response.data.length; i++) { this.tableData1.push({ - 零件图号: response.data.rows[i].零件图号, - 零件名称: response.data.rows[i].零件名称, - 投产总数量: response.data.rows[i].投产总数量, - 最大投产批次: response.data.rows[i].最大投产批次, - 已投产数量: response.data.rows[i].已投产数量, - 未投产数量: response.data.rows[i].未投产数量, - 零件类型名称: response.data.rows[i].零件类型名称, - 组件零件基本件流水号: response.data.rows[i].组件零件基本件流水号, - 投产类型流水号: response.data.rows[i].投产类型流水号, - 数据类型: response.data.rows[i].数据类型, - 材料流水号: response.data.rows[i].材料流水号 + 零件图号: response.data[i].零件图号, + 零件名称: response.data[i].零件名称, + 投产总数量: response.data[i].投产总数量, + 最大投产批次: response.data[i].最大投产批次, + 已投产数量: response.data[i].已投产数量, + 未投产数量: response.data[i].未投产数量, + 零件类型名称: response.data[i].零件类型名称, + 组件零件基本件流水号: response.data[i].组件零件基本件流水号, + 投产类型流水号: response.data[i].投产类型流水号, + 数据类型: response.data[i].数据类型, + 材料流水号: response.data[i].材料流水号 }) } }) @@ -939,21 +939,21 @@ export default { } else { this.checked_partNumber = false } - getTable1(this.checked_entryName, '', this.checked_toolNum, this.machineValue, this.checked_Num, this.groupValue, this.checked_partNumber, this.partNumber, this.pageCurrent2, this.pageSize2).then(response => { - for (let i = 0; i < response.data.rows.length; i++) { - response.data.rows[i].机加工开始时间_长日期 = response.data.rows[i].机加工开始时间_长日期.substring(0, response.data.rows[i].机加工开始时间_长日期.indexOf(' ')) - response.data.rows[i].机加工结束时间_长日期 = response.data.rows[i].机加工结束时间_长日期.substring(0, response.data.rows[i].机加工结束时间_长日期.indexOf(' ')) + getTable1(this.checked_entryName, '', this.checked_toolNum, this.machineValue, this.checked_Num, this.groupValue, this.checked_partNumber, this.partNumber).then(response => { + for (let i = 0; i < response.data.length; i++) { + response.data[i].机加工开始时间_长日期 = response.data[i].机加工开始时间_长日期.substring(0, response.data[i].机加工开始时间_长日期.indexOf(' ')) + response.data[i].机加工结束时间_长日期 = response.data[i].机加工结束时间_长日期.substring(0, response.data[i].机加工结束时间_长日期.indexOf(' ')) } this.total2 = parseInt(response.data.total) - for (let i = 0; i < response.data.rows.length; i++) { + for (let i = 0; i < response.data.length; i++) { this.tableData2.push({ - 零件图号: response.data.rows[i].零件图号, - 零件名称: response.data.rows[i].零件名称, - 投产数量: response.data.rows[i].投产数量, - 机加工开始时间: response.data.rows[i].机加工开始时间_长日期, - 机加工结束时间: response.data.rows[i].机加工结束时间_长日期, - 工序数量: response.data.rows[i].工序数量, - 工艺计划流水号: response.data.rows[i].工艺计划流水号 + 零件图号: response.data[i].零件图号, + 零件名称: response.data[i].零件名称, + 投产数量: response.data[i].投产数量, + 机加工开始时间: response.data[i].机加工开始时间_长日期, + 机加工结束时间: response.data[i].机加工结束时间_长日期, + 工序数量: response.data[i].工序数量, + 工艺计划流水号: response.data[i].工艺计划流水号 }) } }) @@ -963,8 +963,8 @@ export default { this.projectValue ? check2 = 1 : check2 = 0 this.machineValue ? check0 = 1 : check0 = 0 this.groupValue ? check1 = 1 : check1 = 0 - searchTable1(this.pageCurrent3, this.pageSize3, check2, this.projectValue, check0, this.machineValue, check1, this.groupValue).then(response => { - this.tableData3 = response.data.rows + searchTable1(check2, this.projectValue, check0, this.machineValue, check1, this.groupValue).then(response => { + this.tableData3 = response.data this.total3 = response.data.total }) }, @@ -973,8 +973,8 @@ export default { this.projectValue ? check2 = 1 : check2 = 0 this.machineValue ? check0 = 1 : check0 = 0 this.groupValue ? check1 = 1 : check1 = 0 - searchTable2(this.pageCurrent4, this.pageSize4, check2, this.projectValue, check0, this.machineValue, check1, this.groupValue).then(response => { - this.tableData4 = response.data.rows + searchTable2(check2, this.projectValue, check0, this.machineValue, check1, this.groupValue).then(response => { + this.tableData4 = response.data this.total4 = response.data.total }) }, @@ -983,9 +983,9 @@ export default { this.projectName ? check2 = 1 : check2 = 0 this.machineName ? check0 = 1 : check0 = 0 this.groupName ? check1 = 1 : check1 = 0 - searchTable5(this.pageCurrent6, this.pageSize6, check2, this.projectName, check0, this.machineName, check1, this.groupName).then(response => { + searchTable5(check2, this.projectName, check0, this.machineName, check1, this.groupName).then(response => { console.log(response, 5, this.activeName) - this.tableData5 = response.data.rows + this.tableData5 = response.data this.total5 = response.data.total }) }, @@ -995,9 +995,9 @@ export default { this.machineName ? check0 = 1 : check0 = 0 this.groupName ? check1 = 1 : check1 = 0 // console.log(this.projectName, this.machineName, this.groupName, 44) - searchTable6(this.pageCurrent6, this.pageSize6, check2, this.projectName, check0, this.machineName, check1, this.groupName).then(response => { + searchTable6(check2, this.projectName, check0, this.machineName, check1, this.groupName).then(response => { console.log(response, 6) - this.tableData6 = response.data.rows + this.tableData6 = response.data this.total6 = response.data.total }) }, @@ -1126,78 +1126,78 @@ export default { }) } }, - handleSizeChanges(val) { - this.pageCurrent = 1 - this.pageSize = val - this.getTableData() - }, - handleCurrentChanges(val) { - this.pageCurrent = val - this.getTableData() - }, - handleSizeChangeWB(val) { - this.pageCurrentWB = 1 - this.pageSizeWB = val - this.getTableData() - }, - handleCurrentChangeWB(val) { - this.pageCurrentWB = val - this.getTableData() - }, - handleSizeChange1(val) { - this.pageCurrent1 = 1 - this.pageSize1 = val - this.getTable() - }, - handleCurrentChange1(val) { - this.pageCurrent1 = val - this.getTable() - }, - handleSizeChange2(val) { - this.pageSize2 = val - this.pageCurrent2 = 1 - this.getTable1() - }, - handleCurrentChange2(val) { - this.pageCurrent2 = val - this.getTable1() - }, - handleSizeChange3(val) { - this.pageSize3 = val - this.pageCurrent3 = 1 - this.searchTable1() - }, - handleCurrentChange3(val) { - this.pageCurrent3 = val - this.searchTable1() - }, - handleSizeChange4(val) { - this.pageSize4 = val - this.pageCurrent4 = 1 - this.searchTable2() - }, - handleCurrentChange4(val) { - this.pageCurrent4 = val - this.searchTable2() - }, - handleSizeChange5(val) { - this.pageSize5 = val - this.pageCurrent5 = 1 - this.searchTable5() - }, - handleCurrentChange5(val) { - this.pageCurrent5 = val - this.searchTable5() - }, - handleSizeChange6(val) { - this.pageSize6 = val - this.pageCurrent6 = 1 - this.searchTable6() - }, - handleCurrentChange6(val) { - this.pageCurrent6 = val - this.searchTable6() - }, + // handleSizeChanges(val) { + // this.pageCurrent = 1 + // this.pageSize = val + // this.getTableData() + // }, + // handleCurrentChanges(val) { + // this.pageCurrent = val + // this.getTableData() + // }, + // handleSizeChangeWB(val) { + // this.pageCurrentWB = 1 + // this.pageSizeWB = val + // this.getTableData() + // }, + // handleCurrentChangeWB(val) { + // this.pageCurrentWB = val + // this.getTableData() + // }, + // handleSizeChange1(val) { + // this.pageCurrent1 = 1 + // this.pageSize1 = val + // this.getTable() + // }, + // handleCurrentChange1(val) { + // this.pageCurrent1 = val + // this.getTable() + // }, + // handleSizeChange2(val) { + // this.pageSize2 = val + // this.pageCurrent2 = 1 + // this.getTable1() + // }, + // handleCurrentChange2(val) { + // this.pageCurrent2 = val + // this.getTable1() + // }, + // handleSizeChange3(val) { + // this.pageSize3 = val + // this.pageCurrent3 = 1 + // this.searchTable1() + // }, + // handleCurrentChange3(val) { + // this.pageCurrent3 = val + // this.searchTable1() + // }, + // handleSizeChange4(val) { + // this.pageSize4 = val + // this.pageCurrent4 = 1 + // this.searchTable2() + // }, + // handleCurrentChange4(val) { + // this.pageCurrent4 = val + // this.searchTable2() + // }, + // handleSizeChange5(val) { + // this.pageSize5 = val + // this.pageCurrent5 = 1 + // this.searchTable5() + // }, + // handleCurrentChange5(val) { + // this.pageCurrent5 = val + // this.searchTable5() + // }, + // handleSizeChange6(val) { + // this.pageSize6 = val + // this.pageCurrent6 = 1 + // this.searchTable6() + // }, + // handleCurrentChange6(val) { + // this.pageCurrent6 = val + // this.searchTable6() + // }, handleSizeChange7(val) { this.pageSize7 = val this.pageCurrent7 = 1 @@ -1212,7 +1212,7 @@ export default { diff --git a/src/views/BasicData/ShiftManagement/index.vue b/src/views/BasicData/ShiftManagement/index.vue index f1f56607..9c4d1c72 100644 --- a/src/views/BasicData/ShiftManagement/index.vue +++ b/src/views/BasicData/ShiftManagement/index.vue @@ -1,7 +1,7 @@ -
- -
+ + + + + + + + + + @@ -327,9 +327,9 @@ export default { }, dialogFormVisible1: false, dialogFormVisible2: false, - pageCurrent: 1, - pageSize: 10, - total: 0, + // pageCurrent: 1, + // pageSize: 10, + // total: 0, rules2: { // 表单验证规则 value: [{ required: true, message: '请选择时间', trigger: 'blur' }], value2: [{ required: true, message: '请选择时间', trigger: 'blur' }], @@ -456,16 +456,16 @@ export default { this.form1 = {} this.dialogFormVisible2 = false this.form2 = {} - }, - handleSizeChange(val) { - this.pageSize = val - this.pageCurrent = 1 - this.searchTable() - }, - handleCurrentChange(val) { - this.pageCurrent = val - this.searchTable() } + // handleSizeChange(val) { + // this.pageSize = val + // this.pageCurrent = 1 + // this.searchTable() + // }, + // handleCurrentChange(val) { + // this.pageCurrent = val + // this.searchTable() + // } } } diff --git a/src/views/BasicData/SystemRrolemaintenance/index.vue b/src/views/BasicData/SystemRrolemaintenance/index.vue index 3f4c889e..595fea12 100644 --- a/src/views/BasicData/SystemRrolemaintenance/index.vue +++ b/src/views/BasicData/SystemRrolemaintenance/index.vue @@ -1,8 +1,8 @@ -
- -
+ + + + + + + + + + @@ -126,8 +127,8 @@ export default { }, methods: { fetchData() { - InitRolefunction(this.pageCurrent, this.pageSize).then(response => { // 初始化 - this.tableData = response.data.rows + InitRolefunction().then(response => { // 初始化 + this.tableData = response.data this.total = response.data.total }) }, @@ -140,15 +141,15 @@ export default { console.log(response.data) }) }, - handleSizeChange(val) { - this.pageCurrent = 1 - this.pageSize = val - this.fetchData() - }, - handleCurrentChange(val) { - this.pageCurrent = val - this.fetchData() - }, + // handleSizeChange(val) { + // this.pageCurrent = 1 + // this.pageSize = val + // this.fetchData() + // }, + // handleCurrentChange(val) { + // this.pageCurrent = val + // this.fetchData() + // }, handleEdit(row) { if (this.$refs['form2'] !== undefined) { this.$refs['form2'].resetFields() diff --git a/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue b/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue index 88b60d6f..ede3a0eb 100644 --- a/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue +++ b/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue @@ -3,22 +3,22 @@ - 员工姓名: - - 角色名称: - + + + + - 查询 + 查询 增加 - + -
- -
+ + + + + + + + + +
@@ -232,9 +232,9 @@ export default { staffNum: '', personnelNumber: '', personnelStream: '', - pageCurrent1: 1, - pageSize1: 10, - total1: null, + // pageCurrent1: 1, + // pageSize1: 10, + // total1: null, roleName: null, roleNames: [], rybh: '', @@ -283,9 +283,9 @@ export default { } else { this.check2 = 0 } - searchTable(this.check1, this.staffName, this.check2, this.roleName, this.pageCurrent1, this.pageSize1).then(response => { + searchTable(this.check1, this.staffName, this.check2, this.roleName).then(response => { console.log(response) - this.tableData = response.data.rows + this.tableData = response.data this.total1 = response.data.total }) }, @@ -304,15 +304,15 @@ export default { }) this.searchData() }, - handleSizeChange1(val) { - this.pageCurrent1 = 1 - this.pageSize1 = val - this.searchData() - }, - handleCurrentChange1(val) { - this.pageCurrent1 = val - this.searchData() - }, + // handleSizeChange1(val) { + // this.pageCurrent1 = 1 + // this.pageSize1 = val + // this.searchData() + // }, + // handleCurrentChange1(val) { + // this.pageCurrent1 = val + // this.searchData() + // }, submitAdd1() { this.$refs['form1'].validate((valid) => { if (valid) { diff --git a/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue b/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue index 1677c574..e7ef503c 100644 --- a/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue +++ b/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue @@ -1,8 +1,8 @@ -
- -
+ + + + + + + + + + @@ -214,7 +213,7 @@ export default { loading: false, tableData: [], // 表格数据 total: null, // 总条数 - pageSize: 10, // 每页显示条数 + pageSize: 1000, // 每页显示条数 pageCurrent: 1, // 后台获取页 gongzuozhebianhao: '', machinenumber: '', @@ -224,17 +223,17 @@ export default { loading2: false, tableData2: [], // 表格数据 total2: null, // 总条数 - pageSize2: 10, // 每页显示条数 + pageSize2: 1000, // 每页显示条数 pageCurrent2: 1, // 后台获取页 loading3: false, tableData3: [], // 表格数据 total3: null, // 总条数 - pageSize3: 10, // 每页显示条数 + pageSize3: 1000, // 每页显示条数 pageCurrent3: 1, // 后台获取页 loading4: false, tableData4: [], // 表格数据 total4: null, // 总条数 - pageSize4: 10, // 每页显示条数 + pageSize4: 1000, // 每页显示条数 pageCurrent4: 1 // 后台获取页 } }, @@ -414,12 +413,12 @@ export default { this.tableData4 = [] this.total3 = 0 if (this.machineNumberValue !== '' && this.machineNumberValue !== null) { this.check1 = 1 } else { this.check1 = 0 } - searchtable4(this.check1, this.machineNumberValue, this.pageCurrent, this.pageSize).then(response => { + searchtable4(this.check1, this.machineNumberValue).then(response => { if (response.data.total === 0) { this.loading3 = false } else { this.total3 = response.data.total - this.tableData3 = response.data.rows + this.tableData3 = response.data } }).then(() => { this.loading3 = false @@ -430,12 +429,12 @@ export default { this.tableData4 = [] this.pageCurrent4 = 1 this.machineNumberValue = parseInt(row.机床流水号) - searchtable5(this.machineNumberValue, this.pageCurrent4, this.pageSize4).then(response => { + searchtable5(this.machineNumberValue).then(response => { if (response.data.total === 0) { this.loading4 = false } else { this.total4 = response.data.total - this.tableData4 = response.data.rows + this.tableData4 = response.data } }).then(() => { this.loading4 = false @@ -473,26 +472,26 @@ export default { handleCurrentChange2(val) { this.pageCurrent2 = val this.searchTable3() - }, - // 分页 - handleSizeChange3(val) { - this.pageCurrent3 = 1 - this.pageSize3 = val - this.searchTable4() - }, - handleCurrentChange3(val) { - this.pageCurrent3 = val - this.searchTable4() - }, - handleSizeChange4(val) { - this.pageCurrent4 = 1 - this.pageSize4 = val - this.searchTable6() - }, - handleCurrentChange4(val) { - this.pageCurrent4 = val - this.searchTable6() } + // 分页 + // handleSizeChange3(val) { + // this.pageCurrent3 = 1 + // this.pageSize3 = val + // this.searchTable4() + // }, + // handleCurrentChange3(val) { + // this.pageCurrent3 = val + // this.searchTable4() + // }, + // handleSizeChange4(val) { + // this.pageCurrent4 = 1 + // this.pageSize4 = val + // this.searchTable6() + // }, + // handleCurrentChange4(val) { + // this.pageCurrent4 = val + // this.searchTable6() + // } } } diff --git a/src/views/Outsourcing/OutsourcingQCSearch/index.vue b/src/views/Outsourcing/OutsourcingQCSearch/index.vue index 054cc9b6..fefbaab7 100644 --- a/src/views/Outsourcing/OutsourcingQCSearch/index.vue +++ b/src/views/Outsourcing/OutsourcingQCSearch/index.vue @@ -1,9 +1,9 @@ -
+
- +