(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-59db0b59"],{2548:function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-container"},[e("el-button",{attrs:{type:"primary"},on:{click:t.contentSensitiveCheckMethod}},[t._v("敏感词检测")]),e("el-button",{attrs:{type:"primary"},on:{click:t.contentErrorCheckMethod}},[t._v("错词检测")]),e("el-button",{attrs:{type:"danger"},on:{click:t.clearContent}},[t._v("内容清空")]),e("el-form",[e("el-row",[e("el-col",{staticStyle:{padding:"10px"},attrs:{span:12}},[e("h4",[t._v("待检测内容：")]),e("el-form-item",[e("editor",{attrs:{"min-height":192},model:{value:t.oldContent,callback:function(n){t.oldContent=n},expression:"oldContent"}})],1)],1),e("el-col",{staticStyle:{padding:"10px"},attrs:{span:12}},[e("h4",[t._v("检测结果：")]),e("el-form-item",[e("editor",{attrs:{"min-height":192},model:{value:t.newContent,callback:function(n){t.newContent=n},expression:"newContent"}})],1)],1)],1)],1)],1)},o=[],c=e("87dc"),u=e("26db"),s={name:"Content",data:function(){return{oldContent:null,newContent:null}},created:function(){},methods:{clearContent:function(){this.oldContent=null,this.newContent=null,this.$modal.msgSuccess("内容清空成功")},contentSensitiveCheckMethod:function(){var t=this;null!=this.oldContent?Object(c["b"])(this.oldContent).then((function(n){t.$modal.msgSuccess("内容检测完成"),t.newContent=n.data})):this.$modal.msgError("请输入待检测内容")},contentErrorCheckMethod:function(){var t=this;null!=this.oldContent?Object(u["b"])(this.oldContent).then((function(n){t.$modal.msgSuccess("内容检测完成"),t.newContent=n.data})):this.$modal.msgError("请输入待检测内容")}}},i=s,a=e("2877"),d=Object(a["a"])(i,r,o,!1,null,null,null);n["default"]=d.exports},"26db":function(t,n,e){"use strict";e.d(n,"f",(function(){return o})),e.d(n,"e",(function(){return c})),e.d(n,"a",(function(){return u})),e.d(n,"g",(function(){return s})),e.d(n,"d",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"b",(function(){return d}));var r=e("b775");function o(t){return Object(r["a"])({url:"/system/error/list",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/system/error/"+t,method:"get"})}function u(t){return Object(r["a"])({url:"/system/error",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/error",method:"put",data:t})}function i(t){return Object(r["a"])({url:"/system/error/"+t,method:"delete"})}function a(){return Object(r["a"])({url:"/system/error/dataSync",method:"get"})}function d(t){return Object(r["a"])({url:"/system/error/contentCheck",method:"post",data:{content:t}})}},"87dc":function(t,n,e){"use strict";e.d(n,"f",(function(){return o})),e.d(n,"e",(function(){return c})),e.d(n,"a",(function(){return u})),e.d(n,"g",(function(){return s})),e.d(n,"d",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"b",(function(){return d}));var r=e("b775");function o(t){return Object(r["a"])({url:"/system/sensitive/list",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/system/sensitive/"+t,method:"get"})}function u(t){return Object(r["a"])({url:"/system/sensitive",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/sensitive",method:"put",data:t})}function i(t){return Object(r["a"])({url:"/system/sensitive/"+t,method:"delete"})}function a(){return Object(r["a"])({url:"/system/sensitive/dataSync",method:"get"})}function d(t){return Object(r["a"])({url:"/system/sensitive/contentCheck",method:"post",data:{content:t}})}}}]);