webpackJsonp([151],{Sn0a:function(t,e){},VY2J:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("d7EF"),i=a.n(o),n=a("//Fk"),r=a.n(n),s=a("woOf"),l=a.n(s),m=a("Dd8w"),c=a.n(m),u=a("NYxO"),f=a("HeHh"),d=a("lbHh"),p=a.n(d),h=a("bzuE"),g=a("Dod7"),v={name:"schedule_monthplan_detail",components:{SearchMulitUsers:f.a},data:function(){return{uploadUrl:g.a.uploadUrl,ftpPrefix:g.a.ftpPrefix,formData:{targetList:[],taglocationappearanceImage:[],deletetag_appearanceImage:[]},selectUserList:[],getUserList:[],initFileList:[],btnShow:!1,dialogImageUrl:"",dialogVisible:!1,loading:!1,readonly:!1,commentList:[],dialogVisible3:!1,comment:"",from:"",config:h.a}},mounted:function(){this.initialize(),this.$route.query.id?(this.formData.id=this.$route.query.id,this.from=this.$route.query.from,this.getDetail(),this.btnShow=!1):this.btnShow=!0},methods:c()({},Object(u.d)({removeTagNav:"tagNav/removeTagNav"}),{getDetail:function(){var t=this,e=JSON.parse(p.a.get("userInfo")),a=this;this.loading=!0,this.$api.monthReportAPI.detail(this.formData.id).then(function(o){if(0===o.code){if(t.commentList=o.commentList,t.formData=l()({},t.formData,o.monthReport),t.$set(t.formData,"comContent",o.monthReport.com_content?o.monthReport.com_content:""),t.$set(t.formData,"mustContet",o.monthReport.must_contet?o.monthReport.must_contet:""),t.$set(t.formData,"needConcertContent",o.monthReport.need_concert_content?o.monthReport.need_concert_content:""),t.$set(t.formData,"waitContet",o.monthReport.wait_contet?o.monthReport.wait_contet:""),t.$set(t.formData,"uncomContent",o.monthReport.uncom_content?o.monthReport.uncom_content:""),t.formData.targetList=[],o.targetList&&o.targetList.forEach(function(e){var o={id:e.user_id,name:e.name};a.selectUserList.push(o),t.formData.targetList.push(e.user_id)}),o.monthReport.create_by!==e.userId&&(t.btnShow=!1,t.readonly=!0),o.initFileList&&o.initFileList.length>0){t.initFileList=[];for(var i=0;i0?a("el-form-item",{attrs:{label:"回复"}},[a("el-timeline",t._l(t.commentList,function(e,o){return a("el-timeline-item",{key:o,attrs:{color:"#fff",timestamp:e.createTime}},[t._v("\n "+t._s(e.createByName)+":"+t._s(e.comment)+"\n ")])}),1)],1):t._e()],1)],1),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl,alt:""}})]),t._v(" "),a("el-dialog",{attrs:{center:"",title:"回复",visible:t.dialogVisible3,width:"500px"},on:{"update:visible":function(e){t.dialogVisible3=e}}},[a("el-form",{attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"回复内容"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:4}},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dialogVisible3=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.commentFun()}}},[t._v("确定")])],1)],1)],1)},staticRenderFns:[]};var _=a("VU/8")(v,b,!1,function(t){a("Sn0a"),a("XtYw")},"data-v-e847b8f0",null);e.default=_.exports},XtYw:function(t,e){}});