{"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\utils\\filters.js","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\utils\\filters.js","mtime":1663828782934},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.match\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.number.constructor\";\nimport moment from 'moment'; // 格式化年月日小时\n\nvar filterTime = function filterTime(val) {\n return val ? moment(val).format('YYYY-MM-DD HH:mm:ss') : '---';\n};\n\nvar filterTimeNumber = function filterTimeNumber(val) {\n return val ? moment(Number(val)).format('YYYY-MM-DD HH:mm:ss') : '---';\n}; // 处理投诉建议状态\n\n\nvar filterComplaintStatus = function filterComplaintStatus(val) {\n return val == 1 ? '未处理' : val == 2 ? '已处理' : val == 3 ? '处理中' : val == 4 ? '待评价' : '已评价';\n}; // 处理工单状态\n\n\nvar filterWorkStatus = function filterWorkStatus(val) {\n // 0未处理 1处理中 2已完成 3已完成(超时)4已关闭 5待评价 6已评价\n return val == 0 ? '未处理' : val == 1 ? '处理中' : val == 2 ? '已完成' : val == 3 ? '已完成(超时' : val == 4 ? '已关闭' : val == 5 ? '待评价' : '已评价';\n}; // 投诉类型\n\n\nvar filtercomplaintType = function filtercomplaintType(val) {\n switch (val) {\n case 1:\n return '扰民投诉';\n\n case 2:\n return '物业服务';\n\n case 3:\n return '公共卫生';\n\n case 4:\n return '安全建议';\n\n default:\n '其他';\n }\n}; // 住户类型\n\n\nvar filterHouseType = function filterHouseType(val) {\n switch (val) {\n case 1:\n return '业主';\n\n case 2:\n return '亲属';\n\n case 3:\n return '租客';\n\n default:\n '其他';\n }\n}; // 替换富文本内容\n\n\nvar filterHtml = function filterHtml(val) {\n var content = val.replace(/<.+?>/g, '');\n content = content.replace(/ /gi, '');\n content = content.replace(/\\s/gi, '');\n content = content.replace(/“/gi, '“');\n content = content.replace(/”/gi, '”'); // if (content.length >= 20) {\n // content = content.substring(0, 20) + '...';\n // }\n\n return content;\n}; // 替换富文本图片\n\n\nvar filterHtmlImage = function filterHtmlImage(val) {\n var content = val.match(/