This commit is contained in:
yanran200730
2022-06-13 14:12:06 +08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -122,7 +122,8 @@ export default {
name: this.keyword, name: this.keyword,
current: this.current, current: this.current,
size: 10, size: 10,
createUserId: this.type == 1 ? this.user.id : '' createUserId: this.type == 1 ? this.user.id : '',
type: this.currIndex == 1 ? '3' : '1'
} }
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {

View File

@@ -59,7 +59,7 @@ export default {
// this.getList() // this.getList()
}, },
getList() { getList() {
this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}&devStatus=5&areaId=${thyis.areaId}`).then((res) => { this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}&devStatus=5&areaId=${this.areaId}`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
res.data.records.map(item => { res.data.records.map(item => {
item.isCheck = false item.isCheck = false