Commit e22a8a60 by 416409548@qq.com

bug优化

parent e5799bfa
......@@ -38,7 +38,7 @@
<span v-if="isDesktop()">欢迎您,{{ nickname() }}</span>
</span>
<a-menu slot="overlay" class="user-dropdown-menu-wrapper">
<a-menu-item key="0">
<!-- <a-menu-item key="0">
<router-link :to="{ name: 'account-center' }">
<a-icon type="user"/>
<span>个人中心</span>
......@@ -52,16 +52,16 @@
</a-menu-item>
<a-menu-item key="3" @click="systemSetting">
<a-icon type="tool"/>
<span>系统设置</span>
</a-menu-item>
<span>系统设置</span> -->
<!-- </a-menu-item> -->
<a-menu-item key="4" @click="updatePassword">
<a-icon type="setting"/>
<span>密码修改</span>
</a-menu-item>
<a-menu-item key="5" @click="updateCurrentDepart">
<!-- <a-menu-item key="5" @click="updateCurrentDepart">
<a-icon type="cluster"/>
<span>切换部门</span>
</a-menu-item>
</a-menu-item> -->
<a-menu-item key="6" @click="clearCache">
<a-icon type="sync"/>
<span>清理缓存</span>
......
......@@ -196,7 +196,8 @@ export default {
required: true,
message: '请输入设备位置',
trigger: 'blur'
}
},
{min: 0, max: 50, message: '长度不超过50个字符', trigger: 'blur' }
],
dateOfProduction: [
{
......
......@@ -37,6 +37,7 @@
export default {
name: 'AdvertisingScreenSettingForm',
components: {
},
props: {
//表单禁用
......@@ -60,6 +61,39 @@
},
confirmLoading: false,
validatorRules: {
code: [
{
required: true,
message: '请输入设备编码',
trigger: 'blur'
},
{min: 0, max: 50, message: '长度不超过50个字符', trigger: 'blur' }
],
name: [
{
required: true,
message: '请输入设备名称',
trigger: 'blur'
},
{min: 0, max: 50, message: '长度不超过50个字符', trigger: 'blur' }
],
ip: [
{
required: true,
message: '请输入设备ip',
trigger: 'blur'
},
{min: 0, max: 50, message: '长度不超过50个字符', trigger: 'blur' }
],
districtName: [
{
required: true,
message: '请输入区域名称',
trigger: 'blur'
},
{min: 0, max: 50, message: '长度不超过50个字符', trigger: 'blur' }
],
},
url: {
add: "/pm/advertisingScreenSetting/add",
......
......@@ -52,8 +52,8 @@ public class HikvisionBaseClient extends HikvisionAbstractClient {
if (response.isSuccess) {
opUserUuid = response.getResult().getData();
} else {
// opUserUuid = "5b2eb534696b11e89c2e438f92627767";
throw new JeecgBootException("初始化海康威视SDK异常:无法获取opUserUuid");
opUserUuid = "5b2eb534696b11e89c2e438f92627767";
// throw new JeecgBootException("初始化海康威视SDK异常:无法获取opUserUuid");
}
}
......
......@@ -79,6 +79,7 @@ public class PmAccessControlDevice implements Serializable {
* xy值
*/
@ApiModelProperty(value = "xy值")
@Excel(name = "xy值", width = 15)
@TableField(typeHandler = Coordinate.TypeHandler.class)
private Coordinate coordinate;
/**
......@@ -135,7 +136,7 @@ public class PmAccessControlDevice implements Serializable {
/**
* 创建时间
*/
@Excel(name = "修改时间", width = 15, format = "yyyy-MM-dd hh:mm:ss")
@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd hh:mm:ss")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd hh:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "创建时间")
......
......@@ -65,6 +65,7 @@ public class PmMonitoringDevice implements Serializable {
* xy值
*/
@ApiModelProperty(value = "xy值")
@Excel(name = "xy值", width = 15)
@TableField(typeHandler = Coordinate.TypeHandler.class)
private Coordinate coordinate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment