CRMEB/crmeb/public/admin/system_static/js/chunk-274f1666.48e2bc9d.js
2023-09-19 17:39:39 +08:00

1 line
20 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-274f1666"],{"03ecd":function(t,e,r){t.exports=r.p+"system_static/img/mobilehead.1c931282.png"},"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=="},"71ac":function(t,e,r){},b562:function(t,e,r){"use strict";r.d(e,"l",(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,"i",(function(){return u})),r.d(e,"j",(function(){return s})),r.d(e,"k",(function(){return l})),r.d(e,"f",(function(){return d})),r.d(e,"g",(function(){return h})),r.d(e,"h",(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,"x",(function(){return b})),r.d(e,"v",(function(){return v})),r.d(e,"w",(function(){return y})),r.d(e,"p",(function(){return w})),r.d(e,"n",(function(){return k})),r.d(e,"o",(function(){return E})),r.d(e,"m",(function(){return A})),r.d(e,"c",(function(){return x})),r.d(e,"b",(function(){return I})),r.d(e,"e",(function(){return j})),r.d(e,"d",(function(){return V})),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 u(t){return Object(n.a)({url:t.url,method:"post",data:t.key})}function s(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 b(){return Object(n.a)({url:"app/wechat/tag",method:"GET"})}function v(){return Object(n.a)({url:"app/wechat/tag/create",method:"GET"})}function y(t){return Object(n.a)({url:"app/wechat/tag/".concat(t,"/edit"),method:"GET"})}function w(){return Object(n.a)({url:"app/wechat/group",method:"GET"})}function k(){return Object(n.a)({url:"app/wechat/group/create",method:"GET"})}function E(t){return Object(n.a)({url:"app/wechat/group/".concat(t,"/edit"),method:"GET"})}function A(t){return Object(n.a)({url:"app/wechat/action",method:"GET",params:t})}function x(t){return Object(n.a)({url:"app/wechat/code_reply/".concat(t),method:"GET"})}function I(){return Object(n.a)({url:"setting/city/full_list",method:"GET"})}function j(t){return Object(n.a)({url:"app/kefu/auto_reply/list",method:"get",params:t})}function V(t){return Object(n.a)({url:"app/kefu/auto_reply/form/"+t,method:"get"})}},b9af:function(t,e,r){"use strict";var n=r("71ac");r.n(n).a},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",u=i.asyncIterator||"@@asyncIterator",s=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,u;e=e&&e.prototype instanceof f?e:f,e=Object.create(e.prototype),n=new A(n||[]);return a(e,"_invoke",{value:(i=t,o=r,c=n,u="suspendedStart",function(t,e){if("executing"===u)throw new Error("Generator is already running");if("completed"===u){if("throw"===t)throw e;return I()}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"===u)throw u="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(u="executing",r=h(i,o,c),"normal"===r.type){if(u=c.done?"completed":"suspendedYield",r.arg===p)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(u="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 b=(l(i,c,(function(){return this})),Object.getPrototypeOf),v=(b=b&&b(b(x([]))),b&&b!==e&&r.call(b,c)&&(i=b),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,u){var s;i=h(t[i],t,o);if("throw"!==i.type)return(o=(s=i.arg).value)&&"object"==Object(n.a)(o)&&r.call(o,"__await")?e.resolve(o.__await).then((function(t){a("next",t,c,u)}),(function(t){a("throw",t,c,u)})):e.resolve(o).then((function(t){s.value=t,c(s)}),(function(t){return a("throw",t,c,u)}));u(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 A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function x(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:I}}function I(){return{value:void 0,done:!0}}return a(v,"constructor",{value:m.prototype=g,configurable:!0}),a(g,"constructor",{value:m,configurable:!0}),m.displayName=l(g,s,"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,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(w.prototype),l(w.prototype,u,(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(v),l(v,s,"Generator"),l(v,c,(function(){return this})),l(v,"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=x,A.prototype={constructor:A,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"),u=r.call(i,"finallyLoc");if(c&&u){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(!u)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:x(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){var r,n;return!!this.check()&&(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,void(this.isTrue=!0)):(this.$message.warning("二级菜单最多只能添加5个!"),!1))},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(){var t=this;this.isTrue?this.$confirm("确认删除此菜单吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",beforeClose:function(t,e,r){var n;"confirm"==t?e.$refs.confirm.$el.onclick=void(0!=(n=n||window.event).detail&&r()):r()}}).then((function(){(null===t.parentMenuId?t.list:t.list[t.parentMenuId].sub_button).splice(t.checkedMenuId,1),t.parentMenuId=null,t.formValidate={name:"",type:"click",appid:"",url:"",key:"",pagepath:"",id:0},t.isTrue=!0,t.modal2=!1,t.checkedMenuId=null,t.$refs.formValidate.resetFields()})).catch((function(){})):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()}}},u=(r("b9af"),r("2877"));u=Object(u.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("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[n("el-row",{attrs:{gutter:24}},[n("el-col",{staticClass:"ml40",attrs:{span:24}},[n("el-col",{attrs:{span:24}},[n("el-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("i",{staticClass:"el-icon-plus"}),n("div",{staticClass:"arrow"})]),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("i",{staticClass:"el-icon-plus"})])])],2)]),n("el-col",{attrs:{xl:11,lg:12,md:22,sm:22,xs:22}},[null!==t.checkedMenuId?n("el-tabs",{attrs:{value:"name1"}},[n("el-tab-pane",{attrs:{label:"菜单信息",name:"name1"}},[n("el-col",{staticClass:"userAlert",attrs:{span:24}},[n("div",{staticClass:"box-card right"},[n("el-alert",{attrs:{type:"info","show-icon":"",closable:"",title:"已添加子菜单,仅可设置菜单名称"}}),n("el-form",{ref:"formValidate",staticClass:"mt20",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"菜单名称",prop:"name"}},[n("el-input",{staticClass:"spwidth",attrs:{placeholder:"请填写菜单名称"},model:{value:t.formValidate.name,callback:function(e){t.$set(t.formValidate,"name",e)},expression:"formValidate.name"}})],1),n("el-form-item",{attrs:{label:"规则状态",prop:"type"}},[n("el-select",{staticClass:"spwidth",attrs:{placeholder:"请选择规则状态"},model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},[n("el-option",{attrs:{value:"click",label:"关键字"}}),n("el-option",{attrs:{value:"view",label:"跳转网页"}}),n("el-option",{attrs:{value:"miniprogram",label:"小程序"}})],1)],1),"click"===t.formValidate.type?n("div",[n("el-form-item",{attrs:{label:"关键字",prop:"key"}},[n("el-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("el-form-item",{attrs:{label:"appid",prop:"appid"}},[n("el-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("el-form-item",{attrs:{label:"小程序路径",prop:"pagepath"}},[n("el-input",{staticClass:"spwidth",attrs:{placeholder:"请填写小程序路径"},model:{value:t.formValidate.pagepath,callback:function(e){t.$set(t.formValidate,"pagepath",e)},expression:"formValidate.pagepath"}})],1),n("el-form-item",{attrs:{label:"备用网页",prop:"url"}},[n("el-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("el-form-item",{attrs:{label:"跳转地址",prop:"url"}},[n("el-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)],1):t._e(),t.isTrue?n("el-col",{attrs:{span:24}},[n("el-button",{attrs:{size:"small",type:"danger"},on:{click:t.deltMenus}},[t._v("删除")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submenus("formValidate")}}},[t._v("保存并发布")])],1):t._e()],1)],1)],1)],1)],1)],1)}),[],!1,null,"439bfe8a",null);e.default=u.exports}}]);