Compare commits
7 Commits
65b489d37c
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a3e16df1b | |||
|
|
6815ac4cc4 | ||
|
|
4ffbdaef8a | ||
| 36e6551465 | |||
|
|
b1ab1962b1 | ||
| 2cefabc24b | |||
|
|
db47bffb18 |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -165,7 +165,11 @@ export default {
|
|||||||
getEqList() {
|
getEqList() {
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('/monitoring/equipment/page'),
|
url: this.$http.adornUrl('/monitoring/equipment/page'),
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
params: this.$http.adornParams({
|
||||||
|
limit: 99999,
|
||||||
|
page: 1
|
||||||
|
})
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
if (data && data.code === 0) {
|
if (data && data.code === 0) {
|
||||||
this.eqList = data.data.list
|
this.eqList = data.data.list
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ export default {
|
|||||||
this.factoryList = res.data
|
this.factoryList = res.data
|
||||||
/** set default */
|
/** set default */
|
||||||
if (this.factoryList.length) {
|
if (this.factoryList.length) {
|
||||||
this.dataForm.ftId = this.factoryList[0].id
|
// this.dataForm.ftId = this.factoryList[0].id
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.factoryList = []
|
this.factoryList = []
|
||||||
@@ -236,7 +236,7 @@ export default {
|
|||||||
if (res && res.code === 0 && res.data.length) {
|
if (res && res.code === 0 && res.data.length) {
|
||||||
this.productLineList = res.data
|
this.productLineList = res.data
|
||||||
/** set default */
|
/** set default */
|
||||||
this.dataForm.productlines = [this.productLineList[0].id]
|
// this.dataForm.productlines = [this.productLineList[0].id]
|
||||||
} else {
|
} else {
|
||||||
this.productLineList = []
|
this.productLineList = []
|
||||||
this.dataForm.productlines = []
|
this.dataForm.productlines = []
|
||||||
|
|||||||
@@ -165,6 +165,8 @@ export default {
|
|||||||
// page: this.pageIndex,
|
// page: this.pageIndex,
|
||||||
// limit: this.pageSize,
|
// limit: this.pageSize,
|
||||||
// key: this.dataForm.key
|
// key: this.dataForm.key
|
||||||
|
limit: 99999,
|
||||||
|
page: 1
|
||||||
})
|
})
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
const eqConfig = this.addOrUpdateConfigs.fields.find(item => item.name === 'equipmentId')
|
const eqConfig = this.addOrUpdateConfigs.fields.find(item => item.name === 'equipmentId')
|
||||||
@@ -180,6 +182,8 @@ export default {
|
|||||||
// page: this.pageIndex,
|
// page: this.pageIndex,
|
||||||
// limit: this.pageSize,
|
// limit: this.pageSize,
|
||||||
// key: this.dataForm.key
|
// key: this.dataForm.key
|
||||||
|
limit: 99999,
|
||||||
|
page: 1
|
||||||
})
|
})
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
const plcConfig = this.addOrUpdateConfigs.fields.find(item => item.name === 'plcId')
|
const plcConfig = this.addOrUpdateConfigs.fields.find(item => item.name === 'plcId')
|
||||||
|
|||||||
@@ -716,4 +716,14 @@ export default {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
background: #0b58ff;
|
background: #0b58ff;
|
||||||
}
|
}
|
||||||
|
.el-month-table td.today .cell {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
|
.el-month-table td.current:not(.disabled) .cell{
|
||||||
|
color: #ffffff;
|
||||||
|
font-weight: bold !important;
|
||||||
|
background-color: var(--el-datepicker-active-color);
|
||||||
|
border-radius: 100px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user