CRMEB/crmeb/public/admin/system_static/js/chunk-f3a9ea06.22978368.js
2023-06-12 14:41:51 +08:00

1 line
20 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f3a9ea06"],{"03ecd":function(t,e,r){t.exports=r.p+"system_static/img/mobilehead.1c931282.png"},"3a2a":function(t,e,r){"use strict";var n=r("8408");r.n(n).a},"58b1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAAyCAIAAACib5WDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjE1NEJCMUE0NzZGNDExRTVBOTBBQTZFOEFEMjc4NTkzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjE1NEJCMUE1NzZGNDExRTVBOTBBQTZFOEFEMjc4NTkzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTU0QkIxQTI3NkY0MTFFNUE5MEFBNkU4QUQyNzg1OTMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MTU0QkIxQTM3NkY0MTFFNUE5MEFBNkU4QUQyNzg1OTMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4yWLBJAAABuklEQVR42uzcu0ocURzA4XWxMIWiQhJwtVhxMW0wEkWj+AwWgm9gJfgggpVPoElEUwUCKRNFJaQWsygWXvAKXlBZGw8KIiIJmWFnGPg+pjiryMIffpxzRLemUqnkUlUul0ulUg74f3kjAAEDAgYEDAIGBAwIGBAwCBgQMCBgEHAMlZub8BglJK825s/vHxzOfl4Ii9GR4devXhooZGYHPjo+mfk0f3l5FZ6wCC8NFDKzA+fz+aHB/scvDRQyE3BzU2N4DBEyeYQGBAxU5wi9sbm1+ut3W2shznucnp296Sx1tBeNGxINeG39z+jIcPy3+Tj3RcCQ9BG6ob7+fjE5NR2eaOugtdBi1pD0Dvzg6vo68hpIOeAXdXWR10CV1Pz9c6F/LC4P9PfGf5ufSysf+nqe/ZbPhYZq3YGfiHD7BdI/Qrv9QuYDdvsFd2B3YEjjDgxk+Aidu/sd1T9vueEUPTE+ZrhgBwai7sA7u3tPvhJtaz0/vzBrSDrg7ndvv377/vAX0dFs7+y+7+4ya0g64I72ov8iAndgQMCAgEHAgIABAYOAAQEDAgYEDAIGBAwIGBAwCBhIy60AAwBiy5esmSYLKgAAAABJRU5ErkJggg=="},8408:function(t,e,r){},b562:function(t,e,r){"use strict";r.d(e,"k",(function(){return a})),r.d(e,"u",(function(){return i})),r.d(e,"q",(function(){return o})),r.d(e,"a",(function(){return c})),r.d(e,"h",(function(){return s})),r.d(e,"i",(function(){return u})),r.d(e,"j",(function(){return l})),r.d(e,"e",(function(){return d})),r.d(e,"f",(function(){return h})),r.d(e,"g",(function(){return p})),r.d(e,"r",(function(){return f})),r.d(e,"t",(function(){return m})),r.d(e,"s",(function(){return g})),r.d(e,"y",(function(){return v})),r.d(e,"l",(function(){return b})),r.d(e,"d",(function(){return y})),r.d(e,"x",(function(){return w})),r.d(e,"v",(function(){return k})),r.d(e,"w",(function(){return E})),r.d(e,"p",(function(){return I})),r.d(e,"n",(function(){return A})),r.d(e,"o",(function(){return x})),r.d(e,"m",(function(){return j})),r.d(e,"c",(function(){return M})),r.d(e,"b",(function(){return O})),r("99af");var n=r("6b6c");function a(){return Object(n.a)({url:"app/routine/syncSubscribe",method:"GET"})}function i(){return Object(n.a)({url:"app/wechat/syncSubscribe",method:"GET"})}function o(t){return Object(n.a)({url:"app/wechat/menu",method:"get"})}function c(t){return Object(n.a)({url:"app/wechat/menu",method:"post",data:t})}function s(t){return Object(n.a)({url:t.url,method:"post",data:t.key})}function u(t){return Object(n.a)({url:"app/routine/download",method:"post",data:t})}function l(){return Object(n.a)({url:"app/routine/info",method:"get"})}function d(t){return Object(n.a)({url:"app/wechat/keyword",method:"get",params:t})}function h(t){return Object(n.a)({url:"app/wechat/keyword/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function p(t,e){return Object(n.a)({url:t,method:"get",params:e.key})}function f(t){return Object(n.a)({url:"/app/wechat/news",method:"POST",data:t})}function m(t){return Object(n.a)({url:"app/wechat/news",method:"GET",params:t})}function g(t){return Object(n.a)({url:"app/wechat/news/".concat(t),method:"GET"})}function v(t){return Object(n.a)({url:"app/wechat/user",method:"GET",params:t})}function b(){return Object(n.a)({url:"app/wechat/user/tag_group",method:"GET"})}function y(t){return Object(n.a)({url:t,method:"GET"})}function w(){return Object(n.a)({url:"app/wechat/tag",method:"GET"})}function k(){return Object(n.a)({url:"app/wechat/tag/create",method:"GET"})}function E(t){return Object(n.a)({url:"app/wechat/tag/".concat(t,"/edit"),method:"GET"})}function I(){return Object(n.a)({url:"app/wechat/group",method:"GET"})}function A(){return Object(n.a)({url:"app/wechat/group/create",method:"GET"})}function x(t){return Object(n.a)({url:"app/wechat/group/".concat(t,"/edit"),method:"GET"})}function j(t){return Object(n.a)({url:"app/wechat/action",method:"GET",params:t})}function M(t){return Object(n.a)({url:"app/wechat/code_reply/".concat(t),method:"GET"})}function O(){return Object(n.a)({url:"setting/city/full_list",method:"GET"})}},c861:function(t,e,r){"use strict";r.r(e),r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("159b"),r("131a"),r("fb6a");var n=r("0122"),a=r("c964"),i=(r("b0c0"),r("ac1f"),r("00b4"),r("a434"),r("b562"));function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var i,o,c,s;e=e&&e.prototype instanceof f?e:f,e=Object.create(e.prototype),n=new I(n||[]);return a(e,"_invoke",{value:(i=t,o=r,c=n,s="suspendedStart",function(t,e){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===t)throw e;return x()}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r&&(r=function t(e,r){var n=r.method,a=e.iterator[n];return void 0===a?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p):(n=h(a,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,p):(a=n.arg,a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)))}(r,c),r)){if(r===p)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if("suspendedStart"===s)throw s="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(s="executing",r=h(i,o,c),"normal"===r.type){if(s=c.done?"completed":"suspendedYield",r.arg===p)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(s="completed",c.method="throw",c.arg=r.arg)}})}),e}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var p={};function f(){}function m(){}function g(){}i={};var v=(l(i,c,(function(){return this})),Object.getPrototypeOf),b=(v=v&&v(v(A([]))),v&&v!==e&&r.call(v,c)&&(i=v),g.prototype=f.prototype=Object.create(i));function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;a(this,"_invoke",{value:function(a,o){function c(){return new e((function(i,c){!function a(i,o,c,s){var u;i=h(t[i],t,o);if("throw"!==i.type)return(o=(u=i.arg).value)&&"object"==Object(n.a)(o)&&r.call(o,"__await")?e.resolve(o.__await).then((function(t){a("next",t,c,s)}),(function(t){a("throw",t,c,s)})):e.resolve(o).then((function(t){u.value=t,c(u)}),(function(t){return a("throw",t,c,s)}));s(i.arg)}(a,o,i,c)}))}return i=i?i.then(c,c):c()}})}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e,n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e<t.length;)if(r.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n}).next=n}return{next:x}}function x(){return{value:void 0,done:!0}}return a(b,"constructor",{value:m.prototype=g,configurable:!0}),a(g,"constructor",{value:m,configurable:!0}),m.displayName=l(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},y(w.prototype),l(w.prototype,s,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new w(d(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},y(b),l(b,u,"Generator"),l(b,c,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=A,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;0<=a;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}var o=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc?null:i)?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,a=this.tryEntries[e];if(a.tryLoc===t)return"throw"===(r=a.completion).type&&(n=r.arg,E(a)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:A(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}var c={name:"wechatMenus",data:function(){return{modal2:!1,formValidate:{name:"",type:"click",appid:"",url:"",key:"",pagepath:"",id:0},ruleValidate:{name:[{required:!0,message:"请填写菜单名称",trigger:"blur"},{min:1,max:14,message:"长度在 1 到 14 个字符",trigger:"blur"}],key:[{required:!0,message:"请填写关键字",trigger:"blur"}],appid:[{required:!0,message:"请填写appid",trigger:"blur"}],pagepath:[{required:!0,message:"请填写备用网页",trigger:"blur"}],url:[{required:!0,message:"请填写跳转地址",trigger:"blur"}],type:[{required:!0,message:"请选择规则状态",trigger:"change"}]},parentMenuId:null,list:[],checkedMenuId:null,isTrue:!1}},mounted:function(){if(this.getMenus(),!this.list.length)return this.formValidate;this.formValidate=this.list[this.activeClass]},methods:{defaultMenusData:function(){return{type:"click",name:"",sub_button:[]}},defaultChildData:function(){return{type:"click",name:""}},getMenus:function(){var t=this;Object(i.q)().then(function(){var e=Object(a.a)(o().mark((function e(r){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r.data,t.list=n.menus;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},submenus:function(t){var e=this;this.isTrue&&!this.checkedMenuId&&0!==this.checkedMenuId?this.putData():this.$refs[t].validate((function(t){if(t)e.putData();else if(!e.check())return!1}))},putData:function(){var t=this,e={button:this.list};Object(i.a)(e).then(function(){var e=Object(a.a)(o().mark((function e(r){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$Message.success(r.msg),t.checkedMenuId=null,t.formValidate={},t.isTrue=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},gettem:function(t,e,r){this.checkedMenuId=e,this.formValidate=t,this.parentMenuId=r,this.isTrue=!0},add:function(t,e){if(!this.check())return!1;var r,n;t.sub_button.length<5&&(r=this.defaultChildData(),n=t.sub_button.length,t.sub_button.push(r),this.formValidate=r,this.checkedMenuId=n,this.parentMenuId=e,this.isTrue=!0)},addtext:function(){if(!this.check())return!1;var t=this.defaultMenusData(),e=this.list.length;this.list.push(t),this.formValidate=t,this.checkedMenuId=e,this.parentMenuId=null,this.isTrue=!0},check:function(){return null===this.checkedMenuId||!this.isTrue||(this.formValidate.name?"click"!==this.formValidate.type||this.formValidate.key?"view"!==this.formValidate.type||/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/.test(this.formValidate.url)?!!("miniprogram"!==this.formValidate.type||this.formValidate.appid&&this.formValidate.pagepath&&this.formValidate.url)||(this.$Message.warning("请填写完整小程序配置!"),!1):(this.$Message.warning("请输入正确的跳转地址!"),!1):(this.$Message.warning("请输入关键字!"),!1):(this.$Message.warning("请输入按钮名称!"),!1))},deltMenus:function(){this.isTrue?this.modal2=!0:this.$Message.warning("请选择菜单!")},del:function(){(null===this.parentMenuId?this.list:this.list[this.parentMenuId].sub_button).splice(this.checkedMenuId,1),this.parentMenuId=null,this.formValidate={name:"",type:"click",appid:"",url:"",key:"",pagepath:"",id:0},this.isTrue=!0,this.modal2=!1,this.checkedMenuId=null,this.$refs.formValidate.resetFields()}}},s=(r("3a2a"),r("2877"));s=Object(s.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"article-manager"},[n("div",{staticClass:"i-layout-page-header header-title"},[n("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))])]),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("Row",{attrs:{gutter:24,type:"flex"}},[n("Col",{staticClass:"ml40",attrs:{span:"24"}},[n("Col",{attrs:{span:24}},[n("Col",{staticClass:"left mb15",attrs:{xl:7,lg:7,md:22,sm:22,xs:22}},[n("img",{staticClass:"top",attrs:{src:r("03ecd")}}),n("img",{staticClass:"bottom",attrs:{src:r("58b1")}}),n("div",{staticStyle:{background:"#f4f5f9","min-height":"438px",position:"absolute",top:"63px",width:"320px"}}),n("div",{staticClass:"textbot"},[t._l(t.list,(function(e,r){return n("div",{key:r,staticClass:"li",class:{active:e===t.formValidate}},[n("div",[n("div",{staticClass:"add",on:{click:function(n){return t.add(e,r)}}},[n("Icon",{attrs:{type:"ios-add"}}),n("div",{staticClass:"arrow"})],1),n("div",{staticClass:"tianjia"},t._l(e.sub_button,(function(e,a){return n("div",{key:a,staticClass:"addadd",class:{active:e===t.formValidate},on:{click:function(n){return t.gettem(e,a,r)}}},[t._v("\n "+t._s(e.name||"二级菜单")+"\n ")])})),0)]),n("div",{staticClass:"text",on:{click:function(n){return t.gettem(e,r,null)}}},[t._v(t._s(e.name||"一级菜单"))])])})),n("div",{directives:[{name:"show",rawName:"v-show",value:t.list.length<3,expression:"list.length < 3"}],staticClass:"li"},[n("div",{staticClass:"text",on:{click:t.addtext}},[n("Icon",{attrs:{type:"ios-add"}})],1)])],2)]),n("Col",{attrs:{xl:11,lg:12,md:22,sm:22,xs:22}},[null!==t.checkedMenuId?n("Tabs",{attrs:{value:"name1"}},[n("TabPane",{attrs:{label:"菜单信息",name:"name1"}},[n("Col",{staticClass:"userAlert",attrs:{span:"24"}},[n("div",{staticClass:"box-card right"},[n("Alert",{staticClass:"spwidth",attrs:{"show-icon":"",closable:""}},[t._v(" 已添加子菜单,仅可设置菜单名称")]),n("Form",{ref:"formValidate",staticClass:"mt20",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":100}},[n("FormItem",{attrs:{label:"菜单名称",prop:"name"}},[n("Input",{staticClass:"spwidth",attrs:{placeholder:"请填写菜单名称"},model:{value:t.formValidate.name,callback:function(e){t.$set(t.formValidate,"name",e)},expression:"formValidate.name"}})],1),n("FormItem",{attrs:{label:"规则状态",prop:"type"}},[n("Select",{staticClass:"spwidth",attrs:{placeholder:"请选择规则状态"},model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},[n("Option",{attrs:{value:"click"}},[t._v("关键字")]),n("Option",{attrs:{value:"view"}},[t._v("跳转网页")]),n("Option",{attrs:{value:"miniprogram"}},[t._v("小程序")])],1)],1),"click"===t.formValidate.type?n("div",[n("FormItem",{attrs:{label:"关键字",prop:"key"}},[n("Input",{staticClass:"spwidth",attrs:{placeholder:"请填写关键字"},model:{value:t.formValidate.key,callback:function(e){t.$set(t.formValidate,"key",e)},expression:"formValidate.key"}})],1)],1):t._e(),"miniprogram"===t.formValidate.type?n("div",[n("FormItem",{attrs:{label:"appid",prop:"appid"}},[n("Input",{staticClass:"spwidth",attrs:{placeholder:"请填写appid"},model:{value:t.formValidate.appid,callback:function(e){t.$set(t.formValidate,"appid",e)},expression:"formValidate.appid"}})],1),n("FormItem",{attrs:{label:"小程序路径",prop:"pagepath"}},[n("Input",{staticClass:"spwidth",attrs:{placeholder:"请填写小程序路径"},model:{value:t.formValidate.pagepath,callback:function(e){t.$set(t.formValidate,"pagepath",e)},expression:"formValidate.pagepath"}})],1),n("FormItem",{attrs:{label:"备用网页",prop:"url"}},[n("Input",{staticClass:"spwidth",attrs:{placeholder:"请填写备用网页"},model:{value:t.formValidate.url,callback:function(e){t.$set(t.formValidate,"url",e)},expression:"formValidate.url"}})],1)],1):t._e(),"view"===t.formValidate.type?n("div",[n("FormItem",{attrs:{label:"跳转地址",prop:"url"}},[n("Input",{staticClass:"spwidth",attrs:{placeholder:"请填写跳转地址"},model:{value:t.formValidate.url,callback:function(e){t.$set(t.formValidate,"url",e)},expression:"formValidate.url"}})],1)],1):t._e()],1)],1)])],1),n("Button",{attrs:{slot:"extra",size:"small",type:"error"},on:{click:t.deltMenus},slot:"extra"},[t._v("删除")])],1):t._e(),t.isTrue?n("Col",{attrs:{span:24}},[n("Button",{staticStyle:{display:"block",margin:"10px auto"},attrs:{type:"primary"},on:{click:function(e){return t.submenus("formValidate")}}},[t._v("保存并发布")])],1):t._e()],1)],1)],1)],1)],1),n("Modal",{attrs:{width:"360"},model:{value:t.modal2,callback:function(e){t.modal2=e},expression:"modal2"}},[n("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[n("Icon",{attrs:{type:"ios-information-circle"}}),n("span",[t._v("删除")])],1),n("div",{staticStyle:{"text-align":"center"}},[n("p",[t._v("确定删除吗?")])]),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"error",size:"large",long:""},on:{click:t.del}},[t._v("确定")])],1)])],1)}),[],!1,null,"6bc25878",null);e.default=s.exports}}]);