Authored by 王涛

Merge branch 'master-500-dev-xwx' into 'master-500-dev'

资源视图-【无】HOST_X86_PASSWORD、HOST_X86VIRTUAL和人大金仓代码迁移



See merge request !899
@@ -4790,7 +4790,54 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', @@ -4790,7 +4790,54 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin',
4790 {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, 4790 {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true},
4791 {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, 4791 {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true},
4792 {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'} 4792 {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}
4793 - ] 4793 + ],
  4794 + "HOST_X86_SIGN": [
  4795 + //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
  4796 + {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true},
  4797 + {
  4798 + field: 'resName', title: '资源名称', minWidth: 220, sort: true,
  4799 + templet: '<div><span data-zymc="{{ d.resId }}" data-restype="{{d.resType}}" data-name="{{d.resName}}" data-childrennum="{{d.childrenNum}}" data-ip="{{ d.ip }}" data-resTypeName="{{ d.resTypeName }}" data-admin="{{ d.admin }}" data-adminName="{{ d.adminName }}" data-pingenable="{{d.pingEnable}}" class="layui-table-link">{{ d.resName }}</span></div>'
  4800 + },
  4801 + {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
  4802 + {field: 'health', title: '健康状态', width: 105, align: 'center', sort: true, templet: '#healthTpl'},
  4803 + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true},
  4804 + {field: 'linkState', title: '连接状态', align: 'center', width: 110, templet: '#linkStateTpl', sort: true},
  4805 + {field: 'adminName', title: '负责人', width: 110, align: 'center', sort: true},
  4806 + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true},
  4807 + {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'},
  4808 + {field: 'state', title: '资源状态', width: 110, align: 'center', sort: true, templet: '#resStateTpl'}
  4809 + ],
  4810 + "HOST_X86_PASSWORD": [
  4811 + //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
  4812 + {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true},
  4813 + {
  4814 + field: 'resName', title: '资源名称', minWidth: 220, sort: true,
  4815 + templet: '<div><span data-zymc="{{ d.resId }}" data-restype="{{d.resType}}" data-name="{{d.resName}}" data-childrennum="{{d.childrenNum}}" data-ip="{{ d.ip }}" data-resTypeName="{{ d.resTypeName }}" data-admin="{{ d.admin }}" data-adminName="{{ d.adminName }}" data-pingenable="{{d.pingEnable}}" class="layui-table-link">{{ d.resName }}</span></div>'
  4816 + },
  4817 + {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
  4818 + {field: 'health', title: '健康状态', width: 105, align: 'center', sort: true, templet: '#healthTpl'},
  4819 + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true},
  4820 + {field: 'linkState', title: '连接状态', align: 'center', width: 110, templet: '#linkStateTpl', sort: true},
  4821 + {field: 'adminName', title: '负责人', width: 110, align: 'center', sort: true},
  4822 + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true},
  4823 + {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'},
  4824 + {field: 'state', title: '资源状态', width: 110, align: 'center', sort: true, templet: '#resStateTpl'}
  4825 + ],
  4826 + "DATABASE_KINGBASE": [
  4827 + {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true},
  4828 + {
  4829 + field: 'resName', title: '资源名称', minWidth: 215, sort: true,
  4830 + templet: '<div><span data-zymc="{{ d.resId }}" data-restype="{{d.resType}}" data-name="{{d.resName}}" data-childrennum="{{d.childrenNum}}" data-ip="{{ d.ip }}" data-resTypeName="{{ d.resTypeName }}" data-admin="{{ d.admin }}" data-adminName="{{ d.adminName }}" data-pingenable="{{d.pingEnable}}" class="layui-table-link">{{ d.resName }}</span></div>'
  4831 + },
  4832 + {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
  4833 + {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'},
  4834 + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true},
  4835 + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true},
  4836 + {field: 'state', title: '资源状态', width: 105, align: 'center', sort: true, templet: '#resStateTpl'},
  4837 + {field: 'health', title: '健康状态', width: 100, align: 'center', sort: true, templet: '#healthTpl'},
  4838 + {field: 'lastColTime', title: '最近采集时间', width: 151, align: 'center', sort: true},
  4839 + {field: 'linkState', title: '连接状态', align: 'center', width: 100, templet: '#linkStateTpl', sort: true}
  4840 + ],
4794 }, 4841 },
4795 /** 4842 /**
4796 * 验证是否跳转详情页 4843 * 验证是否跳转详情页