webpackJsonp([30],{"65c1":function(e,n,t){"use strict";t.d(n,"a",function(){return a});var r=t("vLgD"),a={getWorkIssueList:function(e,n,t){var a={};for(var s in e)if(e[s])if("dateRange"===s){var o=e.dateRange[0],l=e.dateRange[1];a.startTime=o,a.endTime=l}else a[s]=e[s];return a.current=n,a.size=t,console.log("结果",a),Object(r.a)({url:"/admin/workIssues",method:"get",params:a})},getOneNotice:function(e){return Object(r.a)({url:"/admin/workIssues/info",method:"get",params:{id:e}})},updateWorkIssue:function(e){var n={};return n.id=e.id,n.answer=e.answer,Object(r.a)({url:"/admin/workIssues",method:"patch",params:n})}}},"O/Y7":function(e,n,t){var r=t("RXjA");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);t("Xatw")("43900057",r,!0)},RXjA:function(e,n,t){(e.exports=t("uszS")(!1)).push([e.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},ky8e:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("65c1"),a={mixins:[t("Z4qH").a],data:function(){return{rules:{answer:[{required:!0,message:"请回复内容！",trigger:"blur"}]},ruleForm:{}}},methods:{updateCallback:function(){return r.a.updateWorkIssue(this.ruleForm)}}},s={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-dialog",{attrs:{title:"回复客户",visible:e.dialogVisible,width:"40%"},on:{"update:visible":function(n){e.dialogVisible=n}}},[t("el-form",{ref:"ruleForm",staticClass:"dialog-container",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"用户名",prop:"username"}},[t("el-input",{staticClass:"form-input",attrs:{disabled:""},model:{value:e.ruleForm.username,callback:function(n){e.$set(e.ruleForm,"username",n)},expression:"ruleForm.username"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"姓名",prop:"realName"}},[t("el-input",{staticClass:"form-input",attrs:{disabled:""},model:{value:e.ruleForm.realName,callback:function(n){e.$set(e.ruleForm,"realName",n)},expression:"ruleForm.realName"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"创建时间",prop:"created"}},[t("el-input",{staticClass:"form-input",attrs:{disabled:""},model:{value:e.ruleForm.created,callback:function(n){e.$set(e.ruleForm,"created",n)},expression:"ruleForm.created"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"问题内容",prop:"question"}},[t("el-input",{staticClass:"form-input",attrs:{type:"textarea",autosize:{minRows:5,maxRows:5},disabled:""},model:{value:e.ruleForm.question,callback:function(n){e.$set(e.ruleForm,"question",n)},expression:"ruleForm.question"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"回复内容",prop:"answer"}},[t("el-input",{staticClass:"form-input",attrs:{type:"textarea",autosize:{minRows:10,maxRows:10},placeholder:"请输入内容"},model:{value:e.ruleForm.answer,callback:function(n){e.$set(e.ruleForm,"answer",n)},expression:"ruleForm.answer"}})],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(n){e.dialogVisible=!1}}},[e._v("取 消")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:function(n){e.submitForm("ruleForm")}}},[e._v("确 定")])],1)],1)},staticRenderFns:[]};var o=t("rCDr")(a,s,!1,function(e){t("O/Y7")},"data-v-5577dc73",null);n.default=o.exports}});