iot定位设备页面优化

This commit is contained in:
BianLzhaoMin 2024-08-13 15:35:26 +08:00
parent fe500aee26
commit 1a1ad07c53
3 changed files with 7 additions and 7 deletions

View File

@ -279,7 +279,7 @@ export default {
const isType = this.typeList.some((e) => e == this.IOTForm.iotType) const isType = this.typeList.some((e) => e == this.IOTForm.iotType)
if (isType) { if (isType) {
this.$message.error( this.$message.error(
'当前机具已绑定IOT类型设备不可重复绑定', '当前机具已绑定IOT类型设备不可重复绑定',
) )
return return
} }
@ -327,7 +327,7 @@ export default {
const isType = this.typeList.some((e) => e == iotTypeId) const isType = this.typeList.some((e) => e == iotTypeId)
if (isType) { if (isType) {
this.$message.error( this.$message.error(
'当前机具已绑定IOT类型设备不可重复绑定', '当前机具已绑定IOT类型设备不可重复绑定',
) )
this.codeOptions = [] this.codeOptions = []
return return

View File

@ -95,7 +95,7 @@
</div> </div>
</template> </template>
<template v-else> <template v-else>
{{ loadingData ? '数据加载中...' : 暂无数据 }} {{ loadingData ? '数据加载中...' : '暂无数据' }}
</template> </template>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="停留点"> <el-tab-pane label="停留点">
@ -267,8 +267,8 @@ export default {
iotId: this.iotCode, iotId: this.iotCode,
}) })
// //
this.calLon = res.callon this.calLon = res.callon || 116.404
this.calLat = res.callat this.calLat = res.callat || 39.915
} }
}, },
/** 查询按钮 */ /** 查询按钮 */

View File

@ -43,12 +43,12 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网 // target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`, // target: `https://z.csgmall.com.cn`,
// target: `http://192.168.2.154:28080`, //超 target: `http://192.168.2.160:28080`, //超
// target: `http://10.40.92.81:28080`, //韩/ // target: `http://10.40.92.81:28080`, //韩/
// target: `http://192.168.2.82:28080`,//旭/ // target: `http://192.168.2.82:28080`,//旭/
// target: `http://192.168.2.248:28080`, //帅 // target: `http://192.168.2.248:28080`, //帅
// target: `http://192.168.2.209:28080`, //福 // target: `http://192.168.2.209:28080`, //福
target: `http://192.168.2.125:39080`, //王 // target: `http://192.168.2.125:39080`, //王
//******** 注意事项 ********* */ //******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target; //1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;