mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
修改应用exe编译环境Win32->x64
This commit is contained in:
@@ -72,16 +72,16 @@ var tableDef = {
|
||||
user: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '账户', width: '150px' },
|
||||
{ title: '用户ID', width: '80px' },
|
||||
{ title: '用户名', width: '150px' },
|
||||
{ title: '姓名' },
|
||||
{ title: '性别', render: function (data, type, row) { return data == 1 ? "男" : "女" } },
|
||||
{ title: '年龄' },
|
||||
{ title: '手机号' },
|
||||
{ title: '邮箱' },
|
||||
{ title: '角色', render: renderRole },
|
||||
{ title: '是否启用', width: '120px', render: renderIsOpen },
|
||||
{ title: '上次登录时间', width: '180px' },
|
||||
{ title: '角色', render: renderRole },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
@@ -99,12 +99,10 @@ var tableDef = {
|
||||
role: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '名称', width: '150px' },
|
||||
{ title: '描述' },
|
||||
{ title: '角色ID', width: '80px' },
|
||||
{ title: '角色名称', width: '150px' },
|
||||
{ title: '角色描述' },
|
||||
{ title: '是否启用', width: '120px', render: renderIsOpen },
|
||||
{ title: '创建时间', width: '180px' },
|
||||
{ title: '更新时间', width: '180px' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
@@ -122,13 +120,10 @@ var tableDef = {
|
||||
permission: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '名称', width: '150px' },
|
||||
{ title: '描述' },
|
||||
{ title: '权限ID', width: '80px' },
|
||||
{ title: '权限名称', width: '150px' },
|
||||
{ title: '权限描述' },
|
||||
{ title: '是否启用', width: '120px', render: renderIsOpen },
|
||||
{ title: '创建时间', width: '180px' },
|
||||
{ title: '更新时间', width: '180px' },
|
||||
{ title: '更新人', width: '180px' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
@@ -146,15 +141,15 @@ var tableDef = {
|
||||
device: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '类型', width: '150px', render: renderDeviceType },
|
||||
{ title: '名称', width: '150px' },
|
||||
{ title: '编号' },
|
||||
{ title: '型号' },
|
||||
{ title: '厂家' },
|
||||
{ title: '设备ID', width: '80px' },
|
||||
{ title: '所属场站', width: '120px' },
|
||||
{ title: '设备类型', width: '120px', render: renderDeviceType },
|
||||
{ title: '设备名称', width: '120px' },
|
||||
{ title: '设备编号' },
|
||||
{ title: '设备型号' },
|
||||
{ title: '厂家信息' },
|
||||
{ title: '是否启用', width: '120px', render: renderIsOpen },
|
||||
{ title: '创建时间', width: '180px' },
|
||||
{ title: '更新时间', width: '180px' },
|
||||
{ title: '属性参数', width: '180px' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
@@ -196,14 +191,12 @@ var tableDef = {
|
||||
policy: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '名称', width: '150px' },
|
||||
{ title: '类型', render: renderPolicy },
|
||||
{ title: '参数' },
|
||||
{ title: '描述' },
|
||||
{ title: '策略ID', width: '80px' },
|
||||
{ title: '策略名称', width: '150px' },
|
||||
{ title: '策略类型', render: renderPolicy },
|
||||
{ title: '策略描述', width: '120px' },
|
||||
{ title: '策略参数', width: '180px' },
|
||||
{ title: '是否启用', width: '120px', render: renderIsOpen },
|
||||
{ title: '创建时间', width: '180px' },
|
||||
{ title: '更新时间', width: '180px' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
@@ -221,16 +214,67 @@ var tableDef = {
|
||||
syslog: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '类型', width: '100px', render: renderSyslogType },
|
||||
{ title: '用户ID', width: '120px' },
|
||||
{ title: '用户账户', width: '120px' },
|
||||
{ title: '内容' },
|
||||
{ title: '记录时间', width: '180px' }
|
||||
{ title: '日志ID', width: '80px' },
|
||||
{ title: '日志类型', width: '100px', render: renderSyslogType },
|
||||
{ title: '操作用户', width: '120px' },
|
||||
{ title: '日志内容', },
|
||||
{ title: '创建时间', width: '180px' },
|
||||
{ title: '日志状态', width: '180px' }
|
||||
],
|
||||
header: ['log_id', 'type', 'user_id', 'user_acount', 'content', 'create_time'],
|
||||
query: G.cppNative.querySyslogList,
|
||||
}
|
||||
},
|
||||
alertlog: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '类型', width: '100px', render: renderSyslogType },
|
||||
{ title: '设备类型', width: '120px' },
|
||||
{ title: '设备ID', width: '120px' },
|
||||
{ title: '错误码', width: '120px' },
|
||||
{ title: '错误描述', width: '120px' },
|
||||
{ title: '告警状态', width: '120px' },
|
||||
{ title: '告警时间', width: '120px' },
|
||||
{ title: '处理人员', width: '120px' },
|
||||
{ title: '处理方式', width: '120px' },
|
||||
{ title: '处理时间', width: '120px' }
|
||||
],
|
||||
header: ['log_id', 'type', 'user_id', 'user_acount', 'content', 'create_time'],
|
||||
query: G.cppNative.querySyslogList,
|
||||
},
|
||||
station: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: 'ID', width: '80px' },
|
||||
{ title: '场站名称', width: '100px' },
|
||||
{ title: '场站位置', width: '120px' },
|
||||
{ title: '场站经度', width: '120px' },
|
||||
{ title: '场站纬度', width: '120px' },
|
||||
{ title: '场站电话', width: '120px' },
|
||||
{ title: '场站状态', width: '120px' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
render: function (data, type, row) { return htmlOptEdit + htmlOptAttrs },
|
||||
},
|
||||
],
|
||||
},
|
||||
apiservice: {
|
||||
table: null,
|
||||
columns: [
|
||||
{ title: '接口ID', width: '80px' },
|
||||
{ title: '接口名称', width: '100px' },
|
||||
{ title: '接口描述', width: '120px' },
|
||||
{ title: '接口参数', width: '120px' },
|
||||
{ title: '接口状态', width: '120px' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '200px',
|
||||
render: function (data, type, row) { return htmlOptEdit + htmlOptAttrs },
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
var htmlOptEdit = '<button class="btn btn-primary btn-sm" style="width:80px; height:28px;" id="btnRowEdit">编辑</button>'
|
||||
|
||||
Reference in New Issue
Block a user