(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21e1b5"],{d3c3:function(t,e,a){"use strict";a.r(e);var o,n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",[a("v-form",{directives:[{name:"loading",rawName:"v-loading",value:t.tload,expression:"tload"}],staticStyle:{"max-width":"600px",margin:"auto"}},[a("div",[t._v("模板编号："+t._s(t.formData.newOrderNotice.temp_no))]),a("div",[t._v("标题："+t._s(t.formData.newOrderNotice.title))]),a("div",[t._v("行业："+t._s(t.formData.newOrderNotice.industry))]),a("v-text-field",{staticClass:"mt-3",attrs:{label:"模板ID"},model:{value:t.formData.newOrderNotice.templateId,callback:function(e){t.$set(t.formData.newOrderNotice,"templateId",e)},expression:"formData.newOrderNotice.templateId"}}),a("v-btn",{staticClass:"mt-3 dark",attrs:{loading:t.tload},on:{click:function(e){return t.submit()}}},[t._v("保存")])],1)],1)},i=[],r={props:{load:{type:Boolean,default:!1}},data:function(){return{formData:{newOrderNotice:{temp_no:"OPENTM414349804",title:"新订单提醒",industry:"IT科技 - 互联网|电子商务",templateId:""}},pageLoad:this.load,tload:!1}},watch:{load:function(t){t&&(this.pageLoad=t)},pageLoad:function(t){t&&this.getConfig()}},mounted:function(){o=this},methods:{getConfig:function(){o.tload=!0,this.$post("config/get",{config_key:"wxp_template"},function(t){o.tload=!1,0==t.errno&&t.data.config_content&&(o.formData=JSON.parse(t.data.config_content))})},submit:function(){this.tload=!0,this.$post("config/update",{config_key:"wxp_template",config_content:JSON.stringify(this.formData)},function(t){o.tload=!1,0===t.errno&&o.$message({showClose:!0,message:t.errmsg,type:"success"})})}}},s=r,d=a("6691"),c=Object(d["a"])(s,n,i,!1,null,null,null);e["default"]=c.exports}}]);
//# sourceMappingURL=chunk-2d21e1b5.e47ee5cf.js.map