hd-idevvue3 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.development +5 -0
- package/.env.production +5 -0
- package/README.md +22 -191
- package/dist/assets/index.774ef40e.css +1 -0
- package/dist/hd-idevvue3.mjs +45697 -0
- package/dist/hd-idevvue3.umd.js +153 -0
- package/index.html +1 -0
- package/npminstall-debug.log +10 -2
- package/package.json +35 -40
- package/pnpm-lock.yaml +2631 -0
- package/src/App.vue +15 -0
- package/src/assets/sound/notify.wav +0 -0
- package/src/demo/demo.vue +43 -0
- package/src/demo/dropdemo.vue +43 -0
- package/src/demo/extsets.vue +107 -0
- package/src/demo/formedit.vue +145 -0
- package/src/demo/hightquery.vue +169 -0
- package/src/demo/inlineedit.vue +88 -0
- package/src/demo/selfdrop.vue +41 -0
- package/src/demo//350/241/214/345/206/205/347/272/247/350/201/224.txt +2 -0
- package/src/directive/el-dragDialog/drag.js +124 -0
- package/src/directive/el-dragDialog/index.js +13 -0
- package/src/errorLog.js +16 -0
- package/src/hdcom/BigGrid.js +173 -0
- package/src/hdcom/BillShow.vue +90 -0
- package/src/hdcom/BillUpload.vue +253 -0
- package/src/hdcom/BtnRight.vue +98 -0
- package/src/hdcom/ErrHint.vue +30 -0
- package/src/hdcom/ExtendColumn.vue +108 -0
- package/src/hdcom/ExtendCommon.js +29 -0
- package/src/hdcom/ExtendForm.vue +114 -0
- package/src/hdcom/FacePicUpload.vue +71 -0
- package/src/hdcom/FaceRecTest.vue +104 -0
- package/src/hdcom/GridChart.vue +194 -0
- package/src/hdcom/GridExField.vue +281 -0
- package/src/hdcom/GridShow.vue +238 -0
- package/src/hdcom/HdAside.vue +178 -0
- package/src/hdcom/HdBtn.vue +113 -0
- package/src/hdcom/HdButton.vue +137 -0
- package/src/hdcom/HdComFaceRec.vue +58 -0
- package/src/hdcom/HdComGrid.vue +776 -0
- package/src/hdcom/HdComQuery.vue +273 -0
- package/src/hdcom/HdComQueryDetail.vue +161 -0
- package/src/hdcom/HdComSortDetail.vue +155 -0
- package/src/hdcom/HdDatePicker.vue +78 -0
- package/src/hdcom/HdDialog.vue +63 -0
- package/src/hdcom/HdDrop.vue +163 -0
- package/src/hdcom/HdFileUpload.vue +148 -0
- package/src/hdcom/HdFilterBox.vue +90 -0
- package/src/hdcom/HdFooter.vue +149 -0
- package/src/hdcom/HdForm.vue +278 -0
- package/src/hdcom/HdFormBtn.vue +89 -0
- package/src/hdcom/HdFormItem.vue +35 -0
- package/src/hdcom/HdGctosGrid +0 -0
- package/src/hdcom/HdGrid.vue +825 -0
- package/src/hdcom/HdGridEditBtn.vue +44 -0
- package/src/hdcom/HdGridExt.js +219 -0
- package/src/hdcom/HdGridSel.vue +223 -0
- package/src/hdcom/HdHeader.vue +148 -0
- package/src/hdcom/HdHotKey.vue +81 -0
- package/src/hdcom/HdInputHint.vue +49 -0
- package/src/hdcom/HdMain.vue +43 -0
- package/src/hdcom/HdMessage.vue +192 -0
- package/src/hdcom/HdNum.vue +69 -0
- package/src/hdcom/HdPopSel.vue +58 -0
- package/src/hdcom/HdRightMenu.vue +61 -0
- package/src/hdcom/HdSel/SelGridFieldcod.vue +36 -0
- package/src/hdcom/HdTableColumn.vue +334 -0
- package/src/hdcom/HdTempSave.vue +140 -0
- package/src/hdcom/HdTree.vue +86 -0
- package/src/hdcom/HdTreeTable/eval.js +34 -0
- package/src/hdcom/HdTreeTable/index.vue +174 -0
- package/src/hdcom/ImportExcel.vue +143 -0
- package/src/hdcom/index.js +80 -0
- package/src/idev.common.js +72 -0
- package/src/index.js +14 -0
- package/src/utils/HdQuery.js +54 -0
- package/src/utils/comutils.js +98 -0
- package/src/utils/utils.js +105 -0
- package/src/vendor/Blob.js +179 -0
- package/src/vendor/Export2Excel.js +220 -0
- package/src/vendor/Export2Zip.js +22 -0
- package/src/views/layout/AppMain.vue +32 -0
- package/src/views/layout/HdLayout.vue +78 -0
- package/src/views/layout/header/ElasticSearch.vue +225 -0
- package/src/views/layout/header/HZRecorder.js +231 -0
- package/src/views/layout/header/HeaderSearch.vue +198 -0
- package/src/views/layout/header/Levelbar.vue +49 -0
- package/src/views/layout/header/MainHeader.vue +271 -0
- package/src/views/layout/header/Navbar.vue +105 -0
- package/src/views/layout/header/ScrollPane.vue +81 -0
- package/src/views/layout/header/TagsView.vue +210 -0
- package/src/views/layout/header/VocRec.vue +97 -0
- package/src/views/layout/header/changepswform.vue +96 -0
- package/src/views/layout/index.js +12 -0
- package/src/views/layout/menu/Hamburger.vue +45 -0
- package/src/views/layout/menu/HdMenu.vue +167 -0
- package/src/views/layout/menu/css/menu.css +288 -0
- package/src/views/layout/menu/index.vue +25 -0
- package/src/views/privilege/commsg/commsg.vue +78 -0
- package/src/views/privilege/commsg/commsgOrgn.vue +42 -0
- package/src/views/privilege/commsg/commsgRole.vue +149 -0
- package/src/views/privilege/commsg/commsgform.vue +160 -0
- package/src/views/privilege/commsg/commsgiframe.vue +33 -0
- package/src/views/privilege/commsg/commsgto.vue +120 -0
- package/src/views/privilege/commsg/commsgtoform.vue +108 -0
- package/src/views/privilege/commsg/commsgtrans.vue +155 -0
- package/src/views/privilege/exfield/comexcolumn.vue +71 -0
- package/src/views/privilege/exfield/comexcolumnform.vue +101 -0
- package/src/views/privilege/exfield/comexfield.vue +31 -0
- package/src/views/privilege/exfield/comexfieldform.vue +94 -0
- package/src/views/privilege/exfield/comexfieldsub.vue +72 -0
- package/src/views/privilege/index.js +42 -0
- package/src/views/privilege/menu/comMenu.vue +41 -0
- package/src/views/privilege/menu/menu.vue +133 -0
- package/src/views/privilege/menu/menuinfo.vue +56 -0
- package/src/views/privilege/menu/rolelist.vue +47 -0
- package/src/views/privilege/menu/userlist.vue +49 -0
- package/src/views/privilege/mobile/authmobileupdate.vue +69 -0
- package/src/views/privilege/mobile/authmobileupdateform.vue +90 -0
- package/src/views/privilege/orgDept/authOrgn.vue +96 -0
- package/src/views/privilege/orgDept/authorgnform.vue +145 -0
- package/src/views/privilege/orgDept/orgDept.vue +37 -0
- package/src/views/privilege/orgDept/orgTree.vue +88 -0
- package/src/views/privilege/orgDept/orgnselect.vue +134 -0
- package/src/views/privilege/personDept/authuser.vue +123 -0
- package/src/views/privilege/personDept/authuserform.vue +154 -0
- package/src/views/privilege/personDept/facerec.vue +117 -0
- package/src/views/privilege/personDept/orgncascader.vue +125 -0
- package/src/views/privilege/personDept/personDept.vue +31 -0
- package/src/views/privilege/quartz/comquartzjob.vue +65 -0
- package/src/views/privilege/quartz/comquartzjobform.vue +99 -0
- package/src/views/privilege/quartz/comquartzlog.vue +59 -0
- package/src/views/privilege/role/btnRole.vue +117 -0
- package/src/views/privilege/role/menuRole.vue +64 -0
- package/src/views/privilege/role/orgnRole.vue +56 -0
- package/src/views/privilege/role/role.vue +67 -0
- package/src/views/privilege/role/rolelist.vue +67 -0
- package/src/views/privilege/role/roleselect.vue +57 -0
- package/src/views/privilege/search/comsearch.vue +105 -0
- package/src/views/privilege/search/menu.vue +52 -0
- package/src/views/privilege/syscode/syscode.vue +103 -0
- package/src/views/privilege/syscode/sysfield.vue +66 -0
- package/src/views/privilege/syscode/sysfieldframe.vue +30 -0
- package/src/views/privilege/syslog/menulog.vue +52 -0
- package/src/views/privilege/syslog/syslog.vue +115 -0
- package/src/views/privilege/syslog/syslogconfig.vue +61 -0
- package/src/views/privilege/syslog/syslogform.vue +83 -0
- package/src/views/privilege/syslog/syslogframe.vue +26 -0
- package/src/views/privilege/userRole/userRole.vue +122 -0
- package/src/views/privilege.zip +0 -0
- package/vite.config.js +93 -0
- package/.babelrc +0 -17
- package/.editorconfig +0 -14
- package/.eslintignore +0 -3
- package/.npminstall.done +0 -1
- package/.postcssrc.js +0 -8
- package/LICENSE +0 -21
- package/Listening +0 -28
- package/build/build.js +0 -70
- package/build/check-versions.js +0 -45
- package/build/config.js +0 -81
- package/build/dev-client.js +0 -9
- package/build/dev-server.js +0 -93
- package/build/utils.js +0 -78
- package/build/vue-loader.conf.js +0 -12
- package/build/webpack.common.js +0 -37
- package/build/webpack.component.js +0 -36
- package/build/webpack.prod.conf.js +0 -38
- package/components.json +0 -8
- package/conf.js +0 -42
- package/config/dev.env.js +0 -6
- package/config/index.js +0 -43
- package/config/prod.env.js +0 -6
- package/config/sit.env.js +0 -6
- package/favicon.ico +0 -0
- package/jsdoc-vue.js +0 -12
- package/lib/0.index.js +0 -12573
- package/lib/1.index.js +0 -6
- package/lib/2.index.js +0 -2
- package/lib/idev.common.js +0 -1
- package/lib/idv8.common.js +0 -1
- package/lib/index.js +0 -49170
- package/lib/js/ErrHint.js +0 -1
- package/lib/js/HdAside.js +0 -1
- package/lib/js/HdBtn.js +0 -1
- package/lib/js/HdButton.js +0 -1
- package/lib/js/HdComFaceRec.js +0 -1
- package/lib/js/HdComGrid.js +0 -1
- package/lib/js/HdDatePicker.js +0 -1
- package/lib/js/HdDialog.js +0 -1
- package/lib/js/HdDrop.js +0 -1
- package/lib/js/HdFileUpload.js +0 -1
- package/lib/js/HdFooter.js +0 -1
- package/lib/js/HdForm.js +0 -1
- package/lib/js/HdFormBtn.js +0 -1
- package/lib/js/HdFormItem.js +0 -1
- package/lib/js/HdGrid.js +0 -1
- package/lib/js/HdGridEditBtn.js +0 -1
- package/lib/js/HdGridSel.js +0 -1
- package/lib/js/HdHeader.js +0 -1
- package/lib/js/HdHotkey.js +0 -1
- package/lib/js/HdLayout.js +0 -1
- package/lib/js/HdMain.js +0 -1
- package/lib/js/HdMessage.js +0 -1
- package/lib/js/HdNum.js +0 -1
- package/lib/js/HdPopSel.js +0 -1
- package/lib/js/HdSearch.js +0 -1
- package/lib/js/HdTableColumn.js +0 -1
- package/lib/js/HdTempSave.js +0 -1
- package/lib/js/HdTree.js +0 -1
- package/lib/js/HdTreeTable.js +0 -1
- package/lib/js/authmobileupdate.js +0 -1
- package/lib/js/comexfield.js +0 -1
- package/lib/js/commsg.js +0 -1
- package/lib/js/commsgto.js +0 -1
- package/lib/js/comquartzjob.js +0 -1
- package/lib/js/comquartzlog.js +0 -1
- package/lib/js/comsearch.js +0 -1
- package/lib/js/menu.js +0 -1
- package/lib/js/menuinfo.js +0 -1
- package/lib/js/orgDept.js +0 -1
- package/lib/js/orgTree.js +0 -1
- package/lib/js/personDept.js +0 -1
- package/lib/js/role.js +0 -1
- package/lib/js/sysfieldframe.js +0 -1
- package/lib/js/syslog.js +0 -1
- package/lib/js/syslogframe.js +0 -1
- package/lib/js/userRole.js +0 -1
- package/ytgvue.rar +0 -0
package/lib/js/HdGrid.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(o){if(i[o])return i[o].exports;var n=i[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=24)}([function(e,t){e.exports=function(e,t,i,o,n,r){var l,s=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(l=e,s=e.default);var d="function"==typeof s?s.options:s;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0),i&&(d.functional=!0),n&&(d._scopeId=n);var c;if(r?(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(r)},d._ssrRegister=c):o&&(c=o),c){var u=d.functional,h=u?d.render:d.beforeCreate;u?(d._injectStyles=c,d.render=function(e,t){return c.call(t),h(e,t)}):d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:l,exports:s,options:d}}},function(e,t){function i(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var r=o(n);return[i].concat(n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"})).concat([r]).join("\n")}return[i].join("\n")}function o(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o=i(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o}).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},n=0;n<this.length;n++){var r=this[n][0];"number"==typeof r&&(o[r]=!0)}for(n=0;n<e.length;n++){var l=e[n];"number"==typeof l[0]&&o[l[0]]||(i&&!l[2]?l[2]=i:i&&(l[2]="("+l[2]+") and ("+i+")"),t.push(l))}},t}},function(e,t,i){function o(e){for(var t=0;t<e.length;t++){var i=e[t],o=c[i.id];if(o){o.refs++;for(var n=0;n<o.parts.length;n++)o.parts[n](i.parts[n]);for(;n<i.parts.length;n++)o.parts.push(r(i.parts[n]));o.parts.length>i.parts.length&&(o.parts.length=i.parts.length)}else{for(var l=[],n=0;n<i.parts.length;n++)l.push(r(i.parts[n]));c[i.id]={id:i.id,refs:1,parts:l}}}}function n(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function r(e){var t,i,o=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(o){if(p)return g;o.parentNode.removeChild(o)}if(m){var r=f++;o=h||(h=n()),t=l.bind(null,o,r,!1),i=l.bind(null,o,r,!0)}else o=n(),t=s.bind(null,o),i=function(){o.parentNode.removeChild(o)};return t(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;t(e=o)}else i()}}function l(e,t,i,o){var n=i?"":o.css;if(e.styleSheet)e.styleSheet.cssText=v(t,n);else{var r=document.createTextNode(n),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}function s(e,t){var i=t.css,o=t.media,n=t.sourceMap;if(o&&e.setAttribute("media",o),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}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 d=i(4),c={},u=a&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,g=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,i){p=i;var n=d(e,t);return o(n),function(t){for(var i=[],r=0;r<n.length;r++){var l=n[r],s=c[l.id];s.refs--,i.push(s)}t?(n=d(e,t),o(n)):n=[];for(var r=0;r<i.length;r++){var s=i[r];if(0===s.refs){for(var a=0;a<s.parts.length;a++)s.parts[a]();delete c[s.id]}}}};var v=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()},function(e,t,i){"use strict";t.a={name:"BtnRight",data:function(){return{btnRight:!0}},created:function(){},methods:{getName:function(){},checkRight:function(){if(!this.$store)return!0;var e=this.$store.state.user.hidBtns,t=this.findNameCombine();if(!t)return!0;var i=this.$route.name;if(e&&e.length>0)for(var o=0;o<e.length;o++){var n=e[o];n.menuId==i&&t==n.permissions&&(this.btnRight=!1)}},addBtnMetaToParent:function(){if(!this.$route.meta.btnRole)return!1;var e=this.findNameCombine();if(!e)return!1;var t={name:this.getName(),permissions:e};this.checkIsSame(t)||this.$route.meta.btnRole.push(t)},checkIsSame:function(e){for(var t=this.$route.meta.btnRole,i=0;i<t.length;i++){if(t[i].permissions==e.permissions)return!0}return!1},findNameCombine:function(){if(this.vid)return this.vid;var e=this.$vnode.context,t=e.$options.name;return"HdFormDialog"==t&&(t=this.findNameFromFile(e.$vnode.context.$options.name)),t||(t="noname"),t+"_"+this.getName()},findNameFromFile:function(e){if(!e)return!1;var t=e.split("\\");return t[t.length-1].split(".")[0]},findRoleSetParent:function(){for(var e=this.$parent.$parent;e&&"btnRole"==!e.$options.name;)e=e.$parent;return e}}}},function(e,t){e.exports=function(e,t){for(var i=[],o={},n=0;n<t.length;n++){var r=t[n],l=r[0],s=r[1],a=r[2],d=r[3],c={id:e+":"+n,css:s,media:a,sourceMap:d};o[l]?o[l].parts.push(c):i.push(o[l]={id:l,parts:[c]})}return i}},function(e,t,i){"use strict";var o=i(7);t.a={name:"HdBtn",mixins:[o.a],data:function(){return{}},props:{noRoleManage:Boolean,keyMap:Array,keyType:String,hotKeyRange:{type:String,default:"hd-com-grid"},icon:String,hint:String,vid:String},created:function(){this.noRoleManage||this.$route&&this.$route.meta.btnRoleCheck&&this.addBtnMetaToParent()},mounted:function(){var e=this;this.$nextTick(function(){e.$refs.hdbtn&&e.$refs.hdbtn.referenceElm&&e.$refs.hdbtn.referenceElm.setAttribute("tabindex",-1)}),this.checkRight()},computed:{addTextProp:function(){return this.nowKeyMap&&2==this.nowKeyMap.length?"("+this.nowKeyMap[1].toUpperCase()+")":""},nowKeyMap:function(){return this.keyMap?this.keyMap:this.keyType&&this.$keyMap?this.$keyMap[this.keyType]:void 0}},methods:{getName:function(){return this.hint+"(-)"},handleClick:function(e){this.$emit("click",e)},click:function(e){void 0!==this.$attrs.disabled&&!1!==this.$attrs.disabled||this.handleClick(e)}}}},function(e,t){e.exports=require("babel-runtime/helpers/toConsumableArray")},function(e,t,i){"use strict";var o=i(3),n=i(0),r=n(o.a,null,!1,null,null,null);t.a=r.exports},function(e,t){e.exports=require("babel-runtime/core-js/object/assign")},function(e,t){e.exports=require("babel-runtime/core-js/json/stringify")},function(e,t,i){"use strict";var o=i(11),n=i.n(o),r=i(8),l=i.n(r),s=i(6),a=i.n(s),d=i(27),c=i(33),u=i(39),h=i(42),f=i(48),p=i(49),g=i(18),m=i(54);t.a={name:"HdGrid",components:{HdRightMenu:m.a,GridShow:d.a,PdfShow:h.a,GridExField:c.a,ExtendColumn:p.a,HdBtn:g.default},mixins:[u.a,f.a],data:function(){return{disCol:[],oriCol:[],chiCol:[],colThis:[],menuId:"",gridId:"",queryShow:!0,excelAllExporting:!1,pdfAllExporting:!1,gridShowIs:!1,exFieldShowIs:!1,pdfShowIs:!1,gridCanReload:!0,isGridCustom:!1,exFieldRows:[],rightMenuVisable:!1,rightMenuRow:[],lastSelectRow:null}},inheritAttrs:!1,props:{hdResult:Object,hdAllResult:Object,hdQuery:{type:Object,default:function(){return{}}},height:{type:String,default:function(){return"100%"}},noSets:{type:Boolean,default:function(){return!1}},defaultSort:{type:Object,default:function(){return{prop:"updTim",order:"descending"}}},pageHide:Boolean,ckHide:Boolean,indexHide:Boolean,recHide:Boolean,rowClassName:Function,noExcelExport:[Array],excelPropHeader:Boolean,visualScroll:Boolean,pageSizes:[Array],exField:{type:Object,default:function(){return{open:!1,table:null,columnList:null}}},excelFormatter:Function,addHide:Boolean,delHide:Boolean,saveHide:Boolean,copyHide:Boolean,hdBtnTool:{type:Boolean,default:!0},rightMenuOpen:{type:Boolean,default:!1}},created:function(){this.$parent.$vnode.context.$options._componentTag?this.gridId=this.$parent.$vnode.context.$options._componentTag+"_"+this.$parent.$parent.$options._componentTag:this.gridId=this.$parent.$vnode.context.$options.name+"_"+this.$parent.$parent.$options._componentTag},mounted:function(){this.hdQuery.doSort(this.defaultSort,!0);var e=localStorage.getItem("page_"+this.gridId);e&&(this.hdQuery.rows=parseInt(e)),this.pageHide&&(this.hdQuery.page=null,this.hdQuery.rows=2e3,console.log("隐藏分页展示数据,最多展现2000条")),this.visualScroll&&this.initVisual(),this.exField.gridCode&&this.initExFieldRows(),this.$nextTick(function(){this.noSets||this.gridShow(!0)})},methods:{doAdd:function(){this.$emit("sel-ok","doAdd")},doRemove:function(){this.$emit("sel-ok","doRemove")},doSave:function(){this.$emit("sel-ok","doSave")},doCopy:function(){this.$emit("sel-ok","doCopy")},doUpdateOne:function(){this.$emit("sel-ok","doUpdateOne",this.rightMenuRow)},doRemoveOne:function(){this.$emit("sel-ok","doRemoveOne",this.rightMenuRow)},doCopyOne:function(){this.$emit("sel-ok","doCopyOne",this.rightMenuRow)},gridShow:function(e){e||(this.gridCanReload=!1),this.$nextTick(function(){this.gridCanReload=!0,this.$nextTick(function(){var t=this;!e&&this.visualScroll&&(this.initVisual(),this.initTableHeight()),this.oriCol=this.$refs.ingrid.store.states._columns,this.menuId=this.$route.name;var i="/webresources/login/com/ComGridShow/find?menuId="+this.menuId+"&gridId="+this.gridId;this.$http.post(i).then(function(e){t.isGridCustom=0!=e.data.length,t.disCol=t.gridCompute(t.oriCol,e.data),t.$refs.ingrid.store.states._columns=t.disCol.filter(function(e){return"0"!=e.showFlg}),console.log("显示序列条数",t.$refs.ingrid.store.states._columns.length),t.$refs.ingrid.store.updateColumns(),t.$nextTick(function(){this.$refs.ingrid.doLayout()})})})})},exFieldShow:function(){window.location.reload()},gridSets:function(){var e=this;this.gridShowIs=!0,this.$nextTick(function(){e.$refs.gridShow.show(e.disCol,e.menuId,e.gridId)})},exFieldSets:function(){var e=this;this.exFieldShowIs=!0,this.$nextTick(function(){e.$refs.exFieldShow.show()})},gridCompute:function(e,t){for(var i=this,o=[],n=[],r=0;r<e.length;r++){var l=e[r];l.showFlg="1",l._ori_label=l.label,l.label=l._ori_label;var s=!1;if(!l||l.property){for(var d=0;d<t.length;d++)if(l.property==t[d].property){s=!0;break}s||n.push(l)}else"right"==l.fixed?o.push(e[r]):o.push(l)}for(var c=0;c<t.length;c++){(function(n){var r=t[n];if(o.some(function(e){return e.property==r.property}))return console.log("已经重复"+r.property),"continue";for(var l=0;l<e.length;l++){var s=e[l];if("checkBox"==s.className&&(i.$set(s,"fixed","left"),i.$set(s,"className","checkBox backFF")),"selection"!=s.type&&"index"!=s.type||(i.$set(s,"fixed","left"),i.$set(s,"className","backFF")),s.property&&r.property==s.property){i.$set(s,"showFlg",r.showFlg),i.$set(s,"freezeFlg",r.freezeFlg),"1"==r.freezeFlg&&(i.$set(s,"fixed","left"),i.$set(s,"className","backFF"+s.className)),s.width=r.width,o.push(s);break}}})(c)}return o=[].concat(a()(o),n)},extSets:function(e){"gridSets"==e&&this.gridSets(),"exFieldSets"==e?this.exFieldSets():"pageExcel"==e?this.doPageExcel():"allExcel"==e?this.doAllExcel():"allPdf"==e?this.doAllPdf():"queryToggle"==e&&(this.queryShow=!this.queryShow),this.$emit("extSets",e)},getHdComGrid:function(){for(var e=this.$parent;e;){if("HdComGrid"==e.$options.name)return e;e=e.$parent}return null},myselectionChange:function(e){this.hdQuery&&(this.hdQuery.selObj=e),this.$emit("selection-change",e,!0)},myrowClick:function(e,t,i){if(i.shiftKey){var o=this.hdResult.rows.indexOf(this.hdQuery.selRow),n=this.hdResult.rows.indexOf(e);this.selectRowCube(o,n,!1)}else this.hdQuery.selRow=e;console.log("row-click",e,i,t)},myrowDblClick:function(e,t,i){this.$listeners["row-dblclick"]||1!=this.$route.path.indexOf("privilege")&&(this.$emit("sel-ok","doUpdateOne",e),this.hdQuery&&(this.hdQuery.selRow=e))},myrowContextmenu:function(e,t,i){if(this.hdQuery&&(this.rightMenuRow=e),this.rightMenuVisable=!1,i.preventDefault(),this.rightMenuOpen){var o=this.$refs.rightMenu.$el;document.addEventListener("click",this.foo),o.style.left=i.clientX+"px",o.style.top=i.clientY+"px",this.rightMenuVisable=!0}},foo:function(){this.rightMenuVisable=!1,document.removeEventListener("click",this.foo)},dodefaultSort:function(e,t,i){var o=this;if(e.column.sortable){for(var n=!1,r=0;r<this.hdResultComRows.length;r++)if(this.hdResultComRows[r].isEdit){n=!0;break}n?this.$confirm(this.$t("存在未保存数据,是否继续?"),this.$t("提示"),{}).then(function(){o.hdQuery.doSort(e,!1)}):this.hdQuery.doSort(e,!1)}},localeCompare:function(e,t){return e?t?e.localeCompare(t):-1:1},doPageExcel:function(){this.excelExport(this.hdResult.rows)},doAllExcel:function(){var e=this,t=null;this.$emit("allExcel",function(e){t=e}),this.excelAllExporting=!0,t.then(function(t){e.excelExport(t.data.rows),e.excelAllExporting=!1})},doAllPdf:function(){var e=this,t=null;this.pdfShowIs=!0,this.$emit("allExcel",function(e){t=e}),this.pdfAllExporting=!0,t.then(function(t){e.pdfExport(t.data.rows),e.pdfAllExporting=!1})},getInputFormat:function(e){for(var t=0;t<this.colThis.length;t++){var i=this.colThis[t];if(i.$attrs.prop==e)return i.getValueByPath}},rowSizeChg:function(e){localStorage.setItem("page_"+this.gridId,e),this.hdQuery.doSizeChg(e)},getCkRows:function(){return this.visualScroll?this.hdResult.rows.filter(function(e){return 1==e._isCK}):this.hdQuery.selObj},initExFieldRows:function(){var e=this,t=new HdQuery(this);t.query.gridCode=this.exField.gridCode,t.sort="sortNo",t.order="asc",this.$http.post("/webresources/login/tech/ComExField/detail/find",t).then(function(t){e.exFieldRows=t.data.rows,e.exFieldRows.forEach(function(e){e.fieldName=e.columnName.toLowerCase().replace(/\_+[a-zA-Z]/g,function(e,t){return t?e.substr(-1).toUpperCase():e})}),e.$nextTick(function(){this.$refs.ingrid.doLayout()})})},filterChange:function(e){this.hdResult.filters=l()(this.hdResult.filters||{},e),this.filterHdResult()},filterHdResult:function(){var e=this,t=n()(this.hdResult.filters||{});this.hdResult.rows=this.hdResult._rows.filter(function(i){return!t.some(function(t){var o=(e.$refs.ingrid.store.states._columns.find(function(e){return e.id==t})||"").property;return e.hdResult.filters[t].length>0&&-1==e.hdResult.filters[t].indexOf(i[o])})})},selectPart:function(e,t){var i=this.hdResult.rows.indexOf(this.hdQuery.selRow),o=this.hdResult.rows.indexOf(this.rightMenuRow);this.selectRowCube(i,o,t)},selectRowCube:function(e,t,i){var o=this;if(e>t){var n=e;e=t,t=n}this.hdResult.rows.forEach(function(n,r){r>=e&&r<=t&&o.$refs.ingrid.toggleRowSelection(n,!i)})},unSelectPart:function(e){this.selectPart(e,!0)}},computed:{hdResultComRows:function(){return this.visualScroll?this.gridDataRows:this.hdResult.rows},pageSizeArray:function(){return null==this.pageSizes?this.visualScroll?[20,50,100,200,500,1e3,2e3]:[20,50,100,200,500]:this.pageSizes},showBtnTool:function(){return this.hdBtnTool&&1!=this.$route.path.indexOf("privilege")}},watch:{}}},function(e,t){e.exports=require("babel-runtime/core-js/object/keys")},function(e,t,i){"use strict";var o=i(9),n=i.n(o),r=i(13),l=i.n(r);t.a={name:"gridshow",components:{},data:function(){return{hdQuery:new HdQuery(this),list:[],oldList:[],newList:[],visible:!1,loading:!1,menuId:"",gridId:"",specCkForGrid:!0}},mounted:function(){this.loading=!1},methods:{show:function(e,t,i){var o=this;this.menuId=t,this.gridId=i,this.visible=!0,this.list=JSON.parse(n()(e.filter(function(e){return e.property}))),this.list.forEach(function(e){return e.children=[]}),this.oldList=this.list.map(function(e){return e.property}),this.newList=this.oldList.slice(),this.$nextTick(function(){o.setSort()})},setSort:function(){for(var e=this,t=document.querySelectorAll(".gridShow .el-table__body-wrapper > table > tbody"),i=0;i<t.length;i++){var o=t[i];this.sortable=l.a.create(o,{ghostClass:"sortable-ghost",onEnd:function(t){var i=e.list.splice(t.oldIndex,1)[0];e.list.splice(t.newIndex,0,i);var o=e.newList.splice(t.oldIndex,1)[0];e.newList.splice(t.newIndex,0,o)}})}},submit:function(){var e=this,t="/webresources/login/com/ComGridShow/save?menuId="+this.menuId+"&gridId="+this.gridId;this.loading=!0,this.$http.post(t,this.list).then(function(t){e.loading=!1;var i=t.data;e.$message({type:"-1"==i.code?"error":"success",message:i.message}),"-1"!=i.code&&(e.visible=!1,e.$emit("save-ok"))})},reset:function(){var e=this,t="/webresources/login/com/ComGridShow/reset?menuId="+this.menuId+"&gridId="+this.gridId;this.$http.post(t,this.list).then(function(t){var i=t.data;e.$message({type:"-1"==i.code?"error":"success",message:i.message}),"-1"!=i.code&&(e.visible=!1,e.$emit("save-ok"))})}}}},function(e,t){e.exports=require("sortablejs")},function(e,t,i){"use strict";var o=i(13),n=i.n(o),r=i(36);t.a={name:"gridexfield",components:{SelGridFieldcode:r.a},props:{table:String,columnList:Array,gridCode:String},data:function(){return{hdQuery:new HdQuery(this),visible:!1,loading:!1,list:[]}},mounted:function(){this.init()},methods:{init:function(e){var t=this;this.hdQuery.query.tableName=this.table,this.hdQuery.query.columnList=this.columnList,this.hdQuery.query.gridCode=this.gridCode,this.hdQuery.sort="sortNo",this.hdQuery.order="asc",this.$http.post("/webresources/login/tech/ComExFieldCustom/find",this.hdQuery).then(function(e){t.list=e.data.rows,t.columnList&&t.columnList.forEach(function(i){e.data.rows.some(function(e){return e.columnName==i})||t.list.unshift({columnName:i,tableName:t.table,formXs:"20",formSpan:"12",isEdit:!0})});var i=0;t.list.forEach(function(e){e.isEdit=!0,e.sortNo=i++,e.formSpan=e.formSpan+""}),t.$refs.grid.doQuery({rows:t.list}),t.$nextTick(function(){t.setSort()})})},show:function(){this.visible=!0,this.list.forEach(function(e){e.isEdit=!0})},setSort:function(){for(var e=this,t=document.querySelectorAll(".gridShow .el-table__body-wrapper > table > tbody"),i=0;i<t.length;i++){var o=t[i];this.sortable=n.a.create(o,{ghostClass:"sortable-ghost",onEnd:function(t){e.list.forEach(function(e){e.sortNo==t.oldIndex?e.sortNo=t.newIndex:t.newIndex>t.oldIndex&&e.sortNo<=t.newIndex&&e.sortNo>t.oldIndex?e.sortNo=e.sortNo-1:t.newIndex<t.oldIndex&&e.sortNo>=t.newIndex&&e.sortNo<t.oldIndex&&(e.sortNo=e.sortNo+1)})}})}},doAdd:function(){var e=this.getEmptyColumn();if(null==e)return void this.$message({message:"没有剩余的扩展字段"});var t={gridCode:this.gridCode,tableName:this.table,columnName:e,formXs:12,formSpan:"20",isEdit:!0};this.$refs.grid.doEdit("",t)},submit:function(){var e=this;this.list.forEach(function(t){t.columnComment&&t.columnType||(t.isEdit=!1),t.gridCode=e.gridCode}),this.$refs.grid.doSaveAll().then(function(t){e.visible=!1,e.$emit("save-ok")}).catch(function(t){e.$message({message:"填写有误"})})},getEmptyColumn:function(){var e=this,t=this.columnList.filter(function(t){return!e.list.some(function(e){return e.columnName==t})});return t.length>0?t[0]:null},columnTypeChange:function(e,t){t.exColumnId&&this.$message({type:"warning",message:this.$t("修改类型可能回造成数据混乱或丢失, 请慎重!")}),"VARCHAR"!=t.columnType&&"BOOLEAN"!=t.columnType||(t.formatter="x")}}}},function(e,t,i){"use strict";t.a={name:"sel-grid-fieldcode",components:{},data:function(){return{hdQuery:new HdQuery(this)}},mounted:function(){},props:{txtVal:String,idVal:String,disabled:Boolean},methods:{beforeQuery:function(e){this.hdQuery.query.anyQuery=e},doClick:function(e){this.$emit("update:txtVal",e.fieldName),this.$emit("update:idVal",e.fieldCod)}}}},function(e,t,i){"use strict";var o=i(6),n=i.n(o),r=i(9),l=i.n(r),s=i(45),a=i.n(s),d=i(46);i.n(d);window.jsPDF=a.a,t.a={name:"pdfshow",components:{},props:{gening:{type:Boolean,default:function(){return!0}},defaultSort:{type:Object,default:function(){return{prop:"updTim",order:"descending"}}},pageHide:Boolean,ckHide:Boolean,indexHide:Boolean,recHide:Boolean,rowClassName:Function,excelPropHeader:Boolean},data:function(){return{visible:!0,totalSize:0,isLandscape:!1,pdfExport:[],currentPage:1,pageSize:400,resultData:[],columnStyles:[],gridData:[],gridStyles:[],title:"",fontSize:10}},mounted:function(){},methods:{handleSizeChange:function(){this.initPdf()},handleCurrentChange:function(){this.initPdf()},initShowData:function(){var e=this;this.gridData=this.resultData.map(function(t){return t.filter(function(t,i){return e.pdfExport.indexOf(i)>-1})});var t=0;this.gridStyles=this.resultData[0].reduce(function(i,o,n){if(e.pdfExport.indexOf(n)>-1){var r=parseInt(e.columnStyles[n].cellWidth);i[t++]={cellWidth:isNaN(r)?"auto":r}}return i},{})},refreshGridData:function(){var e={isLandscape:this.isLandscape,fontSize:this.fontSize,cols:this.pdfExport,columnStyles:this.columnStyles};localStorage.setItem("HdPdfSel"+this.$parent.gridId,l()(e)),this.initShowData(),this.initPdf()},addScript:function(){this.$message({type:"success",showClose:!0,duration:99999,message:this.$t("正在初始化pdf脚本,请等待...")});var e=document.getElementsByTagName("head")[0],t=document.createElement("script"),i=this;t.onload=t.onreadystatechange=function(){console.log("readyState",i.readyState),i.readyState&&"loaded"!==i.readyState&&"complete"!==i.readyState||(i.$message.closeAll(),i.initPdf(),t.onload=t.onreadystatechange=null)},t.type="text/javascript",t.src="static/js/simsun.js",e.appendChild(t)},genPdf:function(e,t,i){this.totalSize=t.length-1,this.resultData.push(["#"].concat(n()(t[0])));for(var o=1;o<t.length;o++)this.resultData.push([o].concat(n()(t[o])));var r=localStorage.getItem("HdPdfSel"+this.$parent.gridId);if(r){var l=JSON.parse(r);if(this.pdfExport=l.cols,this.fontSize=l.fontSize,this.isLandscape=l.isLandscape,!l.columnStyles||l.columnStyles.length<1?this.columnStyles=this.resultData[0].map(function(e){return{cellWidth:"auto"}}):this.columnStyles=l.columnStyles,!this.pdfExport||!Array.isArray(this.pdfExport)||this.pdfExport.length<1){this.pdfExport=[];for(var s=0;s<=this.totalSize;s++)this.pdfExport.push(s)}}this.initShowData(),this.title=i,this.addScript()},initPdf:function(){var e=this,t=(this.currentPage-1)*this.pageSize+1,i=this.currentPage*this.pageSize+1,o=this.gridData.slice(t,i);this.$nextTick(function(){e.showPdf([e.gridData[0]],o,e.title)})},showPdf:function(e,t,i){var o=e,n=t,r=null;if(this.isLandscape){var r=new a.a("l","pt");r.setFont("simsun"),r.text(i,450,30,{align:"center"})}else{var r=new a.a("h","pt");r.setFont("simsun"),r.text(i,300,30,{align:"center"})}r.autoTable({head:o,body:n,margin:{right:12,left:12},styles:{font:"simsun",fontStyle:"normal",lineColor:"#000",lineWidth:1,fontSize:this.fontSize,cellPadding:.5,halign:"center",overflow:"linebreak",cellWidth:"10",minCellWidth:"2"},headStyles:{font:"simsun",fontStyle:"normal"},columnStyles:this.gridStyles}),document.getElementById("output").data=r.output("datauristring")}},watch:{fontSize:function(e){e?e>50?this.fontSize=50:e<2&&(this.fontSize=1):this.fontSize=10}}}},function(e,t,i){"use strict";var o=i(52);t.a={name:"ExtendColumn",mixins:[o.a],props:{exFieldRow:Object},data:function(){return{codeList:Object}},mounted:function(){},methods:{genCode:function(e,t){var i=this;if(this.codeList[t])return this.codeList[t][e];this.codeList[t]={},this.$http.get("/webresources/login/privilege/SysCode/findAll?fieldCod="+t).then(function(o){o.data.forEach(function(o){return i.codeList[t][o.code]=o.name,i.codeList[t][e]})})},getSysCode:function(e){var t=this;this.$http.get("/webresources/login/privilege/SysCode/findAll?fieldCod="+e).then(function(i){i.data.forEach(function(i){t.codeList[e][i.fieldCod]=i.fieldNam})})}}}},function(e,t,i){"use strict";function o(e){i(19)}Object.defineProperty(t,"__esModule",{value:!0});var n=i(5),r=i(21),l=i(0),s=o,a=l(n.a,r.a,!1,s,null,null);t.default=a.exports},function(e,t,i){var o=i(20);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("55915356",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,".hdBtn{cursor:pointer}",""])},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.btnRight?i("el-tooltip",{ref:"hdbtn",attrs:{content:e.$t(e.hint+e.addTextProp),placement:"bottom",effect:"light",enterable:!1,"open-delay":500,transition:""}},[i("i",{class:"hdBtn "+e.icon,on:{click:e.handleClick}},[e.icon?e._e():e._t("default"),e._v(" "),e.nowKeyMap?i("hd-hot-key",{attrs:{hotKeyRange:e.hotKeyRange,keyMap:e.nowKeyMap},on:{do:function(t){e.click("hotkey")}}}):e._e()],2)]):e._e()},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";t.a={name:"HdRightMenu",props:{noRoleManage:!1},data:function(){return{isFocus:!1,rangeThis:{}}},created:function(){},methods:{doAdd:function(){this.$emit("do-add")},doRemove:function(){this.$emit("do-remove")},doUpdate:function(){this.$emit("do-update")},doCopy:function(){this.$emit("do-copy")}}}},function(e,t){e.exports=require("xlsx")},function(e,t,i){"use strict";function o(e){i(25)}Object.defineProperty(t,"__esModule",{value:!0});var n=i(10),r=i(56),l=i(0),s=o,a=l(n.a,r.a,!1,s,"data-v-c15204e4",null);t.default=a.exports},function(e,t,i){var o=i(26);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("461b89a8",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,".hdgrid[data-v-c15204e4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hdgrid[data-v-c15204e4] .el-table{height:100%;width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.hdgrid[data-v-c15204e4] .el-table th.gutter{display:table-cell!important}.hdgrid[data-v-c15204e4] .el-table .el-table__fixed-header-wrapper th,.hdgrid[data-v-c15204e4] .el-table .el-table__header-wrapper th{background-color:#f6f6f6}.hdgrid[data-v-c15204e4] .el-table td,.hdgrid[data-v-c15204e4] .el-table th{padding:1px 0}.hdgrid[data-v-c15204e4] .el-table .cell,.hdgrid[data-v-c15204e4] .el-table .el-table--border td:first-child .cell,.hdgrid[data-v-c15204e4] .el-table .el-table--border th:first-child .cell,.hdgrid[data-v-c15204e4] .el-table .el-table th div{padding:1.5px 0 1.5px 4px!important}.hdgrid[data-v-c15204e4] .el-table .el-table__empty-block{position:static;text-align:center;width:100%;height:80%}.hdgrid[data-v-c15204e4] .el-table .el-table__body{margin-bottom:10px}.hdgrid[data-v-c15204e4] .el-table .el-table__body-wrapper{height:100%;overflow:auto}.hdgrid[data-v-c15204e4] .el-table .el-input__inner{height:27px;margin-bottom:0;line-height:27px}.hdgrid[data-v-c15204e4] .el-table .el-form-item__content,.hdgrid[data-v-c15204e4] .el-table .el-form-item__label,.hdgrid[data-v-c15204e4] .el-table .el-input,.hdgrid[data-v-c15204e4] .el-table .el-input__icon{line-height:30px}.hdgrid[data-v-c15204e4] .el-table .el-input__inner{padding:5px}.hdgrid[data-v-c15204e4] .el-table .el-input--prefix .el-input__inner{padding-left:30px}.hdgrid[data-v-c15204e4] .el-table .cell{min-width:20px}.hdgrid[data-v-c15204e4] .el-table .checkBox .cell{overflow:inherit}.hdgrid[data-v-c15204e4] .el-table .checkBox .cell .el-checkbox,.hdgrid[data-v-c15204e4] .el-table .checkBox .cell .el-checkbox__input{position:inherit}.hdBtnTool[data-v-c15204e4]{font-weight:700;vertical-align:middle;margin-left:20px}",""])},function(e,t,i){"use strict";function o(e){i(28),i(30)}var n=i(12),r=i(32),l=i(0),s=o,a=l(n.a,r.a,!1,s,"data-v-630d1931",null);t.a=a.exports},function(e,t,i){var o=i(29);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("fc95c992",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,".sortable-ghost{opacity:.8;color:#fff!important;background:#42b983!important}.gridShow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.gridShow .el-table{height:100%;width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.gridShow .el-table .el-table__body-wrapper{width:100%;padding-bottom:30px}.gridShow .el-table .el-table__header-wrapper th{background-color:#f6f6f6}.gridShow .el-table .el-table__fixed-header-wrapper th{background-color:#8cbda4}.gridShow .el-table td,.gridShow .el-table th{padding:2px 0}.gridShow .el-table .cell,.gridShow .el-table .el-table--border td:first-child .cell,.gridShow .el-table .el-table--border th:first-child .cell,.gridShow .el-table .el-table th div{padding-left:2px!important;padding-right:2px!important}.gridShow .el-table .el-table__empty-block{position:static;text-align:center;width:100%;height:80%}.gridShow .el-table .el-table__body{margin-bottom:10px}.gridShow .el-table .el-table__body-wrapper{height:100%;overflow-y:auto}.gridShow .el-table .el-input__inner{height:27px;margin-bottom:0}.gridShow .el-table .el-form-item__content,.gridShow .el-table .el-form-item__label,.gridShow .el-table .el-input,.gridShow .el-table .el-input__icon{line-height:30px}.gridShow .el-table .el-input__inner{padding:5px}.gridShow .el-table .el-input--prefix .el-input__inner{padding-left:30px}",""])},function(e,t,i){var o=i(31);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("4ebf2f78",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,".icon-star[data-v-630d1931]{margin-right:2px}.drag-handler[data-v-630d1931]{width:20px;height:20px;cursor:pointer}.show-d[data-v-630d1931]{margin-top:15px}",""])},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"展示设置",visible:e.visible,width:"50%","append-to-body":"",top:"2vh"},on:{"update:visible":function(t){e.visible=t}}},[i("el-container",{staticStyle:{height:"80vh",border:"1px solid #eee"}},[i("el-main",{staticClass:"gridShow"},[i("el-table",{attrs:{data:e.list,"row-key":"property"}},[i("el-table-column",{attrs:{align:"center",label:"名称",prop:"label",width:"150",noQuery:""}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"宽度(px)",prop:"width",width:"150",noQuery:""},scopedSlots:e._u([{key:"default",fn:function(t){return[i("hd-num",{attrs:{step:10},model:{value:t.row.width,callback:function(i){e.$set(t.row,"width",e._n(i))},expression:"scope.row.width"}})]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"展示",prop:"showFlg",noQuery:""},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.row.showFlg,callback:function(i){e.$set(t.row,"showFlg",i)},expression:"scope.row.showFlg"}})]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"冻结",prop:"freezeFlg",noQuery:""},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.row.freezeFlg,callback:function(i){e.$set(t.row,"freezeFlg",i)},expression:"scope.row.freezeFlg"}})]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"排序",width:"80",noQuery:""},scopedSlots:e._u([{key:"default",fn:function(e){return[i("svg-icon",{staticClass:"drag-handler",attrs:{"icon-class":"drag"}})]}}])})],1)],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.reset}},[e._v(e._s(e.$t("重置")))]),e._v(" "),i("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e.$t("取 消")))]),e._v(" "),i("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.submit}},[e._v(" "+e._s(e.$t("确 定")))])],1)],1)},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";function o(e){i(34)}var n=i(14),r=i(38),l=i(0),s=o,a=l(n.a,r.a,!1,s,"data-v-cee2d6d8",null);t.a=a.exports},function(e,t,i){var o=i(35);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("da83c76a",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,"",""])},function(e,t,i){"use strict";var o=i(15),n=i(37),r=i(0),l=r(o.a,n.a,!1,null,null,null);t.a=l.exports},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("hd-grid-sel",{attrs:{txtVal:e.txtVal,idVal:e.idVal,placeholder:"请点击选取",height:"50vh",width:"300px",hdQuery:e.hdQuery,disabled:e.disabled,url:"webresources/login/privilege/SysField/vue/find",beforeQuery:e.beforeQuery},on:{rowClick:e.doClick}},[i("el-table-column",{attrs:{width:"120px",align:"left","header-align":"center",label:"代码",prop:"fieldCod",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{widhth:"180px",align:"left","header-align":"center",label:"名称",prop:"fieldName",sortable:""}})],1)},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"扩展字段设置",visible:e.visible,width:"65%","append-to-body":"",top:"2vh"},on:{"update:visible":function(t){e.visible=t}}},[i("el-container",{staticStyle:{height:"80vh",border:"1px solid #eee"}},[i("el-main",{staticClass:"gridShow"},[i("hd-com-grid",{ref:"grid",attrs:{hdQuery:e.hdQuery,url:"/webresources/login/tech/ComExFieldCustom","not-init":"","no-sets":"","ck-hide":"","no-sort":"","index-hide":"","hd-btn-tool":!1,"rec-hide":"","page-hide":"","default-sort":{prop:"sortNo",order:"ascending"}}},[i("el-table-column",{attrs:{width:"100px",align:"center",label:"是否使用",prop:"useFlg",sortable:"",rules:e.$r(0,0,50),input:"el-switch",inputProp:{activeValue:"1",inactiveValue:"0"},inputFormat:e.$ckFt}}),e._v(" "),i("el-table-column",{attrs:{width:"100px",align:"center",label:"字段注解",prop:"columnComment",rules:e.$r(1,0,50)}}),e._v(" "),i("el-table-column",{attrs:{width:"100px",align:"center",label:"字段类型",prop:"columnType",rules:e.$r(1),input:"HdDrop",inputProp:{field:"IDV_COLUMN_TYPE"}},on:{change:e.columnTypeChange}}),e._v(" "),i("el-table-column",{attrs:{width:"110px",align:"center",label:"格式/代码",prop:"formatter",rules:e.$r(1)},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isEdit?["DROP"==t.row.columnType?[i("sel-grid-fieldcode",{staticStyle:{width:"100%"},attrs:{gridRow:t.row,txtVal:t.row.formatter,idVal:t.row.formatter},on:{"update:txtVal":function(i){e.$set(t.row,"formatter",i)},"update:idVal":function(i){e.$set(t.row,"formatter",i)},blur:function(i){e.checkErr(t.row)}},model:{value:t.row.formatter,callback:function(i){e.$set(t.row,"formatter",i)},expression:"scope.row['formatter']"}})]:"NUMBER"==t.row.columnType?[i("HdDrop",{staticStyle:{width:"100%"},attrs:{gridRow:t.row,txtVal:t.row.formatterStr,idVal:t.row.formatter,field:"IDV_NUMBER_FORMATTER"},on:{"update:txtVal":function(i){e.$set(t.row,"formatterStr",i)},"update:idVal":function(i){e.$set(t.row,"formatter",i)},blur:function(i){e.checkErr(t.row)}},model:{value:t.row.formatter,callback:function(i){e.$set(t.row,"formatter",i)},expression:"scope.row['formatter']"}})]:"DATE"==t.row.columnType?[i("HdDrop",{staticStyle:{width:"100%"},attrs:{gridRow:t.row,txtVal:t.row.formatterStr,idVal:t.row.formatter,field:"IDV_DATE_FORMATTER"},on:{"update:txtVal":function(i){e.$set(t.row,"formatterStr",i)},"update:idVal":function(i){e.$set(t.row,"formatter",i)},blur:function(i){e.checkErr(t.row)}},model:{value:t.row.formatter,callback:function(i){e.$set(t.row,"formatter",i)},expression:"scope.row['formatter']"}})]:void 0]:e._e()]}}])}),e._v(" "),i("el-table-column",{attrs:{width:"100px",align:"center",label:"是否必填",prop:"columnRequire",input:"el-switch",inputProp:{"active-value":1,"inactive-value":0},inputFormat:e.$ckFt}}),e._v(" "),i("el-table-column",{attrs:{width:"100px",align:"center",label:"最大长度",prop:"columnLen",rules:e.$r(1,0,255,"number"),input:"HdNum"}}),e._v(" "),i("el-table-column",{attrs:{width:"100px",align:"center",label:"表格宽度",prop:"formSpan",rules:e.$r(1),input:"HdDrop",inputProp:{field:"IDV_FORM_SPAN"}}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"排序",width:"80px",noQuery:""},scopedSlots:e._u([{key:"default",fn:function(e){return[i("svg-icon",{staticClass:"drag-handler",attrs:{"icon-class":"drag"}})]}}])})],1)],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e.$t("取 消")))]),e._v(" "),i("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.submit}},[e._v(" "+e._s(e.$t("确 定")))])],1)],1)},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";t.a={data:function(){return{rowSelNum:-1}},methods:{addHotKey:function(){document.body.addEventListener("keydown",this.handleKeydown)},removeHotKey:function(){document.body.removeEventListener("keydown",this.handleKeydown)},handleKeydown:function(e){var t=e.keyCode;if(-1!==[38,40,37,39].indexOf(t)){if(38===t&&(this.rowSelNum-=1),40===t&&(this.rowSelNum+=1),37===t&&this.hdQuery.doCurPageChange(this.hdQuery.page-1<1?1:this.hdQuery.page-1),39===t){var i=(this.hdResult.total-1)/this.hdQuery.rows+1;this.hdQuery.doCurPageChange(this.hdQuery.page+1>i?i:this.hdQuery.page+1)}e.stopPropagation(),e.preventDefault()}13===t&&(this.hdQuery.selRow?(this.$emit("enterClick",this.hdQuery.selRow),this.hdQuery.selRow=null):this.hdResultComRows.length>0&&(this.hdQuery.selRow=this.hdResultComRows[0],this.$emit("enterClick",this.hdResultComRows[0]),this.hdQuery.selRow=null)),e.altKey&&13===t&&this.$emit("altEnterClick",this.hdQuery.selRow)},setCurrentRow:function(e,t){this.rowSelNum=e,this.$refs.ingrid.setCurrentRow(this.hdResultComRows[e]),this.hdQuery&&(this.hdQuery.selRow=this.hdResultComRows[this.rowSelNum]);var i=this.$refs.ingrid.$el.querySelectorAll(".el-table__body tr")[e];if(!i)return!0;var o=this.$refs.ingrid.$el.querySelector(".el-table__body-wrapper"),n=(o.getBoundingClientRect().height,i.offsetTop),r=i.offsetTop+i.offsetHeight,l=o.scrollTop,s=l+o.clientHeight+i.clientHeight/3;n<l?o.scrollTop=n:r>s&&(o.scrollTop=o.scrollTop+i.clientHeight)},findLeafCol:function(e,t,i,o,n){if(e.children)for(var r=0;r<e.children.length;r++)this.findLeafCol(e.children[r],t,i,o,e);else t.push(e),n?i.push(n.label+"-"+e.label):i.push(e.label),o.push(e.property)},comExport:function(e){for(var t=[],i=[],o=[],n=0;n<this.disCol.length;n++){var r=this.disCol[n];r&&(r.property||r.children)&&r.showFlg&&"0"!=r.showFlg&&this.findLeafCol(r,o,t,i)}var l=this.formatJson(i,e,t),s=[t].concat(l);return this.summaryAdd(s,i.length),{header:t,filterVal:i,merdata:s,title:this.$route.meta.title+(new Date).format("yyyy-MM-dd HH:mm:ss")}},excelExport:function(e){var t=this.comExport(e),o={};if(this.excelFormatter)o=this.excelFormatter(t);else{var n=t.merdata;this.excelPropHeader&&(n=this.formatJson(t.filterVal,n)),o={header:n[0],data:n.slice(1),filename:t.title}}i(40).export_json_to_excel(o)},pdfExport:function(e){var t=this.comExport(e),i=t.header,o=(t.filterVal,t.merdata),n=t.title;this.$refs.pdfshow.genPdf(i,o,n)},summaryAdd:function(e,t){if(void 0!=this.$attrs.showSummary||void 0!=this.$attrs["show-summary"]){for(var i=[],o=0;o<this.disCol.length;o++){var n=this.disCol[o];n&&n.property&&n.showFlg&&i.push(n)}for(var r=new Array(t),l=this.$attrs.summaryMethod||this.$attrs["summary-method"],s=l({columns:i}),a=0;a<r.length;a++)s[a]?r[a]=s[a]:r[a]="";e.push(r)}},formatJson:function(e,t,i){var o=this;if(!t||0==t.length)return[];if(this.excelPropHeader)for(var n in t[0]){var r=!1;for(var l in e)if(e[l]==n){r=!0;break}r||e.push(n)}var s=["_obj","idevVersionUse","_map"];this.noExcelExport&&(s=s.concat(this.noExcelExport));for(var a=0;a<s.length;a++){var d=e.removeone(s[a]);-1!=d&&i.splice(d,1)}return t.map(function(t){return e.map(function(e){try{var i=o.getInputFormat(e);return i?i(t,e):t[e]+""}catch(e){return console.info(e),null}})})}},watch:{rowSelNum:function(e,t){if(e<0){if(0==this.hdResult.rows.length)return this.rowSelNum=-1,!1;this.rowSelNum=0}e>this.hdResult.rows.length-1&&(this.rowSelNum=this.hdResult.rows.length-1),this.hdQuery&&(this.hdQuery.selRow=this.hdResult.rows[this.rowSelNum]),this.setCurrentRow(this.rowSelNum,e-t>0)}}}},function(e,t,i){"use strict";function o(e){for(var t=[],i=e.querySelectorAll("tr"),o=[],n=0;n<i.length;++n){for(var r=[],l=i[n],s=l.querySelectorAll("td"),a=0;a<s.length;++a){var d=s[a],c=d.getAttribute("colspan"),u=d.getAttribute("rowspan"),h=d.innerText;if(""!==h&&h==+h&&(h=+h),o.forEach(function(e){if(n>=e.s.r&&n<=e.e.r&&r.length>=e.s.c&&r.length<=e.e.c)for(var t=0;t<=e.e.c-e.s.c;++t)r.push(null)}),(u||c)&&(u=u||1,c=c||1,o.push({s:{r:n,c:r.length},e:{r:n+u-1,c:r.length+c-1}})),r.push(""!==h?h:null),c)for(var f=0;f<c-1;++f)r.push(null)}t.push(r)}return[t,o]}function n(e,t){return t&&(e+=1462),(Date.parse(e)-new Date(Date.UTC(1899,11,30)))/864e5}function r(e,t){for(var i={},o={s:{c:1e7,r:1e7},e:{c:0,r:0}},r=0;r!=e.length;++r)for(var l=0;l!=e[r].length;++l){o.s.r>r&&(o.s.r=r),o.s.c>l&&(o.s.c=l),o.e.r<r&&(o.e.r=r),o.e.c<l&&(o.e.c=l);var s={v:e[r][l]};if(null!=s.v){var a=p.a.utils.encode_cell({c:l,r:r});"number"==typeof s.v?s.t="n":"boolean"==typeof s.v?s.t="b":s.v instanceof Date?(s.t="n",s.z=p.a.SSF._table[14],s.v=n(s.v)):s.t="s",i[a]=s}}return o.s.c<1e7&&(i["!ref"]=p.a.utils.encode_range(o)),i}function l(){if(!(this instanceof l))return new l;this.SheetNames=[],this.Sheets={}}function s(e){for(var t=new ArrayBuffer(e.length),i=new Uint8Array(t),o=0;o!=e.length;++o)i[o]=255&e.charCodeAt(o);return t}function a(e){var t=document.getElementById(e),i=o(t),n=i[1],a=i[0],d=new l,c=r(a);c["!merges"]=n,d.SheetNames.push("SheetJS"),d.Sheets.SheetJS=c;var u=p.a.write(d,{bookType:"xlsx",bookSST:!1,type:"binary"});Object(h.saveAs)(new Blob([s(u)],{type:"application/octet-stream"}),"test.xlsx")}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.multiHeader,i=void 0===t?[]:t,o=e.header,n=e.data,a=e.filename,d=e.merges,c=void 0===d?[]:d,f=e.autoWidth,g=void 0===f||f,m=e.bookType,v=void 0===m?"xlsx":m;a=a||"excel-list",n=[].concat(u()(n)),n.unshift(o);for(var w=i.length-1;w>-1;w--)n.unshift(i[w]);var b=new l,x=r(n);if(c.length>0&&(x["!merges"]||(x["!merges"]=[]),c.forEach(function(e){x["!merges"].push(p.a.utils.decode_range(e))})),g){for(var y=n.map(function(e){return e.map(function(e){return null==e?{wch:10}:e.toString().charCodeAt(0)>255?{wch:2*e.toString().length}:{wch:e.toString().length}})}),_=y[0],S=1;S<y.length;S++)for(var $=0;$<y[S].length;$++)_[$].wch<y[S][$].wch&&(_[$].wch=y[S][$].wch);x["!cols"]=_}b.SheetNames.push("SheetJS"),b.Sheets.SheetJS=x;var R=p.a.write(b,{bookType:v,bookSST:!1,type:"binary"});Object(h.saveAs)(new Blob([s(R)],{type:"application/octet-stream"}),a+"."+v)}Object.defineProperty(t,"__esModule",{value:!0}),t.export_table_to_excel=a,t.export_json_to_excel=d;var c=i(6),u=i.n(c),h=i(41),f=(i.n(h),i(23)),p=i.n(f)},function(e,t){e.exports=require("file-saver")},function(e,t,i){"use strict";function o(e){i(43)}var n=i(16),r=i(47),l=i(0),s=o,a=l(n.a,r.a,!1,s,"data-v-5a2b8956",null);t.a=a.exports},function(e,t,i){var o=i(44);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("70ef8137",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,".pdfshow[data-v-5a2b8956] .el-dialog__body{width:100%;height:calc(100% - 55px)}",""])},function(e,t){e.exports=require("jspdf")},function(e,t){e.exports=require("jspdf-autotable")},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{staticClass:"pdfshow",attrs:{fullscreen:!0,title:e.gening?"正在生成pdf":"PDF预览",visible:e.visible},on:{"update:visible":function(t){e.visible=t},close:function(t){e.$emit("close")}}},[i("el-row",[i("el-col",{attrs:{span:4}},[i("el-switch",{attrs:{"active-text":e.$t("横向显示"),"inactive-text":e.$t("竖向显示")},on:{change:function(t){e.initPdf()}},model:{value:e.isLandscape,callback:function(t){e.isLandscape=t},expression:"isLandscape"}})],1),e._v(" "),i("el-col",{attrs:{span:4}},[e._v("\n "+e._s(e.$t("字号"))+"\n "),i("el-input",{staticStyle:{width:"100px"},attrs:{clearable:!1,placeholder:e.$t("请输入字号"),size:"mini"},model:{value:e.fontSize,callback:function(t){e.fontSize=e._n(t)},expression:"fontSize"}})],1),e._v(" "),i("el-col",{attrs:{span:6}},[i("el-pagination",{attrs:{"current-page":e.currentPage,"page-size":e.pageSize,"page-sizes":[100,200,400],total:e.totalSize,layout:"sizes, prev, pager, next"},on:{"update:currentPage":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"current-change":function(t){e.initPdf()},"size-change":function(t){e.initPdf()}}})],1),e._v(" "),i("el-col",{attrs:{span:4}},[i("el-button",{on:{click:function(t){e.refreshGridData()}}},[e._v(e._s(e.$t("刷新")))])],1)],1),e._v(" "),i("el-row",[e.columnStyles.length>0?i("el-checkbox-group",{model:{value:e.pdfExport,callback:function(t){e.pdfExport=t},expression:"pdfExport"}},e._l(e.resultData[0],function(t,o){return i("el-checkbox",{key:o,attrs:{label:o}},[e._v(e._s(t)+"\n "),i("el-input",{staticStyle:{width:"50px"},attrs:{clearable:!1,placeholder:e.$t("最小宽"),size:"mini"},model:{value:e.columnStyles[o].cellWidth,callback:function(t){e.$set(e.columnStyles[o],"cellWidth",t)},expression:"columnStyles[index].cellWidth"}})],1)})):e._e()],1),e._v(" "),i("object",{staticStyle:{width:"100%",height:"calc(100% - 40px)"},attrs:{id:"output",type:"application/pdf"}},[i("p",[e._v("It appears you don't have PDF support in this web browser")])])],1)},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";t.a={data:function(){return{gridDataRows:[],startIndex:0,scroller:0,trHeight:35.5,minRowNum:0,tmpScrollNum:0}},activated:function(){if(!this.visualScroll)return!1;this.scroller=this.$refs.ingrid.$refs.bodyWrapper.scrollTop},methods:{initVisual:function(){var e=this;if(!this.visualScroll)return!1;this.initTableStyle();var t=this.$refs.ingrid.$refs.bodyWrapper,i=this;t.onscroll=function(o){i.tmpScrollNum++,e.$refs.ingrid.store.states.hoverRow="locked",i.scroller=t.scrollTop,setTimeout(function(){0==--i.tmpScrollNum&&(e.$refs.ingrid.store.states.hoverRow=null)},500)}},initTableStyle:function(){this.$refs.ingrid.$refs.bodyWrapper.querySelector("tbody").style.position="absolute"},initTableHeight:function(){var e=this.hdResult.rows.length*this.trHeight,t=this.$refs.ingrid.$refs.bodyWrapper;t.querySelector(".el-table__body").style.height=e+"px",this.updateGridDataRows(t.scrollTop,t.clientHeight)},updateGridDataRows:function(e,t){t=t>this.minRowNum*this.trHeight?t:this.minRowNum*this.trHeight;var i=Math.ceil(e/this.trHeight);i=i<0?0:i;var o=Math.ceil((e+t)/this.trHeight);o=o>this.hdResult.rows.length?this.hdResult.rows.length:o,this.gridDataRows=this.hdResult.rows.slice(i,o),this.startIndex=i,this.$refs.ingrid.setCurrentRow(this.hdQuery.selRow)},getIndex:function(e){return this.startIndex+e},checkAllChange:function(e){for(var t=0;t<this.hdResult.rows.length;t++)this.$set(this.hdResult.rows[t],"_isCK",e)}},watch:{scroller:function(e,t){if(!this.visualScroll)return!1;var i=this.$refs.ingrid.$refs.bodyWrapper,o=this.$refs.ingrid.$refs.fixedBodyWrapper,n=this.$refs.ingrid.$refs.rightFixedBodyWrapper,r=i.clientHeight;e!=t&&(i.querySelector("tbody").style.transform="translate(0px,"+e+"px)",o&&(o.scrollTop=0),n&&(n.scrollTop=0),this.updateGridDataRows(e,r))},"hdResult.rows":function(){var e=this;if(!this.visualScroll)return!1;this.hdResult.rows.filter(function(e){return!e._isCK}).forEach(function(t){e.$set(t,"_isCk",!1)}),this.initTableHeight()}},computed:{isSubChecked:function(){if(!this.visualScroll)return!1;var e=!1,t=!1;return!(!this.hdResult.rows||0==this.hdResult.rows.length)&&(this.hdResult.rows.forEach(function(i){i._isCK&&(e=!0),i._isCK||(t=!0)}),e&&t)},isAllChecked:function(){if(!this.visualScroll)return!1;var e=!0;return!(!this.hdResult.rows||0==this.hdResult.rows.length)&&(this.hdResult.rows.forEach(function(t){t._isCK||(e=!1)}),e)}}}},function(e,t,i){"use strict";function o(e){i(50)}var n=i(17),r=i(53),l=i(0),s=o,a=l(n.a,r.a,!1,s,"data-v-47c19530",null);t.a=a.exports},function(e,t,i){var o=i(51);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(2)("394613a3",o,!0)},function(e,t,i){t=e.exports=i(1)(void 0),t.push([e.i,"",""])},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a={methods:{genFormatter:function genFormatter(formatter){var rtn=eval("this."+formatter);return rtn},genRules:function genRules(field){if(field.rules)return eval("this."+field.rules);var require=field.columnRequire?field.columnRequire:"0",rules="";return rules="DROP"==field.columnType||"DATE"==field.columnType||"BOOLEAN"==field.columnType?"this.$r("+require+")":"NUMBER"==field.columnType?"this.$r("+require+", 0, "+this.repeat("9",field.columnLen)+",'number',"+field.formatter+")":"this.$r("+require+", 0, "+field.columnLen+")",eval(rules)},repeat:function(e,t){return new Array(t+1).join(e)}}}},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return"BOOLEAN"==e.exFieldRow.columnType?i("el-table-column",{key:e.exFieldRow.exFieldId,attrs:{align:"center","input-format":e.$ckFt,input:"el-switch",inputProp:{activeValue:"1",inactiveValue:"0"},label:e.exFieldRow.columnComment,rules:e.genRules(e.exFieldRow),prop:e.exFieldRow.fieldName,sortable:"",width:null==e.exFieldRow.gridWidth?"auto":e.exFieldRow.gridWidth}}):"DROP"==e.exFieldRow.columnType?i("el-table-column",{key:e.exFieldRow.exFieldId,attrs:{align:"center","input-format":function(t){return e.genCode(t,e.exFieldRow.formatter)},input:"HdDrop",inputProp:{field:e.exFieldRow.formatter},label:e.exFieldRow.columnComment,rules:e.genRules(e.exFieldRow),prop:e.exFieldRow.fieldName,sortable:"",width:null==e.exFieldRow.gridWidth?"auto":e.exFieldRow.gridWidth}}):"DATE"==e.exFieldRow.columnType?i("el-table-column",{key:e.exFieldRow.exFieldId,attrs:{inputProp:e.genFormatter(e.exFieldRow.formatter),align:"center",input:"el-date-picker",label:e.exFieldRow.columnComment,rules:e.genRules(e.exFieldRow),prop:e.exFieldRow.fieldName,sortable:"",width:null==e.exFieldRow.gridWidth?"auto":e.exFieldRow.gridWidth}}):"NUMBER"==e.exFieldRow.columnType?i("el-table-column",{key:e.exFieldRow.exFieldId,attrs:{align:"center",input:"HdNum",label:e.exFieldRow.columnComment,rules:e.genRules(e.exFieldRow),prop:e.exFieldRow.fieldName,sortable:"",width:null==e.exFieldRow.gridWidth?"auto":e.exFieldRow.gridWidth}}):i("el-table-column",{key:e.exFieldRow.exFieldId,attrs:{align:"center",label:e.exFieldRow.columnComment,rules:e.genRules(e.exFieldRow),prop:e.exFieldRow.fieldName,sortable:"",width:null==e.exFieldRow.gridWidth?"auto":e.exFieldRow.gridWidth}})},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";var o=i(22),n=i(55),r=i(0),l=r(o.a,n.a,!1,null,null,null);t.a=l.exports},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"rightmenu"},[e._t("rightMenu",[i("el-button-group",[i("ex-button",{staticClass:"rightmenu_button",attrs:{vid:"doAdd"},on:{click:e.doAdd}},[e._v("增加\n ")]),e._v(" "),i("ex-button",{staticClass:"rightmenu_button",attrs:{vid:"doUpdate"},on:{click:e.doUpdate}},[e._v("修改\n ")]),e._v(" "),i("ex-button",{staticClass:"rightmenu_button",attrs:{vid:"doRemove"},on:{click:e.doRemove}},[e._v("删除\n ")]),e._v(" "),i("ex-button",{staticClass:"rightmenu_button",attrs:{vid:"doCopy"},on:{click:e.doCopy}},[e._v("复制\n ")])],1),e._v(" "),e.$slots.rightMenuExt?i("div",{staticStyle:{border:"#555 1px solid"}}):e._e(),e._v(" "),i("el-button-group",[e._t("rightMenuExt")],2)])],2)},n=[],r={render:o,staticRenderFns:n};t.a=r},function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"grid",staticClass:"hdgrid",style:{width:"100%",height:e.height}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.queryShow,expression:"queryShow"}]},[e._t("query")],2),e._v(" "),e.noSets?e._e():i("div",{staticStyle:{height:"0px"}},[i("el-dropdown",{staticStyle:{float:"right",height:"0",width:"20px",position:"relative",right:"0px","text-align":"center","z-index":"100",cursor:"pointer","font-size":"25px"},on:{command:e.extSets}},[i("span",{staticClass:"el-dropdown-link"},[i("i",{staticClass:"fa fa-cogs",style:{"font-size":"13px",color:e.isGridCustom?"red !important":""}})]),e._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{attrs:{command:"gridSets"}},[e._v(e._s(e.$t("自定义展示")))]),e._v(" "),i("el-dropdown-item",{attrs:{command:"pageExcel"}},[e._v(e._s(e.$t("导出当页excel"))+"\n ")]),e._v(" "),i("el-dropdown-item",{attrs:{disabled:e.excelAllExporting,command:"allExcel"}},[e._v("\n "+e._s(e.excelAllExporting?e.$t("正在导出"):e.$t("导出全部excel"))+"\n ")]),e._v(" "),i("el-dropdown-item",{attrs:{disabled:e.pdfAllExporting,command:"allPdf"}},[e._v("\n "+e._s(e.pdfAllExporting?e.$t("正在生成"):e.$t("pdf打印"))+"\n ")]),e._v(" "),i("el-dropdown-item",{attrs:{command:"queryToggle"}},[e._v(e._s(e.queryShow?e.$t("隐藏查询区"):e.$t("显示查询区")))]),e._v(" "),e.exField.open?i("el-dropdown-item",{attrs:{command:"exFieldSets"}},[e._v(e._s(e.$t("添加扩展字段")))]):e._e(),e._v(" "),e._t("extSets")],2)],1)],1),e._v(" "),e.gridCanReload?i("el-table",e._g(e._b({ref:"ingrid",attrs:{data:e.hdResultComRows,"default-sort":e.defaultSort,"row-class-name":e.rowClassName,stripe:void 0==e.$attrs.stripe||e.$attrs.stripe,border:"","element-loading-text":"加载中...",height:"100%","highlight-current-row":""},on:{"row-click":e.myrowClick,"row-dblclick":e.myrowDblClick,"row-contextmenu":e.myrowContextmenu,"selection-change":e.myselectionChange,"sort-change":e.dodefaultSort,"filter-change":e.filterChange}},"el-table",e.$attrs,!1),e.$listeners),[e.visualScroll?[e.ckHide?e._e():i("ex-table-column",{attrs:{showOverflowTooltip:!0,align:"center","class-name":"checkBox",noEdit:"",noSlot:"",width:"30"},scopedSlots:e._u([{key:"header",fn:function(t){return[i("el-checkbox",{attrs:{indeterminate:e.isSubChecked,value:e.isAllChecked},on:{change:e.checkAllChange}})]}},{key:"default",fn:function(t){return[i("el-checkbox",{model:{value:t.row._isCK,callback:function(i){e.$set(t.row,"_isCK",i)},expression:"scope.row._isCK"}})]}}])}),e._v(" "),e.indexHide?e._e():i("ex-table-column",{attrs:{index:e.getIndex,showOverflowTooltip:!0,align:"center",noEdit:"",noSlot:"",type:"index",width:"40"},scopedSlots:e._u([{key:"header",fn:function(t){return[i("span",[e._v("#")])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.$index+e.startIndex+1)+"\n ")]}}])})]:[e.ckHide?e._e():i("ExTableColumn",{attrs:{showOverflowTooltip:!1,align:"center","class-name":"backFF",noEdit:"",noSlot:"",type:"selection",width:"30"},nativeOn:{click:function(t){e.selectClick(t)}}}),e._v(" "),e.indexHide?e._e():i("ex-table-column",{attrs:{showOverflowTooltip:!1,align:"center",noEdit:"",noSlot:"",type:"index",width:"40"},scopedSlots:e._u([{key:"header",fn:function(t){return[i("span",[e._v("#")])]}}])})],e._v(" "),e._t("default"),e._v(" "),e.exField.gridCode?[e._l(e.exFieldRows,function(e){return[i("ExtendColumn",{attrs:{exFieldRow:e}})]})]:e._e(),e._v(" "),e.recHide?e._e():[i("el-table-column",{attrs:{align:"left","header-align":"center",label:"创建人",noEdit:"",prop:"recNam",sortable:"",width:"auto"}}),e._v(" "),i("el-table-column",{attrs:{inputProp:e.$date,align:"center",input:"el-date-picker",label:"创建时间",noEdit:"",prop:"recTim",sortable:"",width:"135px"}}),e._v(" "),i("el-table-column",{attrs:{align:"left","header-align":"center",label:"更新人",noEdit:"",prop:"updNam",sortable:"",width:"auto"}}),e._v(" "),i("el-table-column",{attrs:{inputProp:e.$date,align:"center",input:"el-date-picker",label:"更新时间",noEdit:"",prop:"updTim",sortable:"",width:"135px"}})]],2):e._e(),e._v(" "),!e.pageHide||e.showBtnTool?i("div",{ref:"pagecon",staticClass:"pagination-container",staticStyle:{height:"26px",overflow:"hidden"}},[e.showBtnTool?i("div",{staticStyle:{float:"left"}},[e._t("btnTool",[e.addHide?e._e():i("hd-btn",{staticClass:"hdBtnTool",attrs:{icon:"el-icon-plus",hint:"增加",vid:"doAdd",keyType:"add"},on:{click:e.doAdd}}),e._v(" "),e.delHide?e._e():i("hd-btn",{staticClass:"hdBtnTool",attrs:{icon:"el-icon-minus",hint:"删除",keyType:"del"},on:{click:e.doRemove}}),e._v(" "),e.saveHide?e._e():i("hd-btn",{staticClass:"hdBtnTool",attrs:{icon:"el-icon-check",hint:"保存",keyType:"save"},on:{click:e.doSave}})])],2):e._e(),e._v(" "),e.pageHide?e._e():i("el-pagination",{staticStyle:{float:"right"},attrs:{"current-page":e.hdQuery.page,"page-size":e.hdQuery.rows,"page-sizes":e.pageSizeArray,total:e.hdResult.total,layout:" total, slot, prev, pager, next,sizes",small:""},on:{"update:currentPage":function(t){e.$set(e.hdQuery,"page",t)},"current-change":e.hdQuery.doCurPageChange,"size-change":e.rowSizeChg}})],1):e._e(),e._v(" "),e.gridShowIs?i("GridShow",{ref:"gridShow",on:{"save-ok":function(t){e.gridShow()}}}):e._e(),e._v(" "),e.exField.open&&e.exFieldShowIs?i("GridExField",{ref:"exFieldShow",attrs:{columnList:e.exField.columnList,gridCode:e.exField.gridCode,table:e.exField.table},on:{"save-ok":function(t){e.exFieldShow()}}}):e._e(),e._v(" "),e.pdfShowIs?i("PdfShow",{ref:"pdfshow",attrs:{gening:e.pdfAllExporting},on:{close:function(t){e.pdfShowIs=!1}}}):e._e(),e._v(" "),e.rightMenuOpen?i("hd-right-menu",{directives:[{name:"show",rawName:"v-show",value:e.rightMenuVisable,expression:"rightMenuVisable"}],ref:"rightMenu",on:{"do-add":e.doAdd,"do-update":e.doUpdateOne,"do-remove":e.doRemoveOne,"do-copy":e.doCopyOne}},[i("template",{slot:"rightMenu"},[e._t("rightMenu")],2),e._v(" "),i("template",{slot:"rightMenuExt"},[e._t("rightMenuExt")],2)],2):e._e()],1)},n=[],r={render:o,staticRenderFns:n};t.a=r}]);
|
package/lib/js/HdGridEditBtn.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=255)}({0:function(t,e){t.exports=function(t,e,n,o,r,i){var c,s=t=t||{},d=typeof t.default;"object"!==d&&"function"!==d||(c=t,s=t.default);var a="function"==typeof s?s.options:s;e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns,a._compiled=!0),n&&(a.functional=!0),r&&(a._scopeId=r);var u;if(i?(u=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)},a._ssrRegister=u):o&&(u=o),u){var f=a.functional,l=f?a.render:a.beforeCreate;f?(a._injectStyles=u,a.render=function(t,e){return u.call(e),l(t,e)}):a.beforeCreate=l?[].concat(l,u):[u]}return{esModule:c,exports:s,options:a}}},106:function(t,e,n){"use strict";e.a={name:"HdGridEditBtn",inheritAttrs:!1,props:{gridRef:{type:String,default:"grid"},row:Object},data:function(){return{}}}},255:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(106),r=n(256),i=n(0),c=i(o.a,r.a,!1,null,null,null);e.default=c.exports},256:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.row.isEdit?t._e():n("hd-btn",{attrs:{icon:"el-icon-edit",hint:"编辑"},on:{click:function(e){e.stopPropagation(),t.$vnode.context.$refs[t.gridRef].doEdit(t.row)}}}),t._v(" "),t.row.isEdit?n("hd-btn",{attrs:{hint:"撤销"},on:{click:function(e){e.stopPropagation(),t.$vnode.context.$refs[t.gridRef].doCancel(t.row)}}},[n("svg-icon",{attrs:{"icon-class":"undo"}})],1):t._e(),t._v(" "),t.row.isEdit?n("hd-btn",{attrs:{icon:"el-icon-check",hint:"保存"},on:{click:function(e){e.stopPropagation(),t.$vnode.context.$refs[t.gridRef].doSave(t.row)}}}):t._e(),t._v(" "),t.row.isEdit?t._e():n("hd-btn",{attrs:{icon:"el-icon-delete",hint:"删除"},on:{click:function(e){e.stopPropagation(),t.$vnode.context.$refs[t.gridRef].doRemove(t.row)}}})],1)},r=[],i={render:o,staticRenderFns:r};e.a=i}});
|
package/lib/js/HdGridSel.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,r){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=253)}({0:function(e,t){e.exports=function(e,t,i,r,n,o){var s,l=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(s=e,l=e.default);var u="function"==typeof l?l.options:l;t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),i&&(u.functional=!0),n&&(u._scopeId=n);var c;if(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=r),c){var d=u.functional,f=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),f(e,t)}):u.beforeCreate=f?[].concat(f,c):[c]}return{esModule:s,exports:l,options:u}}},105:function(e,t,i){"use strict";t.a={name:"HdGridSel",data:function(){return{openHandler:null,threePointShow:!0,searchVal:this.txtVal,visible:!1,isFirst:!0,searchHandler:Object,isSoftFocus:!1}},inheritAttrs:!1,props:{txtVal:String,idVal:String,placeholder:String,disabled:Boolean,hdQuery:Object,url:String,height:{type:String,default:"40vh"},width:{type:String,default:"100%"},beforeQuery:Function},mounted:function(){var e=this;this.$nextTick(function(){e.$refs.popSel&&e.$refs.popSel.referenceElm.setAttribute("tabindex",-1)})},methods:{focus:function(){var e=this;if(this.$emit("focus"),this.isSoftFocus)return this.isSoftFocus=!1,!1;this.openHandler=setTimeout(function(){e.visible=!0,e.openHandler=null},150)},blur:function(){this.openHandler&&(clearTimeout(this.openHandler),this.openHandler=null)},doClear:function(){this.$parent.$emit("update:txtVal",""),this.$parent.$emit("update:idVal",""),this.$emit("clear")},doMouseEnter:function(){if(this.disabled)return!1;this.idVal&&(this.threePointShow=!1)},doMouseLeave:function(){this.threePointShow=!0},rowClick:function(e){this.$emit("rowClick",e),this.isSoftFocus=!0,this.$refs.sel.focus(),this.visible=!1},visbileKeyAdd:function(){var e=this;document.onkeydown=function(t){var i=window.event.keyCode;9!=i&&27!=i||(e.visible=!1)}},visbileKeyRemove:function(){document.onkeydown=function(e){}}},watch:{searchVal:function(e){var t=this;if(!this.visible)return!1;this.searchTimeHandler&&clearTimeout(this.searchTimeHandler),this.searchTimeHandler=setTimeout(function(){t.searchTimeHandler=null,t.beforeQuery&&t.beforeQuery(e),t.$refs.grid.doQuery().then(function(){t.$refs.grid.$refs.hdgrid.setCurrentRow(0)})},600)},txtVal:function(e){this.searchVal=this.txtVal},visible:function(e){var t=this;e?(this.$refs.grid.$refs.hdgrid.scroller=0,this.$refs.grid.addHotKey(),this.visbileKeyAdd()):(this.$refs.grid.removeHotKey(),this.visbileKeyRemove(),this.searchVal=this.txtVal),e&&(this.beforeQuery&&this.beforeQuery(),this.$refs.grid.doQuery(null).then(function(){t.$refs.grid.$refs.hdgrid.setCurrentRow(0)}))}}}},253:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(105),n=i(254),o=i(0),s=o(r.a,n.a,!1,null,null,null);t.default=s.exports},254:function(e,t,i){"use strict";var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-popover",{ref:"popSel",attrs:{disabled:e.disabled,placement:"bottom-start",popperClass:"hd-grid-sel"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[i("div",{style:{height:e.height,width:e.width}},[i("hd-com-grid",e._g(e._b({ref:"grid",attrs:{findUrl:e.url,hdQuery:e.hdQuery,ckHide:"",indexHide:"",noSets:"",notInit:"",recHide:""},on:{enterClick:function(t){e.rowClick(e.hdQuery.selRow)},"row-click":e.rowClick}},"hd-com-grid",e.$attrs,!1),e.$listeners),[e._t("query",null,{slot:"query"}),e._v(" "),e._t("default")],2)],1)]),e._v(" "),i("div",[i("el-input",{directives:[{name:"popover",rawName:"v-popover:popSel",arg:"popSel"}],ref:"sel",attrs:{clearable:!1,disabled:e.disabled,placeholder:e.placeholder?e.$t(e.placeholder):e.$t("请选择"),readonly:!e.visible},on:{blur:e.blur,focus:e.focus},nativeOn:{mouseenter:function(t){e.doMouseEnter(t)},mouseleave:function(t){e.doMouseLeave(t)}},model:{value:e.searchVal,callback:function(t){e.searchVal=t},expression:"searchVal"}},[e.threePointShow?e._e():i("i",{staticClass:"el-input__icon el-icon-circle-close",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){t.stopPropagation(),e.doClear(t)}},slot:"suffix"}),e._v(" "),e.threePointShow?i("i",{staticClass:"el-input__icon el-icon-more",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){e.$emit("pop")}},slot:"suffix"}):e._e()])],1)],1)},n=[],o={render:r,staticRenderFns:n};t.a=o}});
|
package/lib/js/HdHeader.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=205)}({0:function(e,t){e.exports=function(e,t,n,r,o,i){var s,a=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(s=e,a=e.default);var l="function"==typeof a?a.options:a;t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o);var d;if(i?(d=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)},l._ssrRegister=d):r&&(d=r),d){var c=l.functional,h=c?l.render:l.beforeCreate;c?(l._injectStyles=d,l.render=function(e,t){return d.call(t),h(e,t)}):l.beforeCreate=h?[].concat(h,d):[d]}return{esModule:s,exports:a,options:l}}},1:function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var s=e[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},2:function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=d[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(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o<n.parts.length;o++)s.push(i(n.parts[o]));d[n.id]={id:n.id,refs:1,parts:s}}}}function o(){var e=document.createElement("style");return e.type="text/css",c.appendChild(e),e}function i(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(p)return v;r.parentNode.removeChild(r)}if(m){var i=f++;r=h||(h=o()),t=s.bind(null,r,i,!1),n=s.bind(null,r,i,!0)}else r=o(),t=a.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()}}function s(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function a(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),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{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)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 l=n(3),d={},c=u&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){p=n;var o=l(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],a=d[s.id];a.refs--,n.push(a)}t?(o=l(e,t),r(o)):o=[];for(var i=0;i<n.length;i++){var a=n[i];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete d[a.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},205:function(e,t,n){"use strict";function r(e){n(206)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(89),i=n(208),s=n(0),a=r,u=s(o.a,i.a,!1,a,null,null);t.default=u.exports},206:function(e,t,n){var r=n(207);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("10a8f0ee",r,!0)},207:function(e,t,n){t=e.exports=n(1)(void 0),t.push([e.i,".hdHeader{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-flex:1;-ms-flex:1;flex:1}.asideDrag,.moveline{width:100%;height:5px;overflow:hidden;cursor:ns-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.moveline{position:fixed;background-color:red;z-index:9999}.dragShowCls{background-color:#409eff}",""])},208:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ExHeader",{ref:"header",staticStyle:{display:"flex","flex-direction":"column"},attrs:{height:e.nowHeight}},[n("div",{staticClass:"hdHeader"},[e.title?[n("div",{staticClass:"hd-title"},[n("div",{staticStyle:{float:"left"},attrs:{align:"left"}},[e._v(e._s(e.$t(e.title)))]),e._v(" "),e._t("title"),e._v(" "),e.arrowShow?n("div",{attrs:{align:"right"}},[n("i",{class:[e.fa,e.arrowClass],staticStyle:{cursor:"pointer"},on:{click:function(t){e.isShrink?e.doShrink(!1):e.doShrink(!0)}}})]):e._e()],2)]:e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isShrink,expression:"!isShrink"}],staticStyle:{flex:"1",height:"100%",position:"relative"}},[n("div",{staticStyle:{position:"absolute",width:"100%",height:"100%"}},[e._t("default")],2)]),e._v(" "),e.noDrag?e._e():n("div",{staticClass:"asideDrag",class:{dragShowCls:e.dragShow},on:{mousedown:function(t){e.mousedown(t)},mouseout:function(t){e.dragShow=!1},mouseover:function(t){e.dragShow=!0}}}),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:null!=e.dragFrom,expression:"dragFrom!=null"}],ref:"moveline",staticClass:"moveline"})],2)])},o=[],i={render:r,staticRenderFns:o};t.a=i},3:function(e,t){e.exports=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],s=i[0],a=i[1],u=i[2],l=i[3],d={id:e+":"+o,css:a,media:u,sourceMap:l};r[s]?r[s].parts.push(d):n.push(r[s]={id:s,parts:[d]})}return n}},89:function(e,t,n){"use strict";t.a={name:"HdHeader",component:{},props:{height:String,title:String,arrowShow:{type:Boolean,default:!0},noDrag:{type:Boolean,default:!1}},inheritAttrs:!1,data:function(){return{inputHeight:0,iconCls:"el-icon-d-caret",arrowClass:"fa-chevron-up",fa:"fa",isShrink:!1,dragFrom:null,nowHeight:"100px",dragShow:!1}},mounted:function(){this.height&&(this.nowHeight=this.height),this.inputHeight=this.nowHeight},methods:{doShrink:function(e){e?(this.title?this.nowHeight="30px":this.nowHeight="15px",this.arrowClass="fa-chevron-down"):(this.nowHeight=this.inputHeight,this.arrowClass="fa-chevron-up"),this.isShrink=e},mousedown:function(e){this.$set(this.$store.state,"hotKey","-1"),this.dragFrom=e.y,this.$refs.moveline.style.top=this.dragFrom+"px",document.documentElement.addEventListener("mousemove",this.handleMove,!0),document.documentElement.addEventListener("mouseup",this.handleMouseup,!0)},handleMove:function(e){this.$refs.moveline.style.top=e.y+"px"},handleMouseup:function(e){document.documentElement.removeEventListener("mousemove",this.handleMove,!0),document.documentElement.removeEventListener("mouseup",this.handleMouseup,!0);var t=this.$refs.header.$el.offsetHeight+e.y-this.dragFrom;this.nowHeight=t+"px",this.dragFrom=null,this.$set(this.$store.state,"hotKey",null),t<=70&&this.doShrink(!0),t>=100&&(this.isShrink=!1)}},watch:{nowHeight:function(e){this.$emit("update:height",e)},width:function(e){this.nowHeight=e}}}}});
|
package/lib/js/HdHotkey.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=77)}({0:function(e,t){e.exports=function(e,t,n,r,o,s){var i,a=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(i=e,a=e.default);var c="function"==typeof a?a.options:a;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId=o);var f;if(s?(f=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(s)},c._ssrRegister=f):r&&(f=r),f){var d=c.functional,p=d?c.render:c.beforeCreate;d?(c._injectStyles=f,c.render=function(e,t){return f.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,f):[f]}return{esModule:i,exports:a,options:c}}},1:function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var s=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([s]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var s=this[o][0];"number"==typeof s&&(r[s]=!0)}for(o=0;o<e.length;o++){var i=e[o];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),t.push(i))}},t}},2:function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=f[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(s(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;o<n.parts.length;o++)i.push(s(n.parts[o]));f[n.id]={id:n.id,refs:1,parts:i}}}}function o(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function s(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(g){var s=l++;r=p||(p=o()),t=i.bind(null,r,s,!1),n=i.bind(null,r,s,!0)}else r=o(),t=a.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()}}function i(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var s=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(s,i[t]):e.appendChild(s)}}function a(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),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{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)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 c=n(4),f={},d=u&&(document.head||document.getElementsByTagName("head")[0]),p=null,l=0,h=!1,v=function(){},g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){h=n;var o=c(e,t);return r(o),function(t){for(var n=[],s=0;s<o.length;s++){var i=o[s],a=f[i.id];a.refs--,n.push(a)}t?(o=c(e,t),r(o)):o=[];for(var s=0;s<n.length;s++){var a=n[s];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete f[a.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},4:function(e,t){e.exports=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var s=t[o],i=s[0],a=s[1],u=s[2],c=s[3],f={id:e+":"+o,css:a,media:u,sourceMap:c};r[i]?r[i].parts.push(f):n.push(r[i]={id:i,parts:[f]})}return n}},58:function(e,t,n){"use strict";t.a={name:"HdHotKey",data:function(){return{isFocus:!1,rangeThis:{}}},props:["keyMap","hotKeyRange"],created:function(){this.rangeThis=this.getRangeThis(),this.$set(this.$store.state,"IdevFocus",-1)},mounted:function(){var e=this;this.$nextTick(function(){if(e.rangeThis){var t=e.rangeThis.$el;t.onmouseenter=function(){"-1"!=e.$store.state.hotKey&&e.$set(e.$store.state,"IdevFocus",e.rangeThis._uid)},t.onmouseleave=function(){e.$set(e.$store.state,"IdevFocus","-1")}}})},methods:{getRangeThis:function(){for(var e=this.$parent;e;){if(e.$options._componentTag==this.hotKeyRange)return e;e=e.$parent}return null},doMethod:function(e){this.$emit("do",e)}},watch:{"$store.state.IdevFocus":function(){if(!this.rangeThis)return!1;this.rangeThis.$el&&(this.$store.state.IdevFocus==this.rangeThis._uid?this.isFocus=!0:this.isFocus=!1)}}}},77:function(e,t,n){"use strict";function r(e){n(78)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(58),s=n(80),i=n(0),a=r,u=i(o.a,s.a,!1,a,null,null);t.default=u.exports},78:function(e,t,n){var r=n(79);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("09b209a1",r,!0)},79:function(e,t,n){t=e.exports=n(1)(void 0),t.push([e.i,"",""])},80:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isFocus?n("div",{directives:[{name:"shortkey",rawName:"v-shortkey",value:e.keyMap,expression:"keyMap"}],on:{shortkey:e.doMethod}}):e._e()},o=[],s={render:r,staticRenderFns:o};t.a=s}});
|
package/lib/js/HdLayout.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){function e(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,i){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=265)}([function(t,e){t.exports=function(t,e,r,i,n,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l="function"==typeof s?s.options:s;e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0),r&&(l.functional=!0),n&&(l._scopeId=n);var u;if(o?(u=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(o)},l._ssrRegister=u):i&&(u=i),u){var d=l.functional,h=d?l.render:l.beforeCreate;d?(l._injectStyles=u,l.render=function(t,e){return u.call(e),h(t,e)}):l.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:l}}},function(t,e){function r(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var o=i(n);return[r].concat(n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"})).concat([o]).join("\n")}return[r].join("\n")}function i(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=r(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var o=this[n][0];"number"==typeof o&&(i[o]=!0)}for(n=0;n<t.length;n++){var a=t[n];"number"==typeof a[0]&&i[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(t,e,r){function i(t){for(var e=0;e<t.length;e++){var r=t[e],i=u[r.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](r.parts[n]);for(;n<r.parts.length;n++)i.parts.push(o(r.parts[n]));i.parts.length>r.parts.length&&(i.parts.length=r.parts.length)}else{for(var a=[],n=0;n<r.parts.length;n++)a.push(o(r.parts[n]));u[r.id]={id:r.id,refs:1,parts:a}}}}function n(){var t=document.createElement("style");return t.type="text/css",d.appendChild(t),t}function o(t){var e,r,i=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(i){if(f)return v;i.parentNode.removeChild(i)}if(m){var o=p++;i=h||(h=n()),e=a.bind(null,i,o,!1),r=a.bind(null,i,o,!0)}else i=n(),e=s.bind(null,i),r=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else r()}}function a(t,e,r,i){var n=r?"":i.css;if(t.styleSheet)t.styleSheet.cssText=g(e,n);else{var o=document.createTextNode(n),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function s(t,e){var r=e.css,i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),n&&(r+="\n/*# sourceURL="+n.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)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 l=r(3),u={},d=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,p=0,f=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,r){f=r;var n=l(t,e);return i(n),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o],s=u[a.id];s.refs--,r.push(s)}e?(n=l(t,e),i(n)):n=[];for(var o=0;o<r.length;o++){var s=r[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e){for(var r=[],i={},n=0;n<e.length;n++){var o=e[n],a=o[0],s=o[1],c=o[2],l=o[3],u={id:t+":"+n,css:s,media:c,sourceMap:l};i[a]?i[a].parts.push(u):r.push(i[a]={id:a,parts:[u]})}return r}},,,,,,function(t,e){t.exports=require("babel-runtime/helpers/toConsumableArray")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=require("babel-runtime/helpers/extends")},function(t,e){t.exports=require("vuex")},function(t,e){t.exports=require("babel-runtime/core-js/get-iterator")},function(t,e){t.exports=require("fuse.js")},function(t,e,r){(function(t){function r(t,e){for(var r=0,i=t.length-1;i>=0;i--){var n=t[i];"."===n?t.splice(i,1):".."===n?(t.splice(i,1),r++):r&&(t.splice(i,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function i(t){"string"!=typeof t&&(t+="");var e,r=0,i=-1,n=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!n){r=e+1;break}}else-1===i&&(n=!1,i=e+1);return-1===i?"":t.slice(r,i)}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],i=0;i<t.length;i++)e(t[i],i,t)&&r.push(t[i]);return r}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=r(n(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return t=r(n(t.split("/"),function(t){return!!t}),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(n(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,r){function i(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var n=i(t.split("/")),o=i(r.split("/")),a=Math.min(n.length,o.length),s=a,c=0;c<a;c++)if(n[c]!==o[c]){s=c;break}for(var l=[],c=s;c<n.length;c++)l.push("..");return l=l.concat(o.slice(s)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,i=-1,n=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!n){i=o;break}}else n=!1;return-1===i?r?"/":".":r&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var r=i(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,r=0,i=-1,n=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(n=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!n){r=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===r+1?"":t.slice(e,i)};var o="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(e,r(75))},function(t,e){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function n(t){if(u===setTimeout)return setTimeout(t,0);if((u===r||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function o(t){if(d===clearTimeout)return clearTimeout(t);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(t);try{return d(t)}catch(e){try{return d.call(null,t)}catch(e){return d.call(this,t)}}}function a(){v&&p&&(v=!1,p.length?f=p.concat(f):m=-1,f.length&&s())}function s(){if(!v){var t=n(a);v=!0;for(var e=f.length;e;){for(p=f,f=[];++m<e;)p&&p[m].run();m=-1,e=f.length}p=null,v=!1,o(t)}}function c(t,e){this.fun=t,this.array=e}function l(){}var u,d,h=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:r}catch(t){u=r}try{d="function"==typeof clearTimeout?clearTimeout:i}catch(t){d=i}}();var p,f=[],v=!1,m=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];f.push(new c(t,e)),1!==f.length||v||n(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.prependListener=l,h.prependOnceListener=l,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var i=r(268),n=r(113),o=r(279),a=r(291),s=r(295);e.a={name:"layout",components:{MainHeader:o.a,Navbar:i.a,hdmenu:s.a,AppMain:a.a,TagsView:n.a},computed:{sidebar:function(){return this.$store.state.app.sidebar},onlyContent:function(){return 1==this.$route.query.onlycontent}},watch:{"$store.state.user.skin":{handler:function(t,e){document.getElementsByTagName("body")[0].className="body-"+t,this.$emit("chgTheme",t)},immediate:!0}}}},function(t,e,r){"use strict";var i=r(113);e.a={components:{TagsView:i.a},data:function(){return{}},computed:{},methods:{}}},function(t,e,r){"use strict";function i(t){r(271)}var n=r(114),o=r(277),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-055eae09",null);e.a=c.exports},function(t,e,r){"use strict";var i=r(273);e.a={components:{ScrollPane:i.a},data:function(){return{visible:!1,top:0,left:0,showHeaderCls:"el-icon-upload2"}},computed:{visitedViews:function(){return this.$store.state.app.visitedViews}},watch:{$route:function(){this.addViewTags()},visible:function(t){t?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){this.addViewTags()},methods:{headerToggle:function(){!1===this.$store.state.app.headerShow?(this.showHeaderCls="el-icon-upload2",this.$set(this.$store.state.app,"headerShow",!0)):(this.showHeaderCls="el-icon-download",this.$set(this.$store.state.app,"headerShow",!1))},closeViewTags:function(t,e){var r=this;this.$store.dispatch("delView",t).then(function(e){if(r.isActive(t)){var i=e.slice(-1)[0];i?r.$router.push(i.path):r.$router.push("/")}}),e.preventDefault()},generateRoute:function(){return!!this.$route.name&&this.$route},addViewTags:function(){var t=this.generateRoute();if(!t)return!1;this.$store.dispatch("addView",t)},isActive:function(t){return t.name===this.$route.name},refreshSelectedTag:function(){this.$store.dispatch("refreshView",this.$store.state.app.selectedView)},closeOthersTags:function(){this.$router.push(this.$store.state.app.selectedView),this.$store.dispatch("delOthersViews",this.$store.state.app.selectedView).then(function(){})},closeAllTags:function(){this.$store.dispatch("delAllViews"),this.$router.push("/")},openMenu:function(t,e){var r=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,n=i-105,o=e.clientX-r+15;this.left=o>n?n:o,this.top=e.clientY-40,this.visible=!0,this.$store.state.app.selectedView=t,console.log(this.$store.state.app.selectedView)},closeMenu:function(){this.visible=!1},openInNewWin:function(){var t=this.$store.state.app.selectedView,e=this.$router.resolve({name:t.name,params:t.params,query:{onlycontent:1}});window.open(e.href,t.name)}}}},function(t,e,r){"use strict";e.a={name:"scrollPane",data:function(){return{left:0,tmpWrapperWidth:0}},updated:function(){this.tmpWrapperWidth!=this.$refs.scrollWrapper.offsetWidth&&(this.tmpWrapperWidth=this.$refs.scrollWrapper.offsetWidth,this.$refs.scrollContainer.offsetWidth-this.$refs.scrollWrapper.offsetWidth<100&&(this.left=this.$refs.scrollContainer.offsetWidth-this.$refs.scrollWrapper.offsetWidth-100))},methods:{handleScroll:function(t){t.preventDefault();var e=this.$refs.scrollContainer,r=e.offsetWidth,i=this.$refs.scrollWrapper,n=i.offsetWidth;t.wheelDelta>0?this.left=Math.min(0,this.left+t.wheelDelta):r-100<n?this.left<-(n-r+100)?this.left=this.left:this.left=Math.max(this.left+t.wheelDelta,r-n-100):this.left=0},handleFoxScroll:function(t){t.preventDefault();var e=this.$refs.scrollContainer,r=e.offsetWidth,i=this.$refs.scrollWrapper,n=i.offsetWidth,o=-10*t.detail;o>0?this.left=Math.min(0,this.left+o):r-100<n?this.left<-(n-r+100)?this.left=this.left:this.left=Math.max(this.left+o,r-n-100):this.left=0}}}},function(t,e,r){"use strict";var i=r(70),n=r.n(i),o=r(71),a=(r.n(o),r(282)),s=r(286),c=r(288);e.a={name:"mainHeader",mixins:[c.a],components:{changepswform:s.a,search:a.a},data:function(){return{show:!1,params:{entityId:this.$store.getters.token,entityName:"avatar"},headers:{smail:"*_~"},imgDataUrl:"",style:this.$store.state.user.skin}},mounted:function(){"1"==this.$store.state.user.nextChgId&&this.changePsw(),this.$i18n.locale=this.$store.state.user.language||"zh",this.placeholderChg()},computed:n()({},Object(o.mapGetters)(["sidebar","name","avatar","language"]),{nextLanguage:function(){return"zh"==this.$i18n.locale?"English":"中文"},colorStyle:function(){return"zh"==this.$i18n.locale?"zhjack":"enjack"}}),methods:{editBoard:function(){this.$router.push({path:"/dashboard",query:{isEdit:"1"}})},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})},changePsw:function(){this.$refs.changepswform.show()},changeAvatar:function(){this.show=!this.show},cropSuccess:function(t,e){this.$store.state.user.avatar=t},cropUploadSuccess:function(t,e){},cropUploadFail:function(t,e){},changeStyle:function(t){this.$store.state.user.skin=t,this.$http.get("/webresources/login/privilege/AuthUser/updateUserStyleCss/"+t+"?stylecss="+t).then(function(t){t.data})},showMessage:function(){this.$router.push({path:"/privilege/commsgto"})},changeLanguage:function(t){this.$i18n.locale=t,this.$store.state.user.language=t,this.placeholderChg(),this.$http.get("/webresources/login/privilege/AuthUser/updateUserLanguage/"+t).then(function(t){t.datas})},placeholderChg:function(){this.$date.placeholder=this.$t("选择日期"),this.$time.placeholder=this.$t("选择时间"),this.$simdate.placeholder=this.$t("选择日期"),this.$simtime.placeholder=this.$t("选择时间")}}}},function(t,e,r){"use strict";var i=r(9),n=r.n(i),o=r(72),a=r.n(o),s=r(73),c=r.n(s),l=r(74),u=r.n(l);e.a={name:"ElasticSearch",data:function(){return{search:"",options1:[],options2:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.state.permission.hdMenu},lang:function(){return this.$store.getters.language}},watch:{lang:function(){this.searchPool=this.generateRoutes(this.routes)},routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(t){this.initFuse(t)},show:function(t){t?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options1=[],this.options2=[],this.show=!1},change:function(t){var e=this;this.$router.push(t.path),this.search="",this.options1=[],this.options2=[],this.$nextTick(function(){e.show=!1})},initFuse:function(t){this.fuse=new c.a(t,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=[],o=!0,s=!1,c=void 0;try{for(var l,d=a()(t);!(o=(l=d.next()).done);o=!0){var h=l.value;if(!h.hidden){var p={path:u.a.resolve(e,h.path),title:[].concat(n()(r))};if(h.meta&&h.meta.title){var f="zh"==this.$i18n.locale?h.meta.title:h.meta.enTitle;p.title=[].concat(n()(p.title),[f]),"noredirect"!==h.redirect&&i.push(p)}if(h.children){var v=this.generateRoutes(h.children,p.path,p.title);v.length>=1&&(i=[].concat(n()(i),n()(v)))}}}}catch(t){s=!0,c=t}finally{try{!o&&d.return&&d.return()}finally{if(s)throw c}}return i},querySearch:function(t){var e=this;this.options1=""!==t?this.fuse.search(t):[],this.$store.state.app.elsearch&&(this.options2=[{text:this.$t("加载中...")}],this.$http.get("/webresources/login/com/ComSearch/search?q="+t+"&type="+this.$i18n.locale).then(function(r){e.options2=[],r.data.forEach(function(r){var i=r.menuPath.reverse().join("=>");"en"==e.$i18n.locale&&(i=r.menuEnPath.reverse().join("=>")),e.options2.push({path:"/"+r.menuUrl+"?q="+t,text:i+"=>"+r.content})})}))}}}},function(t,e,r){"use strict";e.a={name:"registform",data:function(){var t=this,e=function(e,r,i){!r||r.length<2?i(new Error(t.$t("密码不能小于2位"))):i()};return{hdform:{},visiable:!1,tsLoading:!1,loading:!1,checkRules:{oldPassword:[{required:!0,trigger:"change",validator:e}],newPassword:[{required:!0,trigger:"change",validator:e}],passwordTemp:[{required:!0,trigger:"change",validator:function(e,r,i){t.hdform.newPassword!==t.hdform.passwordTemp?i(new Error(t.$t("两次输入密码不一致"))):i()}}]}}},methods:{show:function(){this.visiable=!0},doRegist:function(){var t=this;this.$refs.hdform.validate(function(e){return!!e&&(t.hdform.passwordTemp!==t.hdform.newPassword?(t.$alert(t.$t("两次密码输入不一致"),t.$t("错误")),!1):(t.loading=!0,void t.$http.post("/webresources/login/privilege/AuthUser/modifyPasswordVue?oldPassword="+t.hdform.oldPassword+"&newPassword="+t.hdform.newPassword).then(function(e){t.loading=!1;var r=e.data;t.$message({type:"-1"===r.code?"error":"success",message:r.message}),"-1"!==r.code&&(t.visiable=!1)})))})}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__HZRecorder_js__=__webpack_require__(289),__WEBPACK_IMPORTED_MODULE_0__HZRecorder_js___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__HZRecorder_js__);__webpack_exports__.a={name:"VocRec",components:{},mounted:function(){this.vocRec()},data:function(){return{vocTimeHandle:null,vocTime:0,recorder:null,hotKeyDown:!1,isRecording:!1}},methods:{vocHotKey:function(){this.hotKeyDown?(this.hotKeyDown=!1,this.endRecording()):(this.hotKeyDown=!0,this.startRecording())},vocRec:function(){var t=this;$(".mainHeader .mike").mousedown(function(){console.info("startClick"),t.startRecording()}),$(".mainHeader .mike").mouseup(function(){t.endRecording()})},startRecording:function(){var t=this;this.isRecording=!0,HZRecorder.get(function(e){t.recorder=e,t.isRecording?t.recorder.start():t.recorder.stop()}),this.vocTime=(new Date).getTime(),this.$message({message:this.$t("正在录音..."),type:"warn",duration:999999,showClose:!0})},endRecording:function(){if(this.stopRecording(),this.$message.closeAll(),(new Date).getTime()-this.vocTime<1e3)return!1;this.uploadAudio()},uploadAudio:function uploadAudio(){var _this3=this;this.recorder.upload("/webresources/login/com/comwav/vocRec",function(state,e){switch(state){case"uploading":break;case"ok":var genJson=eval("("+e.target.responseText+")");genJson.message&&("1"==genJson.code?_this3.$router.push({name:genJson.message}):(_this3.$store.state.app.vocRec=genJson.message,console.info(genJson.message)))}})},stopRecording:function(){this.isRecording=!1,this.recorder.stop()}}}},function(t,e,r){"use strict";e.a={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.app.cachedViews},key:function(){return this.$route.name},reload:function(){return!0!==this.$store.state.app.refreshPage}}}},function(t,e,r){"use strict";var i=r(70),n=r.n(i),o=r(71),a=(r.n(o),r(296));e.a={components:{HdMenu:a.a},computed:n()({},Object(o.mapGetters)(["hdMenu","sidebar"]),{isCollapse:function(){return!this.sidebar.opened}})}},function(t,e,r){"use strict";var i=r(70),n=r.n(i),o=r(71),a=(r.n(o),r(300));e.a={name:"SidebarItem",components:{Hamburger:a.a},props:{routes:{type:Array}},data:function(){return{menuVisitUrl:"",menuSelUrl:"",isShow:!1}},mounted:function(){},methods:{generateTitle:function(t){return"zh"==this.$i18n.locale?t.title:t.enTitle},mouseOver:function(t){if(1!=this.isShow){var e=document.getElementsByClassName("hd-header")[0].clientHeight,r=t.currentTarget.getElementsByClassName("subitem")[0];t.currentTarget.classList.add("layer"),r.style.left=t.currentTarget.offsetWidth-10+"px",r.style.position="fixed",r.style.overflow="auto";var i=t.currentTarget.offsetTop-this.$refs.scrollbar.wrap.scrollTop+e+this.$refs.menuSvg.clientHeight,n=r.clientHeight;i+n>document.body.clientHeight?i+ +t.currentTarget.clientHeight-n<0?(r.style.top="0px",r.style.bottom="0px"):r.style.top=i+t.currentTarget.clientHeight-n+"px":r.style.top=i+"px",this.isShow=!0}},mouseLeave:function(t){this.isShow=!1,t.currentTarget.classList.remove("layer")},clickOne:function(t){var e=this;if(!t.path&&!t.redirect)return!1;var r={path:t.path?t.path:t.url,menuId:t.menuId,title:t.meta.title};if(this.$http.post("/webresources/login/com/ComMenuHistory/menuClick",r).then(function(t){e.menuSelUrl=e.menuVisitUrl}),"2"===t.meta.type)if(t.redirect)window.open(t.redirect,"_blank");else{var i=this.$router.resolve({name:t.name,params:t.meta.addQuery});window.open(i.href,"_blank")}else this.$router.push({name:t.name,params:t.meta.addQuery})},toggleSideBar:function(){this.$store.dispatch("toggleSideBar")}},computed:n()({},Object(o.mapGetters)(["sidebar"]))}},function(t,e,r){"use strict";e.a={name:"hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";function i(t){r(266)}Object.defineProperty(e,"__esModule",{value:!0});var n=r(111),o=r(306),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-6bfecc2f",null);e.default=c.exports},function(t,e,r){var i=r(267);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("d932fd5e",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,".hd-layout[data-v-6bfecc2f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hd-layout .hd-header[data-v-6bfecc2f]{height:52px;width:100%}.hd-layout .hd-content[data-v-6bfecc2f]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.hd-layout .hd-content .hd-menu[data-v-6bfecc2f]{width:50px}.hd-layout .hd-content .hd-main[data-v-6bfecc2f]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}",""])},function(t,e,r){"use strict";function i(t){r(269)}var n=r(112),o=r(278),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-fe792056",null);e.a=c.exports},function(t,e,r){var i=r(270);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("55c82bc0",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,".navbar[data-v-fe792056]{height:30px;line-height:40px;border-radius:0!important}.navbar .hamburger-container[data-v-fe792056]{float:left;padding:0 10px}.navbar .breadcrumb-container[data-v-fe792056]{float:left}.navbar .errLog-container[data-v-fe792056]{display:inline-block;vertical-align:top}.navbar .right-menu[data-v-fe792056]{float:right;height:100%}.navbar .right-menu[data-v-fe792056]:focus{outline:none}.navbar .right-menu .right-menu-item[data-v-fe792056]{display:inline-block;margin:0 8px}.navbar .right-menu .screenfull[data-v-fe792056]{vertical-align:middle;height:40px}.navbar .right-menu .international[data-v-fe792056]{vertical-align:top}.navbar .right-menu .international .international-icon[data-v-fe792056]{font-size:20px;cursor:pointer;vertical-align:-5px}.navbar .right-menu .theme-switch[data-v-fe792056]{vertical-align:15px}.navbar .right-menu .avatar-container[data-v-fe792056]{height:40px;margin-right:30px}.navbar .right-menu .avatar-container .avatar-wrapper[data-v-fe792056]{cursor:pointer;margin-top:5px;position:relative}.navbar .right-menu .avatar-container .avatar-wrapper .user-avatar[data-v-fe792056]{width:30px;height:30px;border-radius:10px}.navbar .right-menu .avatar-container .avatar-wrapper .el-icon-caret-bottom[data-v-fe792056]{position:absolute;right:-20px;top:25px;font-size:12px}",""])},function(t,e,r){var i=r(272);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("150b0798",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,'.tags-view-container .tags-view-item[data-v-055eae09]{display:inline-block;position:relative;height:26px;line-height:26px;border:1px solid #d8dce5;color:#495060;background:#fff;padding:0 8px;font-size:12px;margin-left:5px;margin-top:4px}.tags-view-container .tags-view-item[data-v-055eae09]:first-of-type{margin-left:15px}.tags-view-container .tags-view-item.active[data-v-055eae09]{background-color:#409eff;color:#fff;border-color:#409eff}.tags-view-container .tags-view-item.active[data-v-055eae09]:before{content:"";background:#fff;display:inline-block;width:8px;height:8px;border-radius:50%;position:relative;margin-right:2px}.tags-view-container .tags-view-item .el-icon-close[data-v-055eae09]{width:16px;height:16px;vertical-align:2px;border-radius:50%;text-align:center;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tags-view-container .tags-view-item .el-icon-close[data-v-055eae09]:before{-webkit-transform:scale(.6);transform:scale(.6);display:inline-block;vertical-align:-3px}.tags-view-container .tags-view-item .el-icon-close[data-v-055eae09]:hover{background-color:#b4bccc;color:#fff}',""])},function(t,e,r){"use strict";function i(t){r(274)}var n=r(115),o=r(276),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-47095b4a",null);e.a=c.exports},function(t,e,r){var i=r(275);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("2c38d7e1",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,".scroll-container[data-v-47095b4a]{white-space:nowrap;position:relative;overflow:hidden}.scroll-container .scroll-wrapper[data-v-47095b4a]{position:absolute}",""])},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"scrollContainer",staticClass:"scroll-container",on:{mousewheel:t.handleScroll,DOMMouseScroll:t.handleFoxScroll}},[r("div",{ref:"scrollWrapper",staticClass:"scroll-wrapper",style:{left:t.left+"px"}},[t._t("default")],2)])},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"tags-view-container"},[r("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-container"},[t._l(Array.from(t.visitedViews),function(e){return r("router-link",{key:e.name,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:t.isActive(e)?"active":"",attrs:{to:{name:e.name,params:e.addQuery}},nativeOn:{mouseup:function(r){if("button"in r&&1!==r.button)return null;t.closeSelectedTag(e)},contextmenu:function(r){r.preventDefault(),t.openMenu(e,r)}}},[t._v("\n "+t._s("zh"==t.$i18n.locale?e.title:e.enTitle)+"\n "),r("span",{staticClass:"el-icon-close",on:{click:function(r){r.stopPropagation(),t.closeViewTags(e,r)}}})])}),t._v(" "),r("div",{staticStyle:{position:"fixed",right:"20px"},on:{click:function(e){t.headerToggle()}}},[r("i",{class:t.showHeaderCls,staticStyle:{"font-size":"20px",color:"#4d90fe"}})])],2),t._v(" "),r("ul",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"context-menu",style:{left:t.left+"px",top:t.top+"px"}},[r("li",{on:{click:function(e){t.refreshSelectedTag()}}},[t._v(t._s(t.$t("tagsView.refresh")))]),t._v(" "),r("li",{on:{click:t.closeOthersTags}},[t._v(t._s(t.$t("tagsView.closeOthers")))]),t._v(" "),r("li",{on:{click:t.closeAllTags}},[t._v(t._s(t.$t("tagsView.closeAll")))]),t._v(" "),r("li",{on:{click:function(e){t.openInNewWin()}}},[t._v(t._s(t.$t("tagsView.openNew")))])])],1)},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[r("tags-view",{staticStyle:{width:"calc(100%)",height:"100%"}})],1)},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";function i(t){r(280)}var n=r(116),o=r(290),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-9d90501e",null);e.a=c.exports},function(t,e,r){var i=r(281);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("6cd081bb",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,'.right-menu-item[data-v-9d90501e]{display:inline-block;margin:0 8px}.item[data-v-9d90501e]{position:absolute;z-index:2000;margin-left:-10px}.el-icon-caret-bottom[data-v-9d90501e]:before{content:""!important}',""])},function(t,e,r){"use strict";function i(t){r(283)}var n=r(117),o=r(285),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-3059b022",null);e.a=c.exports},function(t,e,r){var i=r(284);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("4db130d8",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,".header-search[data-v-3059b022]{font-size:0!important}.header-search .search-icon[data-v-3059b022]{font-size:18px;vertical-align:middle;display:inline-block;cursor:pointer;fill:#e4e9ef}.header-search .header-search-select[data-v-3059b022]{font-size:18px;-webkit-transition:width .2s;transition:width .2s;width:0;overflow:hidden;background:transparent;border-radius:0;display:inline-block;vertical-align:middle}.header-search .header-search-select[data-v-3059b022] .el-input__inner{border-radius:0;border:0;padding-left:0;padding-right:0;-webkit-box-shadow:none!important;box-shadow:none!important;border-bottom:1px solid #d9d9d9;vertical-align:middle}.header-search.show .header-search-select[data-v-3059b022]{width:150px;margin-left:10px}",""])},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"header-search",class:{show:t.show}},[r("svg",{staticClass:"search-icon screenfull-svg",attrs:{height:"32",viewBox:"-10 -10 150 150",width:"32",xmlns:"http://www.w3.org/2000/svg"},on:{click:t.click}},[r("path",{attrs:{d:"M124.884 109.812L94.256 79.166c-.357-.357-.757-.629-1.129-.914a50.366 50.366 0 0 0 8.186-27.59C101.327 22.689 78.656 0 50.67 0 22.685 0 0 22.688 0 50.663c0 27.989 22.685 50.663 50.656 50.663 10.186 0 19.643-3.03 27.6-8.201.286.385.557.771.9 1.114l30.628 30.632a10.633 10.633 0 0 0 7.543 3.129c2.728 0 5.457-1.043 7.543-3.115 4.171-4.157 4.171-10.915.014-15.073M50.671 85.338C31.557 85.338 16 69.78 16 50.663c0-19.102 15.557-34.661 34.67-34.661 19.115 0 34.657 15.559 34.657 34.675 0 19.102-15.557 34.661-34.656 34.661"}})]),t._v(" "),r("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{placeholder:t.$t("菜单查询"),"remote-method":t.querySearch,"default-first-option":"",filterable:"",remote:""},on:{change:t.change},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},[t.options1.length>0?r("el-option-group",{key:t.$t("检索菜单"),attrs:{label:t.$t("检索菜单")}},t._l(t.options1,function(t,e){return r("el-option",{key:e,attrs:{label:t.title.join(" > "),value:t}})})):t._e(),t._v(" "),t.options2.length>0?r("el-option-group",{key:t.$t("更多结果"),attrs:{label:t.$t("更多结果")}},t._l(t.options2,function(t,e){return r("el-option",{key:e,attrs:{label:t.text,value:t}})})):t._e()],1)],1)},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=r(118),n=r(287),o=r(0),a=o(i.a,n.a,!1,null,null,null);e.a=a.exports},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{title:"修改密码",visible:t.visiable},on:{"update:visible":function(e){t.visiable=e}}},[r("el-form",{ref:"hdform",attrs:{"label-width":"100px",model:t.hdform,rules:t.checkRules}},[r("el-row",[r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"旧密码",prop:"oldPassword"}},[r("el-input",{attrs:{type:"text",placeholder:"请输入旧密码"},model:{value:t.hdform.oldPassword,callback:function(e){t.$set(t.hdform,"oldPassword",e)},expression:"hdform.oldPassword"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[r("el-input",{attrs:{type:"password",placeholder:"请输入密码",autocomplete:"new-password"},model:{value:t.hdform.newPassword,callback:function(e){t.$set(t.hdform,"newPassword",e)},expression:"hdform.newPassword"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"重复确认",prop:"passwordTemp"}},[r("el-input",{attrs:{type:"password",placeholder:"请重复输入密码",autocomplete:"new-password"},model:{value:t.hdform.passwordTemp,callback:function(e){t.$set(t.hdform,"passwordTemp",e)},expression:"hdform.passwordTemp"}})],1)],1)],1)],1),t._v(" "),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(e){t.visiable=!1}}},[t._v(t._s(t.$t("取 消")))]),t._v(" "),r("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:t.doRegist}},[t._v(" "+t._s(t.$t("确 定")))])],1)],1)},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=r(119),n=r(0),o=n(i.a,null,!1,null,null,null);e.a=o.exports},function(t,e){var r=null;!function(t){t.URL=t.URL||t.webkitURL,navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var e=null,i=function(i,n){n=n||{},n.sampleBits=n.sampleBits||16,n.sampleRate=n.sampleRate||8e3,r||(r=new AudioContext),e=i;var o=r,a=o.createMediaStreamSource(i),s=o.createScriptProcessor(4096,1,1),c={size:0,buffer:[],inputSampleRate:o.sampleRate,inputSampleBits:16,outputSampleRate:n.sampleRate,oututSampleBits:n.sampleBits,input:function(t){this.buffer.push(new Float32Array(t)),this.size+=t.length},compress:function(){for(var t=new Float32Array(this.size),e=0,r=0;r<this.buffer.length;r++)t.set(this.buffer[r],e),e+=this.buffer[r].length;for(var i=parseInt(this.inputSampleRate/this.outputSampleRate),n=t.length/i,o=new Float32Array(n),a=0,s=0;a<n;)o[a]=t[s],s+=i,a++;return o},encodeWAV:function(){var t=Math.min(this.inputSampleRate,this.outputSampleRate),e=Math.min(this.inputSampleBits,this.oututSampleBits),r=this.compress(),i=r.length*(e/8),n=new ArrayBuffer(44+i),o=new DataView(n),a=0,s=function(t){for(var e=0;e<t.length;e++)o.setUint8(a+e,t.charCodeAt(e))};if(s("RIFF"),a+=4,o.setUint32(a,36+i,!0),a+=4,s("WAVE"),a+=4,s("fmt "),a+=4,o.setUint32(a,16,!0),a+=4,o.setUint16(a,1,!0),a+=2,o.setUint16(a,1,!0),a+=2,o.setUint32(a,t,!0),a+=4,o.setUint32(a,1*t*(e/8),!0),a+=4,o.setUint16(a,e/8*1,!0),a+=2,o.setUint16(a,e,!0),a+=2,s("data"),a+=4,o.setUint32(a,i,!0),a+=4,8===e)for(var c=0;c<r.length;c++,a++){var l=Math.max(-1,Math.min(1,r[c])),u=l<0?32768*l:32767*l;u=parseInt(255/(65535/(u+32768))),o.setInt8(a,u,!0)}else for(var c=0;c<r.length;c++,a+=2){var l=Math.max(-1,Math.min(1,r[c]));o.setInt16(a,l<0?32768*l:32767*l,!0)}return new Blob([o],{type:"audio/wav"})}};this.start=function(){a.connect(s),s.connect(o.destination)},this.stop=function(){r&&r.close(),e.getTracks()[0].stop(),r=null},this.getBlob=function(){return c.encodeWAV()},this.play=function(e){e.src=t.URL.createObjectURL(this.getBlob())},this.upload=function(t,e){var r=new FormData;r.append("file",this.getBlob()),r.append("mp3Name","myname.wav");var i=new XMLHttpRequest;e&&(i.upload.addEventListener("progress",function(t){e("uploading",t)},!1),i.addEventListener("load",function(t){e("ok",t)},!1),i.addEventListener("error",function(t){e("error",t)},!1),i.addEventListener("abort",function(t){e("cancel",t)},!1)),i.open("POST",t),i.send(r)},s.onaudioprocess=function(t){c.input(t.inputBuffer.getChannelData(0))}};i.throwError=function(t){throw alert(t),new function(){this.toString=function(){return t}}},i.canRecording=null!=navigator.getUserMedia,i.get=function(t,e){if(t){if(!navigator.getUserMedia)return void i.throwErr(this.$t("当前浏览器不支持录音功能。"));navigator.getUserMedia({audio:!0},function(r){var n=new i(r,e);t(n)},function(t){switch(t.code||t.name){case"PERMISSION_DENIED":case"PermissionDeniedError":i.throwError(this.$t("用户拒绝提供信息。"));break;case"NOT_SUPPORTED_ERROR":case"NotSupportedError":i.throwError(this.$t("浏览器不支持硬件设备。"));break;case"MANDATORY_UNSATISFIED_ERROR":case"MandatoryUnsatisfiedError":i.throwError(this.$t("无法发现指定的硬件设备。"));break;default:i.throwError(this.$t("无法打开麦克风。异常信息:")+(t.code||t.name))}})}},t.HZRecorder=i}(window)},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"headerLogo"}),t._v(" "),r("div",{staticClass:"headerIcon"},[r("a",{staticClass:"headerIconLink5",attrs:{href:"javascript:void(0)"},on:{click:t.logout}}),t._v(" "),r("el-dropdown",{staticClass:"avatar-container right-menu-item",staticStyle:{float:"right"},attrs:{trigger:"click"}},[r("a",{staticClass:"headerIconLink7",attrs:{href:"javascript:void(0)"}},[r("el-badge",{staticStyle:{float:"left"},attrs:{hidden:0==t.$store.state.user.messageNum,max:99,value:t.$store.state.user.messageNum}}),t._v(" "),r("div",{staticClass:"avatar-wrapper",staticStyle:{float:"left"}},[r("span",{staticClass:"headerIconFontColor"},[t._v(" "+t._s(t.name))])])],1),t._v(" "),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[r("router-link",{attrs:{to:"/"}},[r("el-dropdown-item",[t._v("\n "+t._s(t.$t("首页"))+"\n ")])],1),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:t.changePsw}},[t._v(" "+t._s(t.$t("修改密码")))])]),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:t.editBoard}},[t._v(" "+t._s(t.$t("修改首页")))])]),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:t.showMessage}},[t._v("\n "+t._s(t.$t("查看消息"))+"\n "),r("el-badge",{staticStyle:{"margin-top":"-5px"},attrs:{hidden:0==t.$store.state.user.messageNum,max:99,value:t.$store.state.user.messageNum,type:"warning"}})],1)])],1)],1),t._v(" "),r("el-dropdown",{staticClass:"avatar-container right-menu-item",staticStyle:{float:"right"},attrs:{trigger:"click"}},[r("a",{staticClass:"headerIconLink3",attrs:{href:"javascript:void(0)"}},[r("div",{staticClass:"avatar-wrapper"},[r("i",{staticClass:"el-icon-caret-bottom headerIconFontColor"})])]),t._v(" "),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:function(e){t.changeStyle("metro-orange")}}},[t._v(" "+t._s(t.$t("橙色")))])]),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:function(e){t.changeStyle("metro-green")}}},[t._v(" "+t._s(t.$t("绿色")))])]),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:function(e){t.changeStyle("metro-mauves")}}},[t._v(" "+t._s(t.$t("紫色")))])]),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:function(e){t.changeStyle("metro-blue")}}},[t._v(" "+t._s(t.$t("蓝色")))])])],1)],1),t._v(" "),r("el-dropdown",{staticClass:"avatar-container right-menu-item",staticStyle:{float:"right"},attrs:{trigger:"hover"}},[r("a",{class:t.colorStyle,attrs:{href:"javascript:void(0)"}},[r("div",{staticClass:"avatar-wrapper"},[r("i",{staticClass:"el-icon-caret-bottom headerIconFontColor"})])]),t._v(" "),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:function(e){t.changeLanguage("zh")}}},[t._v("中文")])]),t._v(" "),r("el-dropdown-item",[r("span",{staticStyle:{display:"block"},on:{click:function(e){t.changeLanguage("en")}}},[t._v("English")])])],1)],1),t._v(" "),r("div",{staticClass:"avatar-container right-menu-item",staticStyle:{float:"right"},attrs:{trigger:"click"}},[r("a",{staticClass:"mike",attrs:{href:"javascript:void(0)"}},[r("div",{directives:[{name:"shortkey",rawName:"v-shortkey.push",value:["ctrl","`"],expression:"['ctrl','`']",modifiers:{push:!0}}],on:{shortkey:t.vocHotKey}})])]),t._v(" "),r("search",{staticClass:"avatar-container right-menu-item",staticStyle:{float:"right"}}),t._v(" "),r("changepswform",{ref:"changepswform"})],1)])},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";function i(t){r(292)}var n=r(120),o=r(294),a=r(0),s=i,c=a(n.a,o.a,!1,s,null,null);e.a=c.exports},function(t,e,r){var i=r(293);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("35366c10",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,".app-main{height:100%;overflow:auto}",""])},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-main"},[r("transition",{attrs:{mode:"out-in",name:"fade"}},[r("keep-alive",{attrs:{include:t.cachedViews}},[t.reload?r("router-view",{key:t.key}):t._e()],1)],1)],1)},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=r(121),n=r(305),o=r(0),a=o(i.a,n.a,!1,null,null,null);e.a=a.exports},function(t,e,r){"use strict";function i(t){r(297)}var n=r(122),o=r(304),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-25af10ec",null);e.a=c.exports},function(t,e,r){var i=r(298);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("41eb505a",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.i(r(299),""),e.push([t.i,".product_sort[data-v-25af10ec] .el-scrollbar__wrap{overflow-x:hidden}.product_sort[data-v-25af10ec] .is-horizontal{height:0}",""])},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,'ol,ul{list-style:none}.clearfix:after{clear:both;content:".";display:block;height:0;visibility:hidden}.clearfix{display:inline-table}* html .clearfix{height:1%}.clearfix{display:block}.ma{margin-left:auto;margin-right:auto}.w980{width:980px}.mt10{margin-top:10px}.menuSvg,.product_sortBg{background-color:#ededed}.menuSvg{height:30px;border-bottom:1px solid #bbb;text-align:center;color:#f0f0f0;padding-top:5px}.hamburger[data-v-4e6f274c]{width:16px!important;height:16px!important;fill:#bbb}.product_sort{height:calc(100vh - 80px);position:relative;z-index:999}.product_sort .hd{line-height:40px;text-indent:20px;font-size:15px;font-weight:700;color:#fff}.product_sort .bd{padding-bottom:10px}.product_sort .bd .item{border-bottom:1px solid #bbb;height:50px;position:relative}.product_sort .bd .item .title{text-indent:13px;height:50px;overflow:hidden;line-height:50px;font-size:15px;font-weight:700}.product_sort .bd .item .title a{position:relative}.product_sort .bd .item .title .fa{font-size:16px;margin-right:5px;width:20px!important;height:20px!important;display:block!important;float:left;margin-top:15px}.product_sortSelected{background-color:#409eff}.product_sortUnselected{background-color:#666}.product_sortTwo{width:820px;min-height:30px;max-height:400px;overflow-y:auto;position:absolute;left:142px;padding-top:10px;padding-bottom:5px;border:1px solid #b6b6b6;color:#494949;background:#fff}.product_sortTwoDiv{width:770px;float:left;margin-left:25px;margin-bottom:5px;padding-bottom:0}.product_sortTwoBottomLine{border:0;padding-bottom:0}.product_sortSpan{color:#0555a6;font-weight:700;display:block;float:left;width:100%;height:30px;line-height:30px;margin-right:10px;border-bottom:1px solid #ccc}.product_sortSpan a{display:inline-block}.product_sortTwoMenu{width:100%;float:left;margin-top:5px}.product_sortTwoMenu>a{min-width:50px;width:auto!important;height:30px;line-height:30px;float:left;color:#646464;display:block;margin-right:10px}.product_sortTwoMenu a:hover{color:#888}.product_sortTwo9,.product_sortTwo678{width:850px;min-height:30px;height:auto!important;position:absolute;left:142px;padding-top:10px;padding-bottom:10px;border:1px solid #b6b6b6;color:#494949;background:#fff;bottom:0}.product_sort .bd .item .list{padding-left:5px;height:30px;line-height:30px;overflow:hidden}.product_sort .bd .item .list a{color:#333}.product_sort .bd .item .list a:hover{text-decoration:underline}.product_sort .bd .item .arrow{font-size:12px;color:#333;position:absolute;right:10px;top:18px}.product_sort .bd .menuvisit .arrow{font-size:12px;color:#fff;position:absolute;right:10px;top:18px}.product_sort .bd .item .line{position:absolute;right:-2px;top:0;width:2px;height:55px;background-color:#fff;z-index:999;display:none}.product_sort .bd .item .subitem{display:none}.product_sort .bd .layer .arrow,.product_sort .bd .layer .line{display:block}.product_sort .bd .layer .subitem{width:731px;background:#fff;border:1px solid #dbd4d5;border-left:none;position:absolute;top:-1px;z-index:999;min-height:55px;height:auto!important;height:55px;padding:10px 20px;display:block}',""])},function(t,e,r){"use strict";function i(t){r(301)}var n=r(123),o=r(303),a=r(0),s=i,c=a(n.a,o.a,!1,s,"data-v-4c3132e8",null);e.a=c.exports},function(t,e,r){var i=r(302);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);r(2)("656f9d2d",i,!0)},function(t,e,r){e=t.exports=r(1)(void 0),e.push([t.i,".hamburger[data-v-4c3132e8]{display:inline-block;cursor:pointer;width:20px;height:20px;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:.38s;transition:.38s;-webkit-transform-origin:30% 50%;transform-origin:30% 50%}.hamburger.is-active[data-v-4c3132e8]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}",""])},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",[r("svg",{staticClass:"wscn-icon hamburger",class:{"is-active":t.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:t.toggleClick}},[r("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),t._v(" "),r("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),t._v(" "),r("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{ref:"menuSvg",staticClass:"menuSvg"},[r("hamburger",{staticClass:"hamburger-container",attrs:{isActive:t.sidebar.opened,toggleClick:t.toggleSideBar}})],1),t._v(" "),r("div",{staticClass:"product_sort"},[r("el-scrollbar",{ref:"scrollbar",staticStyle:{height:"100%"}},[r("div",{staticClass:"bd"},t._l(t.routes,function(e,i){return r("div",{staticClass:"item",on:{mouseleave:function(e){t.mouseLeave(e)},mouseover:function(e){t.mouseOver(e)}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.$store.state.app.sidebar.opened,expression:"$store.state.app.sidebar.opened"}],staticClass:"title"},[r("a",{attrs:{href:"javascript:void(0)"}},[e.meta&&e.meta.icon?r("i",{class:e.meta.icon,staticStyle:{display:"inline"}}):t._e(),t._v(" "),e.meta&&e.meta.title?r("span",[t._v(t._s(t.generateTitle(e.meta)))]):t._e()])]),t._v(" "),t.$store.state.app.sidebar.opened?r("div",{staticClass:"arrow"},[t._v(">")]):r("div",{staticClass:"arrow"},[e.meta&&e.meta.icon?r("i",{class:e.meta.icon,staticStyle:{color:"#494949"}}):t._e()]),t._v(" "),r("div",{staticClass:"line"}),t._v(" "),r("div",{staticClass:"subitem"},[e.children&&e.children.length>0?t._l(e.children,function(e,i){return r("div",{staticClass:"inner"},[r("div",{staticClass:"tit tit1"},[e.meta&&e.meta.title?r("div",{staticClass:"name"},[e.meta.icon?r("i",{class:e.meta.icon,staticStyle:{display:"inline"}}):t._e(),t._v("\n "+t._s(t.generateTitle(e.meta))+"\n ")]):t._e(),t._v(" "),r("ul",t._l(e.children,function(e,i){return r("li",{on:{click:function(r){t.clickOne(e)}}},[e.meta&&e.meta.title?r("a",{attrs:{href:"javascript:void(0)"}},[e.meta.icon?r("i",{class:e.meta.icon,staticStyle:{display:"inline"}}):t._e(),t._v("\n "+t._s(t.generateTitle(e.meta))+"\n ")]):t._e()])}))])])}):t._e()],2)])}))])],1)])},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-menu",{attrs:{collapse:t.isCollapse,"default-active":t.$route.name,"active-text-color":"#ffffff","background-color":"#ffffff",mode:"vertical","text-color":"#fff"}},[r("HdMenu",{attrs:{routes:t.hdMenu}})],1)},n=[],o={render:i,staticRenderFns:n};e.a=o},function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.onlyContent?r("app-main",{staticClass:"app-wrapper",class:[{hideSidebar:!t.sidebar.opened},t.$store.state.user.skin]}):r("div",{staticClass:"hd-layout app-wrapper",class:[{hideSidebar:!t.sidebar.opened},t.$store.state.user.skin]},[0!=t.$store.state.app.headerShow?r("main-header",{staticClass:"hd-header mainHeader"}):t._e(),t._v(" "),r("div",{staticClass:"hd-content"},[r("hdmenu",{staticClass:"hd-menu sidebar-container"}),t._v(" "),r("div",{staticClass:"hd-main main-container"},[r("Navbar"),t._v(" "),r("AppMain",{staticStyle:{flex:"1"}}),t._v(" "),t._t("default")],2)],1)],1)},n=[],o={render:i,staticRenderFns:n};e.a=o}]);
|
package/lib/js/HdMain.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=209)}({0:function(e,t){e.exports=function(e,t,n,r,o,i){var s,a=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(s=e,a=e.default);var c="function"==typeof a?a.options:a;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId=o);var f;if(i?(f=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)},c._ssrRegister=f):r&&(f=r),f){var d=c.functional,l=d?c.render:c.beforeCreate;d?(c._injectStyles=f,c.render=function(e,t){return f.call(t),l(e,t)}):c.beforeCreate=l?[].concat(l,f):[f]}return{esModule:s,exports:a,options:c}}},1:function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var s=e[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},2:function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=f[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(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o<n.parts.length;o++)s.push(i(n.parts[o]));f[n.id]={id:n.id,refs:1,parts:s}}}}function o(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function i(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(v)return h;r.parentNode.removeChild(r)}if(m){var i=p++;r=l||(l=o()),t=s.bind(null,r,i,!1),n=s.bind(null,r,i,!0)}else r=o(),t=a.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()}}function s(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function a(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),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{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)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 c=n(3),f={},d=u&&(document.head||document.getElementsByTagName("head")[0]),l=null,p=0,v=!1,h=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){v=n;var o=c(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],a=f[s.id];a.refs--,n.push(a)}t?(o=c(e,t),r(o)):o=[];for(var i=0;i<n.length;i++){var a=n[i];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete f[a.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},209:function(e,t,n){"use strict";function r(e){n(210)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(90),i=n(212),s=n(0),a=r,u=s(o.a,i.a,!1,a,null,null);t.default=u.exports},210:function(e,t,n){var r=n(211);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("63804093",r,!0)},211:function(e,t,n){t=e.exports=n(1)(void 0),t.push([e.i,".hdMain{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}",""])},212:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ExMain",e._b({staticClass:"hdMain"},"ExMain",e.$attrs,!1),[e.title?[n("div",{staticClass:"hd-title"},[e._v(e._s(e.$t(e.title))+"\n "),e._t("title")],2)]:e._e(),e._v(" "),n("div",{staticStyle:{flex:"1",height:"100%",position:"relative"}},[n("div",{staticStyle:{position:"absolute",width:"100%",height:"100%"}},[e._t("default")],2)])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},3:function(e,t){e.exports=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],s=i[0],a=i[1],u=i[2],c=i[3],f={id:e+":"+o,css:a,media:u,sourceMap:c};r[s]?r[s].parts.push(f):n.push(r[s]={id:s,parts:[f]})}return n}},90:function(e,t,n){"use strict";t.a={name:"HdMain",component:{},props:["title"],inheritAttrs:!1,data:function(){return{}},mounted:function(){}}}});
|
package/lib/js/HdMessage.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){function e(n){if(o[n])return o[n].exports;var s=o[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var o={};return e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=249)}({0:function(t,e){t.exports=function(t,e,o,n,s,r){var i,c=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,c=t.default);var u="function"==typeof c?c.options:c;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),o&&(u.functional=!0),s&&(u._scopeId=s);var d;if(r?(d=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=d):n&&(d=n),d){var l=u.functional,f=l?u.render:u.beforeCreate;l?(u._injectStyles=d,u.render=function(t,e){return d.call(e),f(t,e)}):u.beforeCreate=f?[].concat(f,d):[d]}return{esModule:i,exports:c,options:u}}},103:function(t,e,o){"use strict";e.a={name:"HdMessage",data:function(){return{hdQuery:new HdQuery(this),websocket:null}},props:["ipAddr","port","allProto"],mounted:function(){var t=this;window._tabOpen=function(e){0==e.indexOf("http")?window.open(e):0==e.indexOf("iframe://")||t.$router.push({path:e})},this.init(),this.readMessage()},methods:{init:function(){var t=this;this.socketConnect(),this.websocket.onerror=function(){t.websocket=-1,console.info("连接发生错误")},this.websocket.onopen=function(){console.info("websocket success"),t.doHeartConnect()},this.websocket.onmessage=function(e){var o=JSON.parse(e.data);if(-2==o.msgType)return t.singleLoginNotify(o),!1;t.$store.state.user.messageNum=t.$store.state.user.messageNum+1,1==o.msgType&&t.doMsgObj(o),t.$emit("msgRec",o)},this.websocket.onclose=function(){console.info("websocket close,restart"),-1!=t.websocket&&(t.websocket=null,t.init())}},singleLoginNotify:function(t){var e=this;this.$notify({title:"",message:this.$t("该账号已在其它地方登录,5秒后将退出系统"),duration:5e3,onClose:function(){e.$store.dispatch("LogOut").then(function(){location.reload()})}})},socketConnect:function(){var t=this.port;if("WebSocket"in window){this.port||(t="8080");var e=window.location.host;e.indexOf("localhost")>=0&&(e="127.0.0.1:"+t),this.ipAddr&&(e=this.ipAddr+":"+t),this.allProto?this.websocket=new WebSocket(this.allProto+"?token="+this.$store.getters.token):this.websocket=new WebSocket("ws://"+e+"/ws?token="+this.$store.getters.token)}else alert("当前浏览器 不支持WebSocket")},readMessage:function(){var t=this;this.hdQuery.query.readFlg="0",this.hdQuery.rows="1000",this.hdQuery.sort="sendTim",this.$http.post("/webresources/login/com/ComMsg/find/rec",this.hdQuery).then(function(e){if(0!==e.data.total){var o={};o.title=t.$t("消息提示"),o.content=t.$t("您有{total}条未读消息",{total:e.data.total}),o.url="/privilege/commsgto",t.$store.state.user.messageNum=e.data.total,t.doMsgObj(o)}})},doMsgObj:function(t){var e="";e=t.url?"<a onclick=\"_tabOpen('"+t.url+"')\">"+t.content+"</a>":t.content,this.notify=new Audio("/webresources/login/com/comwav/txtRead?text="+t.content),this.notify.play(),this.$notify({dangerouslyUseHTMLString:!0,title:t.title,message:e,duration:1e4}),t.msgRecId||(t.msgRecId=t.recId)},doHeartConnect:function(){var t=this;setInterval(function(){try{t.websocket&&-1!=t.websocket&&t.websocket.send("ping")}catch(t){console.error(t)}},3e4)}}}},249:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(103),s=o(250),r=o(0),i=r(n.a,s.a,!1,null,null,null);e.default=i.exports},250:function(t,e,o){"use strict";var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},s=[],r={render:n,staticRenderFns:s};e.a=r}});
|
package/lib/js/HdNum.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var s=n[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=177)}({0:function(e,t){e.exports=function(e,t,n,r,s,i){var o,u=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,u=e.default);var l="function"==typeof u?u.options:u;t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId=s);var c;if(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=r),c){var d=l.functional,m=d?l.render:l.beforeCreate;d?(l._injectStyles=c,l.render=function(e,t){return c.call(t),m(e,t)}):l.beforeCreate=m?[].concat(m,c):[c]}return{esModule:o,exports:u,options:l}}},177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83),s=n(178),i=n(0),o=i(r.a,s.a,!1,null,null,null);t.default=o.exports},178:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("el-input",{ref:"numInput",staticClass:"hdnum",attrs:{clearable:!1,disabled:e.disabled,step:e.step,onkeypress:'return( "e"!=(String.fromCharCode(event.keyCode).toLowerCase()))',type:"number"},on:{blur:e.myblur,change:e.mychange},model:{value:e.mynum,callback:function(t){e.mynum=t},expression:"mynum"}})},s=[],i={render:r,staticRenderFns:s};t.a=i},83:function(e,t,n){"use strict";t.a={name:"HdNum",data:function(){return{mynum:null}},inheritAttrs:!1,props:["value","step","disabled"],methods:{mychange:function(e){void 0===e||""===e?(this.mynum=null,this.$emit("input",null)):(this.mynum=parseFloat(e),this.$emit("input",parseFloat(e))),this.$emit("change",e)},myblur:function(e){this.$emit("blur",e)},isNumber:function(e){var t=/^\d+(\.\d+)?$/,n=/^(-(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*)))$/;return!(!t.test(e)&&!n.test(e))}},watch:{value:{handler:function(e,t){e&&this.isNumber(e)?(this.mynum=parseFloat(e),this.$emit("input",parseFloat(e))):this.mynum=e},immediate:!0}}}}});
|
package/lib/js/HdPopSel.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=215)}({0:function(e,t){e.exports=function(e,t,n,r,o,i){var s,a=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(s=e,a=e.default);var c="function"==typeof a?a.options:a;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId=o);var l;if(i?(l=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)},c._ssrRegister=l):r&&(l=r),l){var f=c.functional,d=f?c.render:c.beforeCreate;f?(c._injectStyles=l,c.render=function(e,t){return l.call(t),d(e,t)}):c.beforeCreate=d?[].concat(d,l):[l]}return{esModule:s,exports:a,options:c}}},1:function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var s=e[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},2:function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[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(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o<n.parts.length;o++)s.push(i(n.parts[o]));l[n.id]={id:n.id,refs:1,parts:s}}}}function o(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function i(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(m){var i=p++;r=d||(d=o()),t=s.bind(null,r,i,!1),n=s.bind(null,r,i,!0)}else r=o(),t=a.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()}}function s(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function a(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),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{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)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 c=n(3),l={},f=u&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,h=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){h=n;var o=c(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],a=l[s.id];a.refs--,n.push(a)}t?(o=c(e,t),r(o)):o=[];for(var i=0;i<n.length;i++){var a=n[i];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete l[a.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},215:function(e,t,n){"use strict";function r(e){n(216)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(92),i=n(218),s=n(0),a=r,u=s(o.a,i.a,!1,a,null,null);t.default=u.exports},216:function(e,t,n){var r=n(217);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("7371f105",r,!0)},217:function(e,t,n){t=e.exports=n(1)(void 0),t.push([e.i,".lucencyInput .el-input__inner{border:0}",""])},218:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-input",e._g(e._b({ref:"sel",attrs:{placeholder:e.placeholder?e.placeholder:"",value:e.txtVal,readonly:"",disabled:e.disabled,clearable:!1},on:{focus:function(t){e.$emit("focus")}},nativeOn:{mouseenter:function(t){e.doMouseEnter(t)},mouseleave:function(t){e.doMouseLeave(t)}}},"el-input",e.$attrs,!1),e.$listeners),[e.threePointShow?e._e():n("i",{staticClass:"el-input__icon el-icon-circle-close",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){t.stopPropagation(),e.doClear(t)}},slot:"suffix"}),e._v(" "),e.threePointShow?n("i",{staticClass:"el-input__icon el-icon-more",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){e.$emit("pop")}},slot:"suffix"}):e._e()])},o=[],i={render:r,staticRenderFns:o};t.a=i},3:function(e,t){e.exports=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],s=i[0],a=i[1],u=i[2],c=i[3],l={id:e+":"+o,css:a,media:u,sourceMap:c};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}},92:function(e,t,n){"use strict";t.a={name:"HdPoPSel",data:function(){return{popShow:this.show,threePointShow:!0}},inheritAttrs:!1,props:{show:Boolean,txtVal:String,idVal:String,placeholder:String,disabled:Boolean},mounted:function(){$(this.$parent.$el).find(".el-popover__reference").removeAttr("tabIndex")},methods:{focus:function(){this.$refs.sel.focus()},doQuery:function(){},doClear:function(){this.$emit("clear")},doMouseEnter:function(){if(this.disabled)return!1;this.idVal&&(this.threePointShow=!1)},doMouseLeave:function(){this.threePointShow=!0}}}}});
|
package/lib/js/HdSearch.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=307)}({0:function(e,t){e.exports=function(e,t,r,n,o,i){var s,a=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(s=e,a=e.default);var u="function"==typeof a?a.options:a;t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var l;if(i?(l=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(i)},u._ssrRegister=l):n&&(l=n),l){var f=u.functional,h=f?u.render:u.beforeCreate;f?(u._injectStyles=l,u.render=function(e,t){return l.call(t),h(e,t)}):u.beforeCreate=h?[].concat(h,l):[l]}return{esModule:s,exports:a,options:u}}},1:function(e,t){function r(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=n(o);return[r].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[r].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<e.length;o++){var s=e[o];"number"==typeof s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),t.push(s))}},t}},124:function(e,t,r){"use strict";var n=r(9),o=r.n(n),i=r(72),s=r.n(i),a=r(73),c=r.n(a),u=r(74),l=r.n(u);t.a={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.state.permission.hdMenu},lang:function(){return this.$store.getters.language}},watch:{lang:function(){this.searchPool=this.generateRoutes(this.routes)},routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this;this.$router.push(e.path),this.search="",this.options=[],this.$nextTick(function(){t.show=!1})},initFuse:function(e){this.fuse=new c.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=[],i=!0,a=!1,c=void 0;try{for(var u,f=s()(e);!(i=(u=f.next()).done);i=!0){var h=u.value;if(!h.hidden){var d={path:l.a.resolve(t,h.path),title:[].concat(o()(r))};if(h.meta&&h.meta.title){var p="zh"==this.$i18n.locale?h.meta.title:h.meta.enTitle;d.title=[].concat(o()(d.title),[p]),"noredirect"!==h.redirect&&n.push(d)}if(h.children){var v=this.generateRoutes(h.children,d.path,d.title);v.length>=1&&(n=[].concat(o()(n),o()(v)))}}}}catch(e){a=!0,c=e}finally{try{!i&&f.return&&f.return()}finally{if(a)throw c}}return n},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]}}}},2:function(e,t,r){function n(e){for(var t=0;t<e.length;t++){var r=e[t],n=l[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(i(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o<r.parts.length;o++)s.push(i(r.parts[o]));l[r.id]={id:r.id,refs:1,parts:s}}}}function o(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function i(e){var t,r,n=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(n){if(p)return v;n.parentNode.removeChild(n)}if(g){var i=d++;n=h||(h=o()),t=s.bind(null,n,i,!1),r=s.bind(null,n,i,!0)}else n=o(),t=a.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}function s(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function a(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)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 u=r(3),l={},f=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,p=!1,v=function(){},g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,r){p=r;var o=u(e,t);return n(o),function(t){for(var r=[],i=0;i<o.length;i++){var s=o[i],a=l[s.id];a.refs--,r.push(a)}t?(o=u(e,t),n(o)):o=[];for(var i=0;i<r.length;i++){var a=r[i];if(0===a.refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete l[a.id]}}}};var m=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},3:function(e,t){e.exports=function(e,t){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],s=i[0],a=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:a,media:c,sourceMap:u};n[s]?n[s].parts.push(l):r.push(n[s]={id:s,parts:[l]})}return r}},307:function(e,t,r){"use strict";function n(e){r(308)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(124),i=r(310),s=r(0),a=n,c=s(o.a,i.a,!1,a,"data-v-488df53d",null);t.default=c.exports},308:function(e,t,r){var n=r(309);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);r(2)("6b6b2b2b",n,!0)},309:function(e,t,r){t=e.exports=r(1)(void 0),t.push([e.i,".header-search[data-v-488df53d]{font-size:0!important}.header-search .search-icon[data-v-488df53d]{font-size:18px;vertical-align:middle;display:inline-block;cursor:pointer;fill:#e4e9ef}.header-search .header-search-select[data-v-488df53d]{font-size:18px;-webkit-transition:width .2s;transition:width .2s;width:0;overflow:hidden;background:transparent;border-radius:0;display:inline-block;vertical-align:middle}.header-search .header-search-select[data-v-488df53d] .el-input__inner{border-radius:0;border:0;padding-left:0;padding-right:0;-webkit-box-shadow:none!important;box-shadow:none!important;border-bottom:1px solid #d9d9d9;vertical-align:middle}.header-search.show .header-search-select[data-v-488df53d]{width:150px;margin-left:10px}",""])},310:function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"header-search",class:{show:e.show}},[r("svg",{staticClass:"search-icon screenfull-svg",attrs:{height:"32",viewBox:"-10 -10 150 150",width:"32",xmlns:"http://www.w3.org/2000/svg"},on:{click:e.click}},[r("path",{attrs:{d:"M124.884 109.812L94.256 79.166c-.357-.357-.757-.629-1.129-.914a50.366 50.366 0 0 0 8.186-27.59C101.327 22.689 78.656 0 50.67 0 22.685 0 0 22.688 0 50.663c0 27.989 22.685 50.663 50.656 50.663 10.186 0 19.643-3.03 27.6-8.201.286.385.557.771.9 1.114l30.628 30.632a10.633 10.633 0 0 0 7.543 3.129c2.728 0 5.457-1.043 7.543-3.115 4.171-4.157 4.171-10.915.014-15.073M50.671 85.338C31.557 85.338 16 69.78 16 50.663c0-19.102 15.557-34.661 34.67-34.661 19.115 0 34.657 15.559 34.657 34.675 0 19.102-15.557 34.661-34.656 34.661"}})]),e._v(" "),r("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,"default-first-option":"",filterable:"",placeholder:e.$t("菜单查询"),remote:""},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,function(e){return r("el-option",{key:e.path,attrs:{label:e.title.join(" > "),value:e}})}))],1)},o=[],i={render:n,staticRenderFns:o};t.a=i},72:function(e,t){e.exports=require("babel-runtime/core-js/get-iterator")},73:function(e,t){e.exports=require("fuse.js")},74:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!=typeof e&&(e+="");var t,r=0,n=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}function o(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var s=i>=0?arguments[i]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,n="/"===s.charAt(0))}return t=r(o(t.split("/"),function(e){return!!e}),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),s="/"===i(e,-1);return e=r(o(e.split("/"),function(e){return!!e}),!n).join("/"),e||n||(e="."),e&&s&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),i=n(r.split("/")),s=Math.min(o.length,i.length),a=s,c=0;c<s;c++)if(o[c]!==i[c]){a=c;break}for(var u=[],c=a;c<o.length;c++)u.push("..");return u=u.concat(i.slice(a)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,n=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===n&&(o=!1,n=s+1),46===a?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){r=s+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(t,r(75))},75:function(e,t){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===r||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){v&&d&&(v=!1,d.length?p=d.concat(p):g=-1,p.length&&a())}function a(){if(!v){var e=o(s);v=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,v=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var l,f,h=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:r}catch(e){l=r}try{f="function"==typeof clearTimeout?clearTimeout:n}catch(e){f=n}}();var d,p=[],v=!1,g=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];p.push(new c(e,t)),1!==p.length||v||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=u,h.addListener=u,h.once=u,h.off=u,h.removeListener=u,h.removeAllListeners=u,h.emit=u,h.prependListener=u,h.prependOnceListener=u,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},9:function(e,t){e.exports=require("babel-runtime/helpers/toConsumableArray")}});
|
package/lib/js/HdTableColumn.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=106)}({0:function(t,e){t.exports=function(t,e,r,n,o,i){var a,s=t=t||{},u=typeof t.default;"object"!==u&&"function"!==u||(a=t,s=t.default);var l="function"==typeof s?s.options:s;e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o);var d;if(i?(d=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=d):n&&(d=n),d){var f=l.functional,c=f?l.render:l.beforeCreate;f?(l._injectStyles=d,l.render=function(t,e){return d.call(e),c(t,e)}):l.beforeCreate=c?[].concat(c,d):[d]}return{esModule:a,exports:s,options:l}}},106:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(66),o=r(108),i=r(0),a=i(n.a,o.a,!1,null,null,null);e.default=a.exports},107:function(t,e){t.exports=require("async-validator")},108:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.btnRight&&t.isShow?t.$slots.default?t.$slots.default?r("ExTableColumn",t._g(t._b({attrs:{label:t.$t(t.$attrs.label),sortable:t.realSortable,width:t.autoWidth,showOverflowTooltip:t.showOverflowTooltip}},"ExTableColumn",t.$attrs,!1),t.$listeners),[t._t("default")],2):r("ExTableColumn",t._g(t._b({attrs:{label:t.$t(t.$attrs.label),sortable:t.realSortable,width:t.autoWidth,showOverflowTooltip:t.showOverflowTooltip}},"ExTableColumn",t.$attrs,!1),t.$listeners)):r("ExTableColumn",t._g(t._b({attrs:{"class-name":t.getClassName(t.$attrs),label:t.$t(t.$attrs.label),sortable:t.realSortable,width:t.autoWidth,showOverflowTooltip:t.showOverflowTooltip,filters:t.filterData,"filter-method":t.isOpenFilter?function(){return!0}:null},scopedSlots:t._u([{key:"header",fn:function(e){return[t._t("header",[t._v("\n "+t._s(t.$t(t.$attrs.label))+"\n ")],{index:e.$index,row:e.row})]}},{key:"default",fn:function(e){return[t._t("default",[e.row.isEdit&&!t.noEdit?[r(t.input,t._b({tag:"component",staticStyle:{width:"100%"},attrs:{gridRow:e.row,idVal:e.row[t.$attrs.idVal],txtVal:e.row[t.$attrs.txtVal]},on:{"update:idVal":function(r){t.$set(e.row,t.$attrs.idVal,r)},"update:txtVal":function(r){t.$set(e.row,t.$attrs.txtVal,r)},blur:function(r){t.checkErr(e.row)},change:function(r){t.$emit("change",r,e.row)},selItem:function(r){t.selItem(e.row,r)}},model:{value:e.row[t.$attrs.prop],callback:function(r){t.$set(e.row,t.$attrs.prop,r)},expression:"scope.row[$attrs.prop]"}},"component",t.inputProp,!1))]:t.isHtml?[r("div",{domProps:{innerHTML:t._s(t.getValueByPath(e.row,t.$attrs.prop))}})]:[t._v(t._s(t.getValueByPath(e.row,t.$attrs.prop)))]],{index:e.$index,row:e.row}),t._v(" "),e.row.isEdit&&!t.noEdit?[r("ErrHint",{attrs:{errMsg:e.row["_err_"+t.$attrs.prop]},on:{checkErr:function(r){t.checkErr(e.row,r)}},model:{value:e.row[t.$attrs.prop],callback:function(r){t.$set(e.row,t.$attrs.prop,r)},expression:"scope.row[$attrs.prop]"}})]:t._e()]}}])},"ExTableColumn",t.$attrs,!1),t.$listeners)):r("div")},o=[],i={render:n,staticRenderFns:o};e.a=i},11:function(t,e){t.exports=require("babel-runtime/core-js/object/keys")},3:function(t,e,r){"use strict";e.a={name:"BtnRight",data:function(){return{btnRight:!0}},created:function(){},methods:{getName:function(){},checkRight:function(){if(!this.$store)return!0;var t=this.$store.state.user.hidBtns,e=this.findNameCombine();if(!e)return!0;var r=this.$route.name;if(t&&t.length>0)for(var n=0;n<t.length;n++){var o=t[n];o.menuId==r&&e==o.permissions&&(this.btnRight=!1)}},addBtnMetaToParent:function(){if(!this.$route.meta.btnRole)return!1;var t=this.findNameCombine();if(!t)return!1;var e={name:this.getName(),permissions:t};this.checkIsSame(e)||this.$route.meta.btnRole.push(e)},checkIsSame:function(t){for(var e=this.$route.meta.btnRole,r=0;r<e.length;r++){if(e[r].permissions==t.permissions)return!0}return!1},findNameCombine:function(){if(this.vid)return this.vid;var t=this.$vnode.context,e=t.$options.name;return"HdFormDialog"==e&&(e=this.findNameFromFile(t.$vnode.context.$options.name)),e||(e="noname"),e+"_"+this.getName()},findNameFromFile:function(t){if(!t)return!1;var e=t.split("\\");return e[e.length-1].split(".")[0]},findRoleSetParent:function(){for(var t=this.$parent.$parent;t&&"btnRole"==!t.$options.name;)t=t.$parent;return t}}}},66:function(t,e,r){"use strict";var n=r(11),o=r.n(n),i=r(107),a=r.n(i),s=r(7);e.a={name:"ElTableColumn",inheritAttrs:!1,components:{},mixins:[s.a],props:{input:{type:[String,Object],default:function(){return"ElInput"}},inputProp:Object,inputFormat:Function,selFormat:Function,noEdit:{type:Boolean,default:function(){return!1}},noZeroHide:{type:Boolean,default:!1},noQuery:Boolean,sortable:{type:Boolean,default:function(){return!1}},rules:Array,perWidth:{type:Number,default:12},showOverflowTooltip:{type:Boolean,default:function(){return!0}},openFilter:{type:Boolean,default:function(){return!1}},isHtml:{type:Boolean,default:function(){return!1}}},mounted:function(){this.isFixDo();var t=this.getHdComGrid();if(t){var e=t.validate;e&&this.rules&&(e[this.$attrs.prop]=this.rules),this.$attrs.prop&&!this.noQuery&&t.allColumn.push(this)}var r=this.getHdGrid();r&&r.colThis.push(this)},data:function(){return{comdata:null,btnRight:!0,isShow:!0}},updated:function(){},methods:{isFixDo:function(){this.$attrs.fixed&&"right"==this.$attrs.fixed&&(this.addBtnMetaToParent(),this.checkRight(),this.getHdComGrid().columnFlowThis=this)},getName:function(){return this.$t("列表浮动区")},selItem:function(t,e){if(this.selFormat)return this.selFormat(t,this.$attrs.prop,e)},checkErr:function(t){var e=this;this.validate(t[this.$attrs.prop],function(r){e.$set(t,"_err_"+e.$attrs.prop,r)})},getRules:function(){var t=this.getHdComGrid();if(t){return t.validate}return!1},getHdComGrid:function(){for(var t=this.$parent;t;){if("HdComGrid"==t.$options.name)return t;t=t.$parent}return null},getHdGrid:function(){for(var t=this.$parent;t;){if("HdGrid"==t.$options.name)return t;t=t.$parent}return null},validate:function(t,e){var r={},n=this.getRules();if(!n)return!1;var o=n[this.$attrs.prop];if(!o)return!1;r[this.$attrs.prop]=o;var i=new a.a(r),s={};s[this.$attrs.prop]=t,i.validate(s,{firstFields:!0},function(t,r){e(t?t[0].message:"")})},getValueByPath:function(t,e){e=e||"";for(var r=e.split("."),n=t,o=null,i=0,a=r.length;i<a;i++){var s=r[i];if(!n)break;if(i===a-1){o=n[s];break}n=n[s]}return this.inputFormat?this.inputFormat(o,t,e):this.$attrs.txtVal?t[this.$attrs.txtVal]:0!==o||this.noZeroHide?o:""},getRealWidth:function(t){for(var e=t.length,r=0,n=0;n<e;n++)0!=(65280&t.charCodeAt(n))&&r++,r++;return r},getClassName:function(t){var e=t["class-name"]?t["class-name"]:"";return(t.fixed?"backFF":"")+e}},computed:{autoWidth:function(){return"auto"==this.$attrs.width?this.$attrs.label?this.perWidth*this.getRealWidth(this.$t(this.$attrs.label))+17:100:this.$attrs.width},filterData:function(){var t=this;if(this.getHdComGrid()&&this.getHdComGrid().hdResult&&this.getHdComGrid().hdResult._rows){var e=[],r={};return this.getHdComGrid().hdResult._rows.forEach(function(e){var n=e[t.$attrs.prop]||null,o=t.getValueByPath(e,t.$attrs.prop)||"";r[n]?r[n].number++:r[n]={number:1,text:o}}),this.$nextTick(function(t){o()(r).forEach(function(t){e.push({text:r[t].text+"("+r[t].number+")",value:t})})}),e}},isOpenFilter:function(){return this.openFilter&&"操作"!=this.$attrs.label},realSortable:function(){return!!this.sortable&&"custom"}}}},7:function(t,e,r){"use strict";var n=r(3),o=r(0),i=o(n.a,null,!1,null,null,null);e.a=i.exports}});
|
package/lib/js/HdTempSave.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=257)}({0:function(t,e){t.exports=function(t,e,n,o,r,i){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var u="function"==typeof s?s.options:s;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r);var c;if(i?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=c):o&&(c=o),c){var d=u.functional,m=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(t,e){return c.call(e),m(t,e)}):u.beforeCreate=m?[].concat(m,c):[c]}return{esModule:a,exports:s,options:u}}},107:function(t,e,n){"use strict";var o=n(14),r=n.n(o);e.a={name:"HdTempSave",data:function(){return{allTemp:[],lastAuto:{},timeInterval:null}},inheritAttrs:!1,props:["saveFun","auto"],mounted:function(){this.find(),this.findAuto()},beforeDestroy:function(){console.info("close"),this.close()},methods:{save:function(){var t=(new Date).getTime(),e={id:t,disName:this.$route.name,title:(new Date).format("MM-dd HH:mm"),result:this.saveFun()},n=localStorage.getItem("HdTempStore"),o=[];n&&(o=JSON.parse(n)),o.unshift(e),localStorage.setItem("HdTempStore",r()(o)),this.find()},saveForAuto:function(){var t=(new Date).getTime(),e={id:t,disName:this.$route.name,title:this.$t("自动存盘")+(new Date).format("MM-dd HH:mm"),result:this.saveFun()};localStorage.setItem("HdTempAutoStore"+this.$route.name,r()(e))},find:function(){var t=this,e=localStorage.getItem("HdTempStore");if(e){var n=JSON.parse(e);this.allTemp=n.filter(function(e){return e.disName==t.$route.name})}},findAuto:function(){var t=localStorage.getItem("HdTempAutoStore"+this.$route.name);this.lastAuto=JSON.parse(t)},remove:function(t){var e=localStorage.getItem("HdTempStore"),n=JSON.parse(e),o=n.filter(function(e){return e.id!=t.id});localStorage.setItem("HdTempStore",r()(o)),this.find()},rename:function(t){var e=this;this.$prompt(this.$t("请输入名称"),this.$t("提示"),{}).then(function(n){var o=n.value,i=localStorage.getItem("HdTempStore"),a=JSON.parse(i),s=a.map(function(e){return e.id==t.id&&(e.title=o),e});localStorage.setItem("HdTempStore",r()(s)),e.find()}).catch(function(){})},autoSave:function(){var t=this;this.timeInterval=setInterval(function(){t.saveForAuto()},5e3)},close:function(){this.timeInterval&&clearInterval(this.timeInterval),this.timeInterval=null},handleCommand:function(t){t&&t.result&&this.$emit("reload",t.result)}},watch:{auto:{immediate:!0,handler:function(t){t?this.autoSave():this.close()}}}}},14:function(t,e){t.exports=require("babel-runtime/core-js/json/stringify")},257:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(107),r=n(258),i=n(0),a=i(o.a,r.a,!1,null,null,null);e.default=a.exports},258:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("el-dropdown",{on:{command:t.handleCommand}},[n("span",{staticClass:"el-dropdown-link"},[n("a",{on:{click:t.save}},[t._v(t._s(t.$t("存盘")))]),t._v(" "),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),n("el-dropdown-menu",{staticStyle:{"max-height":"400px",overflow:"auto"},attrs:{slot:"dropdown"},slot:"dropdown"},[t.lastAuto?n("el-dropdown-item",{attrs:{command:t.lastAuto}},[t._v(t._s(t.lastAuto.title))]):t._e(),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}}),t._v(" "),t._l(t.allTemp,function(e,o,r){return n("el-dropdown-item",{key:e.id,attrs:{command:e}},[e.isEdit?t._e():n("div",[t._v("\n "+t._s(e.title)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(n){n.stopPropagation(),t.rename(e)}}}),t._v("\n "),n("i",{staticClass:"el-icon-delete",on:{click:function(n){n.stopPropagation(),t.remove(e)}}})])])})],2)],1)],1)},r=[],i={render:o,staticRenderFns:r};e.a=i}});
|
package/lib/js/HdTree.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=213)}({0:function(e,t){e.exports=function(e,t,n,r,o,i){var s,a=e=e||{},d=typeof e.default;"object"!==d&&"function"!==d||(s=e,a=e.default);var c="function"==typeof a?a.options:a;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId=o);var u;if(i?(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=u):r&&(u=r),u){var l=c.functional,f=l?c.render:c.beforeCreate;l?(c._injectStyles=u,c.render=function(e,t){return u.call(t),f(e,t)}):c.beforeCreate=f?[].concat(f,u):[u]}return{esModule:s,exports:a,options:c}}},213:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(91),o=n(214),i=n(0),s=i(r.a,o.a,!1,null,null,null);t.default=s.exports},214:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{height:"100%",overflow:"auto"}},[n("el-tree",e._g(e._b({ref:"eltree",attrs:{"expand-on-click-node":!1,renderContent:e.myrenderContent,"highlight-current":"","node-key":"id"}},"el-tree",e.$attrs,!1),e.$listeners))],1)},o=[],i={render:r,staticRenderFns:o};t.a=i},91:function(e,t,n){"use strict";t.a={name:"HdTree",data:function(){return{}},inheritAttrs:!1,updated:function(){var e=this.$attrs.data,t=[];this.initChecked(e,t),t&&this.$refs.eltree.setCheckedNodes(t)},methods:{getCheckedNodes:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.$refs.eltree.getCheckedNodes(e)},initChecked:function(e,t){if(!e)return!1;for(var n=0;n<e.length;n++){var r=e[n];"Y"==r.checked&&t.push(r),r.children&&this.initChecked(r.children,t)}},myrenderContent:function(e,t){var n=t.node,r=t.data;t.store;return"open"==r.state&&(n.expanded=!0),e("span",{class:{"el-tree-node__label":!0},style:{width:"auto","padding-right":"10px"}},[e("i",{class:{"el-icon-star-off":!0},style:{paddingRight:"4px"}}),e("span",{class:{"el-tree-node__label":!0}},r.text)])}}}}});
|
package/lib/js/HdTreeTable.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(e){function t(n){if(a[n])return a[n].exports;var r=a[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=67)}({0:function(e,t){e.exports=function(e,t,a,n,r,o){var i,l=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,l=e.default);var d="function"==typeof l?l.options:l;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0),a&&(d.functional=!0),r&&(d._scopeId=r);var c;if(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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=c):n&&(c=n),c){var u=d.functional,p=u?d.render:d.beforeCreate;u?(d._injectStyles=c,d.render=function(e,t){return c.call(t),p(e,t)}):d.beforeCreate=p?[].concat(p,c):[c]}return{esModule:i,exports:l,options:d}}},1:function(e,t){function a(e,t){var a=e[1]||"",r=e[3];if(!r)return a;if(t&&"function"==typeof btoa){var o=n(r);return[a].concat(r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"})).concat([o]).join("\n")}return[a].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=a(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,a){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var i=e[r];"number"==typeof i[0]&&n[i[0]]||(a&&!i[2]?i[2]=a:a&&(i[2]="("+i[2]+") and ("+a+")"),t.push(i))}},t}},2:function(e,t,a){function n(e){for(var t=0;t<e.length;t++){var a=e[t],n=c[a.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](a.parts[r]);for(;r<a.parts.length;r++)n.parts.push(o(a.parts[r]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{for(var i=[],r=0;r<a.parts.length;r++)i.push(o(a.parts[r]));c[a.id]={id:a.id,refs:1,parts:i}}}}function r(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function o(e){var t,a,n=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(n){if(h)return v;n.parentNode.removeChild(n)}if(b){var o=f++;n=p||(p=r()),t=i.bind(null,n,o,!1),a=i.bind(null,n,o,!0)}else n=r(),t=l.bind(null,n),a=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else a()}}function i(e,t,a,n){var r=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=_(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 l(e,t){var a=t.css,n=t.media,r=t.sourceMap;if(n&&e.setAttribute("media",n),r&&(a+="\n/*# sourceURL="+r.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)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 d=a(4),c={},u=s&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,h=!1,v=function(){},b="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,a){h=a;var r=d(e,t);return n(r),function(t){for(var a=[],o=0;o<r.length;o++){var i=r[o],l=c[i.id];l.refs--,a.push(l)}t?(r=d(e,t),n(r)):r=[];for(var o=0;o<a.length;o++){var l=a[o];if(0===l.refs){for(var s=0;s<l.parts.length;s++)l.parts[s]();delete c[l.id]}}}};var _=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}()},4:function(e,t){e.exports=function(e,t){for(var a=[],n={},r=0;r<t.length;r++){var o=t[r],i=o[0],l=o[1],s=o[2],d=o[3],c={id:e+":"+r,css:l,media:s,sourceMap:d};n[i]?n[i].parts.push(c):a.push(n[i]={id:i,parts:[c]})}return a}},57:function(e,t,a){"use strict";var n=a(72),r=a.n(n),o=a(73);t.a={name:"treeTable",props:{data:{type:[Array,Object],required:!0},columns:{type:Array,default:function(){return[]}},evalFunc:Function,evalArgs:Array,expandAll:{type:Boolean,default:!1}},computed:{formatData:function(){var e=void 0;e=Array.isArray(this.data)?this.data:[this.data];var t=this.evalFunc||o.a,a=this.evalArgs?r()([e,this.expandAll],this.evalArgs):[e,this.expandAll];return t.apply(null,a)}},methods:{showRow:function(e){var t=!e.row.parent||e.row.parent._expanded&&e.row.parent._show;return e.row._show=t,t?"animation:treeTableShow 1s;-webkit-animation:treeTableShow 1s;":"display:none;"},toggleExpanded:function(e){var t=this.formatData[e];t._expanded=!t._expanded},iconShow:function(e,t){return 0===e&&t.children&&t.children.length>0}}}},67:function(e,t,a){"use strict";function n(e){a(68),a(70)}Object.defineProperty(t,"__esModule",{value:!0});var r=a(57),o=a(76),i=a(0),l=n,s=i(r.a,o.a,!1,l,"data-v-71aa4a34",null);t.default=s.exports},68:function(e,t,a){var n=a(69);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a(2)("0eefa593",n,!0)},69:function(e,t,a){t=e.exports=a(1)(void 0),t.push([e.i,"@keyframes treeTableShow{0%{opacity:0}to{opacity:1}}@-webkit-keyframes treeTableShow{0%{opacity:0}to{opacity:1}}",""])},70:function(e,t,a){var n=a(71);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a(2)("26deb8e1",n,!0)},71:function(e,t,a){t=e.exports=a(1)(void 0),t.push([e.i,'.ms-tree-space[data-v-71aa4a34]{position:relative;top:1px;display:inline-block;font-style:normal;font-weight:400;line-height:1;width:8px;height:14px}.ms-tree-space[data-v-71aa4a34]:before{content:""}.processContainer[data-v-71aa4a34]{width:100%;height:100%}table td[data-v-71aa4a34]{line-height:26px}.tree-ctrl[data-v-71aa4a34]{position:relative;cursor:pointer;color:#2196f3;margin-left:-8px}.el-table[data-v-71aa4a34]{height:100%;width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.el-table .el-table__body-wrapper[data-v-71aa4a34]{width:100%}.el-table .el-table__fixed-header-wrapper th[data-v-71aa4a34],.el-table .el-table__header-wrapper th[data-v-71aa4a34]{background-color:#f6f6f6}.el-table td[data-v-71aa4a34],.el-table th[data-v-71aa4a34]{padding:1px 0}.el-table .cell[data-v-71aa4a34],.el-table .el-table--border td:first-child .cell[data-v-71aa4a34],.el-table .el-table--border th:first-child .cell[data-v-71aa4a34],.el-table .el-table th div[data-v-71aa4a34]{padding:1.5px 1px 1.5px 5px!important}.el-table .el-table__empty-block[data-v-71aa4a34]{position:static;text-align:center;width:100%;height:80%}.el-table .el-table__body[data-v-71aa4a34]{margin-bottom:10px}.el-table .el-table__body-wrapper[data-v-71aa4a34]{height:100%;overflow-y:auto}.el-table .el-input__inner[data-v-71aa4a34]{height:27px;margin-bottom:0}.el-table .el-form-item__content[data-v-71aa4a34],.el-table .el-form-item__label[data-v-71aa4a34],.el-table .el-input[data-v-71aa4a34],.el-table .el-input__icon[data-v-71aa4a34]{line-height:30px}.el-table .el-input__inner[data-v-71aa4a34]{padding:5px}.el-table .el-input--prefix .el-input__inner[data-v-71aa4a34]{padding-left:30px}',""])},72:function(e,t){e.exports=require("babel-runtime/core-js/array/concat")},73:function(e,t,a){"use strict";function n(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=[];return o()(e).forEach(function(e){"open"===e.state&&(e._expanded=!0),void 0===e._expanded&&l.a.set(e,"_expanded",t);var o=1;if(void 0!==r&&null!==r&&(o=r+1),l.a.set(e,"_level",o),a&&l.a.set(e,"parent",a),i.push(e),e.children&&e.children.length>0){var s=n(e.children,t,e,o);i=i.concat(s)}}),i}t.a=n;var r=a(74),o=a.n(r),i=a(75),l=a.n(i)},74:function(e,t){e.exports=require("babel-runtime/core-js/array/from")},75:function(e,t){e.exports=require("vue")},76:function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-table",e._b({attrs:{data:e.formatData,"row-style":e.showRow}},"el-table",e.$attrs,!1),[0===e.columns.length?a("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._l(t.row._level,function(e){return a("span",{key:e,staticClass:"ms-tree-space"})}),e._v(" "),e.iconShow(0,t.row)?a("span",{staticClass:"tree-ctrl",on:{click:function(a){e.toggleExpanded(t.$index)}}},[t.row._expanded?a("i",{staticClass:"el-icon-minus"}):a("i",{staticClass:"el-icon-plus"})]):e._e(),e._v("\n "+e._s(t.$index)+"\n ")]}}])}):e._l(e.columns,function(t,n){return a("el-table-column",{key:t.value,attrs:{label:t.text,width:t.width},scopedSlots:e._u([{key:"default",fn:function(r){return[e._l(r.row._level,function(t){return 0===n?a("span",{key:t,staticClass:"ms-tree-space"}):e._e()}),e._v(" "),e.iconShow(n,r.row)?a("span",{staticClass:"tree-ctrl",on:{click:function(t){e.toggleExpanded(r.$index)}}},[r.row._expanded?a("i",{staticClass:"el-icon-minus"}):a("i",{staticClass:"el-icon-plus"})]):e._e(),e._v("\n "+e._s(r.row[t.value])+"\n ")]}}])})}),e._v(" "),e._t("default")],2)},r=[],o={render:n,staticRenderFns:r};t.a=o}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){function e(o){if(r[o])return r[o].exports;var n=r[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,o){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=397)}({0:function(t,e){t.exports=function(t,e,r,o,n,i){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var u="function"==typeof s?s.options:s;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),r&&(u.functional=!0),n&&(u._scopeId=n);var d;if(i?(d=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=d):o&&(d=o),d){var c=u.functional,f=c?u.render:u.beforeCreate;c?(u._injectStyles=d,u.render=function(t,e){return d.call(e),f(t,e)}):u.beforeCreate=f?[].concat(f,d):[d]}return{esModule:a,exports:s,options:u}}},164:function(t,e,r){"use strict";var o=r(398);e.a={name:"authmobileupdate",components:{authmobileupdateform:o.a},data:function(){return{hdQuery:new HdQuery(this)}},mounted:function(){},methods:{saveOk:function(t){this.$refs.grid.doQuery(),this.upload(t)},doEdit:function(t){this.$refs.authmobileupdateform.show(t)},upload:function(t){this.$refs.upload.open("AuthMobileUpdate",t.updateId,!0)}}}},165:function(t,e,r){"use strict";e.a={name:"authmobileupdateform",data:function(){return{hdform:{},visible:!1,tsLoading:!1,loading:!1}},methods:{show:function(t){var e=this;this.$refs.hdform&&this.$refs.hdform.resetFields(),this.visible=!0,this.$http.get("/webresources/login/mobile/AuthMobileUpdate/findone?updateId="+t).then(function(t){var r=t.data;e.hdform=r})},submit:function(){var t=this;this.$refs.hdform.validate(function(e){if(!e)return!1;t.loading=!0,t.$http.post("/webresources/login/mobile/AuthMobileUpdate/saveone",t.hdform).then(function(e){t.loading=!1;var r=e.data;t.$message({type:"success",message:t.$t("保存成功,请上传app")}),t.$emit("save-ok",r.data),t.visible=!1}).catch(function(){t.loading=!1})})}}}},397:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(164),n=r(400),i=r(0),a=i(o.a,n.a,!1,null,null,null);e.default=a.exports},398:function(t,e,r){"use strict";var o=r(165),n=r(399),i=r(0),a=i(o.a,n.a,!1,null,null,null);e.a=a.exports},399:function(t,e,r){"use strict";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{visible:t.visible,title:"编辑",width:"60%"},on:{"update:visible":function(e){t.visible=e}}},[r("el-form",{ref:"hdform",attrs:{model:t.hdform,"label-width":"100px"}},[r("el-row",[r("el-col",{attrs:{span:8,xs:16}},[r("el-form-item",{attrs:{rules:t.$r(1,0,36),label:"版本号",prop:"versionNo"}},[r("el-input",{attrs:{clearable:!1,type:"text"},model:{value:t.hdform.versionNo,callback:function(e){t.$set(t.hdform,"versionNo",e)},expression:"hdform.versionNo"}},[r("hd-btn",{attrs:{slot:"suffix",hint:"版本号使用字符串排序,请确保版本号是最大的,并且上传的apk的版本号必须和本版号一致",icon:"el-icon-question"},slot:"suffix"})],1)],1)],1),t._v(" "),r("el-col",{attrs:{span:8,xs:16}},[r("el-form-item",{attrs:{rules:t.$r(0,0,1),label:"强制升级",prop:"isMust"}},[r("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.hdform.isMust,callback:function(e){t.$set(t.hdform,"isMust",e)},expression:"hdform.isMust"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:22,xs:22}},[r("el-form-item",{attrs:{rules:t.$r(0,0,2048),label:"更新信息(提示用户)",prop:"updateMsg"}},[r("el-input",{attrs:{rows:6,type:"textarea"},model:{value:t.hdform.updateMsg,callback:function(e){t.$set(t.hdform,"updateMsg",e)},expression:"hdform.updateMsg"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:22,xs:22}},[r("el-form-item",{attrs:{rules:t.$r(0,0,512),label:"备注",prop:"remark"}},[r("el-input",{attrs:{rows:6,type:"textarea"},model:{value:t.hdform.remark,callback:function(e){t.$set(t.hdform,"remark",e)},expression:"hdform.remark"}})],1)],1)],1)],1),t._v(" "),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t.$t("取 消")))]),t._v(" "),r("el-button",{attrs:{loading:t.loading,type:"primary"},on:{click:t.submit}},[t._v(" "+t._s(t.$t("确 定")))])],1)],1)},n=[],i={render:o,staticRenderFns:n};e.a=i},400:function(t,e,r){"use strict";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-container",[r("el-main",[r("hd-com-grid",{ref:"grid",attrs:{defaultSort:{prop:"versionNo",order:"descending"},hdQuery:t.hdQuery,url:"/webresources/login/mobile/AuthMobileUpdate"}},[r("div",{staticClass:"filter-container",attrs:{slot:"query"},slot:"query"},[r("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:t.$t("名称")},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))return null;t.doQuery(e)}},model:{value:t.hdQuery.query.anyQuery,callback:function(e){t.$set(t.hdQuery.query,"anyQuery",e)},expression:"hdQuery.query.anyQuery"}}),t._v(" "),r("el-button",{staticClass:"filter-item",attrs:{icon:"search",keyType:"query",type:"primary"},on:{click:function(e){t.$refs.grid.doQuery()}}},[t._v(t._s(t.$t("搜索"))+"\n ")]),t._v(" "),r("el-button",{staticClass:"filter-item",attrs:{icon:"edit",keyType:"add",type:"primary"},on:{click:function(e){t.doEdit("")}}},[t._v(t._s(t.$t("新增"))+"\n ")]),t._v(" "),r("el-button",{staticClass:"filter-item",attrs:{keyType:"del",type:"danger"},on:{click:function(e){t.$refs.grid.doRemoveAll()}}},[t._v(t._s(t.$t("删除"))+"\n ")])],1),t._v(" "),r("el-table-column",{attrs:{align:"center",fixed:"right",label:"操作",width:"100px"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("hd-btn",{attrs:{hint:"编辑",icon:"el-icon-edit"},on:{click:function(r){r.stopPropagation(),t.doEdit(e.row.updateId)}}}),t._v(" "),r("hd-btn",{attrs:{hint:"删除",icon:"el-icon-delete"},on:{click:function(r){r.stopPropagation(),t.$refs.grid.doRemove(e.row)}}}),t._v(" "),r("hd-btn",{attrs:{hint:"apk管理",icon:"el-icon-upload"},on:{click:function(r){r.stopPropagation(),t.upload(e.row)}}})]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"版本号",prop:"versionNo",sortable:"",width:"100px"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"更新信息",prop:"updateMsg",sortable:"",width:"200px"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"备注",prop:"remark",sortable:"",width:"200px"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"强制升级",prop:"isMust",sortable:"",width:"100px"}})],1)],1),t._v(" "),r("authmobileupdateform",{ref:"authmobileupdateform",on:{"save-ok":t.saveOk}}),t._v(" "),r("HdFileUpload",{ref:"upload",attrs:{multiple:!1,accept:"apk",limit:"1"}})],1)},n=[],i={render:o,staticRenderFns:n};e.a=i}});
|