|
|
@@ -52,13 +52,13 @@
|
|
|
@click="gowarning"
|
|
|
>虫情预警</el-button
|
|
|
>
|
|
|
- <el-button
|
|
|
+ <!-- <el-button
|
|
|
class="pestAll"
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
@click="$router.push('/index/cbdStacking')"
|
|
|
>异常监测</el-button
|
|
|
- >
|
|
|
+ > -->
|
|
|
</template>
|
|
|
<template slot="module-box">
|
|
|
<el-button
|
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
return value.slice(0, 15) + '...'
|
|
|
}
|
|
|
return value
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -139,7 +139,7 @@ export default {
|
|
|
dver: '',
|
|
|
f_id: '',
|
|
|
ename: '',
|
|
|
- device_model: null,
|
|
|
+ device_model: null
|
|
|
},
|
|
|
pageSize: 12,
|
|
|
totalNum: 0,
|
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
isModule: false, // 模型A
|
|
|
identify_model: 'B', // 识别模型
|
|
|
sale_user_uid: '', // 销售用户id
|
|
|
- displayType: 1, // 展示类型 1卡片 2列表
|
|
|
+ displayType: 1 // 展示类型 1卡片 2列表
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -178,7 +178,7 @@ export default {
|
|
|
// 获取用户类型
|
|
|
return window.sessionStorage.getItem('myuser_type')
|
|
|
},
|
|
|
- ...mapGetters(['userModelType']),
|
|
|
+ ...mapGetters(['userModelType'])
|
|
|
},
|
|
|
methods: {
|
|
|
...mapMutations(['UPDATE_USER_BEHAVIOR']),
|
|
|
@@ -192,7 +192,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.UPDATE_USER_BEHAVIOR({
|
|
|
- modelType: e,
|
|
|
+ modelType: e
|
|
|
})
|
|
|
},
|
|
|
pestAll() {
|
|
|
@@ -203,7 +203,7 @@ export default {
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: `/index/pestsStats`,
|
|
|
- query: { identify_model: this.identify_model },
|
|
|
+ query: { identify_model: this.identify_model }
|
|
|
})
|
|
|
},
|
|
|
goMap(type) {
|
|
|
@@ -213,19 +213,19 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.$router.push({
|
|
|
- path: `/index/analysemap`,
|
|
|
+ path: `/index/analysemap`
|
|
|
})
|
|
|
},
|
|
|
gowarning() {
|
|
|
this.$router.push({
|
|
|
- path: `/index/earlywarning/warninglist`,
|
|
|
+ path: `/index/earlywarning/warninglist`
|
|
|
})
|
|
|
},
|
|
|
devicePlant() {
|
|
|
// this.$router.push("/index/deviceTongji");
|
|
|
this.$router.push({
|
|
|
path: '/index/deviceTongji',
|
|
|
- query: { identify_model: this.identify_model },
|
|
|
+ query: { identify_model: this.identify_model }
|
|
|
})
|
|
|
},
|
|
|
getIsOnline(data) {
|
|
|
@@ -257,8 +257,8 @@ export default {
|
|
|
device_name: this.queryInfo.ename,
|
|
|
device_id: this.queryInfo.f_id,
|
|
|
dver_num: this.queryInfo.dver,
|
|
|
- customer_uid: this.sale_user_uid, // 销售用户id
|
|
|
- }),
|
|
|
+ customer_uid: this.sale_user_uid // 销售用户id
|
|
|
+ })
|
|
|
}).then((res) => {
|
|
|
if (res.data.message == '') {
|
|
|
this.equipList = res.data.data.data
|
|
|
@@ -289,16 +289,16 @@ export default {
|
|
|
handleSizeChange(val) {
|
|
|
this.pageSize = val
|
|
|
this.getEquipList()
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
components: {
|
|
|
SearchBar,
|
|
|
EquipItem,
|
|
|
CardItem,
|
|
|
- TableItem,
|
|
|
+ TableItem
|
|
|
},
|
|
|
|
|
|
- watch: {},
|
|
|
+ watch: {}
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="less" scoped>
|