Compare commits

...

2 Commits

Author SHA1 Message Date
ihzero 156643ea77 打包 2024-01-30 15:25:59 +08:00
ihzero 176abb9c7d 设备管理条件 2024-01-30 15:24:48 +08:00
5 changed files with 30 additions and 3 deletions

View File

@ -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

View File

@ -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);