Commit f3aa0a61 authored by jingnan's avatar jingnan 👀

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

parent af64845c
(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-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-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
(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
(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
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
:basic-data="{id: editId}" :basic-data="{id: editId}"
/> />
</div> </div>
<div v-show="showRight" :style="{height: searchBoxHeight}"> <div v-show="showRight" :style="{height: tableHeight}">
<dee-as-com <dee-as-com
ref="DxGroupMemberLinkTable" ref="DxGroupMemberLinkTable"
:lay-config="{ :lay-config="{
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
import GroupTree from './components/groupTree' import GroupTree from './components/groupTree'
import EditGroup from './components/editGroup' import EditGroup from './components/editGroup'
import CopyGroup from './components/copy-group' import CopyGroup from './components/copy-group'
import elementResizeDetectorMaker from 'element-resize-detector'
export default { export default {
name: 'Gruop', name: 'Gruop',
components: { GroupTree, EditGroup, CopyGroup }, components: { GroupTree, EditGroup, CopyGroup },
...@@ -86,23 +87,36 @@ export default { ...@@ -86,23 +87,36 @@ export default {
editGroupId: '', editGroupId: '',
model: 0, model: 0,
copyGroupItem: null, copyGroupItem: null,
showRight: false showRight: false,
tableHeight: '100%'
} }
}, },
computed: { computed: {
parentObject: function() { parentObject: function() {
return { parentNames: this.selectedGroup && this.selectedGroup.orgNames ? this.selectedGroup.orgNames.join('/') : '' } 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() { created() {
}, },
mounted() { mounted() {
this.getGroups() this.getGroups()
if (this.$refs.searchBox) {
this.watchSize()
}
}, },
methods: { 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() { editSubmit() {
this.getGroups() this.getGroups()
this.handleClose() 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