Commit f3aa0a61 authored by jingnan's avatar jingnan 👀

同步产品3.2.1代码 5737/5977/5914/6043【至节点bfc0a96d】

parent af64845c
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-0ea2fdee"],{"01b0":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"06ef":function(e,t,n){"use strict";var r=n("8c7e"),i=n("01b0"),a=n("742b");n("fe99")("search",1,(function(e,t,n,o){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=o(n,e,this);if(t.done)return t.value;var c=r(e),s=String(this),l=c.lastIndex;i(l,0)||(c.lastIndex=0);var u=a(c,s);return i(c.lastIndex,l)||(c.lastIndex=l),null===u?-1:u.index}]}))},"094e":function(e,t,n){var r=n("97bd");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("0472e320",r,!0,{sourceMap:!1,shadowMode:!1})},"0b38":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("ce37");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},"0ed3":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],c=a[1],s=a[2],l=a[3],u={id:e+":"+i,css:c,media:s,sourceMap:l};r[o]?r[o].parts.push(u):n.push(r[o]={id:o,parts:[u]})}return n}n.r(t),n.d(t,"default",(function(){return h}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,l=!1,u=function(){},p=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){l=n,p=i||{};var o=r(e,t);return m(o),function(t){for(var n=[],i=0;i<o.length;i++){var c=o[i],s=a[c.id];s.refs--,n.push(s)}t?(o=r(e,t),m(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete a[s.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(b(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(b(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function b(e){var t,n,r=document.querySelector("style["+d+'~="'+e.id+'"]');if(r){if(l)return u;r.parentNode.removeChild(r)}if(f){var i=s++;r=c||(c=g()),t=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=g(),t=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function x(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),p.ssrId&&e.setAttribute(d,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"1cef":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("9446");function i(e,t){if(e){if("string"===typeof e)return Object(r["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},"2be6":function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,c){var s,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=s):i&&(s=c?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},"387b":function(e,t,n){var r=n("5bb3");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("517f0d74",r,!0,{sourceMap:!1,shadowMode:!1})},"427e":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,"",""]),e.exports=t},"42c2":function(e,t,n){"use strict";function r(e,t,n,r,i,a,o){try{var c=e[a](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var o=e.apply(t,n);function c(e){r(o,i,a,c,s,"next",e)}function s(e){r(o,i,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return i}))},5804:function(e,t,n){"use strict";n("387b")},"5bb3":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".BaseInfoCmp .content{overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}",""]),e.exports=t},"5eaa":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=i(r),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([a]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(i[o]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},7342:function(e,t,n){"use strict";var r=n("751a");function i(e){return Object(r["d"])("/DxApplicationView",e)}function a(e){return Object(r["e"])("/DxApplicationView",e)}function o(e){return Object(r["e"])("/DxApplicationView/batch/update",e)}function c(e){return Object(r["d"])("/DxApplicationView/delete",e)}t["a"]={add:i,edit:a,batchUpdate:o,batchDelete:c}},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var r=n("8bbf"),i=n.n(r),a=i.a.__share_pool__=i.a.__share_pool__||{},o=a.http=a.http||{};function c(e,t){return o.get(e,t)}function s(e,t){return o.post(e,t)}function l(e,t){return o.put(e,t)}function u(e,t){return o.del(e,t)}function p(e,t){return o.downloadZip(e,t)}},"76bb":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,"",""]),e.exports=t},7825:function(e,t,n){var r=n("76bb");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("38e1e880",r,!0,{sourceMap:!1,shadowMode:!1})},"78b1":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("751a");function i(e){return Object(r["d"])("/Organization/nodes",e)}},"8f6e":function(e,t,n){var r=n("b4b5");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("6100c500",r,!0,{sourceMap:!1,shadowMode:!1})},9446:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},"97bd":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".CenterPageCmp{padding:8px;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.CenterPageCmp .splitter-pane-resizer.vertical{opacity:1;background-color:#f1f4f5;width:6px;border-left:0;border-right:0}.CenterPageCmp .detail-pane{width:100%;font-size:14px}.CenterPageCmp .left-box,.CenterPageCmp .right-box{height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #d9d9d9;background-color:#fff}.CenterPageCmp .dee-tab{height:100%}.CenterPageCmp .dee-tab .el-tabs__content{height:calc(100% - 40px)!important}.CenterPageCmp .dee-tab .el-tabs__content .el-tab-pane{height:100%;margin-bottom:0}.CenterPageCmp .dee-tab .dee-tab-item{height:100%;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box}",""]),e.exports=t},a985:function(e,t,n){"use strict";n("094e")},b4b5:function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".workspace-tree-com{height:100%}.workspace-tree-com .el-tree{height:calc(100% - 80px);overflow-y:scroll}.workspace-tree-com .header-wrap{padding:0 8px;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;margin-bottom:0}.workspace-tree-com .el-row{margin-bottom:15px}.workspace-tree-com .root{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 8px;height:40px;line-height:40px}.workspace-tree-com .add-root{display:inline-block;width:18px;height:18px;margin:auto 4px;background-size:cover;background-position:50%;background-image:url(/icons/c-add.png);cursor:pointer}.workspace-tree-com .custom-tree-node{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.workspace-tree-com .custom-tree-node div{width:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.workspace-tree-com .custom-tree-node div>span{display:none;width:18px;height:18px;margin:0 4px;background-size:cover;background-position:50%}.workspace-tree-com .custom-tree-node .add-pic{background-image:url(/icons/c-add.png)}.workspace-tree-com .custom-tree-node .edit-pic{background-image:url(/icons/c-edit.png)}.workspace-tree-com .custom-tree-node .del-pic{background-image:url(/icons/c-creatbackups.png)}.workspace-tree-com .custom-tree-node:hover div span{display:inline-block}",""]),e.exports=t},c880:function(e,t,n){var r=n("6f0d").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in i||n("3d85")&&r(i,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},ce6f:function(e,t,n){"use strict";n("8f6e")},da1e:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("1cef");function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r["a"])(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,o=e},f:function(){try{c||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}},dc32:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"CenterPageCmp"},[n("split-pane",{staticClass:"detail-pane",attrs:{"min-percent":18,"default-percent":22,split:"vertical"}},[n("template",{slot:"paneL"},[n("div",{staticClass:"left-box"},[n("WorkspaceTree",{on:{nodeClick:e.onNodeClick}})],1)]),n("template",{slot:"paneR"},[n("div",{staticClass:"right-box"},[n("dee-tab",{ref:"deetab",staticClass:"dee-tab",attrs:{tabs:e.tabs},on:{tabClick:e.onTabClick}},[n("div",{staticClass:"dee-tab-item",attrs:{slot:"1"},slot:"1"},[n("BaseInfo",{attrs:{"basic-data":e.currWorkspace}})],1),n("div",{staticClass:"dee-tab-item",attrs:{slot:"2"},slot:"2"},[n("StartPage",{attrs:{"basic-data":e.currWorkspace}})],1),n("div",{staticClass:"dee-tab-item",attrs:{slot:"3"},slot:"3"},[n("ViewManage",{attrs:{"basic-data":e.currWorkspace}})],1)])],1)])],2)],1)},i=[],a=(n("06ef"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"workspace-tree-com"},[n("div",{staticClass:"root"},[n("span",{attrs:{title:"工作空间"}},[e._v("Root")]),n("span",{staticClass:"add-root",on:{click:e.onAdd}})]),n("el-tree",{ref:"tree",attrs:{"node-key":"id",data:e.treeData,props:e.defaultProps,"default-expand-all":!0,"highlight-current":!0,"expand-on-click-node":!1},on:{"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,i=t.data;return n("span",{staticClass:"custom-tree-node"},[n("span",{staticClass:"changeText"},[e._v(e._s(r.label))]),1!==i.id?n("div",[n("span",{staticClass:"edit-pic",on:{click:function(t){return t.stopPropagation(),e.onEdit(i,r)}}}),n("span",{staticClass:"del-pic",on:{click:function(t){return t.stopPropagation(),e.onDelete(i,r)}}})]):e._e()])}}])}),n("dee-dialog",{attrs:{width:"500px",title:(e.formData.id?"编辑":"新增")+"工作空间","dialog-visible":e.isVisible},on:{handleClose:e.onClose}},[n("deeForm",{ref:"form",attrs:{"label-width":"100px",form:e.formData,"form-data":e.formFieldConfig,rules:e.formRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onOk}},[e._v("确定")]),n("el-button",{attrs:{type:"default"},on:{click:e.onClose}},[e._v("取消")])],1)],1)],1)}),o=[],c=n("0b38"),s=(n("c880"),n("df26"),n("42c2")),l=(n("2e73"),n("751a"));function u(e){return Object(l["d"])("/DxApplicationWorkspace",e)}function p(e){return Object(l["e"])("/DxApplicationWorkspace",e)}function d(e){return Object(l["d"])("/DxApplicationWorkspace/delete",e)}var f={add:u,edit:p,remove:d},h={name:"WorkspaceTree",components:{},data:function(){return{isVisible:!1,formData:{name:null,domain:null,enable:null,remark:null,type:"business"},formFieldConfig:[{title:"",split:1,data:[{key:"name",title:"名称",component:{name:"el-input"}},{key:"domain",title:"访问地址",component:{name:"el-input"}},{key:"enable",title:"是否启用",component:{name:"el-radio",options:[{label:"启用",value:!0},{label:"禁用",value:!1}]}},{key:"remark",title:"描述",component:{name:"el-input",type:"textarea",rows:3}}]}],formRules:{name:[{required:!0,message:"请输入名称",trigger:"blur"}],domain:[{required:!0,message:"请输入访问域名",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"blur"}]},defaultProps:{children:"children",label:function(e,t){var n=[],r=["name","type","enable"];return r.forEach((function(t){var r=e[t];"enable"===t?n.push(r?"启用":"禁用"):"type"===t?"global"===r?n.push("全局"):"business"===r&&n.push("业务"):r&&n.push(r)})),n.join(" | ")}},treeData:[],DxApplicationWorkspaceService:this.$getService("DxApplicationWorkspace")}},mounted:function(){this.getWorkspaceList()},methods:{getWorkspaceList:function(){var e=this,t=this.DxApplicationWorkspaceService.newSearchItems();this.DxApplicationWorkspaceService.query().openProp(["creator","modifier"]).search(t).then((function(t){e.treeData=t.content,e.treeData.forEach((function(e){e.status=!0===e.enable?"启用":"禁用"}))}))},onAdd:function(){this.isVisible=!0,this.formData.enable=!0},onEdit:function(e,t){Object.assign(this.formData,e),this.isVisible=!0},onDelete:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t,n){var r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.$confirm("确定要删除该".concat(t.name,"工作空间?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){f.remove(t).then((function(e){r.$message.success("删除成功"),r.getWorkspaceList(),r.nodeClick(null)}))}));case 2:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),nodeClick:function(e){this.$emit("nodeClick",e)},onClose:function(){this.isVisible=!1,this.$refs.form.reset(),this.formData={name:null,domain:null,enable:null,remark:null,type:"business"}},onOk:function(){var e=this,t=this.$refs.form;t.validate((function(t){if(t){var n=Object(c["a"])({},e.formData),r=n.id?"edit":"add";f[r](n).then((function(t){e.$message.success(n.id?"编辑完成":"创建成功"),e.getWorkspaceList(),e.onClose()}))}}))}}},m=h,g=(n("ce6f"),n("2be6")),b=Object(g["a"])(m,a,o,!1,null,null,null),v=b.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"BaseInfoCmp"},[n("deeForm",{ref:"form",attrs:{"label-width":"100px",form:e.basicData,"form-data":e.formFieldConfig}})],1)},x=[],w={props:{basicData:{type:[Object],default:function(){return{}}}},data:function(){return{formData:{},formFieldConfig:[{title:"",split:3,data:[{key:"name",title:"名称",component:{name:"readable"}},{key:"type",title:"类型",component:{name:"readable"}},{key:"status",title:"状态",component:{name:"readable"}},{key:"domain",title:"访问域名",component:{name:"readable"}},{key:"creator.userName",title:"创建者",component:{name:"readable"}},{key:"modifier.userName",title:"修改者",component:{name:"readable"}},{key:"remark",title:"描述",width:3,component:{name:"readable"}}]}]}}},k=w,D=(n("5804"),Object(g["a"])(k,y,x,!1,null,null,null)),C=D.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"StartPageCmp"},[n("dee-table",{attrs:{"selection-row":"",data:e.tableData,columns:e.tableColumns,pagination:e.pagination},on:{"selection-change":e.onSelect}},[n("dee-tools",{attrs:{slot:"header",tools:e.tools,mode:"normal",collapse:!1},slot:"header"})],1),n("dee-dialog",{attrs:{width:"500px",title:(e.formData.id?"编辑":"新增")+"启动页面配置","dialog-visible":e.isVisible},on:{handleClose:e.onClose}},[n("deeForm",{ref:"form",attrs:{"label-width":"80px",form:e.formData,"form-data":e.formFieldConfig,rules:e.formRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onOk}},[e._v("确定")]),n("el-button",{attrs:{type:"default"},on:{click:e.onClose}},[e._v("取消")])],1)],1)],1)},j=[],_=n("ec26"),A=n("f725");function S(){this.name=null,this.appId=null,this.pageId=null,this.remark=null,this.sort=null}var P={props:{basicData:{type:[Object],default:function(){return{}}}},data:function(){var e=this;return{tools:[{name:"新增",icon:"/icons/c-add.png",handler:{click:function(){e.isVisible=!0}}},{name:"删除",icon:"/icons/c-creatbackups.png",handler:{click:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.selectionRows.length){t.next=2;break}return t.abrupt("return",e.$message.error("请至少选择一条数据"));case 2:return t.next=4,e.$confirm("确定要删除选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){A["c"].batchDelete(e.selectionRows).then((function(t){e.$message.success("删除成功"),e.loadData()}))}));case 4:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()}}],selectionRows:[],tableData:[],tableColumns:[{title:"操作",align:"center",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"编辑",icon:"/icons/c-edit.png",handleClick:function(t,n){e.onEditRow(t,n)}}]}}},{title:"名称",minWidth:120,align:"left",key:"name"},{title:"页面",minWidth:120,align:"left",key:"dxApplicationPageVO.name"},{title:"排序",minWidth:120,align:"center",key:"sort"},{title:"描述",align:"left",key:"remark"},{title:"创建者",minWidth:120,align:"center",key:"creator.userName"},{title:"上次修改时间",minWidth:120,align:"center",key:"modifyTime"}],pagination:{currentPage:1,pageSize:10,pageSizes:[10,20,50,100,200],total:0},isVisible:!1,formData:new S,formRules:{name:[{required:!0,message:"请输入名称",trigger:"change"}],pageId:[{required:!0,message:"请选择页面",trigger:"change"}]},DxApplicationMenuService:this.$getService("DxApplicationMenu"),DxApplicationPageService:this.$getService("DxApplicationPage"),formFieldConfig:[{title:"",split:1,data:[{key:"name",title:"名称",component:{name:"el-input"}},{key:"appId",title:"APP",component:{name:"el-select",options:[]}},{key:"pageId",title:"页面",component:{name:"el-select",options:[],filterable:!0}},{key:"remark",title:"描述",component:{name:"el-input",type:"textarea",rows:3}},{key:"sort",title:"排序",component:{name:"el-input-number",min:1}}]}]}},computed:{},watch:{basicData:{immediate:!0,handler:function(e){e?this.loadData(e):this.tableData=[]}},"formData.appId":function(e){var t=this;e&&this.getPages(e,(function(e){var n=e.map((function(e){return{label:e.remark?"".concat(e.name,"(").concat(e.remark,")"):e.name,value:e.id}}));t.$utils.findFormProp(t.formFieldConfig,"pageId").component.options=n,t.formData.pageId&&n.filter((function(e){return e.value===t.form.pageId})).length<=0&&t.$set(t.form,"pageId","")}))}},created:function(){this.getApps()},methods:{loadData:function(){var e=this;this.tableData=[];var t=this.basicData.id,n=this.DxApplicationMenuService.newSearchItems();n.$addItem("workspaceId",t),n.$addItem("isOrgSpecial",!1),this.DxApplicationMenuService.query().openProp(["dxApplicationView","dxApplicationPageVO"]).search(n).then((function(t){e.tableData=(t.content||[]).map((function(e){return e.dxApplicationViewVO&&(e.appId=e.dxApplicationViewVO.id),e.dxApplicationViewVO&&(e.pageId=e.dxApplicationPageVO.id),e}))}))},uniqueByKey:function(e,t){var n={};return e.reduce((function(e,r){return n[r[t]]||(n[r[t]]=!0,e.push(r)),e}),[])},getApps:function(){var e=this,t=[];t=[];var n={searchItems:{operator:"AND",items:t},openProps:[{name:"source"},{name:"target"},{name:"target.dxApplicationApplicationGroupVOS"}]};_["a"].getApps(n).then((function(t){if(t.items&&Array.isArray(t.items.content)&&t.items.content.length>0){var n=t.items.content.filter((function(e){return e.target})).map((function(e){return{label:e.target.name,value:e.target.id}}));e.$utils.findFormProp(e.formFieldConfig,"appId").component.options=e.uniqueByKey(n,"value")}}))},getPages:function(e,t){var n=this.DxApplicationPageService.newSearchItems();n.$addItem("appId",e),this.DxApplicationPageService.query().openProp().search(n).then((function(e){t(e.content||[])}))},onSelect:function(e){this.selectionRows=e},onEditRow:function(e){var t=this;this.formData=Object(c["a"])({},e),this.isVisible=!0;var n=this.DxApplicationPageService.newSearchItems();n.$addItem("id",this.formData.pageId),this.DxApplicationPageService.query().openProp().search(n).then((function(e){e.content&&e.content.length>0&&t.$set(t.formData,"appId",e.content[0].appId)}))},onClose:function(){this.isVisible=!1,this.$refs.form.reset(),this.formData=new S},onOk:function(){var e=this,t=this.$refs.form;t.validate((function(t){if(t){var n=Object(c["a"])(Object(c["a"])({},e.formData),{},{workspaceId:e.basicData.id}),r=n.id?"edit":"add";n.isStartPage=!0,n.isOrgSpecial=!1,A["c"][r](n).then((function(t){e.$message.success(n.id?"编辑成功":"创建成功"),e.onClose(),e.loadData()}))}}))}}},I=P,$=(n("e8ca"),Object(g["a"])(I,O,j,!1,null,null,null)),E=$.exports,R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ViewManageCmp"},[n("dee-table",{attrs:{"selection-row":"",data:e.tableData,columns:e.tableColumns,pagination:e.pagination},on:{"selection-change":e.onSelect}},[n("dee-tools",{attrs:{slot:"header",tools:e.tools,mode:"normal",collapse:!1},slot:"header"})],1),n("dee-dialog",{attrs:{width:"500px",title:(e.formData.id?"编辑":"新增")+"视图","dialog-visible":e.isVisible},on:{handleClose:e.onClose}},[n("deeForm",{ref:"form",attrs:{"label-width":"120px",form:e.formData,"form-data":e.formFieldConfig,rules:e.formRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onOk}},[e._v("确定")]),n("el-button",{attrs:{type:"default"},on:{click:e.onClose}},[e._v("取消")])],1)],1)],1)},W=[],V=n("da1e"),L=n("7342"),T=n("78b1"),M={props:{basicData:{type:[Object],default:function(){return{}}}},data:function(){var e=this;return{tools:[{name:"新增",icon:"/icons/c-add.png",handler:{click:function(){if(!e.basicData.id)return e.$message.warning("请选择工作空间");e.isVisible=!0,e.formData.sort=1,e.formData.enable=!0}}},{name:"删除",icon:"/icons/c-creatbackups.png",handler:{click:function(){if(!e.selectionRows.length)return e.$message.error("请至少选择一条数据");e.$confirm("确定要删除选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){L["a"].batchDelete(e.selectionRows).then((function(t){e.$message.success("删除成功"),e.loadData()}))}))}}},{name:"启用",icon:"/icons/b-strat.png",handler:{click:function(){if(!e.selectionRows.length)return e.$message.error("请至少选择一条数据");e.$confirm("确定要启用选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.selectionRows.forEach((function(e){e.enable=!0})),L["a"].batchUpdate(e.selectionRows).then((function(t){e.$message.success("启用成功"),e.loadData()}))}))}}},{name:"禁用",icon:"/icons/c-reject.png",handler:{click:function(){if(!e.selectionRows.length)return e.$message.error("请至少选择一条数据");e.$confirm("确定要禁用选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.selectionRows.forEach((function(e){e.enable=!1})),L["a"].batchUpdate(e.selectionRows).then((function(t){e.$message.success("禁用成功"),e.loadData()}))}))}}}],selectionRows:[],tableData:[],tableColumns:[{title:"操作",align:"center",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"配置菜单",icon:"/icons/c-setattr.png",handleClick:function(t,n){e.$router.push({path:"/config/app-menu-manage",query:{id:t.id,workspaceName:t.dxApplicationWorkspace.name,viewName:t.name}})}},{operation:"编辑",icon:"/icons/c-edit.png",handleClick:function(t,n){e.onEditRow(t,n)}}]}}},{title:"视图名称",minWidth:120,align:"left",key:"name"},{title:"排序",minWidth:120,align:"center",key:"sort"},{title:"限定部门",minWidth:120,align:"left",key:"organization.orgName"},{title:"描述",align:"left",key:"remark"},{title:"状态",minWidth:60,align:"center",key:"enable",formatter:function(e,t){return!0===e.enable?"启用":"禁用"}},{title:"创建者",minWidth:120,align:"center",key:"creator.name"},{title:"上次修改时间",minWidth:120,align:"center",key:"modifyTime"}],pagination:{currentPage:1,pageSize:10,pageSizes:[10,20,50,100,200],total:0},isVisible:!1,formData:{name:null,sort:null,remark:null,enable:null},formFieldConfig:[{title:"",split:1,data:[{key:"name",title:"视图名称",component:{name:"el-input"}},{key:"sort",title:"排序",component:{name:"el-input-number",min:1}},{key:"organization.id",title:"部门",component:{name:"el-cascader",clearable:!0,props:{checkStrictly:!0,label:"orgName",value:"id",emitPath:!1},options:[]}},{key:"enable",title:"是否启用",component:{name:"el-radio",options:[{value:!0,label:"启用"},{value:!1,label:"禁用"}]}},{key:"remark",title:"描述",component:{name:"el-input",type:"textarea",rows:3}}]}],formRules:{name:[{required:!0,message:"请输入名称",trigger:"change"}]},DxApplicationViewService:this.$getService("DxApplicationView")}},watch:{basicData:{immediate:!0,handler:function(e){e&&this.loadData()}}},created:function(){this.getDept()},mounted:function(){},methods:{handleTree:function(e){var t,n=Object(V["a"])(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r["children"]&&(this.handleTree(r["children"]),r["children"].length<=0&&delete r.children)}}catch(i){n.e(i)}finally{n.f()}},getDept:function(){var e=this;Object(T["a"])({}).then((function(t){var n=t.items;e.handleTree(n),e.$utils.findFormProp(e.formFieldConfig,"organization.id").component.options=n}))},loadData:function(){var e=this,t=this.basicData.id,n=this.DxApplicationViewService.newSearchItems();n.$addItem("workspaceId",t),n.$addItem("isOrgSpecial",!1),this.DxApplicationViewService.query().openProp(["dxApplicationWorkspace","organization"]).search(n).then((function(t){e.tableData=t.content}))},onSelect:function(e){this.selectionRows=e},onEditRow:function(e){this.formData=Object(c["a"])({},e),this.isVisible=!0},onClose:function(){this.isVisible=!1,this.formData={name:null,sort:null,remark:null,enable:null}},onOk:function(){var e=this,t=this.$refs.form;t.validate((function(t){if(t){e.formData.organization&&!e.formData.organization.id&&(e.formData.orgId=-1);var n=Object(c["a"])(Object(c["a"])({},e.formData),{},{dxApplicationWorkspace:e.basicData,workspaceId:e.basicData.id,isOrgSpecial:!1}),r=n.id?"edit":"add";L["a"][r](n).then((function(t){e.$message.success(n.id?"修改成功":"添加成功"),e.loadData()})),e.onClose()}}))}}},N=M,F=(n("f16b"),Object(g["a"])(N,R,W,!1,null,null,null)),B=F.exports,z={components:{WorkspaceTree:v,BaseInfo:C,StartPage:E,ViewManage:B},data:function(){return{tabs:[{id:"1",name:"基本信息"},{id:"2",name:"启动页配置"},{id:"3",name:"菜单视图"}],DxApplicationWorkspaceService:this.$getService("DxApplicationWorkspace"),currWorkspace:{}}},created:function(){this.getGlobalWorkspace()},methods:{getGlobalWorkspace:function(){var e=this,t=this.DxApplicationWorkspaceService.newSearchItems();t.$addItem("id",1),this.DxApplicationWorkspaceService.query().openProp(["creator","modifier","viewVOList","menuVOList"]).search(t).then((function(t){console.log(t),e.currWorkspace=t.content[0],e.currWorkspace.status=!0===e.currWorkspace.enable?"启用":"禁用"}))},onTabClick:function(){},onNodeClick:function(e){this.currWorkspace=e}}},q=z,U=(n("a985"),Object(g["a"])(q,r,i,!1,null,null,null));t["default"]=U.exports},df26:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch($){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),o=new S(r||[]);return a._invoke=O(e,n,o),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch($){return{type:"throw",arg:$}}}e.wrap=l;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function g(){}function b(){}function v(){}var y={};s(y,a,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(P([])));w&&w!==n&&r.call(w,a)&&(y=w);var k=v.prototype=g.prototype=Object.create(y);function D(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,a,o,c){var s=u(e[i],e,a);if("throw"!==s.type){var l=s.arg,p=l.value;return p&&"object"===typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,o,c)}),(function(e){n("throw",e,o,c)})):t.resolve(p).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,c)}))}c(s.arg)}var i;function a(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}this._invoke=a}function O(e,t,n){var r=p;return function(i,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw a;return I()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var c=j(o,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function j(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){while(++i<e.length)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:I}}function I(){return{value:t,done:!0}}return b.prototype=v,s(k,"constructor",v),s(v,"constructor",b),b.displayName=s(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,c,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},D(C.prototype),s(C.prototype,o,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new C(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},D(k),s(k,c,"Generator"),s(k,a,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return c.type="throw",c.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},e39f:function(e,t,n){var r=n("427e");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("4f51f80a",r,!0,{sourceMap:!1,shadowMode:!1})},e8ca:function(e,t,n){"use strict";n("7825")},ec26:function(e,t,n){"use strict";var r=n("751a");function i(e){return Object(r["d"])("/DxApplicationApplicationGroup/find/recursion",e)}function a(e){return Object(r["d"])("/DxApplication/saveApplication",e)}function o(e){return Object(r["e"])("/DxApplication/updateApplication",e)}function c(e,t){return Object(r["a"])("/DxApplication/deleteApplication/".concat(e,"/").concat(t))}t["a"]={getApps:i,addApp:a,editApp:o,delApp:c}},f16b:function(e,t,n){"use strict";n("e39f")},f725:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n("751a");function i(e){return Object(r["d"])("/DxApplicationMenu",e)}function a(e){return Object(r["e"])("/DxApplicationMenu",e)}function o(e,t,n){return Object(r["e"])("/DxApplicationMenu/batch/update",e)}function c(e){return Object(r["d"])("/DxApplicationMenu/delete",e)}t["c"]={add:i,edit:a,batchUpdate:o,batchDelete:c}}}]);
\ No newline at end of file
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-18679218"],{"0058":function(t,e,n){var o=n("5eaa");e=o(!1),e.push([t.i,".app-edit-page{height:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.app-edit-page .a-e-p-content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.app-edit-page .a-e-p-content .box-left{-webkit-box-flex:1;-ms-flex:1;flex:1;width:calc(100% - 320px)}.app-edit-page .a-e-p-content .box-right{width:300px;background:#fff;margin:8px 0;margin-right:8px;border:1px solid #d9d9d9}.app-edit-page .add-box{min-height:200px;text-align:center;line-height:200px;font-size:30px;color:#2a75ce;cursor:pointer}.app-edit-page .active-edit-com{min-height:100px;position:relative;border:1px solid #2a75ce}.app-edit-page .active-edit-com .close{display:none;position:absolute;top:0;right:10px;z-index:1000;cursor:pointer}.app-edit-page .active-edit-com:hover .close{display:inline-block}",""]),t.exports=e},"0ed3":function(t,e,n){"use strict";function o(t,e){for(var n=[],o={},i=0;i<e.length;i++){var a=e[i],r=a[0],l=a[1],c=a[2],s=a[3],u={id:t+":"+i,css:l,media:c,sourceMap:s};o[r]?o[r].parts.push(u):n.push(o[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",(function(){return m}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},r=i&&(document.head||document.getElementsByTagName("head")[0]),l=null,c=0,s=!1,u=function(){},p=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(t,e,n,i){s=n,p=i||{};var r=o(t,e);return h(r),function(e){for(var n=[],i=0;i<r.length;i++){var l=r[i],c=a[l.id];c.refs--,n.push(c)}e?(r=o(t,e),h(r)):r=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var s=0;s<c.parts.length;s++)c.parts[s]();delete a[c.id]}}}}function h(t){for(var e=0;e<t.length;e++){var n=t[e],o=a[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(v(n.parts[i]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var r=[];for(i=0;i<n.parts.length;i++)r.push(v(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function v(t){var e,n,o=document.querySelector("style["+d+'~="'+t.id+'"]');if(o){if(s)return u;o.parentNode.removeChild(o)}if(f){var i=c++;o=l||(l=b()),e=g.bind(null,o,i,!1),n=g.bind(null,o,i,!0)}else o=b(),e=x.bind(null,o),n=function(){o.parentNode.removeChild(o)};return e(t),function(o){if(o){if(o.css===t.css&&o.media===t.media&&o.sourceMap===t.sourceMap)return;e(t=o)}else n()}}var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function g(t,e,n,o){var i=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var a=document.createTextNode(i),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(a,r[e]):t.appendChild(a)}}function x(t,e){var n=e.css,o=e.media,i=e.sourceMap;if(o&&t.setAttribute("media",o),p.ssrId&&t.setAttribute(d,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"0feb":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));var o=n("751a");function i(t,e){return Object(o["d"])("/perm/PageResource/merge?appId=".concat(t),e)}function a(t){return Object(o["c"])("/perm/Permission/objids?objIds=".concat(t))}},"1cef":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("9446");function i(t,e){if(t){if("string"===typeof t)return Object(o["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o["a"])(t,e):void 0}}},"288e":function(t,e,n){"use strict";var o=n("ef37"),i=n("418d")(5),a="find",r=!0;a in[]&&Array(1)[a]((function(){r=!1})),o(o.P+o.F*r,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("96ba")(a)},"2be6":function(t,e,n){"use strict";function o(t,e,n,o,i,a,r,l){var c,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),o&&(s.functional=!0),a&&(s._scopeId="data-v-"+a),r?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},s._ssrRegister=c):i&&(c=l?function(){i.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(s.functional){s._injectStyles=c;var u=s.render;s.render=function(t,e){return c.call(e),u(t,e)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:s}}n.d(e,"a",(function(){return o}))},3262:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-edit-page"},[n("div",{staticClass:"a-e-p-content"},[n("div",{staticClass:"box-left"},[n("doc-center",{attrs:{"detail-show":!0}},[t._l(t.layLIst,(function(e,o){return[e.componentInfo?n("template",{slot:e.name},[n("div",{key:o,staticClass:"active-edit-com",on:{click:function(n){return n.stopPropagation(),t.showConfig(e,o)}}},[n("div",{staticClass:"close"},[n("el-button",{attrs:{type:"text",icon:"el-icon-close"},on:{click:function(t){t.stopPropagation(),e.componentInfo=null}}})],1),n("dee-business-com",{attrs:{"bind-data":t.pageData[e.name],config:e}})],1)]):t._e(),e.componentInfo?t._e():n("div",{key:o,staticClass:"add-box",attrs:{slot:e.name},on:{click:function(n){return t.addCom(e,o)}},slot:e.name},[n("svg-icon",{staticClass:"icon-img",attrs:{"icon-class":"add"}})],1)]}))],2)],1),n("div",{staticClass:"box-right"},[n("h3",{staticStyle:{"padding-left":"8px"}},[t._v("编辑应用")]),n("deeForm",{attrs:{"label-width":"120px",form:t.configData,"form-data":t.tableConfigClomn,rules:t.tableConfigRules}}),n("div",{staticStyle:{padding:"10px",display:"flex","justify-content":"center"}},[n("el-button",{attrs:{type:"primary"},on:{click:t.saveSubmit}},[t._v("确 定")])],1),n("div",{staticStyle:{padding:"10px",display:"flex","justify-content":"center","padding-top":"30px"}},[n("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.updatePrem}},[t._v("更新权限资源点")])],1)],1)]),n("dee-dialog",{attrs:{width:"500px",title:"组件选取","dialog-visible":t.dialogVisible},on:{handleClose:function(e){t.dialogVisible=!1}}},[n("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{size:"mini",model:t.editForm,rules:t.rules,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"选择应用"}},[n("el-select",{attrs:{placeholder:"请选择"},on:{change:t.changeApp},model:{value:t.appId,callback:function(e){t.appId=e},expression:"appId"}},t._l(t.apps,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),n("el-form-item",{attrs:{label:"选择模型"}},[n("el-select",{attrs:{placeholder:"请选择"},on:{change:t.changeModel},model:{value:t.modelId,callback:function(e){t.modelId=e},expression:"modelId"}},t._l(t.models,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),n("el-form-item",{attrs:{label:"选择组件",prop:"componentName"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.editForm.componentName,callback:function(e){t.$set(t.editForm,"componentName",e)},expression:"editForm.componentName"}},t._l(t.showLayoutOptions,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),n("el-form-item",{attrs:{label:"组件名称",prop:"name"}},[n("el-input",{attrs:{placeholder:"请输入",disabled:!0},model:{value:t.editForm.name,callback:function(e){t.$set(t.editForm,"name",e)},expression:"editForm.name"}})],1)],1),n("div",{staticClass:"dialogBtn",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.MaintenanceSubmit}},[t._v("确 定")]),n("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")])],1)],1),n("dee-dialog",{attrs:{width:"820px",title:"组件配置","dialog-visible":t.configDialogFlag},on:{handleClose:function(e){t.configDialogFlag=!1}}},[n("el-form",{ref:"configForm",staticClass:"demo-ruleForm",attrs:{size:"mini",model:t.configForm,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"组件名称",prop:"name"}},[n("el-input",{attrs:{placeholder:"请输入",disabled:""!==t.configForm.name},model:{value:t.configForm.name,callback:function(e){t.$set(t.configForm,"name",e)},expression:"configForm.name"}})],1),n("el-form-item",{attrs:{label:"组件输入事件",prop:"inputEvent"}},[n("el-input",{attrs:{disabled:!0,type:"textarea",rows:2},model:{value:t.configForm.inputEventStr,callback:function(e){t.$set(t.configForm,"inputEventStr",e)},expression:"configForm.inputEventStr"}})],1),n("el-form-item",{attrs:{label:"组件输出事件",prop:"bindEvent"}},t._l(t.configForm.bindEvent,(function(e,o){return n("div",{key:o},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.outputEvent,callback:function(n){t.$set(e,"outputEvent",n)},expression:"bindEvent.outputEvent"}},t._l(t.configForm.outputEventOpitons,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1),n("el-select",{attrs:{placeholder:"请选择"},on:{change:function(n){t.setInputEventOption(n,e)}},model:{value:e.component,callback:function(n){t.$set(e,"component",n)},expression:"bindEvent.component"}},t._l(t.showComponents,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1),n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.inputEvent,callback:function(n){t.$set(e,"inputEvent",n)},expression:"bindEvent.inputEvent"}},t._l(e.inputEventOpitons,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1),n("div",{staticStyle:{display:"inline-block","margin-left":"10px"}},[n("el-button",{attrs:{type:"text",icon:"el-icon-plus"},on:{click:function(e){return t.addFormOutputEvent(o)}}}),n("el-button",{attrs:{type:"text",icon:"el-icon-minus",disabled:0===o},on:{click:function(e){return t.removeFormOutputEvent(o)}}})],1)],1)})),0)],1),n("div",{staticClass:"dialogBtn",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.configSubmit}},[t._v("确 定")]),n("el-button",{on:{click:function(e){t.configDialogFlag=!1}}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("e300"),r=(n("e285"),n("288e"),n("7c6ca")),l=(n("2e73"),n("c880"),n("da71")),c=n("d26f"),s=n("6400"),u={search:{input:[{value:"reset",label:"重置"},{value:"load",label:"加载"}],output:[{value:"query",label:"查询"}]},form:{input:[{value:"reset",label:"重置"},{value:"load",label:"加载"}],output:[{value:"submit",label:"提交"}]},grouping:{input:[{value:"load",label:"加载"}],output:[{value:"rowClick",label:"行触发"}]},table:{input:[{value:"load",label:"加载"},{value:"reload",label:"刷新"}],output:[{value:"rowClick",label:"行触发"}]},xform:{input:[{value:"load",label:"加载"},{value:"reload",label:"刷新"}],output:[{value:"refresh",label:"更新"}]}},p=function(t){return t.map((function(t){return"".concat(t.value,"(").concat(t.label,")")})).join()},d=n("0feb"),f={components:{},data:function(){return{appId:"",modelId:"",configDialogFlag:!1,configForm:{name:"",inputEventStr:"",bindEvent:[{component:"",inputEvent:"",outputEvent:"",inputEventOpitons:[]}],outputEventOpitons:[]},activeComIndex:null,tableConfigRules:{keyName:[{required:!0,message:"该项为必填项",trigger:"change"}],name:[{required:!0,message:"该项为必填项",trigger:"change"}],layType:[{required:!0,message:"该项为必填项",trigger:"change"}],enabled:[{required:!0,message:"该项为必填项",trigger:"change"}]},configData:{keyName:"docCenter",name:"文档中心",layType:"1",enabled:!0},monmentEditCom:{},rules:{componentName:[{required:!0,message:"请选择",trigger:"change"}]},baseLayoutOptions:[{label:"新建",value:"defaultCreate",layType:"form"},{label:"编辑",value:"defaultEdit",layType:"form"},{label:"查看",value:"defaultView",layType:"form"},{label:"详情",value:"defaultInfo",layType:"xform"},{label:"查询",value:"defaultQuery",layType:"search"},{label:"查询结果",value:"defaultResult",layType:"table"},{label:"分组结果",value:"defaultGroup",layType:"grouping"}],layoutOptions:[],editForm:{},componentList:[],dialogVisible:!1,pageData:{searchData:{},tableData:{},baseData:{}},layLIst:[{name:"searchBox",componentInfo:null,bindData:"searchData"},{name:"searchGroup",componentInfo:null,bindData:"searchData"},{name:"searchTree",componentInfo:null,bindData:"searchData"},{name:"table",componentInfo:null,bindData:"tableData"},{name:"detail",componentInfo:null,bindData:"baseData"}],apps:[],models:[],keyName:"",id:""}},computed:{showComponents:function(){var t=this;return this.layLIst.filter((function(e,n){return n!==t.activeComIndex})).map((function(t){return{value:t.name,label:t.name}}))},showLayoutOptions:function(){return this.baseLayoutOptions.concat(this.layoutOptions)},tableConfigClomn:function(){return[{title:"",split:1,data:[{key:"appId",title:"选择应用",component:{name:"el-select",options:this.apps}},{key:"keyName",title:"应用表单Key",component:{name:"el-input"}},{key:"name",title:"应用表单名称",component:{name:"el-input"}},{key:"layType",title:"布局模板",component:{name:"el-select",options:[{label:"中心模板1",value:"1"},{label:"中心模板2",value:"2"},{label:"中心模板3",value:"3"}]}},{key:"enabled",title:"是否启用",component:{name:"el-switch"}}]}]}},watch:{},mounted:function(){this.getApps()},created:function(){var t=this;this.keyName=this.$route.query&&this.$route.query.keyName,""!==this.keyName&&null!==this.keyName&&void 0!==this.keyName&&Object(l["c"])(this.keyName).then((function(e){e.items&&(t.id=e.items.id,t.layLIst=e.items.comList,t.layLIst.forEach((function(t){"string"===typeof t.componentInfo&&(t.componentInfo=JSON.parse(t.componentInfo))})),t.configData=e.items)}))},methods:{changeModel:function(t){this.layoutOptions=[],t&&this.getLayouts(t)},changeApp:function(t){this.models=[],this.getModels(t)},addFormOutputEvent:function(t){this.configForm.bindEvent.splice(t,0,{component:"",inputEvent:"",outputEvent:"",inputEventOpitons:[]})},removeFormOutputEvent:function(t){this.configForm.bindEvent=this.configForm.bindEvent.filter((function(e,n){return n!==t}))},showConfig:function(t,e){this.activeComIndex=e,this.configDialogFlag=!0,t.componentInfo&&t.componentInfo.bindEvent?this.$set(this.configForm,"bindEvent",JSON.parse(JSON.stringify(t.componentInfo.bindEvent))):this.$set(this.configForm,"bindEvent",[{component:"",inputEvent:"",outputEvent:"",inputEventOpitons:[]}]),this.$set(this.configForm,"name",t.name),this.getFormConfig(t)},getFormConfig:function(t){if(t.componentInfo||t.componentInfo.layType){var e=u[t.componentInfo.layType];e&&(this.$set(this.configForm,"inputEventStr",p(e.input)),this.$set(this.configForm,"outputEventOpitons",e.output))}},setInputEventOption:function(t,e){var n=[],o=this.$utils.getParamsFromLists(this.layLIst,"name",t,"componentInfo");if(o){var i=u[o.layType];i?this.$set(e,"inputEventOpitons",i.input):this.$set(e,"inputEventOpitons",n)}else this.$set(e,"inputEventOpitons",n)},configSubmit:function(){this.configDialogFlag=!1,this.layLIst[this.activeComIndex].name=this.configForm.name,this.$set(this.layLIst[this.activeComIndex].componentInfo,"bindEvent",Object(r["a"])(this.configForm.bindEvent)),this.$set(this.layLIst,this.activeComIndex,this.layLIst[this.activeComIndex])},getApps:function(){var t=this;Object(s["c"])().then((function(e){t.apps=e.items.filter((function(t){return t.published})).map((function(t){return{label:t.displayName,value:t.id}}))}))},getModels:function(t){var e=this;Object(s["f"])({appId:t}).then((function(t){e.models=t.items.map((function(t){return{label:t.displayName,value:t.name,id:t.id}}))}))},getLayouts:function(t){var e=this,n=this.models.find((function(e){return e.value===t}));this.layoutOptions=[],Promise.all([Object(l["e"])(t,"layOptions"),Object(c["c"])(n&&n.id)]).then((function(n){if(n[0].items){var o=n[0].items.filter((function(e){return e.typeKey===t})).slice(-1)[0];if(o&&o.configDetails){var i=JSON.parse(o.configDetails);Array.isArray(i)&&i.forEach((function(t){e.layoutOptions.push({label:t.layTitle,value:t.id,layType:t.layType})}))}}if(n[1].items){var a=JSON.parse(n[1].items[0].configDetails);Array.isArray(a)&&a.forEach((function(t){e.layoutOptions.push({label:t.name,value:t.id,path:t.path,prop:t.prop})}))}}))},updatePrem:function(){var t=this,e=this.getPermTree(this.configData.layType);Object(d["b"])(this.configData.appId,e).then((function(e){t.$utils.showMessageSuccess("更新成功")}))},getPermTree:function(){var t=this,e="文档中心",n="docCenter",o={appId:this.configData.appId,appName:"",keyName:n,name:e,remark:e,typeName:"页面",children:[],hadChildren:!1};return this.configData.comList&&(o.children=this.configData.comList.map((function(e){return{appId:t.configData.appId,keyName:"".concat(n,":").concat(e.name),name:e.name,permName:e.permName||"",typeName:"页面元素",remark:"组件",hadChildren:!1,children:[]}}))),o.children.length&&(o.hadChildren=!0),o},saveSubmit:function(){var t=this,e={},n={keyName:this.configData.keyName,name:this.configData.name,layType:this.configData.layType,enabled:this.configData.enabled,comList:this.layLIst.map((function(t){return t.componentInfo&&"object"===Object(a["a"])(t.componentInfo)&&(t.componentInfo=JSON.stringify(t.componentInfo)),t}))},o=!1;0===this.id||this.id?(e=l["i"],n.id=this.id):(o=!0,e=l["h"]),e(n).then((function(e){t.$utils.showMessage("保存成功!","success"),o&&t.$router.push({path:"/config/app-edit",query:{keyName:e.items.keyName}})}))},addCom:function(t,e){this.dialogVisible=!0,this.editForm.name=t.name,this.monmentEditCom=t,this.activeComIndex=e},MaintenanceSubmit:function(){var t=this.$utils.getParamsFromLists(this.showLayoutOptions,"value",this.editForm.componentName);t.layType?this.$set(this.monmentEditCom,"componentInfo",{key:this.editForm.componentName,momdelId:this.modelId,layType:t.layType}):t.path&&this.$set(this.monmentEditCom,"componentInfo",{key:this.editForm.componentName,momdelId:this.modelId,path:t.path,prop:t.prop}),this.$set(this.monmentEditCom,"name",this.editForm.name),this.$set(this.monmentEditCom,"type","base"),this.dialogVisible=!1}}},m=f,h=(n("e8ba"),n("2be6")),b=Object(h["a"])(m,o,i,!1,null,null,null);e["default"]=b.exports},"5eaa":function(t,e,n){"use strict";function o(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var a=i(o),r=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[n].concat(r).concat([a]).join("\n")}return[n].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=o(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(o)for(var a=0;a<this.length;a++){var r=this[a][0];null!=r&&(i[r]=!0)}for(var l=0;l<t.length;l++){var c=[].concat(t[l]);o&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},6400:function(t,e,n){"use strict";n.d(e,"f",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var o=n("751a");function i(t){return Object(o["c"])("/ModelDefinition/all/base/tree",t)}function a(){return Object(o["c"])("/ModelApp/all")}function r(t,e){return Object(o["c"])("/ModelDefinition/links",{curModelName:t,refModelName:e})}function l(t){return Object(o["c"])("/ModelAttr/".concat(t,"?onlyBase=false"))}function c(t){return Object(o["c"])("/ModelDefinition/".concat(t,"/relation"))}function s(t){return Object(o["b"])("/model/form/config/export?generateOperator=VOTOXML",t)}function u(t){return Object(o["c"])("/ModelDefinition/viewModel",t)}},"6af6":function(t,e,n){var o=n("0058");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("0ed3").default;i("20384f02",o,!0,{sourceMap:!1,shadowMode:!1})},"751a":function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return p}));var o=n("8bbf"),i=n.n(o),a=i.a.__share_pool__=i.a.__share_pool__||{},r=a.http=a.http||{};function l(t,e){return r.get(t,e)}function c(t,e){return r.post(t,e)}function s(t,e){return r.put(t,e)}function u(t,e){return r.del(t,e)}function p(t,e){return r.downloadZip(t,e)}},"7c6ca":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n("9446");function i(t){if(Array.isArray(t))return Object(o["a"])(t)}function a(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var r=n("1cef");function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t){return i(t)||a(t)||Object(r["a"])(t)||l()}},9446:function(t,e,n){"use strict";function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}n.d(e,"a",(function(){return o}))},c880:function(t,e,n){var o=n("6f0d").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,r="name";r in i||n("3d85")&&o(i,r,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},d26f:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return l}));var o=n("751a");function i(t){return Object(o["d"])("/SystemComponent",t)}function a(t){return Object(o["e"])("/SystemComponent",t)}function r(t){return Object(o["c"])("/SystemComponent/query/typekey?typeKey=".concat(t))}function l(t){return Object(o["e"])("/SystemComponent/all",t)}},da71:function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"g",(function(){return a})),n.d(e,"a",(function(){return r})),n.d(e,"j",(function(){return l})),n.d(e,"l",(function(){return c})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return u})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return d})),n.d(e,"b",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"k",(function(){return h}));var o=n("751a");function i(t,e){return Object(o["c"])("/model/form/config/layout",{layoutType:e,typeKey:t})}function a(t,e){return Object(o["c"])("/model/form/config/related/layout",{layoutType:e,typeKey:t})}function r(t){return Object(o["d"])("/model/form/config/layout",t)}function l(t){return Object(o["a"])("/model/form/config/ids",{data:t})}function c(t){return Object(o["e"])("/model/form/config/layout",t)}function s(t){return Object(o["d"])("/AppLayout/",t)}function u(t){return Object(o["e"])("/AppLayout/",t)}function p(t){return Object(o["c"])("/AppLayout/find/".concat(t))}function d(t){return Object(o["c"])("/perm/PageResource/onlyKeyName?prefix=".concat(t))}function f(t,e){return Object(o["c"])("/ModelAttr/dynamic",{appId:t,modelId:e})}function m(){return Object(o["c"])("/AppLayout/all")}function h(t){return Object(o["a"])("/AppLayout/deleteall",{data:t})}},e285:function(t,e,n){"use strict";var o=n("7c6c")(!0);n("dcce")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=o(e,n),this._i+=t.length,{value:t,done:!1})}))},e300:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}n.d(e,"a",(function(){return o}))},e8ba:function(t,e,n){"use strict";n("6af6")}}]);
\ No newline at end of file
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-192a8659"],{"0018":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".app[data-v-541f0af5]{height:100%}",""]),e.exports=t},"0c1f":function(e,t,n){var r=n("79c1"),o=n("8996");n("5642")("keys",(function(){return function(e){return o(r(e))}}))},"0ed3":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var a=t[o],i=a[0],s=a[1],c=a[2],u=a[3],f={id:e+":"+o,css:s,media:c,sourceMap:u};r[i]?r[i].parts.push(f):n.push(r[i]={id:i,parts:[f]})}return n}n.r(t),n.d(t,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,f=function(){},d=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){u=n,d=o||{};var i=r(e,t);return v(i),function(t){for(var n=[],o=0;o<i.length;o++){var s=i[o],c=a[s.id];c.refs--,n.push(c)}t?(i=r(e,t),v(i)):i=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete a[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(m(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(o=0;o<n.parts.length;o++)i.push(m(n.parts[o]));a[n.id]={id:n.id,refs:1,parts:i}}}}function g(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function m(e){var t,n,r=document.querySelector("style["+l+'~="'+e.id+'"]');if(r){if(u)return f;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=g()),t=_.bind(null,r,o,!1),n=_.bind(null,r,o,!0)}else r=g(),t=y.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function _(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function y(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(l,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"2be6":function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(e,t){return c.call(t),f(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"3dfd":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app"},[n("router-view")],1)},o=[],a=n("8bbf"),i=n.n(a);n("0c1f"),n("2e73");function s(e,t){var n={};return e&&Object.keys(e).forEach((function(t){n[t]=function(n,r){n.commit;return new Promise((function(n,o){e[t](r).then((function(e){n(e)})).catch((function(e){o(e)}))}))}})),t?Object.assign(n,t):n}var c={namespaced:!0,state:{name:"dee-config"},mutations:{},actions:s()};i.a.__share_pool__.store.registerModule("config",c);var u={},f=u,d=(n("c9c0"),n("2be6")),l=Object(d["a"])(f,r,o,!1,null,"541f0af5",null);t["default"]=l.exports},5642:function(e,t,n){var r=n("ef37"),o=n("5c50"),a=n("a124");e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",i)}},"5eaa":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=o(r),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([a]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},b13f:function(e,t,n){var r=n("0018");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("0ed3").default;o("1ae69ab5",r,!0,{sourceMap:!1,shadowMode:!1})},c9c0:function(e,t,n){"use strict";n("b13f")}}]);
\ No newline at end of file
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-19d7d0bb"],{"0d85":function(e,t,l){"use strict";l("b93f")},"0ed3":function(e,t,l){"use strict";function a(e,t){for(var l=[],a={},n=0;n<t.length;n++){var i=t[n],o=i[0],r=i[1],s=i[2],c=i[3],d={id:e+":"+n,css:r,media:s,sourceMap:c};a[o]?a[o].parts.push(d):l.push(a[o]={id:o,parts:[d]})}return l}l.r(t),l.d(t,"default",(function(){return m}));var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=n&&(document.head||document.getElementsByTagName("head")[0]),r=null,s=0,c=!1,d=function(){},u=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,l,n){c=l,u=n||{};var o=a(e,t);return b(o),function(t){for(var l=[],n=0;n<o.length;n++){var r=o[n],s=i[r.id];s.refs--,l.push(s)}t?(o=a(e,t),b(o)):o=[];for(n=0;n<l.length;n++){s=l[n];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}}function b(e){for(var t=0;t<e.length;t++){var l=e[t],a=i[l.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](l.parts[n]);for(;n<l.parts.length;n++)a.parts.push(g(l.parts[n]));a.parts.length>l.parts.length&&(a.parts.length=l.parts.length)}else{var o=[];for(n=0;n<l.parts.length;n++)o.push(g(l.parts[n]));i[l.id]={id:l.id,refs:1,parts:o}}}}function x(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,l,a=document.querySelector("style["+p+'~="'+e.id+'"]');if(a){if(c)return d;a.parentNode.removeChild(a)}if(f){var n=s++;a=r||(r=x()),t=v.bind(null,a,n,!1),l=v.bind(null,a,n,!0)}else a=x(),t=y.bind(null,a),l=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else l()}}var h=function(){var e=[];return function(t,l){return e[t]=l,e.filter(Boolean).join("\n")}}();function v(e,t,l,a){var n=l?"":a.css;if(e.styleSheet)e.styleSheet.cssText=h(t,n);else{var i=document.createTextNode(n),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function y(e,t){var l=t.css,a=t.media,n=t.sourceMap;if(a&&e.setAttribute("media",a),u.ssrId&&e.setAttribute(p,t.id),n&&(l+="\n/*# sourceURL="+n.sources[0]+" */",l+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),e.styleSheet)e.styleSheet.cssText=l;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(l))}}},"176b":function(e,t,l){"use strict";l("88ac")},"227d":function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,".add-rule{border:1px solid #dee1e7}.add-rule .title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:10px 0;margin-bottom:5px;background-color:#f5f7fa}.add-rule .condition{border-bottom:1px solid #dee1e7}.add-rule .rule-detail,.add-rule .rule-detail .rule-detail-left{display:-webkit-box;display:-ms-flexbox;display:flex}.add-rule .rule-detail .rule-detail-left{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.add-rule .rule-detail .rule-detail-left .rule-detail-left-top{-webkit-box-flex:3;-ms-flex:3;flex:3}.add-rule .rule-detail .rule-detail-left .rule-detail-left-top .rule-detail-left-top-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.add-rule .rule-detail .rule-detail-left .rule-detail-left-top .rule-detail-left-top-content{padding:8px;overflow-y:scroll;max-height:150px}.add-rule .rule-detail .rule-detail-left .rule-detail-left-bottom{-webkit-box-flex:1;-ms-flex:1;flex:1}.add-rule .rule-detail .rule-detail-left .rule-detail-left-bottom .rule-detail-left-bottom-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:8px}.add-rule .rule-detail .rule-detail-left .rule-detail-left-bottom .rule-detail-left-bottom-content{padding:8px}.add-rule .rule-detail .rule-detail-right{-webkit-box-flex:2;-ms-flex:2;flex:2}.add-rule .buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:10px}",""]),e.exports=t},"2be6":function(e,t,l){"use strict";function a(e,t,l,a,n,i,o,r){var s,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=l,c._compiled=!0),a&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=s):n&&(s=r?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),s)if(c.functional){c._injectStyles=s;var d=c.render;c.render=function(e,t){return s.call(t),d(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,s):[s]}return{exports:e,options:c}}l.d(t,"a",(function(){return a}))},"46bc":function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"rule-center"},[l("dee-fold-pane",{staticClass:"detail-pane",attrs:{"min-percent":e.minPercent,"default-percent":e.defaultPercent,split:"vertical"}},[l("template",{slot:"paneL"},[l("div",{staticClass:"left-box tabs"},[l("div",{staticClass:"sub-title"},[e._v("查询条件")]),l("dee-form",{ref:"appForm",staticClass:"search-form",attrs:{"label-width":"120px",form:e.searchForm,"form-data":e.searchFormConfig,"form-buttons":e.formButtons}}),l("div",{staticClass:"split-line"}),l("div",{staticClass:"area"},e._l(e.area,(function(t){return l("div",{key:t.name,staticClass:"area-item",class:e.selectedArea===t.name?"area-item-active":"",on:{click:function(l){return e.clickArea(t)}}},[e._v(e._s(t.name+"("+t.num+")")+" ")])})),0)],1)]),l("template",{slot:"paneR"},[l("div",{staticClass:"right-pane"},[l("split-pane",{staticClass:"detail-pane",attrs:{"min-percent":e.rightPageMinPercent,"default-percent":e.rightPageDefaultPercent,split:"horizontal"}},[l("template",{slot:"paneL"},[l("div",{staticClass:"paneL"},[l("dee-table",{staticClass:"table",attrs:{columns:e.tableColumns,data:e.tableData,pagination:e.pagination},on:{"pagination-current-change":e.handleCurrentChange,"pagination-size-change":e.handleSizeChange}},[l("dee-tools",{attrs:{slot:"header",tools:e.tools},slot:"header"})],1)],1)]),e.showDetail?l("template",{slot:"paneR"},[l("div",{staticClass:"paneR"},[l("img",{staticClass:"down-pic",attrs:{src:"/icons/d-down.png"},on:{click:e.closeDetail}}),l("rule-detail")],1)]):e._e()],2)],1)])],2),l("dee-dialog",{attrs:{title:"新建规则","dialog-visible":e.showAddRule,width:"70%"},on:{handleClose:e.dialogClose}},[l("add-rule",{on:{close:e.dialogClose}})],1)],1)},n=[],i=(l("c880"),function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"add-rule"},[l("div",{staticClass:"title"},[e._v("规则编辑器")]),l("dee-form",{staticClass:"condition",attrs:{"label-width":"120px",form:e.searchForm,"form-data":e.searchFormConfig}}),l("div",{staticClass:"rule-detail"},[l("div",{staticClass:"rule-detail-left"},[l("div",{staticClass:"rule-detail-left-top"},[l("div",{staticClass:"rule-detail-left-top-title"},[l("div",{staticStyle:{"padding-bottom":"8px",display:"flex","justify-content":"center"}},[e._v("自定义参数"),l("img",{staticStyle:{width:"18px",height:"18px","padding-left":"8px",cursor:"pointer"},attrs:{src:"/icons/c-add.png"},on:{click:e.addParam}})]),l("div",[e._v("支持数据映射:常量、变量、枚举、用户属性")])]),l("div",{staticClass:"rule-detail-left-top-content"},e._l(e.params,(function(t){return l("div",{key:t.key,staticStyle:{display:"flex","padding-bottom":"5px"}},[l("el-input",{model:{value:t.name,callback:function(l){e.$set(t,"name",l)},expression:"item.name"}},[e._v(e._s(t.name))]),l("el-select",{staticStyle:{"margin-left":"5px"},model:{value:t.type,callback:function(l){e.$set(t,"type",l)},expression:"item.type"}},e._l(e.paramOptions,(function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),l("el-button",{staticStyle:{"margin-left":"5px"},attrs:{type:"primary",size:"mini"}},[e._v("保存")]),l("el-button",{staticStyle:{"margin-left":"5px"},attrs:{type:"primary",size:"mini"}},[e._v("删除")])],1)})),0)]),l("div",{staticClass:"rule-detail-left-bottom"},[l("div",{staticClass:"rule-detail-left-bottom-title"},[e._v("内置参数")]),l("div",{staticClass:"rule-detail-left-bottom-content"},[l("el-tag",{attrs:{type:"warning"}},[e._v("标签四")])],1)])]),l("div",{staticClass:"rule-detail-right"},[l("dee-form",{attrs:{form:e.ruleForm,"form-data":e.ruleFormConfig}})],1)]),l("div",[l("el-input",{attrs:{type:"textarea",disabled:!0,rows:4}})],1),l("div",{staticClass:"buttons"},[l("el-button",{attrs:{type:"primary",size:"small"}},[e._v("预编译")]),l("div",[l("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.closeDialog}},[e._v("关闭")]),l("el-button",{attrs:{type:"primary",size:"small"}},[e._v("保存")])],1)],1)],1)}),o=[],r=(l("a7e1"),{name:"AddRule",components:{},props:{},data:function(){return{paramOptions:[{label:"Short",value:"Short"},{label:"Integer",value:"Integer"},{label:"Long",value:"Long"},{label:"Float",value:"Float"},{label:"Double",value:"Double"},{label:"BigDecimal",value:"BigDecimal"},{label:"Boolean",value:"Boolean"},{label:"String",value:"String"},{label:"Date",value:"Date"}],params:[],searchForm:{},searchFormConfig:[{title:"",split:4,data:[{key:"1",title:"名称",component:{name:"el-input"}},{key:"2",title:"业务域",component:{name:"el-select"}},{key:"3",title:"上下文对象类型",component:{name:"el-select"}},{key:"4",title:"作用域",component:{name:"el-select"}}]}],ruleForm:{code:""},ruleFormConfig:[{title:"",split:1,data:[{key:"code",title:"",component:{name:"dee-code-edit",mode:"text/x-java"}}]}]}},computed:{},mounted:function(){},methods:{addParam:function(){this.params.push({key:Math.random().toString(36).substr(3,10),name:"",type:""})},closeDialog:function(){this.$emit("close")}}}),s=r,c=(l("d2d7"),l("2be6")),d=Object(c["a"])(s,i,o,!1,null,null,null),u=d.exports,p=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"rule-details"},[l("div",{staticClass:"header"},[l("div",{staticClass:"title"},[e._v("测试")]),l("dee-tools",{attrs:{tools:e.tools}})],1),l("dee-tab",{attrs:{tabs:e.tabs},on:{tabClick:e.onTabClick}},[l("rule-base-info",{attrs:{slot:"1"},slot:"1"}),l("check-rule",{attrs:{slot:"2"},slot:"2"}),l("history-record",{attrs:{slot:"3"},slot:"3"}),l("relevant-application-object",{attrs:{slot:"4"},slot:"4"})],1)],1)},f=[],m=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"check-rule"},[l("div",{staticClass:"title"},[e._v("规则查看器")]),l("div",{staticClass:"rule-detail"},[l("div",{staticClass:"rule-detail-left"},[l("div",{staticClass:"rule-detail-left-top"},[l("div",{staticClass:"rule-detail-left-top-title"},[l("div",{staticStyle:{"padding-bottom":"8px",display:"flex","justify-content":"center"}},[e._v("自定义参数")]),l("div",{staticClass:"rule-detail-left-top-content"},e._l(e.params,(function(t){return l("div",{key:t.key,staticStyle:{display:"flex","padding-bottom":"5px"}},[l("el-input",{model:{value:t.name,callback:function(l){e.$set(t,"name",l)},expression:"item.name"}},[e._v(e._s(t.name))]),l("el-select",{staticStyle:{"margin-left":"5px"},model:{value:t.type,callback:function(l){e.$set(t,"type",l)},expression:"item.type"}})],1)})),0)])]),l("div",{staticClass:"rule-detail-left-bottom"},[l("div",{staticClass:"rule-detail-left-bottom-title"},[e._v("内置参数")]),l("div",{staticClass:"rule-detail-left-bottom-content"},[l("el-tag",{attrs:{type:"warning"}},[e._v("标签四")])],1)])]),l("div",{staticClass:"rule-detail-right"},[l("dee-form",{attrs:{form:e.ruleForm,"form-data":e.ruleFormConfig}})],1)])])},b=[],x={name:"CheckRule",components:{},props:{},data:function(){return{params:[],ruleForm:{code:""},ruleFormConfig:[{title:"",split:1,data:[{key:"code",title:"",component:{name:"dee-code-edit",mode:"text/x-java"}}]}]}},computed:{},mounted:function(){},methods:{}},g=x,h=(l("7819"),Object(c["a"])(g,m,b,!1,null,null,null)),v=h.exports,y=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"rule-base-info"},[l("dee-form",{attrs:{"label-width":"120px",form:e.searchForm,"form-data":e.searchFormConfig}})],1)},k=[],w={name:"RuleBaseInfo",components:{},props:{},data:function(){return{searchForm:{},searchFormConfig:[{title:"",split:2,data:[{key:"1",title:"编号",component:{name:"readable"}},{key:"1",title:"名称",component:{name:"readable"}},{key:"1",title:"业务域",component:{name:"readable"}},{key:"1",title:"上下文对象类型",component:{name:"readable"}},{key:"1",title:"作用域",width:2,component:{name:"readable"}},{key:"1",title:"版本",component:{name:"readable"}},{key:"1",title:"创建者",component:{name:"readable"}},{key:"1",title:"创建时间",component:{name:"readable"}},{key:"1",title:"修改者",component:{name:"readable"}},{key:"1",title:"上次修改时间",component:{name:"readable"}}]}]}},computed:{},mounted:function(){},methods:{}},C=w,_=(l("0d85"),Object(c["a"])(C,y,k,!1,null,null,null)),R=_.exports,j=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"history-record"},[l("dee-table",{attrs:{data:e.data,columns:e.columns}})],1)},D=[],S={name:"HistoryRecord",components:{},props:{},data:function(){return{data:[],columns:[{title:"编号",key:"version",align:"center"},{title:"名称",key:"version",align:"center"},{title:"版本",key:"version",align:"center"},{title:"上次修改时间",key:"version",align:"center"},{title:"修改者",key:"version",align:"center"},{title:"备注",key:"version",align:"center"}]}},computed:{},mounted:function(){},methods:{}},M=S,F=(l("696d"),Object(c["a"])(M,j,D,!1,null,null,null)),P=F.exports,z=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"relevant-application-object"},[l("div",{staticClass:"sub-title"},[e._v("工作流")]),l("dee-table",{attrs:{data:e.workFlowData,columns:e.workFlowColumns}}),l("div",{staticClass:"sub-title"},[e._v("生命周期")]),l("dee-table",{attrs:{data:e.lifeCycleData,columns:e.lifeCycleColumns}}),l("div",{staticClass:"sub-title"},[e._v("建模")]),l("dee-table",{attrs:{data:e.modelData,columns:e.modelColumns}}),l("div",{staticClass:"sub-title"},[e._v("表单配置")]),l("dee-table",{attrs:{data:e.formData,columns:e.formColumns}})],1)},E=[],$={name:"RelevantApplicationObject",components:{},props:{},data:function(){return{workFlowData:[],workFlowColumns:[{title:"应用对象标识",key:"version",align:"center"},{title:"应用对象",key:"version",align:"center"},{title:"节点标识",key:"version",align:"center"},{title:"应用位置",key:"version",align:"center"},{title:"描述",key:"version",align:"center"},{title:"应用者",key:"version",align:"center"},{title:"应用时间",key:"version",align:"center"}],lifeCycleData:[],lifeCycleColumns:[{title:"应用对象",key:"version",align:"center"},{title:"应用位置",key:"version",align:"center"},{title:"节点名称",key:"version",align:"center"},{title:"描述",key:"version",align:"center"},{title:"应用者",key:"version",align:"center"},{title:"应用时间",key:"version",align:"center"}],modelData:[],modelColumns:[{title:"应用对象",key:"version",align:"center"},{title:"应用者",key:"version",align:"center"},{title:"应用时间",key:"version",align:"center"}],formData:[],formColumns:[{title:"应用对象",key:"version",align:"center"},{title:"应用位置",key:"version",align:"center"},{title:"应用者",key:"version",align:"center"},{title:"应用时间",key:"version",align:"center"}]}},computed:{},mounted:function(){},methods:{}},A=$,O=(l("e7a8"),Object(c["a"])(A,z,E,!1,null,null,null)),B=O.exports,L={name:"RuleDetail",components:{RelevantApplicationObject:B,HistoryRecord:P,RuleBaseInfo:R,CheckRule:v},props:{},data:function(){return{tools:[{name:"检出",icon:"/icons/c-detection.png",handler:{click:function(){}}},{name:"撤销检出",icon:"/icons/c-return.png",handler:{click:function(){}}},{name:"检出并编辑",icon:"/icons/c-detectionedit.png",handler:{click:function(){}}},{name:"检入",icon:"/icons/c-substituteob.png",handler:{click:function(){}}},{name:"编辑",icon:"/icons/b-processmaterials.png",handler:{click:function(){}}},{name:"删除",icon:"/icons/c-delete.png",handler:{click:function(){}}}],tabs:[{id:"1",name:"基本信息"},{id:"2",name:"规则"},{id:"3",name:"历史记录"},{id:"4",name:"相关应用对象"}]}},computed:{},mounted:function(){},methods:{onTabClick:function(){}}},T=L,U=(l("176b"),Object(c["a"])(T,p,f,!1,null,null,null)),N=U.exports,I={name:"RuleCenter",components:{AddRule:u,RuleDetail:N},props:{},data:function(){var e=this;return{showDetail:!1,showAddRule:!1,tools:[{name:"添加",icon:"/icons/c-add.png",handler:{click:function(){e.showAddRule=!0}}},{name:"测试",icon:"/icons/c-add.png",handler:{click:function(){e.showDetail=!0,e.rightPageMinPercent=28,e.rightPageDefaultPercent=40}}}],tableColumns:[{title:"编号",key:"name",align:"center"},{title:"名称",key:"name",align:"center"},{title:"业务域",key:"name",align:"center"},{title:"上下文对象类型",key:"name",align:"center"},{title:"作用域",key:"name",align:"center"},{title:"版本",key:"name",align:"center"},{title:"创建者",key:"name",align:"center"},{title:"上次修改时间",key:"name",align:"center"}],tableData:[],pagination:{currentPage:1,pageSize:10,total:0,pageSizes:[10,20,50]},selectedArea:"",area:[{name:"test",num:10},{name:"test1",num:5}],formButtons:[{text:"查询",type:"submit",component:{type:"primary"}},{text:"重置",type:"cancel",component:{}}],searchForm:{},searchFormConfig:[{title:"",split:1,data:[{key:"1",title:"业务域",component:{name:"el-select"}},{key:"2",title:"上下文对象类型",component:{name:"el-select"}},{key:"3",title:"作用域",component:{name:"el-select"}},{key:"4",title:"名称",component:{name:"el-input"}}]}],rightPageMinPercent:100,rightPageDefaultPercent:100,minPercent:20,defaultPercent:22}},computed:{},mounted:function(){},methods:{dialogClose:function(){this.showAddRule=!1},handleCurrentChange:function(e){},handleSizeChange:function(e){},closeDetail:function(){this.showDetail=!1,this.rightPageMinPercent=100,this.rightPageDefaultPercent=100},clickArea:function(e){this.selectedArea=e.name}}},J=I,X=(l("58ab"),Object(c["a"])(J,a,n,!1,null,null,null));t["default"]=X.exports},"58ab":function(e,t,l){"use strict";l("6d66")},"5e77":function(e,t,l){var a=l("6583");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("2b1d6b5e",a,!0,{sourceMap:!1,shadowMode:!1})},"5eaa":function(e,t,l){"use strict";function a(e,t){var l=e[1]||"",a=e[3];if(!a)return l;if(t&&"function"===typeof btoa){var i=n(a),o=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[l].concat(o).concat([i]).join("\n")}return[l].join("\n")}function n(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(l," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var l=a(t,e);return t[2]?"@media ".concat(t[2]," {").concat(l,"}"):l})).join("")},t.i=function(e,l,a){"string"===typeof e&&(e=[[null,e,""]]);var n={};if(a)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(n[o]=!0)}for(var r=0;r<e.length;r++){var s=[].concat(e[r]);a&&n[s[0]]||(l&&(s[2]?s[2]="".concat(l," and ").concat(s[2]):s[2]=l),t.push(s))}},t}},6583:function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,".check-rule{border:1px solid #dee1e7}.check-rule .title{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:10px 0;margin-bottom:5px;background-color:#f5f7fa}.check-rule .rule-detail,.check-rule .rule-detail .rule-detail-left,.check-rule .title{display:-webkit-box;display:-ms-flexbox;display:flex}.check-rule .rule-detail .rule-detail-left{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.check-rule .rule-detail .rule-detail-left .rule-detail-left-top{-webkit-box-flex:3;-ms-flex:3;flex:3}.check-rule .rule-detail .rule-detail-left .rule-detail-left-top .rule-detail-left-top-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.check-rule .rule-detail .rule-detail-left .rule-detail-left-top .rule-detail-left-top-content{padding:8px;overflow-y:scroll;max-height:150px}.check-rule .rule-detail .rule-detail-left .rule-detail-left-bottom{-webkit-box-flex:1;-ms-flex:1;flex:1}.check-rule .rule-detail .rule-detail-left .rule-detail-left-bottom .rule-detail-left-bottom-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:8px}.check-rule .rule-detail .rule-detail-left .rule-detail-left-bottom .rule-detail-left-bottom-content{padding:8px}.check-rule .rule-detail .rule-detail-right{-webkit-box-flex:2;-ms-flex:2;flex:2}",""]),e.exports=t},"696d":function(e,t,l){"use strict";l("c886")},"6d66":function(e,t,l){var a=l("c1a8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("010657a8",a,!0,{sourceMap:!1,shadowMode:!1})},7819:function(e,t,l){"use strict";l("5e77")},8562:function(e,t,l){var a=l("227d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("0c13bf3e",a,!0,{sourceMap:!1,shadowMode:!1})},"88ac":function(e,t,l){var a=l("ba29");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("5d6ba8e8",a,!0,{sourceMap:!1,shadowMode:!1})},a7e1:function(e,t,l){"use strict";l("bc66");var a=l("8c7e"),n=l("3c4f"),i=l("3d85"),o="toString",r=/./[o],s=function(e){l("e385")(RegExp.prototype,o,e,!0)};l("a124")((function(){return"/a/b"!=r.call({source:"a",flags:"b"})}))?s((function(){var e=a(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?n.call(e):void 0)})):r.name!=o&&s((function(){return r.call(this)}))},b93f:function(e,t,l){var a=l("c80f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("393ca69b",a,!0,{sourceMap:!1,shadowMode:!1})},ba29:function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,".rule-details{margin-top:20px;height:calc(100% - 28px)}.rule-details .header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-weight:700;padding-left:10px}.rule-details .header .title{font-size:20px;color:#000;font-weight:900}.rule-details .dee-panel .el-tabs .el-tabs__content{height:calc(100% - 3px)!important}",""]),e.exports=t},bc66:function(e,t,l){l("3d85")&&"g"!=/./g.flags&&l("6f0d").f(RegExp.prototype,"flags",{configurable:!0,get:l("3c4f")})},c1a8:function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,'.rule-center{padding:8px;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.rule-center .sub-title{padding-left:8px}.rule-center .split-line{margin:4px 14px 0 14px;border-bottom:1px solid #d9d9d9}.rule-center .paneL{padding:8px;height:100%}.rule-center .paneL .table{height:100%}.rule-center .paneL .table .dee-table-body{height:calc(100% - 110px)}.rule-center .paneR{height:100%}.rule-center .paneR .down-pic{position:absolute;left:0;right:0;top:5px;z-index:10;margin:0 auto;cursor:pointer}.rule-center .area{padding-top:10px}.rule-center .area .area-item{padding:0 12px;margin:0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;height:40px;line-height:40px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer}.rule-center .area .area-item:hover{background-color:#f7f7f7}.rule-center .area .area-item-active{color:#2a75ce;background:rgba(42,117,206,.14)}.rule-center .search-form .el-form-item{margin-bottom:4px!important}.rule-center .detail-pane{width:100%;height:100%}.rule-center .left-box{height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #d9d9d9;background-color:#fff}.rule-center .left-box .dee-panel{height:calc(100% - 13px)!important;width:99%}.rule-center .left-box .el-tabs__content{height:calc(100% - 68px)!important;overflow:auto}.rule-center .left-box .el-tab-pane{height:calc(100% - 13px)!important}.rule-center .left-box .el-tabs__nav-prev{left:4px}.rule-center .left-box .el-tabs__nav-next{right:4px}.rule-center .left-box .el-tabs__nav{width:100%}.rule-center .left-box .is-active:after{position:absolute;border-top:4px solid transparent;border-left:4px solid transparent;border-bottom:4px solid #3281de;border-right:4px solid transparent;content:" ";display:block;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.rule-center .left-box .el-tabs__nav-scroll{border-left:none}.rule-center .left-box .el-tabs__item{width:25%;background-color:#fff;height:auto;font-weight:700;border-left:0;border-right:0;border-top:0}.rule-center .left-box .el-tabs__item span{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rule-center .left-box .el-tabs__item span .imgStyle{margin:0}.rule-center .left-box .el-tabs__item.is-active{border-bottom:2px solid #3281de;background-color:#f3f3f3}.rule-center .left-box .slot{height:100%;padding:10px}.rule-center .left-box .myDocument,.rule-center .left-box .slot,.rule-center .right-pane{-webkit-box-sizing:border-box;box-sizing:border-box}.rule-center .right-pane{height:100%;background-color:#fff;border:1px solid #d9d9d9}.rule-center .right-pane .splitter-pane-resizer.horizontal{opacity:1;background-color:#f1f4f5;height:8px;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0}.rule-center .right-pane .table-box{height:calc(100% - 22px);overflow:hidden;background-color:#fff;padding:10px 16px}.rule-center .right-pane .table-box .dee-table{height:calc(100% - 32px)}.rule-center .right-pane .table-box .dee-table .dee-table-body{height:calc(100% - 96px);overflow:auto}.rule-center .right-pane .down-pic{position:absolute;left:0;right:0;top:5px;z-index:10;margin:0 auto;cursor:pointer}.rule-center .right-pane .detail{height:100%}.rule-center .right-pane .dee-table-pagination{padding:0}',""]),e.exports=t},c80f:function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,"",""]),e.exports=t},c880:function(e,t,l){var a=l("6f0d").f,n=Function.prototype,i=/^\s*function ([^ (]*)/,o="name";o in n||l("3d85")&&a(n,o,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},c886:function(e,t,l){var a=l("faf3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("1998879e",a,!0,{sourceMap:!1,shadowMode:!1})},d2d7:function(e,t,l){"use strict";l("8562")},e7a8:function(e,t,l){"use strict";l("e95a")},e95a:function(e,t,l){var a=l("fcad");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=l("0ed3").default;n("5f6624de",a,!0,{sourceMap:!1,shadowMode:!1})},faf3:function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,"",""]),e.exports=t},fcad:function(e,t,l){var a=l("5eaa");t=a(!1),t.push([e.i,"",""]),e.exports=t}}]);
\ No newline at end of file
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-1e51db3d"],{"01b0":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"06ef":function(e,t,n){"use strict";var r=n("8c7e"),i=n("01b0"),a=n("742b");n("fe99")("search",1,(function(e,t,n,o){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=o(n,e,this);if(t.done)return t.value;var c=r(e),s=String(this),l=c.lastIndex;i(l,0)||(c.lastIndex=0);var u=a(c,s);return i(c.lastIndex,l)||(c.lastIndex=l),null===u?-1:u.index}]}))},"0b38":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("ce37");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},"0ed3":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],c=a[1],s=a[2],l=a[3],u={id:e+":"+i,css:c,media:s,sourceMap:l};r[o]?r[o].parts.push(u):n.push(r[o]={id:o,parts:[u]})}return n}n.r(t),n.d(t,"default",(function(){return h}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,l=!1,u=function(){},p=null,f="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){l=n,p=i||{};var o=r(e,t);return m(o),function(t){for(var n=[],i=0;i<o.length;i++){var c=o[i],s=a[c.id];s.refs--,n.push(s)}t?(o=r(e,t),m(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete a[s.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(v(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(l)return u;r.parentNode.removeChild(r)}if(d){var i=s++;r=c||(c=g()),t=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=g(),t=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function w(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),p.ssrId&&e.setAttribute(f,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},1610:function(e,t,n){"use strict";n("8116")},"1cef":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("9446");function i(e,t){if(e){if("string"===typeof e)return Object(r["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},"20f3":function(e,t,n){var r=n("9936");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("2020fc84",r,!0,{sourceMap:!1,shadowMode:!1})},"2be6":function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,c){var s,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=s):i&&(s=c?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},"3f11":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,"",""]),e.exports=t},"42c2":function(e,t,n){"use strict";function r(e,t,n,r,i,a,o){try{var c=e[a](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var o=e.apply(t,n);function c(e){r(o,i,a,c,s,"next",e)}function s(e){r(o,i,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return i}))},"53f4":function(e,t,n){var r=n("7ffe");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("0a2551e6",r,!0,{sourceMap:!1,shadowMode:!1})},"5eaa":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=i(r),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([a]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(i[o]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},7342:function(e,t,n){"use strict";var r=n("751a");function i(e){return Object(r["d"])("/DxApplicationView",e)}function a(e){return Object(r["e"])("/DxApplicationView",e)}function o(e){return Object(r["e"])("/DxApplicationView/batch/update",e)}function c(e){return Object(r["d"])("/DxApplicationView/delete",e)}t["a"]={add:i,edit:a,batchUpdate:o,batchDelete:c}},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var r=n("8bbf"),i=n.n(r),a=i.a.__share_pool__=i.a.__share_pool__||{},o=a.http=a.http||{};function c(e,t){return o.get(e,t)}function s(e,t){return o.post(e,t)}function l(e,t){return o.put(e,t)}function u(e,t){return o.del(e,t)}function p(e,t){return o.downloadZip(e,t)}},"78b1":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("751a");function i(e){return Object(r["d"])("/Organization/nodes",e)}},"7ffe":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".DeptViewCmp,.DeptViewCmp .dee-tab{height:100%}.DeptViewCmp .dee-tab .el-tabs__content{height:calc(100% - 40px)!important}.DeptViewCmp .dee-tab .el-tabs__content .el-tab-pane{height:100%;margin-bottom:0}.DeptViewCmp .dee-tab .dee-tab-item{height:100%;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box}",""]),e.exports=t},8116:function(e,t,n){var r=n("3f11");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("0ed3").default;i("6410a874",r,!0,{sourceMap:!1,shadowMode:!1})},9446:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},9936:function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".ViewManageCmp .searc-form-inline{margin-top:15px}",""]),e.exports=t},b73e:function(e,t,n){"use strict";n("53f4")},c156:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"DeptViewCmp"},[n("dee-tab",{ref:"deetab",staticClass:"dee-tab",attrs:{tabs:e.tabs},on:{tabClick:e.onTabClick}},[n("div",{staticClass:"dee-tab-item",attrs:{slot:"1"},slot:"1"},[n("StartPage")],1),n("div",{staticClass:"dee-tab-item",attrs:{slot:"2"},slot:"2"},[n("ViewManage")],1)])],1)},i=[],a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"StartPageCmp"},[n("dee-table",{attrs:{"selection-row":"",data:e.tableData,columns:e.tableColumns,pagination:e.pagination},on:{"selection-change":e.onSelect}},[n("dee-tools",{attrs:{slot:"header",tools:e.tools,mode:"normal",collapse:!1},slot:"header"})],1),n("dee-dialog",{attrs:{width:"500px",title:(e.formData.id?"编辑":"新增")+"启动页面配置","dialog-visible":e.isVisible},on:{handleClose:e.onClose}},[n("deeForm",{ref:"form",attrs:{"label-width":"100px",form:e.formData,"form-data":e.formFieldConfig,rules:e.formRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onOk}},[e._v("确定")]),n("el-button",{attrs:{type:"default"},on:{click:e.onClose}},[e._v("取消")])],1)],1)],1)},o=[],c=n("0b38"),s=(n("06ef"),n("da1e")),l=(n("c880"),n("df26"),n("42c2")),u=n("ec26"),p=n("f725"),f=n("78b1");function d(){this.workspaceId=null,this.name=null,this.appId=null,this.pageId=null,this.remark=null,this.sort=null}var h={props:{basicData:{type:[Object],default:function(){return{}}}},data:function(){var e=this;return{tools:[{name:"新增",icon:"/icons/c-add.png",handler:{click:function(){e.isVisible=!0}}},{name:"删除",icon:"/icons/c-creatbackups.png",handler:{click:function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.selectionRows.length){t.next=2;break}return t.abrupt("return",e.$message.error("请至少选择一条数据"));case 2:return t.next=4,e.$confirm("确定要删除选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){p["c"].batchDelete(e.selectionRows).then((function(t){e.$message.success("删除成功"),e.loadData()}))}));case 4:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()}}],selectionRows:[],tableData:[],tableColumns:[{title:"操作",align:"center",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"编辑",icon:"/icons/c-edit.png",handleClick:function(t,n){e.onEditRow(t,n)}}]}}},{title:"工作空间",minWidth:120,align:"left",key:"workspaceName"},{title:"名称",minWidth:120,align:"left",key:"name"},{title:"页面",minWidth:120,align:"left",key:"dxApplicationPageVO.name"},{title:"部门",minWidth:120,align:"left",key:"organization.orgName"},{title:"排序",minWidth:120,align:"left",key:"sort"},{title:"描述",align:"left",key:"remark"},{title:"创建者",minWidth:120,align:"center",key:"creator.userName"},{title:"上次修改时间",minWidth:120,align:"center",key:"modifyTime"}],pagination:{currentPage:1,pageSize:10,pageSizes:[10,20,50,100,200],total:0},isVisible:!1,formData:new d,workspaceList:[],formRules:{workspaceId:[{required:!0,message:"请选择工作空间",trigger:"change"}],name:[{required:!0,message:"请输入名称",trigger:"change"}],pageId:[{required:!0,message:"请选择页面",trigger:"change"}]},DxApplicationWorkspaceService:this.$getService("DxApplicationWorkspace"),DxApplicationPageService:this.$getService("DxApplicationPage"),DxApplicationMenuService:this.$getService("DxApplicationMenu"),formFieldConfig:[{title:"",split:1,data:[{key:"workspaceId",title:"工作空间",component:{name:"el-select",options:[]},handler:{change:function(e){}}},{key:"name",title:"名称",component:{name:"el-input"}},{key:"organization.id",title:"部门",component:{name:"el-cascader",props:{checkStrictly:!0,label:"orgName",value:"id",emitPath:!1},options:[]}},{key:"appId",title:"APP",component:{name:"el-select",options:[]}},{key:"pageId",title:"页面",component:{name:"el-select",options:[],filterable:!0}},{key:"remark",title:"描述",component:{name:"el-input",type:"textarea",rows:3}},{key:"sort",title:"排序",component:{name:"el-input-number",min:1}}]}]}},watch:{basicData:{immediate:!0,handler:function(e){e?this.loadData(e):this.tableData=[]}},"formData.appId":function(e){var t=this;e&&this.getPages(e,(function(e){var n=e.map((function(e){return{label:e.remark?"".concat(e.name,"(").concat(e.remark,")"):e.name,value:e.id}}));t.$utils.findFormProp(t.formFieldConfig,"pageId").component.options=n,t.formData.pageId&&n.filter((function(e){return e.value===t.formData.pageId})).length<=0&&t.$set(t.formData,"pageId","")}))}},created:function(){this.getWorkspaceList(),this.getApps(),this.loadData(),this.getDept()},methods:{handleTree:function(e){var t,n=Object(s["a"])(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r["children"]&&(this.handleTree(r["children"]),r["children"].length<=0&&delete r.children)}}catch(i){n.e(i)}finally{n.f()}},getDept:function(){var e=this;Object(f["a"])({}).then((function(t){var n=t.items;e.handleTree(n),e.$utils.findFormProp(e.formFieldConfig,"organization.id").component.options=n}))},loadData:function(){var e=this,t=this.DxApplicationMenuService.newSearchItems();t.$addItem("orgId","null","NEQ"),t.$addItem("orgId",-1,"NEQ"),t.$addItem("isOrgSpecial",!0,"EQ"),this.DxApplicationMenuService.query().openProp(["dxApplicationViewVO","dxApplicationPageVO","dxApplicationWorkspace","organization"]).search(t).then((function(t){e.tableData=(t.content||[]).map((function(e){return e.dxApplicationViewVO&&(e.appId=e.dxApplicationViewVO.id),e.dxApplicationPageVO&&(e.pageId=e.dxApplicationPageVO.id),e.dxApplicationWorkspace&&(e.workspaceName=e.dxApplicationWorkspace.name),e}))}))},getWorkspaceList:function(){var e=this,t=this.DxApplicationWorkspaceService.newSearchItems();this.DxApplicationWorkspaceService.query().search(t).then((function(t){e.$utils.findFormProp(e.formFieldConfig,"workspaceId").component.options=t.content.map((function(e){return{label:e.name,value:e.id}}))}))},uniqueByKey:function(e,t){var n={};return e.reduce((function(e,r){return n[r[t]]||(n[r[t]]=!0,e.push(r)),e}),[])},getApps:function(){var e=this,t=[];t=[];var n={searchItems:{operator:"AND",items:t},openProps:[{name:"source"},{name:"target"},{name:"target.dxApplicationApplicationGroupVOS"}]};u["a"].getApps(n).then((function(t){if(t.items&&Array.isArray(t.items.content)&&t.items.content.length>0){var n=t.items.content.filter((function(e){return e.target})).map((function(e){return{label:e.target.name,value:e.target.id}}));e.$utils.findFormProp(e.formFieldConfig,"appId").component.options=e.uniqueByKey(n,"value")}}))},getPages:function(e,t){var n=this.DxApplicationPageService.newSearchItems();n.$addItem("appId",e),this.DxApplicationPageService.query().openProp().search(n).then((function(e){t(e.content||[])}))},onSelect:function(e){this.selectionRows=e},onEditRow:function(e){var t=this;this.formData=Object(c["a"])({},e),this.isVisible=!0;var n=this.DxApplicationPageService.newSearchItems();n.$addItem("id",this.formData.pageId),this.DxApplicationPageService.query().openProp().search(n).then((function(e){e.content&&e.content.length>0&&t.$set(t.formData,"appId",e.content[0].appId)}))},onClose:function(){this.isVisible=!1,this.$refs.form.reset(),this.formData=new d},onOk:function(){var e=this,t=this.$refs.form;t.validate((function(t){if(t){var n=Object(c["a"])({},e.formData),r=n.id?"edit":"add";n.workspaceId&&n.dxApplicationWorkspace&&(n.dxApplicationWorkspace.id=n.workspaceId),n.isStartPage=!0,n.isOrgSpecial=!0,p["c"][r](n).then((function(t){e.$message.success(n.id?"编辑成功":"创建成功"),e.onClose(),e.loadData()}))}}))}}},m=h,g=(n("1610"),n("2be6")),v=Object(g["a"])(m,a,o,!1,null,null,null),b=v.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ViewManageCmp"},[n("el-form",{ref:"searchForm",staticClass:"searc-form-inline",attrs:{inline:!0,model:e.searchForm,size:"small"}},[n("el-form-item",{attrs:{label:"工作空间",prop:"workspaceId"}},[n("el-select",{attrs:{placeholder:"请选择工作空间",clearable:!0},model:{value:e.searchForm.workspaceId,callback:function(t){e.$set(e.searchForm,"workspaceId",t)},expression:"searchForm.workspaceId"}},e._l(e.workspaceList,(function(e){return n("el-option",{key:e.id,attrs:{label:e.label,value:e.value}})})),1)],1),n("el-form-item",{attrs:{label:"视图名称",prop:"name"}},[n("el-input",{attrs:{placeholder:"请输入视图名称"},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name",t)},expression:"searchForm.name"}})],1),n("el-form-item",{attrs:{label:"部门"}},[n("el-cascader",{attrs:{clearable:!0,placeholder:"请选择部门",props:{checkStrictly:!0,label:"orgName",value:"id",emitPath:!1},options:e.department},model:{value:e.searchForm.department,callback:function(t){e.$set(e.searchForm,"department",t)},expression:"searchForm.department"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onQuery}},[e._v("查询")]),n("el-button",{attrs:{type:"default"},on:{click:e.onReset}},[e._v("重置")])],1)],1),n("dee-table",{attrs:{"selection-row":"",data:e.tableData,columns:e.tableColumns,pagination:e.pagination},on:{"selection-change":e.onSelect}},[n("dee-tools",{attrs:{slot:"header",tools:e.tools,mode:"normal",collapse:!1},slot:"header"})],1),n("dee-dialog",{attrs:{width:"500px",title:(e.formData.id?"编辑":"新增")+"视图","dialog-visible":e.isVisible},on:{handleClose:e.onClose}},[n("deeForm",{ref:"form",attrs:{"label-width":"100px",form:e.formData,"form-data":e.formFieldConfig,rules:e.formRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onOk}},[e._v("确定")]),n("el-button",{attrs:{type:"default"},on:{click:e.onClose}},[e._v("取消")])],1)],1)],1)},w=[],x=(n("2e73"),n("7342"));function k(){this.workspaceId=null,this.name=null,this.enable=!1,this.remark=null,this.sort=null}var D={data:function(){var e=this;return{department:[],searchForm:{workspaceId:null,name:null},tools:[{name:"新增",icon:"/icons/c-add.png",handler:{click:function(){e.isVisible=!0}}},{name:"删除",icon:"/icons/c-creatbackups.png",handler:{click:function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.selectionRows.length){t.next=2;break}return t.abrupt("return",e.$message.error("请至少选择一条数据"));case 2:return t.next=4,e.$confirm("确定要删除选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){x["a"].batchDelete(e.selectionRows).then((function(t){e.$message.success("删除成功"),e.loadData()}))}));case 4:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()}},{name:"启用",icon:"/icons/b-strat.png",handler:{click:function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.selectionRows.length){t.next=2;break}return t.abrupt("return",e.$message.error("请至少选择一条数据"));case 2:return t.next=4,e.$confirm("确定要启用选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 4:e.selectionRows.forEach((function(e){e.enable=!0})),x["a"].batchUpdate(e.selectionRows).then((function(t){e.$message.success("启用成功"),e.loadData()}));case 6:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()}},{name:"禁用",icon:"/icons/c-reject.png",handler:{click:function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.selectionRows.length){t.next=2;break}return t.abrupt("return",e.$message.error("请至少选择一条数据"));case 2:return t.next=4,e.$confirm("确定要禁用选中的数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 4:e.selectionRows.forEach((function(e){e.enable=!1})),x["a"].batchUpdate(e.selectionRows).then((function(t){e.$message.success("禁用成功"),e.loadData()}));case 6:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()}}],selectionRows:[],tableData:[],workspaceList:[],groups:[],tableColumns:[{title:"操作",align:"center",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"配置菜单",icon:"/icons/c-setattr.png",handleClick:function(t,n){e.$router.push({path:"/config/app-menu-manage",query:{id:t.id,workspaceName:t.dxApplicationWorkspace.name,viewName:t.name}})}},{operation:"编辑",icon:"/icons/c-edit.png",handleClick:function(t,n){e.onEditRow(t,n)}}]}}},{title:"工作空间",minWidth:120,align:"left",key:"workspaceName"},{title:"视图名称",minWidth:120,align:"left",key:"name"},{title:"限定部门",minWidth:120,align:"left",key:"organization.orgName"},{title:"排序",minWidth:120,align:"left",key:"sort"},{title:"状态",minWidth:120,align:"left",key:"enable",formatter:function(e,t){return!0===e.enable?"启用":"禁用"}},{title:"描述",align:"left",key:"remark"},{title:"创建者",minWidth:120,align:"center",key:"creator.userName"},{title:"上次修改时间",minWidth:120,align:"center",key:"modifyTime"}],pagination:{currentPage:1,pageSize:10,pageSizes:[10,20,50,100,200],total:0},isVisible:!1,formData:new k,formRules:{name:[{required:!0,message:"请输入名称",trigger:"change"}],workspaceId:[{required:!0,message:"请选择工作空间",trigger:"change"}],"organization.id":[{required:!0,message:"请选择部门",trigger:"change"}]},DxApplicationWorkspaceService:this.$getService("DxApplicationWorkspace"),DxApplicationViewService:this.$getService("DxApplicationView"),searchItems:null,formFieldConfig:[{title:"",split:1,data:[{key:"dxApplicationWorkspace.id",title:"工作空间",component:{name:"el-select",options:[]}},{key:"name",title:"视图名称",component:{name:"el-input"}},{key:"organization.id",title:"部门",component:{name:"el-cascader",props:{checkStrictly:!0,label:"orgName",value:"id",emitPath:!1},options:[]}},{key:"enable",title:"是否启用",component:{name:"el-radio",options:[{value:!1,label:"禁用"},{value:!0,label:"启用"}]}},{key:"remark",title:"描述",component:{name:"el-input",type:"textarea",rows:3}},{key:"sort",title:"排序",component:{name:"el-input-number",min:1}}]}]}},created:function(){this.getWorkspaceList(),this.getGroups(),this.loadData(),this.getDept()},methods:{handleTree:function(e){var t,n=Object(s["a"])(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r["children"]&&(this.handleTree(r["children"]),r["children"].length<=0&&delete r.children)}}catch(i){n.e(i)}finally{n.f()}},getDept:function(){var e=this;Object(f["a"])({}).then((function(t){var n=t.items;e.handleTree(n),e.department=n,e.$utils.findFormProp(e.formFieldConfig,"organization.id").component.options=n}))},loadData:function(){var e=this,t=this.DxApplicationViewService.newSearchItems();t.$addItem("orgId","null","NEQ"),t.$addItem("orgId",-1,"NEQ"),this.DxApplicationViewService.query().openProp(["dxApplicationWorkspace","organization"]).search(t).then((function(t){e.tableData=(t.content||[]).map((function(e){return e.dxApplicationWorkspace&&(e.workspaceName=e.dxApplicationWorkspace.name),e}))}))},getWorkspaceList:function(){var e=this,t=this.DxApplicationWorkspaceService.newSearchItems();this.DxApplicationWorkspaceService.query().search(t).then((function(t){var n=t.content.map((function(e){return{label:e.name,value:e.id}}));e.$utils.findFormProp(e.formFieldConfig,"dxApplicationWorkspace.id").component.options=n,e.workspaceList=n}))},getGroups:function(){var e=this,t=this.$getService("DxApplicationGroup"),n=t.newSearchItems();t.query().orderByDesc("isDefaultGroup").search(n).then((function(t){e.groups=t.content||[]}))},onSelect:function(e){this.selectionRows=e},onQuery:function(){var e=this,t=this.DxApplicationViewService.newSearchItems(),n=this.searchForm,r=n.workspaceId,i=n.name,a=n.department;r&&t.$addItem("workspaceId",r,"EQ"),i&&t.$addItem("name",i,"LIKE"),a?t.$addItem("orgId",a,"EQ"):(t.$addItem("orgId","null","NEQ"),t.$addItem("orgId",-1,"NEQ")),t.$addItem("isOrgSpecial",!0,"EQ"),this.DxApplicationViewService.query().openProp(["dxApplicationWorkspace","organization"]).search(t).then((function(t){e.tableData=(t.content||[]).map((function(e){return e.dxApplicationWorkspace&&(e.workspaceName=e.dxApplicationWorkspace.name),e}))}))},onReset:function(){var e=this;this.DxApplicationViewService.query().openProp(["dxApplicationWorkspace","organization"]).search(null).then((function(t){e.tableData=(t.content||[]).map((function(e){return e.dxApplicationWorkspace&&(e.workspaceName=e.dxApplicationWorkspace.name),e}))}))},onEditRow:function(e){this.formData=Object(c["a"])({},e),this.isVisible=!0},onClose:function(){this.isVisible=!1,this.$refs.form.reset(),this.formData=new k},onOk:function(){var e=this,t=this.$refs.form;t.validate((function(t){if(t){var n=Object(c["a"])({},e.formData);n.isOrgSpecial=!0;var r=n.id?"edit":"add";x["a"][r](n).then((function(t){e.$message.success(n.id?"编辑成功":"创建成功"),e.onClose(),e.loadData()}))}}))}}},A=D,O=(n("ed22"),Object(g["a"])(A,y,w,!1,null,null,null)),S=O.exports,I={components:{StartPage:b,ViewManage:S},data:function(){return{tabs:[{id:"1",name:"启动页配置"},{id:"2",name:"工作空间视图"}]}},methods:{onTabClick:function(){}}},C=I,j=(n("b73e"),Object(g["a"])(C,r,i,!1,null,null,null));t["default"]=j.exports},c880:function(e,t,n){var r=n("6f0d").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in i||n("3d85")&&r(i,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},da1e:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("1cef");function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r["a"])(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,o=e},f:function(){try{c||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}},df26:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(E){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),o=new j(r||[]);return a._invoke=O(e,n,o),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=l;var p="suspendedStart",f="suspendedYield",d="executing",h="completed",m={};function g(){}function v(){}function b(){}var y={};s(y,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(_([])));x&&x!==n&&r.call(x,a)&&(y=x);var k=b.prototype=g.prototype=Object.create(y);function D(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(i,a,o,c){var s=u(e[i],e,a);if("throw"!==s.type){var l=s.arg,p=l.value;return p&&"object"===typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,o,c)}),(function(e){n("throw",e,o,c)})):t.resolve(p).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,c)}))}c(s.arg)}var i;function a(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}this._invoke=a}function O(e,t,n){var r=p;return function(i,a){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw a;return $()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var c=S(o,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?h:f,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function _(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){while(++i<e.length)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:$}}function $(){return{value:t,done:!0}}return v.prototype=b,s(k,"constructor",b),s(b,"constructor",v),v.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},D(A.prototype),s(A.prototype,o,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new A(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},D(k),s(k,c,"Generator"),s(k,a,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=_,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return c.type="throw",c.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:_(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},ec26:function(e,t,n){"use strict";var r=n("751a");function i(e){return Object(r["d"])("/DxApplicationApplicationGroup/find/recursion",e)}function a(e){return Object(r["d"])("/DxApplication/saveApplication",e)}function o(e){return Object(r["e"])("/DxApplication/updateApplication",e)}function c(e,t){return Object(r["a"])("/DxApplication/deleteApplication/".concat(e,"/").concat(t))}t["a"]={getApps:i,addApp:a,editApp:o,delApp:c}},ed22:function(e,t,n){"use strict";n("20f3")},f725:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n("751a");function i(e){return Object(r["d"])("/DxApplicationMenu",e)}function a(e){return Object(r["e"])("/DxApplicationMenu",e)}function o(e,t,n){return Object(r["e"])("/DxApplicationMenu/batch/update",e)}function c(e){return Object(r["d"])("/DxApplicationMenu/delete",e)}t["c"]={add:i,edit:a,batchUpdate:o,batchDelete:c}}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-33dc01d2"],{"0779":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-page"},[n("dee-table",{attrs:{"selection-row":e.selectionRow,data:e.tableData,columns:e.columns},on:{"selection-change":e.checkrows}},[n("dee-tools",{attrs:{slot:"header",tools:e.tools,mode:"normal"},slot:"header"})],1)],1)},o=[],i=(n("c880"),n("da71")),a={components:{},data:function(){var e=this;return{selectionRow:{align:"center",width:60},selectedRows:[],tableData:[],columns:[{title:"操作",align:"center",width:"100px",key:"version",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"编辑",handleClick:function(t,n){e.$router.push({path:"/config/app-edit",query:{keyName:t.keyName}})},icon:"/icons/c-edit.png"}]}}},{title:"应用表单Key",align:"center",key:"keyName"},{title:"应用表单名称",align:"center",key:"name"},{title:"布局模板",align:"center",key:"layout"},{title:"是否发布",align:"center",key:"release"}],tools:[{icon:"/icons/c-add.png",name:"添加",handler:{click:function(){e.$router.push({path:"/config/app-edit"})}}},{icon:"/icons/c-creatbackups.png",name:"删除",handler:{click:function(){e.removeTemp()}}}]}},computed:{},mounted:function(){this.getLayoutLists()},methods:{checkrows:function(e){this.selectedRows=e},removeTemp:function(){var e=this;0!==this.selectedRows.length?this.$confirm("此操作将永久删除该数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e.selectedRows.map((function(e){return e.id}));Object(i["k"])(t).then((function(t){e.selectedRows=[],e.getLayoutLists()}))})).catch((function(){e.$message.info("取消删除!")})):this.$message.warning("请先选择表单应用")},getLayoutLists:function(){var e=this;Object(i["d"])().then((function(t){t.items&&(e.tableData=t.items.map((function(e){return{keyName:e.keyName,id:e.id,name:e.name,layout:e.layType,release:e.enabled?"是":"否"}})))}))}}},c=a,u=(n("64b2"),n("2be6")),s=Object(u["a"])(c,r,o,!1,null,null,null);t["default"]=s.exports},"0ed3":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],c=i[1],u=i[2],s=i[3],d={id:e+":"+o,css:c,media:u,sourceMap:s};r[a]?r[a].parts.push(d):n.push(r[a]={id:a,parts:[d]})}return n}n.r(t),n.d(t,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,u=0,s=!1,d=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){s=n,f=o||{};var a=r(e,t);return m(a),function(t){for(var n=[],o=0;o<a.length;o++){var c=a[o],u=i[c.id];u.refs--,n.push(u)}t?(a=r(e,t),m(a)):a=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(v(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(v(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+l+'~="'+e.id+'"]');if(r){if(s)return d;r.parentNode.removeChild(r)}if(p){var o=u++;r=c||(c=g()),t=b.bind(null,r,o,!1),n=b.bind(null,r,o,!0)}else r=g(),t=_.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function b(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function _(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),f.ssrId&&e.setAttribute(l,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"2be6":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,c){var u,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var d=s.render;s.render=function(e,t){return u.call(t),d(e,t)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},"37f9":function(e,t,n){var r=n("86b8");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("0ed3").default;o("048978ec",r,!0,{sourceMap:!1,shadowMode:!1})},"5eaa":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},"64b2":function(e,t,n){"use strict";n("37f9")},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f}));var r=n("8bbf"),o=n.n(r),i=o.a.__share_pool__=o.a.__share_pool__||{},a=i.http=i.http||{};function c(e,t){return a.get(e,t)}function u(e,t){return a.post(e,t)}function s(e,t){return a.put(e,t)}function d(e,t){return a.del(e,t)}function f(e,t){return a.downloadZip(e,t)}},"86b8":function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,".app-page{padding:8px;background:#fff;height:100%}",""]),e.exports=t},c880:function(e,t,n){var r=n("6f0d").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||n("3d85")&&r(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},da71:function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"j",(function(){return c})),n.d(t,"l",(function(){return u})),n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"k",(function(){return m}));var r=n("751a");function o(e,t){return Object(r["c"])("/model/form/config/layout",{layoutType:t,typeKey:e})}function i(e,t){return Object(r["c"])("/model/form/config/related/layout",{layoutType:t,typeKey:e})}function a(e){return Object(r["d"])("/model/form/config/layout",e)}function c(e){return Object(r["a"])("/model/form/config/ids",{data:e})}function u(e){return Object(r["e"])("/model/form/config/layout",e)}function s(e){return Object(r["d"])("/AppLayout/",e)}function d(e){return Object(r["e"])("/AppLayout/",e)}function f(e){return Object(r["c"])("/AppLayout/find/".concat(e))}function l(e){return Object(r["c"])("/perm/PageResource/onlyKeyName?prefix=".concat(e))}function p(e,t){return Object(r["c"])("/ModelAttr/dynamic",{appId:e,modelId:t})}function h(){return Object(r["c"])("/AppLayout/all")}function m(e){return Object(r["a"])("/AppLayout/deleteall",{data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-345a94ae"],{"000d":function(e,t,n){"use strict";n("13d1")},"01b0":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"06ef":function(e,t,n){"use strict";var r=n("8c7e"),o=n("01b0"),i=n("742b");n("fe99")("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var p=r(e),c=String(this),s=p.lastIndex;o(s,0)||(p.lastIndex=0);var l=i(p,c);return o(p.lastIndex,s)||(p.lastIndex=s),null===l?-1:l.index}]}))},"0b38":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("ce37");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},"0ed3":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],p=i[1],c=i[2],s=i[3],l={id:e+":"+o,css:p,media:c,sourceMap:s};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(t),n.d(t,"default",(function(){return g}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),p=null,c=0,s=!1,l=function(){},u=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(e,t,n,o){s=n,u=o||{};var a=r(e,t);return h(a),function(t){for(var n=[],o=0;o<a.length;o++){var p=a[o],c=i[p.id];c.refs--,n.push(c)}t?(a=r(e,t),h(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var s=0;s<c.parts.length;s++)c.parts[s]();delete i[c.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function b(e){var t,n,r=document.querySelector("style["+d+'~="'+e.id+'"]');if(r){if(s)return l;r.parentNode.removeChild(r)}if(f){var o=c++;r=p||(p=m()),t=v.bind(null,r,o,!1),n=v.bind(null,r,o,!0)}else r=m(),t=y.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function v(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function y(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),u.ssrId&&e.setAttribute(d,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"13d1":function(e,t,n){var r=n("a781");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("0ed3").default;o("74002b63",r,!0,{sourceMap:!1,shadowMode:!1})},"288e":function(e,t,n){"use strict";var r=n("ef37"),o=n("418d")(5),i="find",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("96ba")(i)},"2be6":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,p){var c,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=c):o&&(c=p?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(s.functional){s._injectStyles=c;var l=s.render;s.render=function(e,t){return c.call(t),l(e,t)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},"42c2":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var p=e[i](a),c=p.value}catch(s){return void n(s)}p.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function p(e){r(a,o,i,p,c,"next",e)}function c(e){r(a,o,i,p,c,"throw",e)}p(void 0)}))}}n.d(t,"a",(function(){return o}))},"5eaa":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var p=0;p<e.length;p++){var c=[].concat(e[p]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},"70b8":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"AppManageCmp"},[n("split-pane",{staticClass:"pane-wrap",attrs:{"min-percent":e.leftMinPercent,"default-percent":e.leftPageDefaultPercent,split:"vertical"}},[n("template",{slot:"paneL"},[n("div",{staticClass:"tree-left left-box"},[n("div",{staticClass:"tree-container"},[n("el-tree",{ref:"groupTree",staticClass:"group-tree",attrs:{"default-expand-all":"",data:e.groupTreeData,props:e.defaultProps,"node-key":"id"},on:{"node-click":e.onNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,o=t.data;return n("span",{staticClass:"custom-tree-node"},[n("div",[o.isRootNode?e._e():n("img",{staticClass:"model-icon",attrs:{src:o.icoUrl||"/icons/service-icon.png"}}),n("span",{class:o.isRootNode?"fb":""},[e._v(e._s(o.name))])]),o.isRootNode?n("span",{staticClass:"node-tools"},[n("img",{attrs:{src:"/icons/c-add.png",title:"添加分组"},on:{click:function(t){return t.stopPropagation(),function(){return e.onGroupAdd(o,r)}.apply(null,arguments)}}})]):o.isDefaultGroup?e._e():n("span",{staticClass:"node-tools"},[n("img",{attrs:{src:"/icons/c-edit.png",title:"编辑"},on:{click:function(t){return t.stopPropagation(),function(){return e.onGroupEdit(o,r)}.apply(null,arguments)}}}),n("img",{attrs:{src:"/icons/c-creatbackups.png",title:"删除"},on:{click:function(t){return t.stopPropagation(),function(){return e.onGroupDel(o,r)}.apply(null,arguments)}}})])])}}])})],1)])]),n("template",{slot:"paneR"},[n("div",{staticClass:"pane-item pane-right"},[n("div",{staticClass:"page-heaer"},[n("span",{staticClass:"sub-title"},[e._v("App管理")]),n("dee-tools",{staticStyle:{width:"fit-content"},attrs:{tools:e.tools,mode:"normal",collapse:!1}})],1),n("div",{staticClass:"page-content"},e._l(e.appList,(function(t){return n("div",{key:t.id,staticClass:"application-item",on:{click:function(n){return e.toConfigAppPage(t)}}},[n("i",{staticClass:"el-icon-close",attrs:{title:"删除"},on:{click:function(n){return n.stopPropagation(),e.onRemoveApp(t)}}}),n("div",{staticClass:"content-box"},[n("img",{staticClass:"app-icon",attrs:{src:t.icoUrl?t.icoUrl:"/images/model/a1.png",alt:""}})]),n("div",{staticClass:"oparation-box"},[n("span",{attrs:{title:t.innerName+"-"+t.name}},[e._v(e._s(t.innerName)+"-"+e._s(t.name))]),n("span",{staticClass:"edit-btn-box",attrs:{title:"编辑"},on:{click:function(n){return n.stopPropagation(),e.onEditApp(t)}}},[n("img",{attrs:{src:"/icons/c-specialpart.png",alt:""}})])])])})),0)])])],2),n("dee-dialog",{attrs:{title:"App信息","dialog-visible":e.createAppVisible,width:"500px"},on:{handleClose:e.onCreateAppDialogClose}},[n("deeForm",{ref:"appForm",attrs:{"label-width":"120px",form:e.appForm,"form-data":e.formConfig,rules:e.appFormRules}}),n("el-popover",{attrs:{placement:"top",title:"选择图标",width:"400",trigger:"click"},model:{value:e.iconSelVisible,callback:function(t){e.iconSelVisible=t},expression:"iconSelVisible"}},[n("div",{staticClass:"img-sel-content"},e._l(e.$iconArr,(function(t,r){return n("span",{key:r,staticClass:"img-box",on:{click:function(n){return e.chooseIcon(t)}}},[n("img",{attrs:{src:"/icons/"+t+".png",alt:""}})])})),0),n("div",{attrs:{slot:"reference"},slot:"reference"},[n("el-button",{attrs:{type:"text"}},[e._v("点击选择图标")]),e.appForm.icoUrl?n("span",{staticClass:"img-sel-box"},[n("img",{attrs:{src:e.appForm.icoUrl,alt:""}})]):e._e()],1)]),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onCreateAppDialogOk}},[e._v("保存")]),n("el-button",{attrs:{type:"default"},on:{click:e.onCreateAppDialogClose}},[e._v("取消")])],1)],1),n("dee-dialog",{attrs:{title:(e.groupForm.id?"编辑":"创建")+"分组","dialog-visible":e.groupVisible,width:"500px"},on:{handleClose:e.onGroupDialogClose}},[n("deeForm",{ref:"groupForm",attrs:{"label-width":"120px",form:e.groupForm,"form-data":e.groupFormConfig,rules:e.groupFormRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onGroupDialogOk}},[e._v("保存")]),n("el-button",{attrs:{type:"default"},on:{click:e.onGroupDialogClose}},[e._v("取消")])],1)],1)],1)},o=[],i=(n("288e"),n("2e73"),n("df26"),n("42c2")),a=(n("06ef"),n("0b38")),p=(n("c880"),n("751a"));function c(e){return Object(p["d"])("/DxApplicationGroup/addGroup",e)}function s(e){return Object(p["e"])("/DxApplicationGroup",e)}function l(e){return Object(p["a"])("/DxApplicationGroup/deleteApplication/".concat(e))}var u={addGroup:c,editGroup:s,delGroup:l},d=n("ec26"),f={name:"AppManage",data:function(){var e=this;return{iconSelVisible:!1,leftMinPercent:15,leftPageDefaultPercent:15,groupVisible:!1,createAppVisible:!1,tools:[{name:"新建App",icon:"/icons/c-add.png",handler:{click:function(){e.createAppVisible=!0,e.$utils.findFormProp(e.formConfig,"innerName").component.disabled=!1}}}],appList:[],currGroup:null,groupForm:{name:null},groupFormConfig:[{title:"",split:1,data:[{key:"name",title:"分组名称",disabled:!0,component:{name:"el-input"}}]}],groupFormRules:{name:[{required:!0,message:"请输入分组名称",trigger:"change"}]},appForm:{},appFormRules:{innerName:[{required:!0,message:"请输入内部名称",trigger:"change"}],name:[{required:!0,message:"请输入显示名称",trigger:"change"}],belongGroup:[{required:!0,message:"请选择所属组",trigger:"change"}]},defaultProps:{children:"children",label:"name"},groupTreeData:[{name:"组",isRootNode:!0,disabled:!0,children:[]}],DxApplicationGroupService:this.$getService("DxApplicationGroup"),DxApplicationService:this.$getService("DxApplication")}},computed:{formConfig:function(){return[{title:"",split:1,data:[{key:"innerName",title:"内部名称",component:{name:"el-input",disabled:!1}},{key:"name",title:"显示名称",component:{name:"el-input"}},{key:"groupNames",title:"所属组",component:{name:"el-select",valueKey:"id",multiple:!0,options:this.groupTreeData[0].children.map((function(e){return{value:e.name,label:e.name}}))}}]}]}},mounted:function(){this.getGroups()},methods:{onCreateAppDialogClose:function(){this.createAppVisible=!1,this.$refs.appForm.reset(),this.$utils.findFormProp(this.formConfig,"innerName").component.disabled=!1},onCreateAppDialogOk:function(){var e=this,t=this.$refs.appForm;t.validate((function(t){if(t){var n=Object(a["a"])({},e.appForm),r=n.id?d["a"].editApp:d["a"].addApp;n.id&&(n={icoUrl:n.icoUrl,innerName:n.innerName,name:n.name,groupNames:e.appForm.groupNames}),r(n).then((function(t){e.$message.success(n.id?"修改成功":"创建成功"),e.onCreateAppDialogClose(),e.getApps()}))}}))},toConfigAppPage:function(e){this.$router.push({path:"/config/center-page",query:{id:e.id,appName:e.name}})},onEditApp:function(e){var t=this,n=this.DxApplicationService.newSearchItems();n.$addItem("id",e.id,"EQ"),this.DxApplicationService.query().openProp(["dxApplicationApplicationGroupVOS","dxApplicationApplicationGroupVOS.source"]).search(n).then((function(n){if(n.content&&n.content[0]){var r=n.content[0],o=r.dxApplicationApplicationGroupVOS||[];r.groupNames=o.map((function(e){return e.source.name})),t.appForm=r,t.createAppVisible=!0,t.$utils.findFormProp(t.formConfig,"innerName").component.disabled=!0}else t.$message.error("未查到“".concat(e.name,"”相关信息"))}))},onRemoveApp:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.confirmDialog("确定删除该App?");case 2:d["a"].delApp(t.id,this.currGroup.id).then((function(e){n.$message.success("删除成功"),n.getApps()}));case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),getGroups:function(){var e=this,t=this.DxApplicationGroupService.newSearchItems();this.DxApplicationGroupService.query().orderByDesc("isDefaultGroup").search(t).then((function(t){var n=t.content||[];e.$set(e.groupTreeData[0],"children",n),e.$nextTick((function(){n.length>0&&(e.currGroup=n[0],e.$refs.groupTree.setCurrentKey(e.currGroup.id),e.getApps())}))}))},getApps:function(){var e=this,t=[];this.currGroup&&(t=[{fieldName:"sourceId",operator:"EQ",value:this.currGroup.id}]);var n={searchItems:{operator:"OR",items:t},openProps:[{name:"source"},{name:"target"},{name:"target.dxApplicationApplicationGroupVOS"}]};d["a"].getApps(n).then((function(t){var n=[];t.items&&Array.isArray(t.items.content)&&(n=t.items.content);var r=[];n.forEach((function(e){var t=e.target;t&&!r.find((function(e){return e.id===t.id}))&&r.push(t)})),e.appList=r}))},onNodeClick:function(e){this.currGroup=e,this.getApps()},onGroupAdd:function(e){this.groupVisible=!0},onGroupEdit:function(e){this.groupVisible=!0,this.groupForm=Object(a["a"])({},e)},onGroupDel:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.confirmDialog("确定删除分组?");case 2:u.delGroup(t.id).then((function(){n.getGroups()}));case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),onGroupDialogOk:function(){var e=this,t=this.$refs.groupForm;t.validate((function(t){if(t){var n=Object(a["a"])({},e.groupForm),r=n.id?u.editGroup:u.addGroup;r(n).then((function(){e.onGroupDialogClose(),e.getGroups()}))}}))},onGroupDialogClose:function(){this.groupVisible=!1,this.$refs.groupForm.reset(),this.groupForm={name:null}},confirmDialog:function(e,t,n){return this.$confirm(e||"是否执行此操作",n||"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:t||"warning"})},chooseIcon:function(e){this.iconSelVisible=!1,this.appForm.icoUrl="/icons/"+e+".png"}}},g=f,h=(n("000d"),n("2be6")),m=Object(h["a"])(g,r,o,!1,null,null,null);t["default"]=m.exports},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n("8bbf"),o=n.n(r),i=o.a.__share_pool__=o.a.__share_pool__||{},a=i.http=i.http||{};function p(e,t){return a.get(e,t)}function c(e,t){return a.post(e,t)}function s(e,t){return a.put(e,t)}function l(e,t){return a.del(e,t)}function u(e,t){return a.downloadZip(e,t)}},a781:function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,'.AppManageCmp{height:100%;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.AppManageCmp .pane-wrap{background:#fff}.AppManageCmp .splitter-pane-resizer.vertical{opacity:1;background-color:#f1f4f5;width:6px;border-left:0;border-right:0}.AppManageCmp .detail-pane{width:100%;height:calc(100% - 6px)}.AppManageCmp .pane-item{padding:10px;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #d9d9d9}.AppManageCmp .page-heaer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:30px}.AppManageCmp .page-heaer .page-heaer-title{font-size:16px;font-weight:650;vertical-align:middle;color:#333}.AppManageCmp .page-heaer .page-heaer-title:before{content:"";display:inline-block;width:5px;height:24px;background:#797979;vertical-align:middle;margin-right:5px}.AppManageCmp .page-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:20px;margin-left:8px}.AppManageCmp .page-content .application-item{width:300px;height:170px;margin-right:50px;margin-bottom:50px;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.1);box-shadow:0 2px 4px 0 rgba(0,0,0,.1);border:1px solid #d9d9d9;position:relative}.AppManageCmp .page-content .application-item .el-icon-close{font-size:18px;position:absolute;right:10px;top:10px;cursor:pointer;color:#b3b3b3}.AppManageCmp .page-content .application-item .el-icon-close:hover{color:#000}.AppManageCmp .page-content .application-item .el-icon-position{font-size:22px;position:absolute;right:10px;top:16px;cursor:pointer}.AppManageCmp .page-content .application-item:hover{border-color:#167fea;-webkit-box-shadow:0 2px 4px 0 rgba(0,119,239,.1);box-shadow:0 2px 4px 0 rgba(0,119,239,.1)}.AppManageCmp .page-content .content-box{cursor:pointer;height:120px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #d9d9d9}.AppManageCmp .page-content .content-box .app-icon{width:40px}.AppManageCmp .page-content .oparation-box{padding:0 60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:50px;text-align:center;line-height:50px;background:rgba(0,0,0,.04);position:relative}.AppManageCmp .page-content .oparation-box .edit-btn-box{cursor:pointer;position:absolute;right:40px;top:6px}.AppManageCmp .page-content .oparation-box .edit-btn-box img{width:22px}.AppManageCmp .page-content .add-btn-s{font-size:30px;color:#2a75ce}.AppManageCmp .group-tree .fb{font-weight:700}.AppManageCmp .group-tree .is-current>.el-tree-node__content,.AppManageCmp .group-tree .is-current>.el-tree-node__content:hover{background:#c6e2ff}.AppManageCmp .custom-tree-node{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:16px;padding-right:8px}.AppManageCmp .custom-tree-node img{width:20px;height:20px;margin-right:5px}.AppManageCmp .custom-tree-node img:last-child{margin-right:0}.AppManageCmp .custom-tree-node .node-tools{visibility:hidden}.AppManageCmp .custom-tree-node:hover .node-tools{visibility:visible}.AppManageCmp .left-box{padding:10px;font-size:14px}.AppManageCmp .left-box .model-icon{width:16px;height:16px;border:none;margin-right:10px}.AppManageCmp .tree-left{height:100%;background:#fff;border:1px solid #d9d9d9;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.AppManageCmp .tree-left .tree-container{height:100%;overflow:scroll}.AppManageCmp .tree-left .tree-select{width:100%;padding:0}.AppManageCmp .tree-left .tree-select .el-input{border:none}.AppManageCmp .tree-left .serarch-title{height:40px;line-height:40px;padding-left:8px}.AppManageCmp .tree-left .custom-tree-node{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.AppManageCmp .tree-left .custom-tree-node:hover .tree-btn-box{display:block}.AppManageCmp .tree-left .tree-btn-box{width:66px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;display:none}.AppManageCmp .tree-left .tree-btn-box .btn-item img{padding:4px;width:16px;height:16px}.img-sel-content .img-box{margin:5px;padding:5px;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.img-sel-content .img-box:hover{background:#ddd}.img-sel-box,.img-sel-content img{width:20px;height:20px}.img-sel-box{padding-left:10px}.img-sel-box img{width:20px;height:20px}',""]),e.exports=t},c880:function(e,t,n){var r=n("6f0d").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||n("3d85")&&r(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},df26:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",p=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(E){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new M(r||[]);return i._invoke=_(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=s;var u="suspendedStart",d="suspendedYield",f="executing",g="completed",h={};function m(){}function b(){}function x(){}var v={};c(v,i,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(D([])));w&&w!==n&&r.call(w,i)&&(v=w);var A=x.prototype=m.prototype=Object.create(v);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,p){var c=l(e[o],e,i);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"===typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,p)}),(function(e){n("throw",e,a,p)})):t.resolve(u).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,p)}))}p(c.arg)}var o;function i(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function _(e,t,n){var r=u;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return S()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var p=j(a,n);if(p){if(p===h)continue;return p}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?g:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=g,n.method="throw",n.arg=c.arg)}}}function j(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function G(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){while(++o<e.length)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:S}}function S(){return{value:t,done:!0}}return b.prototype=x,c(A,"constructor",x),c(x,"constructor",b),b.displayName=c(x,p,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,c(e,p,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},C(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(A),c(A,p,"Generator"),c(A,i,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=D,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(G),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return p.type="throw",p.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],p=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),G(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;G(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},ec26:function(e,t,n){"use strict";var r=n("751a");function o(e){return Object(r["d"])("/DxApplicationApplicationGroup/find/recursion",e)}function i(e){return Object(r["d"])("/DxApplication/saveApplication",e)}function a(e){return Object(r["e"])("/DxApplication/updateApplication",e)}function p(e,t){return Object(r["a"])("/DxApplication/deleteApplication/".concat(e,"/").concat(t))}t["a"]={getApps:o,addApp:i,editApp:a,delApp:p}}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-5535647e"],{"01b0":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"06ef":function(e,t,n){"use strict";var a=n("8c7e"),r=n("01b0"),o=n("742b");n("fe99")("search",1,(function(e,t,n,i){return[function(n){var a=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,a):new RegExp(n)[t](String(a))},function(e){var t=i(n,e,this);if(t.done)return t.value;var c=a(e),s=String(this),u=c.lastIndex;r(u,0)||(c.lastIndex=0);var l=o(c,s);return r(c.lastIndex,u)||(c.lastIndex=u),null===l?-1:l.index}]}))},"0b38":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n("ce37");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){Object(a["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},"0ed3":function(e,t,n){"use strict";function a(e,t){for(var n=[],a={},r=0;r<t.length;r++){var o=t[r],i=o[0],c=o[1],s=o[2],u=o[3],l={id:e+":"+r,css:c,media:s,sourceMap:u};a[i]?a[i].parts.push(l):n.push(a[i]={id:i,parts:[l]})}return n}n.r(t),n.d(t,"default",(function(){return g}));var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},i=r&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,u=!1,l=function(){},p=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(e,t,n,r){u=n,p=r||{};var i=a(e,t);return h(i),function(t){for(var n=[],r=0;r<i.length;r++){var c=i[r],s=o[c.id];s.refs--,n.push(s)}t?(i=a(e,t),h(i)):i=[];for(r=0;r<n.length;r++){s=n[r];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete o[s.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],a=o[n.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](n.parts[r]);for(;r<n.parts.length;r++)a.parts.push(b(n.parts[r]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var i=[];for(r=0;r<n.parts.length;r++)i.push(b(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function b(e){var t,n,a=document.querySelector("style["+d+'~="'+e.id+'"]');if(a){if(u)return l;a.parentNode.removeChild(a)}if(f){var r=s++;a=c||(c=m()),t=y.bind(null,a,r,!1),n=y.bind(null,a,r,!0)}else a=m(),t=C.bind(null,a),n=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else n()}}var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,a){var r=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=v(t,r);else{var o=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function C(e,t){var n=t.css,a=t.media,r=t.sourceMap;if(a&&e.setAttribute("media",a),p.ssrId&&e.setAttribute(d,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"2b14":function(e,t,n){"use strict";n("82fe")},"2be6":function(e,t,n){"use strict";function a(e,t,n,a,r,o,i,c){var s,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),i?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=s):r&&(s=c?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(e,t){return s.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:u}}n.d(t,"a",(function(){return a}))},"382d":function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"402c":function(e,t,n){var a=n("d0e9"),r=n("ad8d"),o=n("0b04"),i=n("78d3"),c=n("25a6"),s=n("cd30"),u=Object.getOwnPropertyDescriptor;t.f=n("3d85")?u:function(e,t){if(e=o(e),t=i(t,!0),s)try{return u(e,t)}catch(n){}if(c(e,t))return r(!a.f.call(e,t),e[t])}},"4f27":function(e,t,n){var a=n("98e9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("0ed3").default;r("f2555e32",a,!0,{sourceMap:!1,shadowMode:!1})},"5eaa":function(e,t,n){"use strict";function a(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"===typeof btoa){var o=r(a),i=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}function r(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=a(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,a){"string"===typeof e&&(e=[[null,e,""]]);var r={};if(a)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);a&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return p}));var a=n("8bbf"),r=n.n(a),o=r.a.__share_pool__=r.a.__share_pool__||{},i=o.http=o.http||{};function c(e,t){return i.get(e,t)}function s(e,t){return i.post(e,t)}function u(e,t){return i.put(e,t)}function l(e,t){return i.del(e,t)}function p(e,t){return i.downloadZip(e,t)}},7610:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"CenterPageCmp"},[n("div",{staticClass:"page-header"},[n("span",{staticClass:"page-title"},[e._v(e._s(e.appName))])]),n("dee-tab",{ref:"deetab",staticClass:"dee-tab",attrs:{tabs:e.tabs},on:{tabClick:e.onTabClick}},[n("div",{staticClass:"dee-tab-item",attrs:{slot:"1"},slot:"1"},[n("CreatePage")],1)])],1)},r=[],o=(n("c880"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"CreatePageCmp"},[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.onCreatePage}},[e._v("新建页面")]),n("dee-table",{attrs:{"index-row":e.indexRow,data:e.currentTableData,columns:e.tableColumns,pagination:e.pagination,options:{"max-height":600}},on:{"pagination-current-change":e.currentChange,"pagination-size-change":e.sizeChange}}),n("dee-dialog",{attrs:{title:"页面信息","dialog-visible":e.createPageVisible,width:"500px"},on:{handleClose:e.onCreatePageDialogClose}},[n("deeForm",{ref:"appForm",attrs:{"label-width":"100px",form:e.formData,"form-data":e.formFieldConfig,rules:e.formRules}}),n("div",{staticClass:"dialogBtn"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onCreatePageDialogOk}},[e._v("确定")]),n("el-button",{attrs:{type:"default"},on:{click:e.onCreatePageDialogClose}},[e._v("取消")])],1)],1)],1)}),i=[],c=n("0b38"),s=(n("06ef"),n("751a"));function u(e){return Object(s["d"])("/DxApplicationPage",e)}function l(e){return Object(s["e"])("/DxApplicationPage",e)}function p(e){return Object(s["a"])("/DxApplicationPage/".concat(e))}var d={add:u,edit:l,remove:p},f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"PageLayoutTempCmp"},[n("el-radio-group",{attrs:{size:"small"},on:{change:e.onChange},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},e._l(e.options,(function(t,a){return n("el-radio",{key:a,attrs:{label:t.value,border:""}},[n("div",{staticClass:"img-box"},[n("img",{attrs:{src:"/images/pageLayout/"+t.value+".png",alt:""}})]),n("p",{staticClass:"layoutName"},[e._v(e._s(t.label))])])})),1)],1)},g=[],h=(n("2e73"),n("ce9c"),{name:"PageLayoutTemp",props:{value:{type:[Object,Array,String,Number,Boolean],default:null}},data:function(){return{type:null}},computed:{options:function(){var e=this;return this.$layoutTemplates.keys.map((function(t){return{label:e.$layoutTemplates.info[t].description,value:t}}))}},watch:{value:{handler:function(e){this.type=e}}},methods:{onChange:function(e){this.$emit("input",e)}}}),m=h,b=(n("cc47"),n("2be6")),v=Object(b["a"])(m,f,g,!1,null,null,null),y=v.exports;function C(){this.name=null,this.type=null,this.formLayout=null,this.serverName=null,this.path=null,this.route=null,this.remark=null}var x={components:{PageLayoutTemp:y},data:function(){var e=this;return{pagination:{currentPage:1,pageSize:10,total:0,pageSizes:[10,20,50]},modules:n("b663").modules,tableData:[],currentTableData:[],indexRow:{title:"序号",align:"center",width:"70"},createPageVisible:!1,tableColumns:[{title:"操作",align:"center",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"编辑",icon:"/icons/c-edit.png",handleClick:function(t,n){e.onEditRow(t,n)}},{operation:"配置",icon:"/icons/c-manufacturer.png",handleClick:function(t,n){e.$router.push({path:"/config/page-layout",query:{pageKey:t.pageKey}})}},{operation:"导出文件",icon:"/icons/c-export.png",handleClick:function(t,n){e.onExportFile(t,n)}},{operation:"删除",icon:"/icons/c-delete.png",handleClick:function(t,n){e.onDeleteRow(t,n)}}]}}},{title:"页面名称",minWidth:120,align:"left",key:"name"},{title:"页面类型",minWidth:120,align:"center",key:"type",formatter:function(e,t){var n={1:"组装页面",2:"自定义页面"};return n[e.type]}},{title:"路由",minWidth:120,align:"left",key:"route"},{title:"描述",align:"left",key:"remark"}],formData:new C,formRules:{name:[{required:!0,message:"请输入页面名称",trigger:"blur"}],type:[{required:!0,message:"请选择页面类型",trigger:"blur"}],formLayout:[{required:!0,message:"请选择布局模板",trigger:"blur"}],serverName:[{required:!0,message:"请选择微前端",trigger:"blur"}],path:[{required:!0,message:"请输入代码路径",trigger:"blur"}],route:[{required:!0,message:"请输入路由地址",trigger:"blur"}]},DxApplicationPageService:this.$getService("DxApplicationPage"),DxApplicationWorkspaceService:this.$getService("DxApplicationWorkspace")}},computed:{appId:function(){return this.$route.query.id},formFieldConfig:function(){return[{title:"",split:1,data:[{key:"name",title:"页面名称",component:{name:"el-input"}},{key:"type",title:"页面类型",component:{name:"el-radio",options:[{value:1,label:"组装页面"},{value:2,label:"自定义页面"}]}},{key:"formLayout",title:"布局模板",component:{obscure:"this.form.type === 2",name:y}},{key:"isCached",title:"是否缓存",component:{name:"el-checkbox"}},{key:"serverName",title:"微前端",component:{obscure:"this.form.type === 1",name:"el-select",filterable:!0,options:[{value:"architecture-dee",label:"architecture-dee"}].concat((this.modules||[]).map((function(e){return{value:e,label:e}})))}},{key:"path",title:"代码路径",component:{obscure:"this.form.type !== 2",name:"el-input"}},{key:"route",title:"路由地址",component:{obscure:"this.form.type !== 2",name:"el-input"}},{key:"remark",title:"描述",component:{name:"el-input",type:"textarea",row:3}}]}]}},watch:{"formData.pageType":function(e){1===e?Object.assign(this.formData,{moduleName:null,codePath:null,routePath:null}):2===e&&Object.assign(this.formData,{type:null})}},mounted:function(){this.loadData()},methods:{sizeChange:function(e){this.pagination.pageSize=e,this.currentTableData=this.handleData()},currentChange:function(e){this.pagination.currentPage=e,this.currentTableData=this.handleData()},handleData:function(){var e=(this.pagination.currentPage-1)*this.pagination.pageSize,t=e+this.pagination.pageSize;return this.tableData.slice(e,t)},loadData:function(){var e=this,t=this.DxApplicationPageService.newSearchItems();t.$addItem("appId",this.appId),this.DxApplicationPageService.query().openProp().search(t).then((function(t){e.tableData=t.content,e.currentTableData=e.handleData(),e.pagination.total=t.content.length}))},onCreatePage:function(e){this.createPageVisible=!0},onCreatePageDialogOk:function(){var e=this,t=this.$refs.appForm;t.validate((function(t){if(t){var n=Object(c["a"])(Object(c["a"])({},e.formData),{},{appId:e.appId}),a=n.id?"edit":"add";"add"===a&&(n.pageKey=e.$utils.guid()),d[a](n).then((function(t){e.$message.success(n.id?"编辑成功":"新增成功"),e.onCreatePageDialogClose(),e.loadData()}))}}))},onCreatePageDialogClose:function(){this.createPageVisible=!1,this.$refs.appForm.reset(),this.formData=new C},onEditRow:function(e,t){e.type=parseInt(e.type),this.formData=Object(c["a"])({},e),this.createPageVisible=!0},onExportFile:function(e,t){},onDeleteRow:function(e,t){var n=this;this.confirmDialog("确定要删除".concat(e.name,"页面?")).then((function(t){d.remove(e.id).then((function(e){n.$message.success("删除完成"),n.loadData()}))}))},confirmDialog:function(e,t,n){return this.$confirm(e||"是否执行此操作",n||"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:t||"warning"})}}},_=x,P=(n("2b14"),Object(b["a"])(_,o,i,!1,null,null,null)),w=P.exports,k={name:"CenterPage",components:{CreatePage:w},data:function(){return{tabs:[{id:"1",name:"页面"}]}},computed:{appName:function(){return this.$route.query.appName||"APP 产品"}},methods:{onTabClick:function(e){e.name},onBack:function(){this.$router.push({path:"/config/app-manage"})}}},D=k,O=(n("9f0f"),Object(b["a"])(D,a,r,!1,null,null,null));t["default"]=O.exports},"82fe":function(e,t,n){var a=n("8883");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("0ed3").default;r("1fb632ba",a,!0,{sourceMap:!1,shadowMode:!1})},"84e7":function(e,t,n){var a=n("194e"),r=n("ed99").set;e.exports=function(e,t,n){var o,i=t.constructor;return i!==n&&"function"==typeof i&&(o=i.prototype)!==n.prototype&&a(o)&&r&&r(e,o),e}},8883:function(e,t,n){var a=n("5eaa");t=a(!1),t.push([e.i,".CreatePageCmp{height:100%;width:100%;display:block}",""]),e.exports=t},"98e9":function(e,t,n){var a=n("5eaa");t=a(!1),t.push([e.i,".PageLayoutTempCmp .el-radio{height:auto;text-align:center;margin-right:15px}.PageLayoutTempCmp .el-radio.is-bordered{border-color:transparent}.PageLayoutTempCmp .el-radio.is-bordered.is-checked{border-color:#409eff}.PageLayoutTempCmp .el-radio .el-radio__label{padding-left:0}.PageLayoutTempCmp .el-radio .el-radio__input{display:none}.PageLayoutTempCmp .el-radio .img-box{width:50px;height:50px;background:#f1f1f1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.PageLayoutTempCmp .el-radio .img-box img{width:100%}.PageLayoutTempCmp .el-radio .layoutName{margin:10px auto}",""]),e.exports=t},"9f0f":function(e,t,n){"use strict";n("cfba")},ac95:function(e,t,n){var a=n("ef37"),r=n("c8ae"),o=n("a124"),i=n("382d"),c="["+i+"]",s="​…",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),p=function(e,t,n){var r={},c=o((function(){return!!i[e]()||s[e]()!=s})),u=r[e]=c?t(d):i[e];n&&(r[n]=u),a(a.P+a.F*c,"String",r)},d=p.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(l,"")),e};e.exports=p},b663:function(e,t,n){"use strict";n.r(t),n.d(t,"modules",(function(){return a}));var a=["dee-workflow","dee-user","dee-dashboard","dee-perm","dee-dic","dee-es","dee-file","dee-model","dee-config","dee-doc","dee-pdc","dee-message","dee-context","dee-lifecycle","dee-task-center","dee-cmt","dee-craft","dee-audit","dee-resource"]},c74b:function(e,t,n){var a=n("dd61"),r=n("eaa3").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,r)}},c880:function(e,t,n){var a=n("6f0d").f,r=Function.prototype,o=/^\s*function ([^ (]*)/,i="name";i in r||n("3d85")&&a(r,i,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},cc47:function(e,t,n){"use strict";n("4f27")},ce9c:function(e,t,n){"use strict";var a=n("0e8c"),r=n("25a6"),o=n("b735"),i=n("84e7"),c=n("78d3"),s=n("a124"),u=n("c74b").f,l=n("402c").f,p=n("6f0d").f,d=n("ac95").trim,f="Number",g=a[f],h=g,m=g.prototype,b=o(n("bec8")(m))==f,v="trim"in String.prototype,y=function(e){var t=c(e,!1);if("string"==typeof t&&t.length>2){t=v?t.trim():d(t,3);var n,a,r,o=t.charCodeAt(0);if(43===o||45===o){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+t}for(var i,s=t.slice(2),u=0,l=s.length;u<l;u++)if(i=s.charCodeAt(u),i<48||i>r)return NaN;return parseInt(s,a)}}return+t};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof g&&(b?s((function(){m.valueOf.call(n)})):o(n)!=f)?i(new h(y(t)),n,g):y(t)};for(var C,x=n("3d85")?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)r(h,C=x[_])&&!r(g,C)&&p(g,C,l(h,C));g.prototype=m,m.constructor=g,n("e385")(a,f,g)}},cfba:function(e,t,n){var a=n("f62b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("0ed3").default;r("4bcbfffa",a,!0,{sourceMap:!1,shadowMode:!1})},ed99:function(e,t,n){var a=n("194e"),r=n("8c7e"),o=function(e,t){if(r(e),!a(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,a){try{a=n("124c")(Function.call,n("402c").f(Object.prototype,"__proto__").set,2),a(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:a(e,n),e}}({},!1):void 0),check:o}},f62b:function(e,t,n){var a=n("5eaa");t=a(!1),t.push([e.i,".CenterPageCmp{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.CenterPageCmp .page-header{padding:10px;border-bottom:1px solid #dedede}.CenterPageCmp .page-header .page-title{font-size:20px;font-weight:650;cursor:pointer}.CenterPageCmp .dee-tab{height:calc(100% - 42px)}.CenterPageCmp .dee-tab .el-tabs__content{height:calc(100% - 40px)!important}.CenterPageCmp .dee-tab .el-tabs__content .el-tab-pane{height:100%;margin-bottom:0}.CenterPageCmp .dee-tab .dee-tab-item{height:100%;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box}",""]),e.exports=t}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-74bc269d"],{"095c":function(t,e,n){"use strict";n("8bf5")},"0b38":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("ce37");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"0d9c":function(t,e,n){"use strict";var r=n("ef37"),o=n("dafe"),a="includes";r(r.P+r.F*n("8222")(a),"String",{includes:function(t){return!!~o(this,t,a).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"0ed3":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var a=e[o],i=a[0],c=a[1],s=a[2],u=a[3],l={id:t+":"+o,css:c,media:s,sourceMap:u};r[i]?r[i].parts.push(l):n.push(r[i]={id:i,parts:[l]})}return n}n.r(e),n.d(e,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,u=!1,l=function(){},f=null,p="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,o){u=n,f=o||{};var i=r(t,e);return g(i),function(e){for(var n=[],o=0;o<i.length;o++){var c=i[o],s=a[c.id];s.refs--,n.push(s)}e?(i=r(t,e),g(i)):i=[];for(o=0;o<n.length;o++){s=n[o];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete a[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],r=a[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(y(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(o=0;o<n.parts.length;o++)i.push(y(n.parts[o]));a[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var t=document.createElement("style");return t.type="text/css",i.appendChild(t),t}function y(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(d){var o=s++;r=c||(c=m()),e=b.bind(null,r,o,!1),n=b.bind(null,r,o,!0)}else r=m(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var v=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function b(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=v(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function w(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),f.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"258a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dee-page config-settings-page"},[n("dee-pane",{attrs:{min:"210px"},model:{value:t.offset,callback:function(e){t.offset=e},expression:"offset"}},[n("div",{staticClass:"left-part dee-component border no-margin full-height",attrs:{slot:"left"},slot:"left"},[n("model-tree",{attrs:{"tree-data":t.treeData,apps:t.apps},on:{treeHandleNodeClick:t.changeModel,changeApp:t.changeApp}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:t.model,expression:"model"}],staticClass:"right-part",attrs:{slot:"right"},slot:"right"},[n("layout-config",{staticClass:"dee-component border no-margin full-height layout-config-cmp",attrs:{model:t.model,node:t.node,"app-id":t.appId,"tree-data":t.treeData},on:{changeLayout:t.changeLayout,changeConfigData:t.changeConfigData}}),n("preview",{staticClass:"dee-component border no-margin full-height preview-cmp",attrs:{model:t.model},model:{value:t.configData,callback:function(e){t.configData=e},expression:"configData"}})],1)])],1)},o=[],a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"full-height"},[n("el-tabs",{attrs:{id:"main-tab",type:"card"},model:{value:t.tabs,callback:function(e){t.tabs=e},expression:"tabs"}},[n("el-tab-pane",{attrs:{label:"简单表单",name:"prop"}}),n("el-tab-pane",{attrs:{label:"标题配置",name:"theme"}})],1)],1)},i=[],c=(n("df26"),n("42c2")),s=(n("ce9c"),n("c880"),n("da71")),u={props:{},data:function(){return{attrList:[]}},watch:{},computed:{},created:function(){},mounted:function(){},methods:{loadAttr:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.attrList=[],t.next=3,Object(s["b"])(this.appId,this.model.id).then((function(t){e.attrList=e.attrStandard(t.items)}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),attrStandard:function(t){return t&&Array.isArray(t)?t.filter((function(t){return t.published})).map((function(t){return{title:t.displayName,key:t.name,fildProp:{id:t.id,refId:t.refId,type:t.type,rule:t.rule,attrType:t.attrType,fieldLength:t.fieldLength}}})):[]}}},l=(n("4f72"),n("0d9c"),n("2e73"),{props:{},data:function(){return{configData:null,layOptionsConfig:null,relatedTableList:[],layoutOptions:[]}},watch:{},computed:{},created:function(){},mounted:function(){},methods:{initLayout:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.layoutOptions=this.getBaseLayoutOptions(),t.next=3,this.loadLayOption();case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getBaseLayoutOptions:function(){return[{label:"新建",value:"defaultCreate",layType:"form"},{label:"编辑",value:"defaultEdit",layType:"form"},{label:"查看",value:"defaultView",layType:"form"},{label:"详情",value:"defaultInfo",layType:"xform"},{label:"查询",value:"defaultQuery",layType:"search"},{label:"查询结果",value:"defaultResult",layType:"table"},{label:"分组结果",value:"defaultGroup",layType:"grouping"},{label:"工具条",value:"defaultBtnTools",layType:"btnTools"},{label:"树",value:"defaultTree",layType:"tree"}]},getCustomLayoutOptions:function(t){var e=this,n=t.filter((function(t){return t.typeKey===e.model.name}));if(0!==n.length){if(n=n.slice(-1)[0],this.layOptionsConfig=n,this.layOptionsConfig&&this.layOptionsConfig.configDetails){var r=JSON.parse(this.layOptionsConfig.configDetails);Array.isArray(r)&&r.forEach((function(t){e.layoutOptions.some((function(e){return t.id===e.value}))||e.layoutOptions.push({label:t.layTitle,value:t.id,layType:t.layType})}))}}else this.layOptionsConfig=null},getRelatedLayoutOptions:function(t){var e=this;this.relatedTableList=[],t.forEach((function(t){if(t.configDetails){var n=JSON.parse(t.configDetails);n&&n.forEach((function(n){e.$enums.attrTableType.includes(n.layType)&&(n.modelId=t.typeKey,e.relatedTableList.push(n))}))}}))},loadLayOption:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(s["g"])(this.model.name,"layOptions").then((function(t){e.getCustomLayoutOptions(t.items),e.getRelatedLayoutOptions(t.items)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}}),f=n("0b38"),p={props:{},data:function(){return{configData:null}},watch:{configData:{deep:!0,handler:function(t){this.$emit("changeConfigData",t)}}},computed:{},created:function(){},mounted:function(){},methods:{initConfigData:function(){this.model&&0!==this.layoutOptions.length&&(this.configData||(this.configData={},this.configData.layout=this.layoutOptions[0].value),this.getLayouts())},getLayouts:function(){var t=this;Object(s["e"])(this.model.name,this.configData.layout).then((function(e){var n=t.$utils.getParamsFromLists(t.layoutOptions,"value",t.configData.layout,"layType");t.configData=t.layoutStandard(e.items,t.configData.layout,n)}))},layoutStandard:function(t,e,n){if(t){var r=t.slice(-1)[0];return r.configDetails=this.getDefaultConfigData(r.configDetails,n),Object(f["a"])(Object(f["a"])({},r),{},{layout:e})}return{configDetails:this.getDefaultConfigData(null,n),layout:e}},getDefaultConfigData:function(t,e){if(t)return JSON.parse(t);var n={onlyBtn:!0};return"form"===e&&(n.base={},n.formData=[]),n}}},d={name:"LayoutConfig",mixins:[u,l,p],props:{appId:{type:[String,Number],default:function(){return""}},model:{type:Object,default:function(){return null}},node:{type:Object,default:function(){return null}}},data:function(){return{tabs:"prop"}},computed:{},watch:{model:function(){this.loadAttrAndLayoption()}},created:function(){},mounted:function(){},methods:{loadAttrAndLayoption:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.loadAttr();case 2:return t.next=4,this.initLayout();case 4:this.initConfigData();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},h=d,g=(n("095c"),n("2be6")),m=Object(g["a"])(h,a,i,!1,null,null,null),y=m.exports,v=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-scrollbar",{staticClass:"scrollbar-tpye-prop-manage prop-tree-com"},[r("dee-tools",{staticClass:"app-tools",attrs:{tools:t.tools,mode:"normal",collapse:!1}}),r("el-form",[r("el-form-item",{staticClass:"header-wrap",attrs:{label:"应用"}},[r("el-select",{staticStyle:{width:"calc( 100% - 40px)"},on:{change:t.changeApp},model:{value:t.appid,callback:function(e){t.appid=e},expression:"appid"}},t._l(t.apps,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1),r("el-tree",{attrs:{data:t.treeData,"expand-on-click-node":!1,props:t.treeDefaultProps,"default-expand-all":!0,"highlight-current":!0},on:{"node-click":t.treeHandleNodeClick},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.data;return r("span",{staticClass:"custom-tree-node"},[t.iconObj[n.modelType]?r("svg-icon",{staticClass:"model-icon",attrs:{"icon-class":t.iconObj[n.modelType]}}):t._e(),r("span",{staticStyle:{"padding-left":"10px"}},[n.displayName||n.name?r("span",{attrs:{title:n.displayName||n.name}},[t._v(t._s(n.displayName||n.name))]):t._e()])],1)}}])}),r("dee-dialog",{attrs:{"dialog-visible":t.dialogVisible,title:"import"===t.diaType?"导入表单配置":"导出表单配置",width:"60%"},on:{handleClose:t.handleClose}},["import"===t.diaType?r("div",{staticClass:"importTemp-com"},[r("el-upload",{ref:"upload",attrs:{action:t.action,headers:t.headers,multiple:!1,"on-change":t.onFileChange,accept:t.accept,"http-request":t.submitUploadFile}},[r("el-button",{staticClass:"border-none"},[t._v("选择文件: "),r("img",{attrs:{src:n("c532")}})])],1),r("div",{staticClass:"info"},[r("p",{staticStyle:{color:"rgb(153 152 152)"}},[t._v("说明:导入格式要求zip")])]),r("div",{staticClass:"flex-c"},[r("el-button",{staticClass:"searchBtn",attrs:{type:"primary"},on:{click:t.submitUpload}},[t._v("确定")]),r("el-button",{staticClass:"searchBtn",on:{click:t.handleClose}},[t._v("取消")])],1)],1):t._e(),"export"===t.diaType?r("div",{staticClass:"export-wrap"},[r("dee-table",{attrs:{data:t.treeData,columns:t.tableColumns,options:t.optionsTree,"is-tree-data":!0,"selection-row":""},on:{"selection-change":t.checkrows}}),r("div",{staticClass:"flex-c"},[r("el-button",{staticClass:"searchBtn",attrs:{type:"primary"},on:{click:t.exportFormConfig}},[t._v("导出")]),r("el-button",{staticClass:"searchBtn",on:{click:t.handleClose}},[t._v("取消")])],1)],1):t._e()])],1)},b=[],w=n("751a"),x=n("6400"),O={components:{},props:{treeData:{type:Array,default:function(){return[]}},apps:{type:Array,default:function(){return[]}}},data:function(){var t=this;return{appid:"",iconObj:{BASE:"duixiang",RELATION:"relationship"},treeDefaultProps:{children:"children",label:"description"},diaType:"",dialogVisible:!1,accept:".zip",uploadInput:"",headers:{},tools:[{name:"导入",icon:"/icons/c-Import.png",handler:{click:function(){t.diaType="import",t.dialogVisible=!0}}},{name:"导出",icon:"/icons/c-export.png",handler:{click:function(){t.diaType="export",t.dialogVisible=!0}}}],tableColumns:[{title:"模型名称",key:"displayName",align:"left",minWidth:120}],optionsTree:{fit:!0,defaultExpandAll:!0,highlightCurrentRow:!0,rowKey:"id"},selectedRows:[],currNode:{}}},computed:{action:function(){return"/model/form/config/layoutImport?appId=".concat(this.appid,"&generateOperator=XMLTOVO")}},watch:{apps:function(t){t&&0!==t.length&&(this.appid=t[0].value,this.$emit("changeApp",this.appid))}},mounted:function(){},methods:{changeApp:function(t){this.$emit("changeApp",t)},renderContent:function(t,e){var n=e.node,r=e.data,o=n.label||r.name;console.log(n,r,o);var a={attrs:{style:"width:18px; height:18px;padding-right:5px",src:"/icons/b-allexpansion.png"}};return t("div",{attrs:{style:"display:flex;align-items:center"}},[t("img",a),t("span",{attrs:{style:"font-size:14px",title:"".concat(o)}},[o])])},treeHandleNodeClick:function(t,e){this.currNode={data:t,node:e},1===e.level&&null===t.children&&(this.isParent=!0),this.$emit("treeHandleNodeClick",t,e)},handleClose:function(){this.export="",this.dialogVisible=!1},onFileChange:function(t,e){e.length>1&&e.splice(0,1),this.uploadInput=t.name},submitUploadFile:function(t){this.ePartFile=t},submitUpload:function(t){var e=this,n=new FormData;""!==this.ePartFile&&(n.append("file",this.ePartFile.file),Object(w["d"])(this.action,n).then((function(t){e.dialogVisible=!1,e.currNode.data&&e.$emit("treeHandleNodeClick",e.currNode.data,e.currNode.node)})))},checkrows:function(t){this.selectedRows=t},exportFormConfig:function(){var t=this;if(0!==this.selectedRows.length){var e={items:[{fieldName:"typeKey",operator:"IN",value:this.selectedRows.map((function(t){return t.name}))}],operator:"AND"};Object(x["a"])(e).then((function(e){t.downLoadFileUrl(e),t.selectedRows=[],t.dialogVisible=!1})).catch((function(e){var n=e.data&&e.data.message;t.$utils.showMessageWarning(n||"数据包下载出错:未找到数据包内容的下载链接,请联系管理员排查问题!")}))}else this.$message.warning("请先选择模型")},downLoadFileUrl:function(t){var e=this;if(t.headers["content-disposition"]){var n=decodeURI(t.headers["content-disposition"].substring(t.headers["content-disposition"].indexOf("=")+1,t.headers["content-disposition"].length)),r=window.URL.createObjectURL(new Blob([t.data],{type:t.headers["content-type"]}));this.$utils.downLoadFileUrl(r,n)}else if(t.data instanceof Blob){var o=new FileReader;o.addEventListener("loadend",(function(){var t=o.result&&JSON.parse(o.result);e.$utils.showMessageWarning(t?t.message:"数据包下载出错:未找到数据包内容的下载链接,请联系管理员排查问题!")})),o.readAsText(t.data,"utf-8")}else{var a=t.data&&t.data.message;this.$utils.showMessageWarning(a||"数据包下载出错:未找到数据包内容的下载链接,请联系管理员排查问题!")}}}},_=O,C=(n("d6ec"),Object(g["a"])(_,v,b,!1,null,null,null)),j=C.exports,L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._v("预览")])},T=[],N={name:"Preview",props:{},data:function(){return{}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{}},E=N,k=(n("e1ec"),Object(g["a"])(E,L,T,!1,null,null,null)),D=k.exports,A={props:{},data:function(){return{treeData:[],appId:"",apps:[]}},mounted:function(){this.getApps()},methods:{getApps:function(){var t=this;Object(x["c"])().then((function(e){t.apps=e.items.filter((function(t){return t.published})).map((function(t){return{label:t.displayName,value:t.id}}))}))},changeApp:function(t){this.appId=t,this.getModelTree(t)},getModelTree:function(t){var e=this;Object(x["f"])({appId:t}).then((function(t){e.treeData=t.items}))}}},S={props:{},data:function(){return{node:null,model:null}},watch:{},computed:{},created:function(){},mounted:function(){},methods:{changeModel:function(t,e){this.node=e,this.model=t}}},I={props:{},data:function(){return{}},watch:{},computed:{},created:function(){},mounted:function(){},methods:{changeLayout:function(t){this.configData=t}}},M={name:"ConfigSettings",components:{layoutConfig:y,ModelTree:j,preview:D},mixins:[A,S,I],props:{},data:function(){return{offset:.15,configData:null}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{changeConfigData:function(t){this.configData=t}}},R=M,P=(n("6d5f"),Object(g["a"])(R,r,o,!1,null,null,null));e["default"]=P.exports},"2be6":function(t,e,n){"use strict";function r(t,e,n,r,o,a,i,c){var s,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),i?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(t,e){return s.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"382d":function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"3fbd":function(t,e,n){var r=n("b8c4");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("0ed3").default;o("7245b6da",r,!0,{sourceMap:!1,shadowMode:!1})},"402c":function(t,e,n){var r=n("d0e9"),o=n("ad8d"),a=n("0b04"),i=n("78d3"),c=n("25a6"),s=n("cd30"),u=Object.getOwnPropertyDescriptor;e.f=n("3d85")?u:function(t,e){if(t=a(t),e=i(e,!0),s)try{return u(t,e)}catch(n){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},"41cb":function(t,e,n){var r=n("5eaa");e=r(!1),e.push([t.i,"",""]),t.exports=e},"42c2":function(t,e,n){"use strict";function r(t,e,n,r,o,a,i){try{var c=t[a](i),s=c.value}catch(u){return void n(u)}c.done?e(s):Promise.resolve(s).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function c(t){r(i,o,a,c,s,"next",t)}function s(t){r(i,o,a,c,s,"throw",t)}c(void 0)}))}}n.d(e,"a",(function(){return o}))},"4f72":function(t,e,n){"use strict";var r=n("ef37"),o=n("af6b")(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n("96ba")("includes")},"4fe7":function(t,e,n){var r=n("a740");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("0ed3").default;o("890576a0",r,!0,{sourceMap:!1,shadowMode:!1})},"5eaa":function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"===typeof btoa){var a=o(r),i=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(i).concat([a]).join("\n")}return[n].join("\n")}function o(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"===typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},6400:function(t,e,n){"use strict";n.d(e,"f",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l}));var r=n("751a");function o(t){return Object(r["c"])("/ModelDefinition/all/base/tree",t)}function a(){return Object(r["c"])("/ModelApp/all")}function i(t,e){return Object(r["c"])("/ModelDefinition/links",{curModelName:t,refModelName:e})}function c(t){return Object(r["c"])("/ModelAttr/".concat(t,"?onlyBase=false"))}function s(t){return Object(r["c"])("/ModelDefinition/".concat(t,"/relation"))}function u(t){return Object(r["b"])("/model/form/config/export?generateOperator=VOTOXML",t)}function l(t){return Object(r["c"])("/ModelDefinition/viewModel",t)}},"6d5f":function(t,e,n){"use strict";n("4fe7")},"751a":function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return f}));var r=n("8bbf"),o=n.n(r),a=o.a.__share_pool__=o.a.__share_pool__||{},i=a.http=a.http||{};function c(t,e){return i.get(t,e)}function s(t,e){return i.post(t,e)}function u(t,e){return i.put(t,e)}function l(t,e){return i.del(t,e)}function f(t,e){return i.downloadZip(t,e)}},8222:function(t,e,n){var r=n("d951")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(o){}}return!0}},"84e7":function(t,e,n){var r=n("194e"),o=n("ed99").set;t.exports=function(t,e,n){var a,i=e.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(t,a),t}},"8bf5":function(t,e,n){var r=n("c287");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("0ed3").default;o("fbd9db78",r,!0,{sourceMap:!1,shadowMode:!1})},a740:function(t,e,n){var r=n("5eaa");e=r(!1),e.push([t.i,".config-settings-page{background-color:#fff}.config-settings-page .left-part{padding:8px}.config-settings-page .right-part{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.config-settings-page .layout-config-cmp{width:50%;margin-right:10px;padding:8px}.config-settings-page .preview-cmp{padding:8px;-webkit-box-flex:1;-ms-flex:1;flex:1}",""]),t.exports=e},ac95:function(t,e,n){var r=n("ef37"),o=n("c8ae"),a=n("a124"),i=n("382d"),c="["+i+"]",s="​…",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),f=function(t,e,n){var o={},c=a((function(){return!!i[t]()||s[t]()!=s})),u=o[t]=c?e(p):i[t];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},p=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},b8c4:function(t,e,n){var r=n("5eaa");e=r(!1),e.push([t.i,".prop-tree-com{height:100%}.prop-tree-com .app-tools{margin:0 0 10px 6px}.prop-tree-com .header-wrap{padding:0 8px;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap}.prop-tree-com .model-icon{border-width:0;color:#2a75ce}.prop-tree-com .custom-tree-node{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;font-size:14px}.importTemp-com .border-none{border:none;color:#2678cb}.importTemp-com .border-none img{padding-left:15px;width:18px;height:16px}.importTemp-com .info{background:#eee;padding:10px 15px;margin-bottom:20px}.flex-c{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.export-wrap .dee-table{margin-bottom:20px}",""]),t.exports=e},ba6c:function(t,e,n){var r=n("41cb");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("0ed3").default;o("5d772ad2",r,!0,{sourceMap:!1,shadowMode:!1})},c287:function(t,e,n){var r=n("5eaa");e=r(!1),e.push([t.i,"",""]),t.exports=e},c532:function(t,e,n){t.exports=n.p+"img/upLoad.52b8c7f0.png"},c74b:function(t,e,n){var r=n("dd61"),o=n("eaa3").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},c880:function(t,e,n){var r=n("6f0d").f,o=Function.prototype,a=/^\s*function ([^ (]*)/,i="name";i in o||n("3d85")&&r(o,i,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},ce9c:function(t,e,n){"use strict";var r=n("0e8c"),o=n("25a6"),a=n("b735"),i=n("84e7"),c=n("78d3"),s=n("a124"),u=n("c74b").f,l=n("402c").f,f=n("6f0d").f,p=n("ac95").trim,d="Number",h=r[d],g=h,m=h.prototype,y=a(n("bec8")(m))==d,v="trim"in String.prototype,b=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():p(e,3);var n,r,o,a=e.charCodeAt(0);if(43===a||45===a){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var i,s=e.slice(2),u=0,l=s.length;u<l;u++)if(i=s.charCodeAt(u),i<48||i>o)return NaN;return parseInt(s,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(y?s((function(){m.valueOf.call(n)})):a(n)!=d)?i(new g(b(e)),n,h):b(e)};for(var w,x=n("3d85")?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;x.length>O;O++)o(g,w=x[O])&&!o(h,w)&&f(h,w,l(g,w));h.prototype=m,m.constructor=h,n("e385")(r,d,h)}},d6ec:function(t,e,n){"use strict";n("3fbd")},da71:function(t,e,n){"use strict";n.d(e,"e",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"a",(function(){return i})),n.d(e,"j",(function(){return c})),n.d(e,"l",(function(){return s})),n.d(e,"h",(function(){return u})),n.d(e,"i",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"d",(function(){return h})),n.d(e,"k",(function(){return g}));var r=n("751a");function o(t,e){return Object(r["c"])("/model/form/config/layout",{layoutType:e,typeKey:t})}function a(t,e){return Object(r["c"])("/model/form/config/related/layout",{layoutType:e,typeKey:t})}function i(t){return Object(r["d"])("/model/form/config/layout",t)}function c(t){return Object(r["a"])("/model/form/config/ids",{data:t})}function s(t){return Object(r["e"])("/model/form/config/layout",t)}function u(t){return Object(r["d"])("/AppLayout/",t)}function l(t){return Object(r["e"])("/AppLayout/",t)}function f(t){return Object(r["c"])("/AppLayout/find/".concat(t))}function p(t){return Object(r["c"])("/perm/PageResource/onlyKeyName?prefix=".concat(t))}function d(t,e){return Object(r["c"])("/ModelAttr/dynamic",{appId:t,modelId:e})}function h(){return Object(r["c"])("/AppLayout/all")}function g(t){return Object(r["a"])("/AppLayout/deleteall",{data:t})}},dafe:function(t,e,n){var r=n("eb58"),o=n("c8ae");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},df26:function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(A){s=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),i=new E(r||[]);return a._invoke=j(t,n,i),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",g={};function m(){}function y(){}function v(){}var b={};s(b,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(k([])));x&&x!==n&&r.call(x,a)&&(b=x);var O=v.prototype=m.prototype=Object.create(b);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function n(o,a,i,c){var s=l(t[o],t,a);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"===typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return n("throw",t,i,c)}))}c(s.arg)}var o;function a(t,r){function a(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(a,a):a()}this._invoke=a}function j(t,e,n){var r=f;return function(o,a){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return D()}n.method=o,n.arg=a;while(1){var i=n.delegate;if(i){var c=L(i,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var s=l(t,e,n);if("normal"===s.type){if(r=n.done?h:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function L(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=l(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function k(t){if(t){var n=t[a];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){while(++o<t.length)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:D}}function D(){return{value:e,done:!0}}return y.prototype=v,s(O,"constructor",v),s(v,"constructor",y),y.displayName=s(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},_(C.prototype),s(C.prototype,i,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new C(u(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},_(O),s(O,c,"Generator"),s(O,a,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=k,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},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),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},e1ec:function(t,e,n){"use strict";n("ba6c")},ed99:function(t,e,n){var r=n("194e"),o=n("8c7e"),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("124c")(Function.call,n("402c").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}}}]);
\ No newline at end of file
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-a03a5542"],{"0ed3":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(t),n.d(t,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){u=n,d=o||{};var a=r(e,t);return v(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}t?(a=r(e,t),v(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(g(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function b(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=b()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=b(),t=_.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function _(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},1244:function(e,t,n){var r=n("5eaa");t=r(!1),t.push([e.i,'.secretMatrix-cmp{width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px}.secretMatrix-cmp .first-col{position:relative;height:60px}.secretMatrix-cmp .first-col span{position:absolute}.secretMatrix-cmp .first-col span:first-child{right:0;top:0}.secretMatrix-cmp .first-col span:last-child{left:0;bottom:0}.secretMatrix-cmp .el-table__header .el-table__cell.col-th{position:relative}.secretMatrix-cmp .el-table__header .el-table__cell.col-th:before{content:"";display:inline-block;width:300px;height:1px;background:#ebeef5;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:rotate(29deg);transform:rotate(29deg);position:absolute;top:0;left:0}',""]),e.exports=t},"2be6":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"48fc":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"deeLoading",rawName:"v-deeLoading",value:e.loading,expression:"loading"}],staticClass:"secretMatrix-cmp"},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[n("el-table-column",{attrs:{prop:"title",align:"center",width:"150","class-name":"col-th"},scopedSlots:e._u([{key:"header",fn:function(){return[n("div",{staticClass:"first-col"},[n("span",[e._v("业务对象密级")]),n("span",[e._v("用户密级")])])]},proxy:!0}])}),e._l(e.tableColums,(function(t,r){return n("el-table-column",{key:r,attrs:{prop:t.key,label:t.title,align:t.align},scopedSlots:e._u([{key:"default",fn:function(r){return[n("el-switch",{on:{change:function(n){return e.onChange(n,r.row,t.key)}},model:{value:r.row[t.key],callback:function(n){e.$set(r.row,t.key,n)},expression:"scope.row[c.key]"}})]}}],null,!0)})}))],2)],1)},o=[],i=n("e300"),a=(n("e285"),n("2e73"),n("751a")),s={data:function(){return{loading:!1,tableData:[],tableColums:[]}},created:function(){this.loadDicData()},methods:{loadSecretMatrix:function(e,t){var n=this;Object(a["c"])("/SecretCodeMatrix/getSecretMatrix").then((function(r){var o=r.items,i=[];t.forEach((function(t){var n={title:t.label,rowKey:t.value},r=o[t.value]||{};e.forEach((function(e){var t=e.value;n[t]=r[t]||!1})),i.push(n)})),n.tableData=i}))},loadDicData:function(){var e=this,t=["SecretCode","UserSecretCode"].map((function(t){return e.$utils.getDicListByCode(t)}));Promise.all(t).then((function(t){e.setTableCols(t[0]),e.loadSecretMatrix(t[0],t[1])}))},setTableCols:function(e){this.tableColums=e.map((function(e){return{title:e.label,key:e.value,align:"center"}}))},onChange:function(e,t,n){var r=this,o={flag:e,secretCode:n,userSecretCode:t.rowKey};this.loading=!0,Object(a["d"])("/SecretCodeMatrix/modifySecretMatrix?"+this.objToQueryStr(o)).then((function(e){r.$message.success("状态更新成功")})).finally((function(){r.loading=!1}))},objToQueryStr:function(e){var t=[];if(e&&"object"===Object(i["a"])(e))for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}}},c=s,u=(n("6719"),n("2be6")),l=Object(u["a"])(c,r,o,!1,null,null,null);t["default"]=l.exports},"5eaa":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},6719:function(e,t,n){"use strict";n("d93d")},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d}));var r=n("8bbf"),o=n.n(r),i=o.a.__share_pool__=o.a.__share_pool__||{},a=i.http=i.http||{};function s(e,t){return a.get(e,t)}function c(e,t){return a.post(e,t)}function u(e,t){return a.put(e,t)}function l(e,t){return a.del(e,t)}function d(e,t){return a.downloadZip(e,t)}},d93d:function(e,t,n){var r=n("1244");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("0ed3").default;o("7099ec4a",r,!0,{sourceMap:!1,shadowMode:!1})},e285:function(e,t,n){"use strict";var r=n("7c6c")(!0);n("dcce")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},e300:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return r}))}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-config"]=window["webpackJsonp-dee-config"]||[]).push([["chunk-dce2f152"],{"01b0":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"06ef":function(e,t,n){"use strict";var i=n("8c7e"),a=n("01b0"),r=n("742b");n("fe99")("search",1,(function(e,t,n,o){return[function(n){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=o(n,e,this);if(t.done)return t.value;var s=i(e),c=String(this),l=s.lastIndex;a(l,0)||(s.lastIndex=0);var u=r(s,c);return a(s.lastIndex,l)||(s.lastIndex=l),null===u?-1:u.index}]}))},"0ed3":function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},a=0;a<t.length;a++){var r=t[a],o=r[0],s=r[1],c=r[2],l=r[3],u={id:e+":"+a,css:s,media:c,sourceMap:l};i[o]?i[o].parts.push(u):n.push(i[o]={id:o,parts:[u]})}return n}n.r(t),n.d(t,"default",(function(){return h}));var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,a){l=n,d=a||{};var o=i(e,t);return m(o),function(t){for(var n=[],a=0;a<o.length;a++){var s=o[a],c=r[s.id];c.refs--,n.push(c)}t?(o=i(e,t),m(o)):o=[];for(a=0;a<n.length;a++){c=n[a];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete r[c.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],i=r[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(v(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(v(n.parts[a]));r[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,n,i=document.querySelector("style["+p+'~="'+e.id+'"]');if(i){if(l)return u;i.parentNode.removeChild(i)}if(f){var a=c++;i=s||(s=g()),t=y.bind(null,i,a,!1),n=y.bind(null,i,a,!0)}else i=g(),t=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,i){var a=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=b(t,a);else{var r=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(r,o[t]):e.appendChild(r)}}function x(e,t){var n=t.css,i=t.media,a=t.sourceMap;if(i&&e.setAttribute("media",i),d.ssrId&&e.setAttribute(p,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},1842:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu-com menuManageCmp page-wrap"},[n("div",{staticClass:"mtb10"},[n("span",{staticClass:"menu-span"},[e._v("工作空间:"+e._s(e.getWorkspaceName))]),n("span",{staticClass:"menu-span"},[e._v("视图:"+e._s(e.getViewName))])]),n("dee-table",{ref:"multipleTable",attrs:{data:e.tableData,columns:e.tableColums,options:e.optionsTree,"is-tree-data":!0,"selection-row":""},on:{"selection-change":e.checkrows,handleEdit:e.handleEdit}},[n("dee-tools",{attrs:{slot:"header",tools:e.tools,mode:"normal",collapse:!1},slot:"header"})],1),n("edit",{attrs:{"view-id":e.viewId,"dialog-visible":e.dialogVisible,"table-data":e.tableData,item:e.item},on:{handleClose:e.handleClose,getList:e.getList}}),n("import-menu",{attrs:{"dialog-visible":e.importDialogVisible},on:{handleClose:e.handleClose,getList:e.getList}})],1)},a=[],r=(n("06ef"),n("751a"));function o(e){return Object(r["b"])("/perm/PageResource/menuExport?generateOperator=VOTOXML",e)}var s=n("f725"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dee-dialog",{staticClass:"edit-com",attrs:{"dialog-visible":e.dialogVisible,title:e.item?"编辑菜单":"新增菜单",width:"40%"},on:{handleClose:e.handleClose}},[n("dee-form",{ref:"editForm",attrs:{form:e.form,"form-data":e.editData,"form-btn-position":"center",rules:e.formRules,inline:!0}}),n("span",{staticClass:"dialogBtn"},[n("el-button",{staticClass:"searchBtn",attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("确定")]),n("el-button",{staticClass:"searchBtn",on:{click:e.handleClose}},[e._v("取消")])],1)],1)},l=[],u=(n("2e73"),n("c880"),n("ce9c"),n("ec26")),d={name:"Edit",components:{},props:{dialogVisible:{type:Boolean,default:!1},item:{type:Object,default:null},viewId:{type:Number,default:null},tableData:{type:Array,default:function(){return[]}}},data:function(){var e=this,t=function(t,n,i){n&&n.length&&n[n.length-1]===e.form.id?i(new Error("不能选择自己作为父级")):i()},n=function(t,n,i){e.needCheckPage?n?i():i(new Error("请选择页面")):i()};return{needCheckPage:!0,form:{isContent:null,name:null,parentIdArr:null,resourceNum:null,route:null,iconPath:null,appId:null,pageId:null,remark:null,sort:null},editData:[{data:[{key:"isContent",title:"类型",component:{name:"el-radio",options:[{label:"目录",value:!0},{label:"菜单",value:!1}]},handler:{change:function(t){e.form.appId="",e.form.pageId="",e.handleTypeChange(t)}}},{key:"name",title:"菜单名称",component:{name:"el-input"}},{key:"parentIdArr",title:"父级菜单",component:{name:"el-cascader",options:[],clearable:!0,props:{checkStrictly:!0,expandTrigger:"hover"}}},{key:"resourceNum",title:"资源代号",component:{name:"el-input"}},{key:"iconPath",title:"图标路径",component:{name:"el-input"}},{key:"appId",title:"APP",component:{name:"el-select",options:[],clearable:!0,disabled:!1},handler:{change:function(t){e.getPages(t,(function(t){var n=t.map((function(e){return{label:"".concat(e.name)+(e.remark?"(".concat(e.remark,")"):""),value:e.id}}));e.$utils.findFormProp(e.editData,"pageId").component.options=n,e.form.pageId&&n.filter((function(t){return t.value===e.form.pageId})).length<=0&&e.$nextTick((function(){e.$set(e.form,"pageId","")}))}))}}},{key:"pageId",title:"页面",component:{name:"el-select",options:[],clearable:!0,disabled:!1,filterable:!0}},{key:"remark",title:"描述",width:3,component:{name:"el-input",type:"textarea",rows:"2"}},{key:"sort",title:"排序",component:{name:"el-input",type:"number",min:0}}]}],formRules:{isContent:[{required:!0,message:"请选择",trigger:"blur"}],name:[{required:!0,message:"请输入",trigger:"blur"}],pageId:[{validator:n,trigger:"blur"}],parentIdArr:[{validator:t,trigger:"blur"}]},DxApplicationPageService:this.$getService("DxApplicationPage")}},watch:{item:{deep:!0,immediate:!0,handler:function(e){e&&(this.form=e||{},this.findSelectedItem(this.filterData(this.tableData,[]),this.form.id),this.handleTypeChange(e.isContent))}},dialogVisible:{handler:function(e){var t=this;if(e&&this.form.pageId){var n=this.DxApplicationPageService.newSearchItems();n.$addItem("id",this.form.pageId),this.DxApplicationPageService.query().openProp().search(n).then((function(e){e.content&&e.content.length>0&&t.$set(t.form,"appId",e.content[0].appId)}))}}},tableData:{deep:!0,immediate:!0,handler:function(e){e&&(this.$utils.findFormProp(this.editData,"parentIdArr").component.options=this.filterData(e,[]))}}},created:function(){},mounted:function(){var e=this;this.$nextTick((function(){e.getApps()}))},methods:{handleTypeChange:function(e){this.needCheckPage=!e,this.$utils.findFormProp(this.editData,"appId").component.disabled=!1,this.$utils.findFormProp(this.editData,"pageId").component.disabled=!1},getPages:function(e,t){var n=this.DxApplicationPageService.newSearchItems();n.$addItem("appId",e),this.DxApplicationPageService.query().openProp().search(n).then((function(e){t(e.content||[])}))},getApps:function(){var e=this,t=[];t=[];var n={searchItems:{operator:"AND",items:t},openProps:[{name:"source"},{name:"target"},{name:"target.dxApplicationApplicationGroupVOS"}]};u["a"].getApps(n).then((function(t){if(t.items&&Array.isArray(t.items.content)&&t.items.content.length>0){var n=t.items.content.filter((function(e){return e.target})).map((function(e){return{label:e.target.name,value:e.target.id}}));e.$utils.findFormProp(e.editData,"appId").component.options=e.uniqueByKey(n,"value")}}))},uniqueByKey:function(e,t){var n={};return e.reduce((function(e,i){return n[i[t]]||(n[i[t]]=!0,e.push(i)),e}),[])},findSelectedItem:function(e,t){var n=this;e.map((function(e){e.value===t?n.form.parentIdArr=e.parentIds:e.children&&e.children.length&&n.findSelectedItem(e.children,t)}))},filterData:function(e,t){var n=this,i=[];return e instanceof Array&&e.forEach((function(e){var a={value:e.id,label:e.name,parentIds:JSON.parse(JSON.stringify(t)),disabled:!e.isContent};e.parentId&&a["parentIds"].push(e.parentId),e.children&&e.children.length&&(a["children"]=n.filterData(e.children,a.parentIds)),i.push(a)})),i},handleSubmit:function(){var e=this;this.$refs["editForm"].$refs.form.validate((function(t){if(t){var n=JSON.parse(JSON.stringify(e.form)),i=e.form.parentIdArr;n.parentId=i&&i.length?i[i.length-1]:"",delete n.parentIdArr,e.handleSubmitAjax(n)}}))},handleSubmitAjax:function(e){var t=this;e.dxApplicationView={id:this.viewId},e.isStartPage=!1,e.isOrgSpecial=!1,e.id&&e.pageId&&(e.dxApplicationPageVO={id:-1},e.dxApplicationPageVO.id=e.pageId);var n=e.id?s["d"]:s["a"];n(e).then((function(e){t.$emit("handleClose"),t.$emit("getList"),t.form={},t.$utils.showMessageSuccess(e.message)}))},handleClose:function(){this.form={},this.$emit("handleClose")},handleAdd:function(){this.$emit("handleAdd")}}},p=d,f=n("2be6"),h=Object(f["a"])(p,c,l,!1,null,null,null),m=h.exports,g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dee-dialog",{attrs:{"dialog-visible":e.dialogVisible,title:"导入菜单",width:"60%"},on:{handleClose:e.handleClose}},[n("div",{staticClass:"importTemp-com"},[n("el-upload",{ref:"upload",attrs:{action:e.action,headers:e.headers,multiple:!1,"on-change":e.onFileChange,accept:e.accept,"http-request":e.submitUploadFile}},[n("el-button",{staticClass:"border-none"},[e._v("选择文件: "),n("img",{attrs:{src:"/icons/settledlcons/upLoad.png"}})])],1),n("div",{staticClass:"info"},[n("p",{staticStyle:{color:"rgb(153 152 152)"}},[e._v("说明:导入格式要求zip")])]),n("div",{staticClass:"flex-c"},[n("el-button",{staticClass:"searchBtn",attrs:{type:"primary"},on:{click:e.submitUpload}},[e._v("确定")]),n("el-button",{staticClass:"searchBtn",on:{click:e.handleClose}},[e._v("取消")])],1)],1)])},v=[],b={props:{dialogVisible:{type:Boolean,default:!1}},data:function(){return{accept:".zip",uploadInput:"",headers:{},action:"/perm/PageResource/menuImport?generateOperator=XMLTOVO"}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{onFileChange:function(e,t){t.length>1&&t.splice(0,1),this.uploadInput=e.name},submitUploadFile:function(e){this.ePartFile=e},submitUpload:function(e){var t=this,n=new FormData;if(!this.ePartFile||!this.ePartFile.file)return this.$utils.showMessageWarning("请选择文件");""!==this.ePartFile&&(n.append("file",this.ePartFile.file),Object(r["d"])(this.action,n).then((function(e){t.handleClose(),t.$emit("getList")})))},handleClose:function(){this.ePartFile="",this.$emit("handleClose")}}},y=b,x=(n("5915"),Object(f["a"])(y,g,v,!1,null,null,null)),I=x.exports,C={name:"MenuSetting",components:{Edit:m,ImportMenu:I},data:function(){var e=this;return{viewId:0,dialogVisible:!1,importDialogVisible:!1,item:null,selectedRows:[],tools:[{name:"新增",icon:"/icons/c-add.png",handler:{click:function(){e.handleEdit()}}},{name:"删除",icon:"/icons/c-creatbackups.png",handler:{click:function(){e.selectedRows.length?e.handleDelete(e.selectedRows):e.$utils.showMessageError("请选择需要删除的数据")}}}],tableData:[],tableColums:[{title:"菜单名称",key:"name",minWidth:180},{title:"操作",key:"operate",align:"center",component:{show:!0,name:"EditTableRow",props:{btns:[{operation:"编辑",handleClick:function(t,n){e.handleEdit(t)},icon:"/icons/c-edit.png",showFun:function(e){return!0}}]}},minWidth:100},{title:"菜单类型",key:"isContent",align:"center",minWidth:180,formatter:function(e,t){return!0===e.isContent?"目录":"菜单"}},{title:"路由",key:"dxApplicationPageVO.route",align:"center",hideTip:!0,minWidth:130,formatter:function(e,t){return e.isContent?"":e.dxApplicationPageVO?e.dxApplicationPageVO.route:""}},{title:"图标路径",key:"iconPath",align:"center",minWidth:120},{title:"排序",key:"sort",align:"center"},{title:"描述",key:"remark",align:"center",minWidth:180}],optionsTree:{fit:!0,defaultExpandAll:!0,highlightCurrentRow:!0,rowKey:"id"},DxApplicationMenuService:this.$getService("DxApplicationMenu")}},computed:{getViewName:function(){return this.$route.query.viewName},getWorkspaceName:function(){return this.$route.query.workspaceName}},created:function(){},mounted:function(){this.getList()},methods:{getList:function(){var e=this,t=this.$route.query.id;if(this.viewId=parseInt(t),t){var n=this.DxApplicationMenuService.newSearchItems();n.$addItem("viewId",t),this.DxApplicationMenuService.query().openProp(["dxApplicationWorkspace","dxApplicationView","dxApplicationPageVO","organization"]).search(n).then((function(t){e.tableData=e.$utils.generateTree(t.content,{pid:"parentId"})}))}},checkrows:function(e){this.selectedRows=e},handleDelete:function(e){var t=this;this.$utils.showConfirm("你是否确定删除选中的数据吗?","提示","warning","确定","取消",(function(){Object(s["b"])(t.selectedRows).then((function(e){t.getList(),t.selectedRows=[],t.$message.success("删除成功")}))}))},handleEdit:function(e){this.item=null,this.dialogVisible=!0,this.item=e},exportMenu:function(){var e=this;o({}).then((function(t){e.$utils.downLoadFile(t)})).catch((function(t){var n=t.data&&t.data.message;e.$utils.showMessageWarning(n||"数据包下载出错:未找到数据包内容的下载链接,请联系管理员排查问题!")}))},handleClose:function(){this.getList(),this.importDialogVisible=!1,this.dialogVisible=!1}}},w=C,A=(n("205a"),Object(f["a"])(w,i,a,!1,null,null,null));t["default"]=A.exports},"205a":function(e,t,n){"use strict";n("5493")},"2acd":function(e,t,n){var i=n("7ec6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("0ed3").default;a("557fed79",i,!0,{sourceMap:!1,shadowMode:!1})},"2be6":function(e,t,n){"use strict";function i(e,t,n,i,a,r,o,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},"382d":function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"402c":function(e,t,n){var i=n("d0e9"),a=n("ad8d"),r=n("0b04"),o=n("78d3"),s=n("25a6"),c=n("cd30"),l=Object.getOwnPropertyDescriptor;t.f=n("3d85")?l:function(e,t){if(e=r(e),t=o(t,!0),c)try{return l(e,t)}catch(n){}if(s(e,t))return a(!i.f.call(e,t),e[t])}},5493:function(e,t,n){var i=n("fb18");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("0ed3").default;a("dc55f9ba",i,!0,{sourceMap:!1,shadowMode:!1})},5915:function(e,t,n){"use strict";n("2acd")},"5eaa":function(e,t,n){"use strict";function i(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"===typeof btoa){var r=a(i),o=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([r]).join("\n")}return[n].join("\n")}function a(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"===typeof e&&(e=[[null,e,""]]);var a={};if(i)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(a[o]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);i&&a[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},"751a":function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var i=n("8bbf"),a=n.n(i),r=a.a.__share_pool__=a.a.__share_pool__||{},o=r.http=r.http||{};function s(e,t){return o.get(e,t)}function c(e,t){return o.post(e,t)}function l(e,t){return o.put(e,t)}function u(e,t){return o.del(e,t)}function d(e,t){return o.downloadZip(e,t)}},"7ec6":function(e,t,n){var i=n("5eaa");t=i(!1),t.push([e.i,".importTemp-com .border-none{border:none;color:#2678cb}.importTemp-com .border-none img{padding-left:15px;width:18px;height:16px}.importTemp-com .info{background:#eee;padding:10px 15px;margin-bottom:20px}.importTemp-com .flex-c{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}",""]),e.exports=t},"84e7":function(e,t,n){var i=n("194e"),a=n("ed99").set;e.exports=function(e,t,n){var r,o=t.constructor;return o!==n&&"function"==typeof o&&(r=o.prototype)!==n.prototype&&i(r)&&a&&a(e,r),e}},ac95:function(e,t,n){var i=n("ef37"),a=n("c8ae"),r=n("a124"),o=n("382d"),s="["+o+"]",c="​…",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var a={},s=r((function(){return!!o[e]()||c[e]()!=c})),l=a[e]=s?t(p):o[e];n&&(a[n]=l),i(i.P+i.F*s,"String",a)},p=d.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},c74b:function(e,t,n){var i=n("dd61"),a=n("eaa3").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},c880:function(e,t,n){var i=n("6f0d").f,a=Function.prototype,r=/^\s*function ([^ (]*)/,o="name";o in a||n("3d85")&&i(a,o,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},ce9c:function(e,t,n){"use strict";var i=n("0e8c"),a=n("25a6"),r=n("b735"),o=n("84e7"),s=n("78d3"),c=n("a124"),l=n("c74b").f,u=n("402c").f,d=n("6f0d").f,p=n("ac95").trim,f="Number",h=i[f],m=h,g=h.prototype,v=r(n("bec8")(g))==f,b="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=b?t.trim():p(t,3);var n,i,a,r=t.charCodeAt(0);if(43===r||45===r){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===r){switch(t.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+t}for(var o,c=t.slice(2),l=0,u=c.length;l<u;l++)if(o=c.charCodeAt(l),o<48||o>a)return NaN;return parseInt(c,i)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(v?c((function(){g.valueOf.call(n)})):r(n)!=f)?o(new m(y(t)),n,h):y(t)};for(var x,I=n("3d85")?l(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;I.length>C;C++)a(m,x=I[C])&&!a(h,x)&&d(h,x,u(m,x));h.prototype=g,g.constructor=h,n("e385")(i,f,h)}},ec26:function(e,t,n){"use strict";var i=n("751a");function a(e){return Object(i["d"])("/DxApplicationApplicationGroup/find/recursion",e)}function r(e){return Object(i["d"])("/DxApplication/saveApplication",e)}function o(e){return Object(i["e"])("/DxApplication/updateApplication",e)}function s(e,t){return Object(i["a"])("/DxApplication/deleteApplication/".concat(e,"/").concat(t))}t["a"]={getApps:a,addApp:r,editApp:o,delApp:s}},ed99:function(e,t,n){var i=n("194e"),a=n("8c7e"),r=function(e,t){if(a(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("124c")(Function.call,n("402c").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(a){t=!0}return function(e,n){return r(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:r}},f725:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("751a");function a(e){return Object(i["d"])("/DxApplicationMenu",e)}function r(e){return Object(i["e"])("/DxApplicationMenu",e)}function o(e,t,n){return Object(i["e"])("/DxApplicationMenu/batch/update",e)}function s(e){return Object(i["d"])("/DxApplicationMenu/delete",e)}t["c"]={add:a,edit:r,batchUpdate:o,batchDelete:s}},fb18:function(e,t,n){var i=n("5eaa");t=i(!1),t.push([e.i,".menuManageCmp{height:100%;overflow-y:auto;-webkit-box-sizing:border-box;box-sizing:border-box}.menuManageCmp .mtb10{margin:10px 0}.menuManageCmp .menu-span{font-size:18px;margin-right:200px}",""]),e.exports=t}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-workflow"]=window["webpackJsonp-dee-workflow"]||[]).push([["chunk-12d55490"],{"13d6":function(e,a,t){var n={"./":"7ca9","./DeeSelectRule":"7e69","./DeeSelectRule.vue":"7e69","./basicInfo":"9891","./basicInfo.vue":"9891","./current-task-owner":"5894","./current-task-owner.vue":"5894","./help-setting":"f006","./help-setting.vue":"f006","./index":"7ca9","./index.js":"7ca9","./moveAndZoom":"750a","./moveAndZoom.js":"750a","./participant-authOrg":"ba31","./participant-authOrg.vue":"ba31","./participant-creator":"7677","./participant-creator.vue":"7677","./participant-group":"c096","./participant-group.vue":"c096","./participant-org":"90ee","./participant-org.vue":"90ee","./participant-pboVar":"11e9","./participant-pboVar.vue":"11e9","./participant-rule":"9ea8","./participant-rule.vue":"9ea8","./participant-starter":"e09c","./participant-starter.vue":"e09c","./participant-team":"c26c","./participant-team.vue":"c26c","./participant-user":"b170","./participant-user.vue":"b170","./participant-var":"8275","./participant-var.vue":"8275","./process-owner":"07eb","./process-owner.vue":"07eb"};function r(e){var a=c(e);return t(a)}function c(e){if(!t.o(n,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=c,e.exports=r,r.id="13d6"},"7e69":function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e._self._c;return a("div",{staticClass:"-page"},[a("el-cascader",{attrs:{props:{expandTrigger:"click",lazy:!0,lazyLoad:e.lazyLoad,checkStrictly:!0},options:e.options},on:{change:e.handleChange},model:{value:e.cascaderData,callback:function(a){e.cascaderData=a},expression:"cascaderData"}})],1)},r=[],c=(t("a7e1"),t("a74e")),o=(t("e285"),t("9ebb"),t("df26"),t("42c2")),i=(t("c880"),t("ce9c"),t("8f6b")),p={components:{},props:{value:{type:[Object,Array,String,Number],default:null},itemObj:{type:Object,default:function(){}}},data:function(){return{showCascader:!1,hasObjOptions:!1,cascaderData:"",options:[],hasGetConfigData:!1}},computed:{},watch:{},mounted:function(){this.options.length||this.getFirstOptions()},methods:{getFirstOptions:function(){var e=this;Object(i["c"])({}).then((function(a){e.options=a.items.content?a.items.content.map((function(e){return{label:e.name,value:e.innerName,data:e,leaf:""}})):[]}))},lazyLoad:function(){var e=Object(o["a"])(Object(c["a"])().mark((function e(a,t){var n;return Object(c["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a&&a.data&&(a.data.children?setTimeout((function(){var e=Array.from(a.data);t(e)})):1===a.level?Object(i["findModelDefByServer"])({modelType:"BASE",serverName:a.value}).then((function(e){var a=e.items.map((function(e){return{value:e.name,label:e.displayName,leaf:"",data:e}}));t(a)})):2===a.level&&(n={indices:["DxDynamicCodeScope"],pageFrom:1,pageSize:10,openProps:[{name:"dynamicCode",pageFrom:1,pageSize:9999,items:[{fieldName:"serverName",operator:"EQ",value:a.parent.value},{fieldName:"modelName",operator:"EQ",value:a.value}]}],searchItems:{operator:"AND",children:[{operator:"AND",items:[{fieldName:"displayName",operator:"EQ",value:"pbo通用作用域"}]}]}},Object(i["getRules"])(n).then((function(e){var a=e.items.content.map((function(e){return{value:e.name,label:e.displayName,leaf:"leaf",data:e}}));t(a)}))));case 1:case"end":return e.stop()}}),e)})));function a(a,t){return e.apply(this,arguments)}return a}(),handleChange:function(e){console.log("vai=======",e)},isObj:function(e){return"[object Object]"===Object.prototype.toString.call(e)}}},u=p,s=t("2be6"),l=Object(s["a"])(u,n,r,!1,null,null,null);a["default"]=l.exports},9891:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e._self._c;return a("div",{staticClass:"basicInfo-com"},[a("dee-readable-form",{attrs:{"form-data":e.basicInfo}})],1)},r=[],c={name:"BasicInfo",components:{},props:{basicInfo:{type:Array,default:function(){return[]}}},data:function(){return{}},watch:{basicInfo:{handler:function(e,a){this.basicInfo=e}}},mounted:function(){},methods:{}},o=c,i=t("2be6"),p=Object(i["a"])(o,n,r,!1,null,null,null);a["default"]=p.exports}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-workflow"]=window["webpackJsonp-dee-workflow"]||[]).push([["chunk-764c250f"],{"13d6":function(e,a,t){var n={"./":"7ca9","./DeeSelectRule":"7e69","./DeeSelectRule.vue":"7e69","./basicInfo":"9891","./basicInfo.vue":"9891","./current-task-owner":"5894","./current-task-owner.vue":"5894","./help-setting":"f006","./help-setting.vue":"f006","./index":"7ca9","./index.js":"7ca9","./moveAndZoom":"750a","./moveAndZoom.js":"750a","./participant-authOrg":"ba31","./participant-authOrg.vue":"ba31","./participant-creator":"7677","./participant-creator.vue":"7677","./participant-group":"c096","./participant-group.vue":"c096","./participant-org":"90ee","./participant-org.vue":"90ee","./participant-pboVar":"11e9","./participant-pboVar.vue":"11e9","./participant-rule":"9ea8","./participant-rule.vue":"9ea8","./participant-starter":"e09c","./participant-starter.vue":"e09c","./participant-team":"c26c","./participant-team.vue":"c26c","./participant-user":"b170","./participant-user.vue":"b170","./participant-var":"8275","./participant-var.vue":"8275","./process-owner":"07eb","./process-owner.vue":"07eb"};function r(e){var a=c(e);return t(a)}function c(e){if(!t.o(n,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=c,e.exports=r,r.id="13d6"},"7e69":function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e._self._c;return a("div",{staticClass:"-page"},[a("el-cascader",{attrs:{props:{expandTrigger:"click",lazy:!0,lazyLoad:e.lazyLoad,checkStrictly:!0},options:e.options},on:{change:e.handleChange},model:{value:e.cascaderData,callback:function(a){e.cascaderData=a},expression:"cascaderData"}})],1)},r=[],c=(t("a7e1"),t("a74e")),o=(t("e285"),t("9ebb"),t("df26"),t("42c2")),i=(t("c880"),t("ce9c"),t("8f6b")),u={components:{},props:{value:{type:[Object,Array,String,Number],default:null},itemObj:{type:Object,default:function(){}}},data:function(){return{showCascader:!1,hasObjOptions:!1,cascaderData:"",options:[],hasGetConfigData:!1}},computed:{},watch:{},mounted:function(){this.options.length||this.getFirstOptions()},methods:{getFirstOptions:function(){var e=this;Object(i["c"])({}).then((function(a){e.options=a.items.content?a.items.content.map((function(e){return{label:e.name,value:e.innerName,data:e,leaf:""}})):[]}))},lazyLoad:function(){var e=Object(o["a"])(Object(c["a"])().mark((function e(a,t){var n;return Object(c["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a&&a.data&&(a.data.children?setTimeout((function(){var e=Array.from(a.data);t(e)})):1===a.level?Object(i["findModelDefByServer"])({modelType:"BASE",serverName:a.value}).then((function(e){var a=e.items.map((function(e){return{value:e.name,label:e.displayName,leaf:"",data:e}}));t(a)})):2===a.level&&(n={indices:["DxDynamicCodeScope"],pageFrom:1,pageSize:10,openProps:[{name:"dynamicCode",pageFrom:1,pageSize:9999,items:[{fieldName:"serverName",operator:"EQ",value:a.parent.value},{fieldName:"modelName",operator:"EQ",value:a.value}]}],searchItems:{operator:"AND",children:[{operator:"AND",items:[{fieldName:"displayName",operator:"EQ",value:"pbo通用作用域"}]}]}},Object(i["getRules"])(n).then((function(e){var a=e.items.content.map((function(e){return{value:e.name,label:e.displayName,leaf:"leaf",data:e}}));t(a)}))));case 1:case"end":return e.stop()}}),e)})));function a(a,t){return e.apply(this,arguments)}return a}(),handleChange:function(e){console.log("vai=======",e)},isObj:function(e){return"[object Object]"===Object.prototype.toString.call(e)}}},s=u,p=t("2be6"),l=Object(p["a"])(s,n,r,!1,null,null,null);a["default"]=l.exports},9891:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e._self._c;return a("div",{staticClass:"basicInfo-com"},[a("dee-readable-form",{attrs:{"form-data":e.basicInfo}})],1)},r=[],c={name:"BasicInfo",components:{},props:{basicInfo:{type:Array,default:function(){return[]}}},data:function(){return{}},watch:{basicInfo:{handler:function(e,a){this.basicInfo=e}}},mounted:function(){},methods:{}},o=c,i=t("2be6"),u=Object(i["a"])(o,n,r,!1,null,null,null);a["default"]=u.exports},a7e1:function(e,a,t){"use strict";t("bc66");var n=t("8c7e"),r=t("3c4f"),c=t("3d85"),o="toString",i=/./[o],u=function(e){t("e385")(RegExp.prototype,o,e,!0)};t("a124")((function(){return"/a/b"!=i.call({source:"a",flags:"b"})}))?u((function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!c&&e instanceof RegExp?r.call(e):void 0)})):i.name!=o&&u((function(){return i.call(this)}))},bc66:function(e,a,t){t("3d85")&&"g"!=/./g.flags&&t("6f0d").f(RegExp.prototype,"flags",{configurable:!0,get:t("3c4f")})}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -47,7 +47,7 @@
:basic-data="{id: editId}"
/>
</div>
<div v-show="showRight" :style="{height: searchBoxHeight}">
<div v-show="showRight" :style="{height: tableHeight}">
<dee-as-com
ref="DxGroupMemberLinkTable"
:lay-config="{
......@@ -69,6 +69,7 @@
import GroupTree from './components/groupTree'
import EditGroup from './components/editGroup'
import CopyGroup from './components/copy-group'
import elementResizeDetectorMaker from 'element-resize-detector'
export default {
name: 'Gruop',
components: { GroupTree, EditGroup, CopyGroup },
......@@ -86,23 +87,36 @@ export default {
editGroupId: '',
model: 0,
copyGroupItem: null,
showRight: false
showRight: false,
tableHeight: '100%'
}
},
computed: {
parentObject: function() {
return { parentNames: this.selectedGroup && this.selectedGroup.orgNames ? this.selectedGroup.orgNames.join('/') : '' }
},
searchBoxHeight: function() {
return this.$refs.searchBox ? this.$refs.searchBox.offsetHeight + 'px' : 'calc(100% - 78px)'
}
// searchBoxHeight: function() {
// return this.$refs.searchBox ? this.$refs.searchBox.offsetHeight + 'px' : 'calc(100% - 78px)'
// }
},
created() {
},
mounted() {
this.getGroups()
if (this.$refs.searchBox) {
this.watchSize()
}
},
methods: {
watchSize() {
const _this = this
var erd = elementResizeDetectorMaker()
erd.listenTo(this.$refs.searchBox, (element) => { // 这里的this.$refs.fan指定要监听的元素对象,对应的是<div ref="fan"></div>
_this.$nextTick(() => { // 这里填写监听改变后的操作
_this.tableHeight = `calc(100% - ${element.offsetHeight + 12}px)`
})
})
},
editSubmit() {
this.getGroups()
this.handleClose()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment