Compare commits

..

No commits in common. "36e65514656d6d3442dacf60d1ed55c57dce570e" and "2cefabc24bb5b02325f5e2556ea498998a55d909" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -165,11 +165,7 @@ 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

View File

@ -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 = []