摘要:
/************************************* jtopoCommon ************************************/ // const BASE_JTOPO_IMAGE = "http://10.10.10.164/cdnnms/img/j 阅读全文
posted @ 2021-07-01 15:54
w20200618
阅读(1460)
评论(0)
推荐(0)
摘要:
/***************** vue *******************/ <template> <div :id="chartId" :style="gaugeStyle"> </div></template><script>import echarts from '../../../ 阅读全文
posted @ 2021-07-01 11:13
w20200618
阅读(214)
评论(0)
推荐(0)
摘要:
/** * 获取cpu利用率和温度 */async function getCpuUsageAndTempData (data) { const cpuUsage = await getCpuUsageData(data) const cpuTemp = await getCpuTemperatur 阅读全文
posted @ 2021-07-01 11:06
w20200618
阅读(68)
评论(0)
推荐(0)
摘要:
// 正则匹配字符串const regExpConst = { ipRegex: /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1 阅读全文
posted @ 2021-07-01 10:54
w20200618
阅读(108)
评论(0)
推荐(0)
摘要:
import CryptoJS from 'crypto-js'// key和iv要与后台保持一致const keyStr = '0123456789ABCDEF' // 要求16个字符 const ivStr = '0123456789ABCDEF' // 要求16个字符/** * 加密 * @p 阅读全文
posted @ 2021-07-01 10:50
w20200618
阅读(60)
评论(0)
推荐(0)
摘要:
// 参考 Vue ElementUI el-dialog 可拖拽指令 https://blog.csdn.net/sinat_31213021/article/details/111273419/** * 使用说明: * 二、在 main.js 中引入 * import './directives 阅读全文
posted @ 2021-07-01 10:42
w20200618
阅读(939)
评论(0)
推荐(0)
摘要:
import moment from 'moment' /** * 格式化时间,转换为标准的YYYY-MM-DD HH:mm:ss格式 * @param {object} strTime moment时间对象 * @return {string} 时间字符串 */function inputDate 阅读全文
posted @ 2021-07-01 10:40
w20200618
阅读(53)
评论(0)
推荐(0)
摘要:
function exportAllDeviceData (data) { return instance({ url: baseUrl + devManage.exportAllDeviceUrl, headers: { 'accept': 'application/octet-stream' / 阅读全文
posted @ 2021-07-01 09:14
w20200618
阅读(52)
评论(0)
推荐(0)

浙公网安备 33010602011771号