- 班次类型:
+
@@ -90,16 +90,16 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -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 @@
- 角色功能:
-
+
+
查询
增加
@@ -10,6 +10,7 @@
@@ -44,16 +45,16 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -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 @@
- 工位号:
-
+
+
{{ item.value2 }}
- 日期:
+
- 查询
+ 查询
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -187,9 +187,9 @@ export default {
time22: '',
time33: '',
time44: '',
- pageCurrent: 1,
- pageSize: 10,
- total: 0,
+ // pageCurrent: 1,
+ // pageSize: 10,
+ // total: 0,
table: []
}
},
@@ -214,13 +214,13 @@ export default {
})
},
searchData() {
- getData(this.MachineValue, this.Time, this.pageCurrent, this.pageSize).then(response => {
- this.tableDataA = response.data.rows
- this.total = response.data.total
- this.time1 = response.data.rows[0].运行持续时间
- this.time2 = response.data.rows[0].等待持续时间
- this.time3 = response.data.rows[0].停机持续时间
- this.time4 = response.data.rows[0].报警持续时间
+ getData(this.MachineValue, this.Time).then(response => {
+ this.tableDataA = response.data
+ // this.total = response.data.total
+ this.time1 = response.data[0].运行持续时间
+ this.time2 = response.data[0].等待持续时间
+ this.time3 = response.data[0].停机持续时间
+ this.time4 = response.data[0].报警持续时间
}).then(() => {
this.drawLine1()
})
diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue
index cb6dcf4e..b7a586f1 100644
--- a/src/views/ManufacturingCenter/GroupMatching/index.vue
+++ b/src/views/ManufacturingCenter/GroupMatching/index.vue
@@ -20,7 +20,7 @@
组号:
- 查询
+ 查询
车间生产
@@ -82,7 +82,7 @@
:page-sizes="[10, 20, 30, 40, 50]"
:page-size="pageSize"
:total="total"
- layout="total, sizes, prev, pager, next, jumper"
+ layout="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
@@ -140,7 +140,7 @@
:page-size="pageSize00"
:total="total00"
style="margin-top:10px;display:inline-block;width:50%"
- layout="total, sizes, prev, pager, next, jumper"
+ layout="total"
@size-change="handleSizeChange00"
@current-change="handleCurrentChange00"/>
@@ -195,7 +195,7 @@
:page-size="pageSize01"
:total="total01"
style="margin-top:10px;display:inline-block;width:50%"
- layout="total, sizes, prev, pager, next, jumper"
+ layout="total"
@size-change="handleSizeChange01"
@current-change="handleCurrentChange01"/>
@@ -255,7 +255,7 @@
:page-size="pageSize02"
:total="total02"
style="margin-top:10px;display:inline-block;width:50%"
- layout="total, sizes, prev, pager, next, jumper"
+ layout="total"
@size-change="handleSizeChange02"
@current-change="handleCurrentChange02"/>
@@ -312,7 +312,7 @@
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize5"
:total="total5"
- layout="total, sizes, prev, pager, next, jumper"
+ layout="total"
@size-change="handleSizeChange5"
@current-change="handleCurrentChange5"/>
@@ -495,13 +495,13 @@ export default {
num: null,
PartType: '标准件',
pageCurrent00: 1,
- pageSize00: 10,
+ pageSize00: 1000,
pageCurrent01: 1,
pageSize01: 10,
pageCurrent02: 1,
- pageSize02: 10,
+ pageSize02: 1000,
pageCurrent: 1,
- pageSize: 10,
+ pageSize: 1000,
pageCurrent1: 1,
pageSize1: 10,
pageCurrent2: 1,
@@ -726,12 +726,16 @@ export default {
this.dialogFormVisible3 = false
},
searchTable() {
- if (this.PartType === '标准件') {
- this.searchTable0()
- } else if (this.PartType === '外购件') {
- this.searchTable1()
- } else if (this.PartType === '基本件') {
- this.searchTable2()
+ if (this.machine === '' || this.machine === null) {
+ this.$message.warning('请先选择机床组号')
+ } else {
+ if (this.PartType === '标准件') {
+ this.searchTable0()
+ } else if (this.PartType === '外购件') {
+ this.searchTable1()
+ } else if (this.PartType === '基本件') {
+ this.searchTable2()
+ }
}
},
searchTable0() { // 查询标准件
@@ -744,11 +748,10 @@ export default {
})
},
searchTable1() { // 查询外购件
- let check1, check2, check3
+ let check1, check2
this.machine ? check1 = 1 : check1 = 0
this.groupNum ? check2 = 1 : check2 = 0
- this.entryNameValue ? check3 = 1 : check3 = 0
- searchTable01(check3, this.entryNameValue, check1, this.machine, check2, this.groupNum, this.pageCurrent01, this.pageSize01, 2).then(response => {
+ searchTable01(check1, this.machine, check2, this.groupNum, this.pageCurrent01, this.pageSize01, 2).then(response => {
this.tableData01 = response.data.rows
this.total01 = response.data.total
})
diff --git a/src/views/ManufacturingCenter/StatusQuery/index.vue b/src/views/ManufacturingCenter/StatusQuery/index.vue
index 70f1731b..dbc730b1 100644
--- a/src/views/ManufacturingCenter/StatusQuery/index.vue
+++ b/src/views/ManufacturingCenter/StatusQuery/index.vue
@@ -53,7 +53,7 @@
v-loading="loading0"
:data="tableData"
style="width: 100%"
- height="780"
+ height="820"
stripe
size="mini"
highlight-current-row
diff --git a/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue b/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue
index c3a8518f..72225ecb 100644
--- a/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue
+++ b/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue
@@ -2,27 +2,26 @@
- 操作者:
-
- 完成加工时间:
+
+
+ placeholder="选择开始加工日期"/>
~
- 查询
+ placeholder="选择加工完成日期"/>
+ 查询
- 导出
+ 导出
@@ -61,7 +60,7 @@
:current-page="pageCurrent"
:page-size="pageSize"
:total="total"
- layout="total, prev, pager, next"
+ layout="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
@@ -117,8 +116,8 @@
- 机床编号:
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -188,16 +187,16 @@
-