Compare commits
2 Commits
9abbb0893b
...
156643ea77
| Author | SHA1 | Date |
|---|---|---|
|
|
156643ea77 | |
|
|
176abb9c7d |
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title></title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.959091ef.js"></script><script src="/static/js/index.d07e9c1f.js"></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.959091ef.js"></script><script src="/static/js/index.63387dfa.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -443,11 +443,38 @@
|
|||
},
|
||||
},
|
||||
onLoad() {
|
||||
this.getSupplier();
|
||||
this.getProject();
|
||||
this.queryDataList();
|
||||
this.getDeviceTypes();
|
||||
this.getAgriculturalBasic();
|
||||
},
|
||||
methods: {
|
||||
getSupplier(){
|
||||
this.$http.get('/api/keywords',{params:{
|
||||
type_key:'device-supplier'
|
||||
}}).then(({data})=>{
|
||||
this.supplierlist=data.data.map(e=>{
|
||||
return {
|
||||
label:e.name,
|
||||
value:e.key
|
||||
}
|
||||
})
|
||||
console.log(this.supplierlist);
|
||||
})
|
||||
},
|
||||
getProject(){
|
||||
this.$http.get('/api/keywords',{params:{
|
||||
type_key:'device-project'
|
||||
}}).then(({data})=>{
|
||||
this.projectlist=data.data.map(e=>{
|
||||
return {
|
||||
label:e.name,
|
||||
value:e.key
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
queryBtn(){
|
||||
this.list = [];
|
||||
this.queryDataList(true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue