1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f91bb1c4"],{a766:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"80px"}},[i("el-form-item",{attrs:{label:"发件人",prop:"senderName"}},[i("el-input",{attrs:{placeholder:"",clearable:""},model:{value:e.form.senderName,callback:function(t){e.$set(e.form,"senderName",t)},expression:"form.senderName"}})],1),i("el-form-item",{attrs:{label:"接收时间",prop:"readTime"}},[i("el-input",{attrs:{placeholder:"",clearable:""},model:{value:e.form.readTime,callback:function(t){e.$set(e.form,"readTime",t)},expression:"form.readTime"}})],1),i("el-form-item",{attrs:{label:"收件人",prop:"receiverName"}},[i("el-input",{attrs:{placeholder:"",clearable:""},model:{value:e.form.receiverName,callback:function(t){e.$set(e.form,"receiverName",t)},expression:"form.receiverName"}})],1),i("el-form-item",{attrs:{label:"收件主题",prop:"mailTheme"}},[i("el-input",{attrs:{placeholder:"",clearable:""},model:{value:e.form.mailTheme,callback:function(t){e.$set(e.form,"mailTheme",t)},expression:"form.mailTheme"}})],1),i("el-form-item",{attrs:{label:"附件",prop:"mailTheme"}},e._l(e.fujian,(function(t){return i("span",{staticClass:"hg"},[i("a",{staticClass:"fujian",attrs:{href:e.devapi+t.path}},[e._v(e._s(t.name)+" ")])])})),0),i("el-form-item",{staticStyle:{height:"250px"},attrs:{label:"邮件内容",prop:"mailContent"}},[i("Editor",{model:{value:e.form.mailContent,callback:function(t){e.$set(e.form,"mailContent",t)},expression:"form.mailContent"}})],1)],1)],1)},r=[],n=(i("28a5"),i("adc9")),l=i("095c"),o={name:"receiptdetails",components:{Editor:l["a"]},data:function(){return{loading:!0,ids:[],names:[],single:!0,single1:!0,multiple:!0,multiple1:!0,total:0,detailList:[],title:"",open:!1,queryParams:{pageNum:1,pageSize:10,mailGuid:void 0,receiverName:void 0,receiverAccount:void 0,readFlag:void 0,readTime:void 0,status:void 0,deleteTime:void 0},form:{},rules:{},fujianpath:"",fujianName:"",fujian:[],devapi:"",mailDetailGuid:this.$route.query.id}},created:function(){this.info(),this.getList(),this.asd()},methods:{info:function(e){var t=this;console.log(this.$route.query.id);var i=this.$route.query.id;Object(n["c"])(i).then((function(e){t.form=e.data[0],t.fujianpath=t.form.filePath,t.fujianName=t.form.fileName,t.fujianpath=t.fujianpath.split(","),t.fujianName=t.fujianName.split(",");for(var i=0;i<t.fujianName.length;i++)t.fujian.push({path:t.fujianpath[i],name:t.fujianName[i]});t.devapi="/prod-api"}))},asd:function(){var e=this.path,t=e.split(",");console.log(t)},getList:function(){var e=this;this.loading=!0,Object(n["e"])(this.queryParams).then((function(t){e.detailList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset(),this.getList()},reset:function(){this.form={mailDetailGuid:void 0,mailGuid:void 0,receiverName:void 0,receiverAccount:void 0,readFlag:void 0,readTime:void 0,status:"0",deleteTime:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.mailDetailGuid})),this.names=e.map((function(e){return e.senderName})),this.single=1!=e.length,this.single1=1!=e.length,this.multiple=!e.length,this.multiple1=!e.length},handleAdd:function(){this.reset(),this.open=!0,this.title="添加【请填写功能名称】"},handleUpdate:function(e){var t=this,i=e.mailDetailGuid||this.ids;this.$router.push({path:"/Emile/receiveList/xiangqing",query:{id:i[0]}}),Object(n["c"])(i).then((function(e){t.form=e.data[0]}))},watch:{$route:function(e,t){this.fujian=[],this.mailGuid=this.$route.query.id},mailDetailGuid:function(){this.info()}}}},s=o,u=(i("d5ba"),i("2877")),m=Object(u["a"])(s,a,r,!1,null,"fbd43952",null);t["default"]=m.exports},adc9:function(e,t,i){"use strict";i.d(t,"e",(function(){return r})),i.d(t,"d",(function(){return n})),i.d(t,"c",(function(){return l})),i.d(t,"a",(function(){return o})),i.d(t,"f",(function(){return s})),i.d(t,"b",(function(){return u}));var a=i("b775");function r(e){return Object(a["a"])({url:"/system/email/detail/list",method:"get",params:e})}function n(e){return Object(a["a"])({url:"/system/email/detail/list1",method:"get",params:e})}function l(e){return Object(a["a"])({url:"/system/email/detail/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/email/detail",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/system/email/detail"+flg,method:"put",data:e})}function u(e){return Object(a["a"])({url:"/system/email/detail/"+e,method:"delete"})}},d5ba:function(e,t,i){"use strict";i("dafd")},dafd:function(e,t,i){}}]);
|