(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6abe6977"],{"158b":function(e,t,a){"use strict";a.r(t);var n=a("1da1"),r=a("5530"),i=(a("96cf"),a("d3b7"),a("3ca3"),a("ddb0"),a("159b"),a("a9e3"),a("e9c4"),a("ac1f"),a("5319"),a("2f62")),o=a("9f53"),s=a("1920"),l=a("f5ed"),c=(a("466d"),{name:"contrastModel",props:["showModel","id","sitem"],components:{"el-image-viewer":function(){return Promise.all([a.e("chunk-elementUI"),a.e("chunk-75cf006e")]).then(a.bind(null,"08a9"))}},data:function(){return{showViewer:!1,srcListView:[],loading:!0,showModelThis:this.showModel}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{imageChange:function(e){"IMG"!==e.target.nodeName&&"img"!==e.target.nodeName||(e=e.target.currentSrc,this.srcListView=[e],this.showViewer=!0)},closeViewer:function(){this.showViewer=!1},initForm:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.loading=!0,n=e.sitem,a=n.action_item,n=n.action_after,e.x=a,e.y=n,e.loading=!1;case 5:case"end":return t.stop()}}),t)})))()},matchHTML:function(){}}}),u=a("2877"),d=(c=Object(u.a)(c,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:"变更详情",center:!0,align:"left",top:"5vh",width:"1040px","custom-class":"contrastModel","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)","append-to-body":""},on:{"update:visible":function(t){e.showModelThis=t},close:function(t){e.showModelThis=!1}}},[t("el-card",{staticStyle:{"margin-top":"-20px"}},[t("el-image-viewer",{directives:[{name:"show",rawName:"v-show",value:e.showViewer,expression:"showViewer"}],attrs:{"on-close":e.closeViewer,"url-list":e.srcListView}}),t("el-row",{attrs:{gutter:10}},[t("el-col",{staticClass:"title",attrs:{span:24}},[t("el-row",[t("el-col",{staticClass:"tl",attrs:{span:12}},[t("span",[e._v("操作人:")]),e.sitem?t("span",[e._v(e._s(e.sitem.action_name))]):e._e()]),t("el-col",{staticClass:"tr",attrs:{span:12}},[t("span",[e._v("操作时间:")]),e.sitem?t("span",[e._v(e._s(e.sitem.addtime))]):e._e()])],1)],1),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"contrast-title"},[e._v("操作前:")]),t("div",{ref:"contentfx",staticClass:"contrast-main",domProps:{innerHTML:e._s(e.x)},on:{click:function(t){return e.imageChange(t)}}})]),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"contrast-title"},[e._v("操作后:")]),t("div",{ref:"contentfy",staticClass:"contrast-main",domProps:{innerHTML:e._s(e.y)},on:{click:function(t){return e.imageChange(t)}}})])],1)],1)],1)}),[],!1,null,"8d9d3e6c",null).exports,a("4f5b")),p=(l={name:"record",mixins:[l.a,o.a],props:["showModel","bugNo"],components:{contrastModel:c},watch:{showModel:function(e){(this.showModelThis=e)&&this.reloadList()},showModelThis:function(e){e||this.$emit("cancel")}},data:function(){return{loading:!0,showModelThis:this.showModel,showConModel:!1,parmValue:{page:1,size:15,bugNo:""},statusOptions:[{id:0,label:"禁用"},{id:1,label:"启用"}],tableData:[],table:{stripe:!0,border:!0},pageInfo:{size:15,curr:1,total:0},columns:d.h}},methods:{reloadList:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.parmValue.page=1,e.pageInfo.curr=1,t.next=4,e.searchList();case 4:case"end":return t.stop()}}),t)})))()},openModal:function(e){this.sitem=e,this.showConModel=!0},searchList:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.tableData=[],e.loading=!0,e.parmValue.bugNo=e.bugNo,t.next=5,s.a.MLogList(e.parmValue);case 5:if(n=t.sent,a=n.code,r=n.data,n.message,0!==a){t.next=16;break}n=r.list,r=r.count,e.tableData=n,e.tableData.forEach((function(e){e.type_name="1"===e.type?"新建":"编辑"})),e.pageInfo.total=Number(r),t.next=23;break;case 16:if(100<=a&&a<=104)return t.next=19,e.logout();t.next=21;break;case 19:t.next=23;break;case 21:e.tableData=[],e.pageInfo.total=0;case 23:e.loading=!1;case 24:case"end":return t.stop()}}),t)})))()}}},c=Object(u.a)(l,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:"操作记录",center:!0,align:"left",top:"5vh",width:"1040px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)","append-to-body":""},on:{"update:visible":function(t){e.showModelThis=t},close:function(t){e.showModelThis=!1}}},[a("el-card",{staticStyle:{"margin-top":"-20px"}},[a("ex-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{table:e.table,data:e.tableData,columns:e.columns,page:e.pageInfo,size:e.size},on:{"page-curr-change":e.handlePageChange,"page-size-change":e.handleSizeChange,"screen-reset":function(t){return e.reloadList()},"screen-submit":function(t){return e.reloadList()}},scopedSlots:e._u([{key:"action_item",fn:function(t){var n=t.scope;return["描述"===n.row.handle_name?a("span",[a("el-tag",{attrs:{size:"mini"},on:{click:function(t){return e.openModal(n.row)}}},[e._v("查看详情")])],1):a("span",[e._v(e._s(n.row.action_item))])]}},{key:"action_after",fn:function(t){var n=t.scope;return["描述"===n.row.handle_name?a("span",[a("el-tag",{attrs:{size:"mini"},on:{click:function(t){return e.openModal(n.row)}}},[e._v("查看详情")])],1):a("span",[e._v(e._s(n.row.action_after))])]}}])}),a("contrastModel",{attrs:{"show-model":e.showConModel,sitem:e.sitem},on:{cancel:function(t){e.showConModel=!1}}})],1)],1)}),[],!1,null,"b5703bbe",null).exports,a("fb6a"),a("b0c0"),a("99af"),a("c740"),a("5daa")),m=a("5f87"),b=(l={name:"comModule",mixins:[o.a],props:["id","value","bugNo"],data:function(){return{imgAPI:p.a.baseURL,inputEdit:!1,input:"",isChange:!0,loading:!1}},created:function(){this.input=this.value},methods:{handlePaste:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function a(){var n,r,i,o,s,l,c,u,d,p,m,b;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e.preventDefault(),e.stopPropagation(),n=m=0,r=t.$refs.txt1.innerHTML||"",i=["image/jpg","image/png","image/jpeg"],b=r.length,n=window.getSelection().focusOffset<=window.getSelection().anchorOffset?(m=window.getSelection().focusOffset,window.getSelection().anchorOffset):(m=window.getSelection().anchorOffset,window.getSelection().focusOffset),s=o="",0!==m&&(o=r.slice(0,m)),n!==b&&(s=r.slice(n)),l=(e.clipboardData||window.clipboardData).items,c=null,l&&0!==l.length){a.next=18;break}return t.$message.error("当前浏览器不支持本地或请打开图片再复制"),a.abrupt("return");case 18:u=function(a){if("text/plain"===l[a].type){var n=(e.clipboardData||window.clipboardData).getData("Text");t.input="".concat(o).concat(n).concat(s)}else if(-1!==i.findIndex((function(e){return e==l[a].type})))return c=l[a].getAsFile(),"break"},d=0;case 20:if(!(d").concat(s);case 46:case"end":return a.stop()}}),a)})))()},httpupLoad:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",new Promise((function(a,n){var r=t,i=new FormData;i.append("image",e),i.append("token",Object(m.c)()),axios.post("".concat(r.imgAPI,"admin/uploadimg"),i).then((function(e){var t,i;e&&e.data&&200===e.status?(t=(e=e.data).code,e=e.data,0===t?(i=(e=e[0]).url,e=e.name,a({url:"".concat(r.imgAPI,"storage/").concat(i),name:e})):a(100<=t&&t<=104?"token":"error")):n()})).catch((function(e){n()}))})));case 1:case"end":return a.stop()}}),a)})))()},submitForm:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.loading){t.next=15;break}if(e.loading=!0,a=e.$refs.txt1.innerHTML,!a){t.next=13;break}if(2e3