eoss-ui 0.5.71 → 0.5.73

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.
Files changed (54) hide show
  1. package/lib/cascader.js +22 -3
  2. package/lib/data-table.js +26 -11
  3. package/lib/dialog.js +2 -3
  4. package/lib/eoss-ui.common.js +388 -109
  5. package/lib/icon.js +3 -2
  6. package/lib/icons.js +1 -1
  7. package/lib/index.js +1 -1
  8. package/lib/login.js +12 -2
  9. package/lib/main.js +101 -26
  10. package/lib/menu.js +3 -0
  11. package/lib/nav.js +172 -14
  12. package/lib/select.js +1 -2
  13. package/lib/selector.js +3 -3
  14. package/lib/theme-chalk/base.css +1 -1
  15. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  16. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  17. package/lib/theme-chalk/icon.css +1 -1
  18. package/lib/theme-chalk/index.css +1 -1
  19. package/lib/theme-chalk/main.css +1 -1
  20. package/lib/theme-chalk/menu.css +1 -1
  21. package/lib/theme-chalk/nav.css +1 -1
  22. package/lib/theme-chalk/sizer.css +1 -1
  23. package/lib/theme-chalk/upload.css +1 -1
  24. package/lib/tree.js +4 -4
  25. package/package.json +2 -2
  26. package/packages/cascader/src/main.vue +22 -3
  27. package/packages/data-table/src/main.vue +23 -13
  28. package/packages/dialog/src/main.vue +0 -1
  29. package/packages/icon/src/main.vue +1 -0
  30. package/packages/icons/src/icon.json +1 -1
  31. package/packages/login/src/main.vue +5 -0
  32. package/packages/main/src/main.vue +28 -14
  33. package/packages/main/src/settings.vue +13 -0
  34. package/packages/menu/src/main.vue +3 -0
  35. package/packages/nav/src/main.vue +113 -7
  36. package/packages/select/src/main.vue +1 -2
  37. package/packages/selector/src/main.vue +1 -1
  38. package/packages/theme-chalk/lib/base.css +1 -1
  39. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  40. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  41. package/packages/theme-chalk/lib/icon.css +1 -1
  42. package/packages/theme-chalk/lib/index.css +1 -1
  43. package/packages/theme-chalk/lib/main.css +1 -1
  44. package/packages/theme-chalk/lib/menu.css +1 -1
  45. package/packages/theme-chalk/lib/nav.css +1 -1
  46. package/packages/theme-chalk/lib/sizer.css +1 -1
  47. package/packages/theme-chalk/lib/upload.css +1 -1
  48. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  49. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  50. package/packages/theme-chalk/src/icon.scss +432 -437
  51. package/packages/theme-chalk/src/main.scss +19 -15
  52. package/packages/theme-chalk/src/nav.scss +31 -2
  53. package/packages/tree/src/main.vue +2 -2
  54. package/src/index.js +1 -1
@@ -3692,7 +3692,7 @@ module.exports = require("wujie-vue2");
3692
3692
  /* 15 */
3693
3693
  /***/ (function(module) {
3694
3694
 
3695
- module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\",\"wenjianjiadakai\"]");
3695
+ module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\",\"wenjianjiadakai\",\"yingyonglan\"]");
3696
3696
 
3697
3697
  /***/ }),
3698
3698
  /* 16 */
@@ -5818,7 +5818,26 @@ var src_mainvue_type_script_lang_js_extends = Object.assign || function (target)
5818
5818
  },
5819
5819
  created: function created() {},
5820
5820
 
5821
- methods: {},
5821
+ methods: {
5822
+ getLabel: function getLabel(val, data) {
5823
+ var label = '';
5824
+ for (var i = 0; i < data.length; i++) {
5825
+ var item = data[i];
5826
+ if (val == item[this.newProps.value]) {
5827
+ label = item[this.newProps.label];
5828
+ break;
5829
+ } else {
5830
+ if (item.children && item.children.length) {
5831
+ label = this.getLabel(val, item.children);
5832
+ if (label) {
5833
+ break;
5834
+ }
5835
+ }
5836
+ }
5837
+ }
5838
+ return label;
5839
+ }
5840
+ },
5822
5841
  render: function render(h) {
5823
5842
  var _this = this;
5824
5843
 
@@ -5830,14 +5849,14 @@ var src_mainvue_type_script_lang_js_extends = Object.assign || function (target)
5830
5849
  if (Array.isArray(item)) {
5831
5850
  return item.map(function (ele) {
5832
5851
  if (typeof ele === 'string') {
5833
- return ele;
5852
+ return _this.getLabel(ele, _this.datas);
5834
5853
  } else {
5835
5854
  return ele[_this.newProps.label];
5836
5855
  }
5837
5856
  }).join(_this.separator);
5838
5857
  } else {
5839
5858
  if (typeof item === 'string') {
5840
- return item;
5859
+ return _this.getLabel(item, _this.datas);
5841
5860
  } else {
5842
5861
  return item[_this.newProps.label];
5843
5862
  }
@@ -6669,8 +6688,8 @@ clients_src_main.install = function (Vue) {
6669
6688
  };
6670
6689
 
6671
6690
  /* harmony default export */ var clients = (clients_src_main);
6672
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=79cb5b69&
6673
- var mainvue_type_template_id_79cb5b69_render = function () {
6691
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=7b641b60&
6692
+ var mainvue_type_template_id_7b641b60_render = function () {
6674
6693
  var _vm = this
6675
6694
  var _h = _vm.$createElement
6676
6695
  var _c = _vm._self._c || _h
@@ -6980,11 +6999,11 @@ var mainvue_type_template_id_79cb5b69_render = function () {
6980
6999
  1
6981
7000
  )
6982
7001
  }
6983
- var mainvue_type_template_id_79cb5b69_staticRenderFns = []
6984
- mainvue_type_template_id_79cb5b69_render._withStripped = true
7002
+ var mainvue_type_template_id_7b641b60_staticRenderFns = []
7003
+ mainvue_type_template_id_7b641b60_render._withStripped = true
6985
7004
 
6986
7005
 
6987
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=79cb5b69&
7006
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=7b641b60&
6988
7007
 
6989
7008
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
6990
7009
  var childrenvue_type_template_id_44b7ff61_render = function () {
@@ -9395,7 +9414,7 @@ var mainvue_type_script_lang_js_components, _watch;
9395
9414
  show: true,
9396
9415
  sysCodes: [],
9397
9416
  infiniteDisabled: this.infiniteScroll,
9398
- isUpadeData: false
9417
+ isReload: false
9399
9418
  };
9400
9419
  },
9401
9420
 
@@ -9471,8 +9490,8 @@ var mainvue_type_script_lang_js_components, _watch;
9471
9490
  if (this.list && this.list.length) {
9472
9491
  return this.list;
9473
9492
  }
9474
- if (this.page && this.data && this.data.length && this.config.totalCount < this.data.length + 2) {
9475
- this.config.totalCount = this.data.length - this.lose;
9493
+ this.config.totalCount = this.data.length - this.lose;
9494
+ if (this.page && this.data.length > this.config.pageSize) {
9476
9495
  return this.data.filter(function (item, index) {
9477
9496
  return index > (_this.config.pageNum - 1) * _this.config.pageSize - 1 && index < _this.config.pageNum * _this.config.pageSize;
9478
9497
  });
@@ -9537,6 +9556,14 @@ var mainvue_type_script_lang_js_components, _watch;
9537
9556
  this.resetHeight();
9538
9557
  this.doLayout();
9539
9558
  },
9559
+
9560
+ // data: {
9561
+ // immediate: true,
9562
+ // deep: true,
9563
+ // handler(val) {
9564
+ // this.config.totalCount = val.length - this.lose;
9565
+ // }
9566
+ // },
9540
9567
  page: function page() {
9541
9568
  this.resetHeight();
9542
9569
  this.doLayout();
@@ -9582,7 +9609,7 @@ var mainvue_type_script_lang_js_components, _watch;
9582
9609
  param: {
9583
9610
  deep: true,
9584
9611
  handler: function handler(val) {
9585
- this.getTableData(112);
9612
+ this.getTableData();
9586
9613
  }
9587
9614
  }
9588
9615
  }, _watch['page'] = {
@@ -9895,13 +9922,19 @@ var mainvue_type_script_lang_js_components, _watch;
9895
9922
  })).then(function (res) {
9896
9923
  _this8.tableLoading = false;
9897
9924
  if (res.rCode === 0 || res.status === 'success') {
9925
+ if (_this8.isReload) {
9926
+ _this8.list = [];
9927
+ _this8.isReload = false;
9928
+ }
9898
9929
  var results = _this8.parseData !== undefined ? _this8.parseData(res.results || res.data || res) : res.results || res.data;
9899
9930
  if (_this8.infiniteScroll) {
9900
9931
  _this8.list = _this8.list.concat(results.data || results.records || results.list);
9901
9932
  _this8.config.pageNum += 1;
9902
9933
  } else {
9903
- _this8.list = results.data || results.records || results.list || [];
9904
- _this8.$refs.oaTable && _this8.$refs.oaTable.resetScroll && _this8.$refs.oaTable.resetScroll(0, 0);
9934
+ _this8.$nextTick(function () {
9935
+ _this8.list = results.data || results.records || results.list || [];
9936
+ _this8.$refs.oaTable && _this8.$refs.oaTable.resetScroll && _this8.$refs.oaTable.resetScroll(0, 0);
9937
+ });
9905
9938
  }
9906
9939
  _this8.config.totalCount = results.count || results.total || results.totalCount;
9907
9940
  _this8.checked && _this8.$nextTick(function () {
@@ -10288,6 +10321,7 @@ var mainvue_type_script_lang_js_components, _watch;
10288
10321
  this.config = utils_util["a" /* default */].extend({}, this.config, obj.config);
10289
10322
  }
10290
10323
  if (this.url) {
10324
+ this.isReload = true;
10291
10325
  this.getTableData({ where: obj && obj.where ? obj.where : {}, first: first });
10292
10326
  }
10293
10327
  },
@@ -10402,8 +10436,8 @@ var mainvue_type_script_lang_js_components, _watch;
10402
10436
 
10403
10437
  var data_table_src_main_component = normalizeComponent(
10404
10438
  packages_data_table_src_mainvue_type_script_lang_js_,
10405
- mainvue_type_template_id_79cb5b69_render,
10406
- mainvue_type_template_id_79cb5b69_staticRenderFns,
10439
+ mainvue_type_template_id_7b641b60_render,
10440
+ mainvue_type_template_id_7b641b60_staticRenderFns,
10407
10441
  false,
10408
10442
  null,
10409
10443
  null,
@@ -12538,8 +12572,8 @@ date_picker_src_main.install = function (Vue) {
12538
12572
  };
12539
12573
 
12540
12574
  /* harmony default export */ var date_picker = (date_picker_src_main);
12541
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=55a176e4&
12542
- var mainvue_type_template_id_55a176e4_render = function () {
12575
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=90beba00&
12576
+ var mainvue_type_template_id_90beba00_render = function () {
12543
12577
  var _vm = this
12544
12578
  var _h = _vm.$createElement
12545
12579
  var _c = _vm._self._c || _h
@@ -13049,11 +13083,11 @@ var mainvue_type_template_id_55a176e4_render = function () {
13049
13083
  2
13050
13084
  )
13051
13085
  }
13052
- var mainvue_type_template_id_55a176e4_staticRenderFns = []
13053
- mainvue_type_template_id_55a176e4_render._withStripped = true
13086
+ var mainvue_type_template_id_90beba00_staticRenderFns = []
13087
+ mainvue_type_template_id_90beba00_render._withStripped = true
13054
13088
 
13055
13089
 
13056
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=55a176e4&
13090
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=90beba00&
13057
13091
 
13058
13092
  // EXTERNAL MODULE: external "wujie-vue2"
13059
13093
  var external_wujie_vue2_ = __webpack_require__(14);
@@ -13571,7 +13605,6 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
13571
13605
  this.show = false;
13572
13606
  this.$emit('close', res, this);
13573
13607
  if (this.closeParent && this.esDialog) {
13574
- console.log(12121);
13575
13608
  this.esDialog.handleClosed(res);
13576
13609
  }
13577
13610
  },
@@ -13611,8 +13644,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
13611
13644
 
13612
13645
  var dialog_src_main_component = normalizeComponent(
13613
13646
  packages_dialog_src_mainvue_type_script_lang_js_,
13614
- mainvue_type_template_id_55a176e4_render,
13615
- mainvue_type_template_id_55a176e4_staticRenderFns,
13647
+ mainvue_type_template_id_90beba00_render,
13648
+ mainvue_type_template_id_90beba00_staticRenderFns,
13616
13649
  false,
13617
13650
  null,
13618
13651
  null,
@@ -45944,8 +45977,8 @@ handler_src_main.install = function (Vue) {
45944
45977
  };
45945
45978
 
45946
45979
  /* harmony default export */ var packages_handler = (handler_src_main);
45947
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=509a9002&
45948
- var mainvue_type_template_id_509a9002_render = function () {
45980
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=d93859ec&
45981
+ var mainvue_type_template_id_d93859ec_render = function () {
45949
45982
  var _vm = this
45950
45983
  var _h = _vm.$createElement
45951
45984
  var _c = _vm._self._c || _h
@@ -45960,11 +45993,11 @@ var mainvue_type_template_id_509a9002_render = function () {
45960
45993
  )
45961
45994
  )
45962
45995
  }
45963
- var mainvue_type_template_id_509a9002_staticRenderFns = []
45964
- mainvue_type_template_id_509a9002_render._withStripped = true
45996
+ var mainvue_type_template_id_d93859ec_staticRenderFns = []
45997
+ mainvue_type_template_id_d93859ec_render._withStripped = true
45965
45998
 
45966
45999
 
45967
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=509a9002&
46000
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=d93859ec&
45968
46001
 
45969
46002
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=script&lang=js&
45970
46003
  //
@@ -45993,6 +46026,7 @@ mainvue_type_template_id_509a9002_render._withStripped = true
45993
46026
  this.code = val;
45994
46027
  this.className = 'es-icon';
45995
46028
  } else {
46029
+ this.code = '';
45996
46030
  this.className = val;
45997
46031
  }
45998
46032
  } else {
@@ -46035,8 +46069,8 @@ mainvue_type_template_id_509a9002_render._withStripped = true
46035
46069
 
46036
46070
  var icon_src_main_component = normalizeComponent(
46037
46071
  packages_icon_src_mainvue_type_script_lang_js_,
46038
- mainvue_type_template_id_509a9002_render,
46039
- mainvue_type_template_id_509a9002_staticRenderFns,
46072
+ mainvue_type_template_id_d93859ec_render,
46073
+ mainvue_type_template_id_d93859ec_staticRenderFns,
46040
46074
  false,
46041
46075
  null,
46042
46076
  null,
@@ -47426,8 +47460,8 @@ layout_src_main.install = function (Vue) {
47426
47460
  };
47427
47461
 
47428
47462
  /* harmony default export */ var layout = (layout_src_main);
47429
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=5bc62799&
47430
- var mainvue_type_template_id_5bc62799_render = function () {
47463
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=249fae96&
47464
+ var mainvue_type_template_id_249fae96_render = function () {
47431
47465
  var _vm = this
47432
47466
  var _h = _vm.$createElement
47433
47467
  var _c = _vm._self._c || _h
@@ -47583,6 +47617,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
47583
47617
  size: "large",
47584
47618
  type: "text",
47585
47619
  name: "username",
47620
+ tabindex: "1",
47586
47621
  exclude: "",
47587
47622
  placeholder: _vm.username.placeholder,
47588
47623
  focusShow: _vm.focusShow,
@@ -47631,6 +47666,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
47631
47666
  attrs: {
47632
47667
  size: "large",
47633
47668
  name: "password",
47669
+ tabindex: "2",
47634
47670
  type: "password",
47635
47671
  placeholder: _vm.password.placeholder,
47636
47672
  autocomplete: "off",
@@ -47685,6 +47721,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
47685
47721
  attrs: {
47686
47722
  size: "large",
47687
47723
  name: "identifyingCode",
47724
+ tabindex: "3",
47688
47725
  type: "text",
47689
47726
  placeholder: "请输入验证码",
47690
47727
  autocomplete: "off",
@@ -48032,6 +48069,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
48032
48069
  size: "large",
48033
48070
  type: "text",
48034
48071
  name: "target",
48072
+ tabindex: "4",
48035
48073
  placeholder:
48036
48074
  _vm.active == 6
48037
48075
  ? _vm.phone.placeholder
@@ -48088,6 +48126,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
48088
48126
  type: "text",
48089
48127
  placeholder: "请输入验证码",
48090
48128
  autocomplete: "off",
48129
+ tabindex: "5",
48091
48130
  },
48092
48131
  model: {
48093
48132
  value: _vm.formData.verificationCode,
@@ -48352,11 +48391,11 @@ var mainvue_type_template_id_5bc62799_render = function () {
48352
48391
  )
48353
48392
  : _vm._e()
48354
48393
  }
48355
- var mainvue_type_template_id_5bc62799_staticRenderFns = []
48356
- mainvue_type_template_id_5bc62799_render._withStripped = true
48394
+ var mainvue_type_template_id_249fae96_staticRenderFns = []
48395
+ mainvue_type_template_id_249fae96_render._withStripped = true
48357
48396
 
48358
48397
 
48359
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=5bc62799&
48398
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=249fae96&
48360
48399
 
48361
48400
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=28f463b9&
48362
48401
  var resetPasswordvue_type_template_id_28f463b9_render = function () {
@@ -49264,6 +49303,11 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49264
49303
  //
49265
49304
  //
49266
49305
  //
49306
+ //
49307
+ //
49308
+ //
49309
+ //
49310
+ //
49267
49311
 
49268
49312
 
49269
49313
 
@@ -50388,8 +50432,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
50388
50432
 
50389
50433
  var login_src_main_component = normalizeComponent(
50390
50434
  packages_login_src_mainvue_type_script_lang_js_,
50391
- mainvue_type_template_id_5bc62799_render,
50392
- mainvue_type_template_id_5bc62799_staticRenderFns,
50435
+ mainvue_type_template_id_249fae96_render,
50436
+ mainvue_type_template_id_249fae96_staticRenderFns,
50393
50437
  false,
50394
50438
  null,
50395
50439
  null,
@@ -50406,8 +50450,8 @@ login_src_main.install = function (Vue) {
50406
50450
  };
50407
50451
 
50408
50452
  /* harmony default export */ var login = (login_src_main);
50409
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=098112dd&
50410
- var mainvue_type_template_id_098112dd_render = function () {
50453
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=a08554be&
50454
+ var mainvue_type_template_id_a08554be_render = function () {
50411
50455
  var _vm = this
50412
50456
  var _h = _vm.$createElement
50413
50457
  var _c = _vm._self._c || _h
@@ -50541,19 +50585,30 @@ var mainvue_type_template_id_098112dd_render = function () {
50541
50585
  "div",
50542
50586
  { staticClass: "es-main-left" },
50543
50587
  [
50544
- _vm.layout === "topside"
50588
+ _vm.layout === "topside" || _vm.layout === "side"
50545
50589
  ? _c(
50546
50590
  "div",
50547
- { staticClass: "es-main-side" },
50591
+ {
50592
+ staticClass: "es-main-side",
50593
+ class: {
50594
+ "es-main-topside": _vm.layout === "topside",
50595
+ },
50596
+ },
50548
50597
  [
50549
- _c("div", { staticClass: "es-main-side-logo" }, [
50550
- _vm.logoUrl
50551
- ? _c("img", {
50552
- staticClass: "es-main-logo",
50553
- attrs: { src: _vm.logoUrl },
50554
- })
50555
- : _vm._e(),
50556
- ]),
50598
+ _vm.layout === "topside"
50599
+ ? _c(
50600
+ "div",
50601
+ { staticClass: "es-main-side-logo" },
50602
+ [
50603
+ _vm.logoUrl
50604
+ ? _c("img", {
50605
+ staticClass: "es-main-logo",
50606
+ attrs: { src: _vm.logoUrl },
50607
+ })
50608
+ : _vm._e(),
50609
+ ]
50610
+ )
50611
+ : _vm._e(),
50557
50612
  _c("es-handle-user", {
50558
50613
  attrs: {
50559
50614
  data: { type: "user" },
@@ -50602,16 +50657,19 @@ var mainvue_type_template_id_098112dd_render = function () {
50602
50657
  ? _c("es-nav", {
50603
50658
  attrs: {
50604
50659
  "is-top": _vm.layout == "topside",
50660
+ overlap: _vm.layout == "side",
50605
50661
  data: _vm.menu,
50606
50662
  "default-active": _vm.active,
50607
50663
  width: _vm.navsWidth,
50608
- "nav-width": _vm.navWidth,
50664
+ "nav-width": _vm._navWidth,
50609
50665
  icons: _vm.icons,
50610
50666
  "menu-icon": _vm.menuIcon,
50611
50667
  "sub-icon": _vm.subIcon,
50612
50668
  biserial: _vm.biserial,
50613
50669
  title: _vm.showNavTitle ? _vm.title : false,
50614
- showCollapse: _vm.showNavTitle,
50670
+ showCollapse: _vm.showNavTitle
50671
+ ? _vm.showCollapse
50672
+ : false,
50615
50673
  "menu-tips": _vm.menuTips,
50616
50674
  "is-default": _vm.isDefault,
50617
50675
  paddingLeft: _vm.navPaddingLeft,
@@ -50844,11 +50902,11 @@ var mainvue_type_template_id_098112dd_render = function () {
50844
50902
  1
50845
50903
  )
50846
50904
  }
50847
- var mainvue_type_template_id_098112dd_staticRenderFns = []
50848
- mainvue_type_template_id_098112dd_render._withStripped = true
50905
+ var mainvue_type_template_id_a08554be_staticRenderFns = []
50906
+ mainvue_type_template_id_a08554be_render._withStripped = true
50849
50907
 
50850
50908
 
50851
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=098112dd&
50909
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a08554be&
50852
50910
 
50853
50911
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=75d533de&
50854
50912
  var userinfovue_type_template_id_75d533de_render = function () {
@@ -51329,8 +51387,8 @@ var userinfo_component = normalizeComponent(
51329
51387
  )
51330
51388
 
51331
51389
  /* harmony default export */ var userinfo = (userinfo_component.exports);
51332
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/settings.vue?vue&type=template&id=3c983b8c&
51333
- var settingsvue_type_template_id_3c983b8c_render = function () {
51390
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/settings.vue?vue&type=template&id=e1a47a4a&
51391
+ var settingsvue_type_template_id_e1a47a4a_render = function () {
51334
51392
  var _vm = this
51335
51393
  var _h = _vm.$createElement
51336
51394
  var _c = _vm._self._c || _h
@@ -51567,6 +51625,44 @@ var settingsvue_type_template_id_3c983b8c_render = function () {
51567
51625
  ),
51568
51626
  ]
51569
51627
  ),
51628
+ _c(
51629
+ "el-tooltip",
51630
+ {
51631
+ staticClass: "es-setting-navs-item",
51632
+ attrs: {
51633
+ effect: "dark",
51634
+ content: "侧边菜单布局",
51635
+ placement: "bottom",
51636
+ },
51637
+ },
51638
+ [
51639
+ _c(
51640
+ "div",
51641
+ {
51642
+ staticClass: "es-setting-navs es-setting-side-navs",
51643
+ on: {
51644
+ click: function ($event) {
51645
+ $event.stopPropagation()
51646
+ _vm.handleLayout("side")
51647
+ },
51648
+ },
51649
+ },
51650
+ [
51651
+ _c("i", {
51652
+ directives: [
51653
+ {
51654
+ name: "show",
51655
+ rawName: "v-show",
51656
+ value: _vm.activeName == "side",
51657
+ expression: "activeName == 'side'",
51658
+ },
51659
+ ],
51660
+ staticClass: "es-icon-gou",
51661
+ }),
51662
+ ]
51663
+ ),
51664
+ ]
51665
+ ),
51570
51666
  ],
51571
51667
  1
51572
51668
  ),
@@ -51574,11 +51670,11 @@ var settingsvue_type_template_id_3c983b8c_render = function () {
51574
51670
  ]
51575
51671
  )
51576
51672
  }
51577
- var settingsvue_type_template_id_3c983b8c_staticRenderFns = []
51578
- settingsvue_type_template_id_3c983b8c_render._withStripped = true
51673
+ var settingsvue_type_template_id_e1a47a4a_staticRenderFns = []
51674
+ settingsvue_type_template_id_e1a47a4a_render._withStripped = true
51579
51675
 
51580
51676
 
51581
- // CONCATENATED MODULE: ./packages/main/src/settings.vue?vue&type=template&id=3c983b8c&
51677
+ // CONCATENATED MODULE: ./packages/main/src/settings.vue?vue&type=template&id=e1a47a4a&
51582
51678
 
51583
51679
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/settings.vue?vue&type=script&lang=js&
51584
51680
  //
@@ -51676,6 +51772,19 @@ settingsvue_type_template_id_3c983b8c_render._withStripped = true
51676
51772
  //
51677
51773
  //
51678
51774
  //
51775
+ //
51776
+ //
51777
+ //
51778
+ //
51779
+ //
51780
+ //
51781
+ //
51782
+ //
51783
+ //
51784
+ //
51785
+ //
51786
+ //
51787
+ //
51679
51788
 
51680
51789
 
51681
51790
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
@@ -51768,8 +51877,8 @@ settingsvue_type_template_id_3c983b8c_render._withStripped = true
51768
51877
 
51769
51878
  var settings_component = normalizeComponent(
51770
51879
  src_settingsvue_type_script_lang_js_,
51771
- settingsvue_type_template_id_3c983b8c_render,
51772
- settingsvue_type_template_id_3c983b8c_staticRenderFns,
51880
+ settingsvue_type_template_id_e1a47a4a_render,
51881
+ settingsvue_type_template_id_e1a47a4a_staticRenderFns,
51773
51882
  false,
51774
51883
  null,
51775
51884
  null,
@@ -52927,8 +53036,6 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
52927
53036
  //
52928
53037
  //
52929
53038
  //
52930
- //
52931
- //
52932
53039
 
52933
53040
 
52934
53041
 
@@ -53096,7 +53203,15 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53096
53203
  appCode: String,
53097
53204
  //菜单左边距
53098
53205
  navPaddingLeft: Number,
53099
- navWidth: String
53206
+ navBoxWidth: {
53207
+ type: String,
53208
+ default: '230px'
53209
+ },
53210
+ navWidth: String,
53211
+ showCollapse: {
53212
+ type: Boolean,
53213
+ default: true
53214
+ }
53100
53215
  },
53101
53216
  computed: {
53102
53217
  showHeader: function showHeader() {
@@ -53124,7 +53239,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53124
53239
  return true;
53125
53240
  },
53126
53241
  navsWidth: function navsWidth() {
53127
- return this.layout === 'topside' ? '230px' : undefined;
53242
+ return this.layout === 'topside' ? this.navBoxWidth : undefined;
53243
+ },
53244
+ _navWidth: function _navWidth() {
53245
+ return this.layout === 'side' ? this.navBoxWidth : this.layout === 'subsystem' || this.layout === 'topside' ? '0' : this.navWidth;
53128
53246
  },
53129
53247
  showNavTitle: function showNavTitle() {
53130
53248
  return this.layout !== 'topside';
@@ -53170,7 +53288,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53170
53288
  } else {
53171
53289
  return { set: !this.set, system: false };
53172
53290
  }
53173
- } else if (this.layout === 'topside') {
53291
+ } else if (this.layout === 'topside' || this.layout === 'side') {
53174
53292
  if (this.hides && Object.keys(this.hides).length) {
53175
53293
  return main_src_mainvue_type_script_lang_js_extends({}, this.hides, {
53176
53294
  set: !this.set,
@@ -53971,6 +54089,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53971
54089
  }
53972
54090
  }
53973
54091
  } else {
54092
+ this.tabs = [];
53974
54093
  this.handleJump(obj.url, obj.urlopenmode, obj);
53975
54094
  }
53976
54095
  return obj;
@@ -54772,8 +54891,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54772
54891
 
54773
54892
  var main_src_main_component = normalizeComponent(
54774
54893
  packages_main_src_mainvue_type_script_lang_js_,
54775
- mainvue_type_template_id_098112dd_render,
54776
- mainvue_type_template_id_098112dd_staticRenderFns,
54894
+ mainvue_type_template_id_a08554be_render,
54895
+ mainvue_type_template_id_a08554be_staticRenderFns,
54777
54896
  false,
54778
54897
  null,
54779
54898
  null,
@@ -54861,6 +54980,9 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
54861
54980
  },
54862
54981
  width: function width() {
54863
54982
  this.getMaxWidth();
54983
+ },
54984
+ height: function height() {
54985
+ this.$refs.esMenu.update();
54864
54986
  }
54865
54987
  },
54866
54988
  data: function data() {
@@ -55208,8 +55330,8 @@ menu_src_main.install = function (Vue) {
55208
55330
  };
55209
55331
 
55210
55332
  /* harmony default export */ var menu = (menu_src_main);
55211
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=04099294&
55212
- var mainvue_type_template_id_04099294_render = function () {
55333
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=7b4319fb&
55334
+ var mainvue_type_template_id_7b4319fb_render = function () {
55213
55335
  var _vm = this
55214
55336
  var _h = _vm.$createElement
55215
55337
  var _c = _vm._self._c || _h
@@ -55225,12 +55347,24 @@ var mainvue_type_template_id_04099294_render = function () {
55225
55347
  _vm.biserial
55226
55348
  ? _c(
55227
55349
  "div",
55228
- { staticClass: "es-nav-initial" },
55350
+ {
55351
+ staticClass: "es-nav-initial",
55352
+ style: {
55353
+ width: _vm._navWidth,
55354
+ left:
55355
+ this.overlap && !this.subMenu.length
55356
+ ? "15px"
55357
+ : _vm.show
55358
+ ? "-" + _vm.boxWidth
55359
+ : "",
55360
+ },
55361
+ },
55229
55362
  [
55230
55363
  _c(
55231
55364
  "es-menu",
55232
55365
  _vm._b(
55233
55366
  {
55367
+ class: { "es-nav-overlap": _vm.overlap },
55234
55368
  attrs: {
55235
55369
  "sub-nav": "",
55236
55370
  data: _vm.menu,
@@ -55265,14 +55399,18 @@ var mainvue_type_template_id_04099294_render = function () {
55265
55399
  },
55266
55400
  ],
55267
55401
  staticClass: "es-nav-main",
55268
- style: { width: _vm.biserial ? _vm.width : _vm.boxWidth },
55402
+ class: { "es-nav-overlap": _vm.overlap },
55403
+ style: {
55404
+ width: _vm.biserial ? _vm.width : _vm.boxWidth,
55405
+ left: _vm.show ? "15px" : _vm.navWidth,
55406
+ },
55269
55407
  attrs: { biserial: _vm.biserial },
55270
55408
  },
55271
55409
  [
55272
55410
  _vm.showTitle
55273
55411
  ? _c(
55274
55412
  "div",
55275
- { staticClass: "es-nav-title" },
55413
+ { ref: "navTitle", staticClass: "es-nav-title" },
55276
55414
  [
55277
55415
  _c(
55278
55416
  "span",
@@ -55331,6 +55469,7 @@ var mainvue_type_template_id_04099294_render = function () {
55331
55469
  collapse: _vm.isCollapse,
55332
55470
  "default-active": _vm.menuActive,
55333
55471
  width: _vm.isTop ? _vm.boxWidth : _vm.menuWidth,
55472
+ height: _vm.menuHeight,
55334
55473
  "is-default": _vm.isDefault,
55335
55474
  biserial: _vm.biserial,
55336
55475
  paddingLeft: _vm.paddingLeft,
@@ -55352,14 +55491,37 @@ var mainvue_type_template_id_04099294_render = function () {
55352
55491
  ],
55353
55492
  1
55354
55493
  ),
55494
+ _c(
55495
+ "div",
55496
+ {
55497
+ directives: [
55498
+ {
55499
+ name: "show",
55500
+ rawName: "v-show",
55501
+ value: _vm.show,
55502
+ expression: "show",
55503
+ },
55504
+ ],
55505
+ ref: "box",
55506
+ staticClass: "es-sets-button",
55507
+ },
55508
+ [
55509
+ _c("el-button", {
55510
+ ref: "area",
55511
+ staticClass: "es-icon-yingyonglan",
55512
+ attrs: { round: "", type: "primary" },
55513
+ }),
55514
+ ],
55515
+ 1
55516
+ ),
55355
55517
  ]
55356
55518
  )
55357
55519
  }
55358
- var mainvue_type_template_id_04099294_staticRenderFns = []
55359
- mainvue_type_template_id_04099294_render._withStripped = true
55520
+ var mainvue_type_template_id_7b4319fb_staticRenderFns = []
55521
+ mainvue_type_template_id_7b4319fb_render._withStripped = true
55360
55522
 
55361
55523
 
55362
- // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=04099294&
55524
+ // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=7b4319fb&
55363
55525
 
55364
55526
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=script&lang=js&
55365
55527
  //
@@ -55426,6 +55588,33 @@ mainvue_type_template_id_04099294_render._withStripped = true
55426
55588
  //
55427
55589
  //
55428
55590
  //
55591
+ //
55592
+ //
55593
+ //
55594
+ //
55595
+ //
55596
+ //
55597
+ //
55598
+ //
55599
+ //
55600
+ //
55601
+ //
55602
+ //
55603
+ //
55604
+ //
55605
+ //
55606
+ //
55607
+ //
55608
+ //
55609
+ //
55610
+ //
55611
+ //
55612
+ //
55613
+ //
55614
+ //
55615
+ //
55616
+ //
55617
+ //
55429
55618
 
55430
55619
 
55431
55620
  /* harmony default export */ var nav_src_mainvue_type_script_lang_js_ = ({
@@ -55467,9 +55656,16 @@ mainvue_type_template_id_04099294_render._withStripped = true
55467
55656
  subIcon: {
55468
55657
  type: Boolean,
55469
55658
  default: true
55470
- }
55659
+ },
55660
+ overlap: Boolean
55471
55661
  },
55472
55662
  computed: {
55663
+ show: function show() {
55664
+ return this.overlap && this.subMenu.length;
55665
+ },
55666
+ showMenu: function showMenu() {
55667
+ return this.biserial ? this.subMenu.length : this.menu.length;
55668
+ },
55473
55669
  menu: function menu() {
55474
55670
  return this.data;
55475
55671
  },
@@ -55489,13 +55685,19 @@ mainvue_type_template_id_04099294_render._withStripped = true
55489
55685
  },
55490
55686
  boxWidth: function boxWidth() {
55491
55687
  if (!this.biserial) {
55688
+ if (this.overlap) {
55689
+ return this.navWidth;
55690
+ }
55492
55691
  if (this.isShow) {
55493
55692
  return this.width;
55494
55693
  } else {
55495
55694
  return this.navWidth;
55496
55695
  }
55497
55696
  }
55498
- return this.subMenu && this.subMenu.length && this.isShow ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
55697
+ return this.subMenu && this.subMenu.length && this.isShow && !this.overlap ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
55698
+ },
55699
+ _navWidth: function _navWidth() {
55700
+ return this.overlap ? parseInt(this.navWidth, 10) - 30 + 'px' : this.navWidth;
55499
55701
  }
55500
55702
  },
55501
55703
  watch: {
@@ -55561,6 +55763,9 @@ mainvue_type_template_id_04099294_render._withStripped = true
55561
55763
  } else {
55562
55764
  this.subMenu = [];
55563
55765
  }
55766
+ },
55767
+ showMenu: function showMenu() {
55768
+ this.resetHeight();
55564
55769
  }
55565
55770
  },
55566
55771
  data: function data() {
@@ -55577,9 +55782,76 @@ mainvue_type_template_id_04099294_render._withStripped = true
55577
55782
  },
55578
55783
  mounted: function mounted() {
55579
55784
  this.resetHeight();
55785
+ this.move();
55580
55786
  },
55581
55787
 
55582
55788
  methods: {
55789
+ //设置按钮拖动
55790
+ move: function move() {
55791
+ var _this3 = this;
55792
+
55793
+ var area = this.$refs.area.$el;
55794
+ var box = this.$refs.box;
55795
+ var sTime = 0,
55796
+ eTime = 0;
55797
+
55798
+ area.addEventListener('mousedown', function (e) {
55799
+ sTime = new Date().getTime();
55800
+ var downY = e.y,
55801
+ downX = e.x;
55802
+
55803
+ var _document$body$getBou = document.body.getBoundingClientRect(),
55804
+ winH = _document$body$getBou.height,
55805
+ winW = _document$body$getBou.width;
55806
+ //防止拖动期间选中和复制网页文本
55807
+
55808
+
55809
+ document.body.onselectstart = document.body.oncontextmenu = function () {
55810
+ return false;
55811
+ };
55812
+ document.onmousemove = function (eve) {
55813
+ var size = 40;
55814
+ var moveY = eve.y,
55815
+ moveX = eve.x;
55816
+
55817
+ var _box$getBoundingClien = box.getBoundingClientRect(),
55818
+ boxTop = _box$getBoundingClien.top,
55819
+ boxLeft = _box$getBoundingClien.left;
55820
+
55821
+ boxTop += moveY - downY;
55822
+ boxLeft += moveX - downX;
55823
+ boxTop >= winH - size && (boxTop = winH - size);
55824
+ boxTop <= -size && (boxTop = -size);
55825
+ boxLeft >= winW - size && (boxLeft = winW - size);
55826
+ boxLeft <= -size && (boxLeft = -size);
55827
+ if (boxTop < 0) {
55828
+ boxTop = 0;
55829
+ }
55830
+ if (boxLeft < 0) {
55831
+ boxLeft = 0;
55832
+ }
55833
+ box.style.top = boxTop + 'px';
55834
+ box.style.left = boxLeft + 'px';
55835
+ downY = moveY;
55836
+ downX = moveX;
55837
+ };
55838
+ document.onmouseup = function () {
55839
+ eTime = new Date().getTime();
55840
+ var isClick = eTime - sTime < 200;
55841
+ if (isClick) {
55842
+ var onArea = function onArea() {
55843
+ _this3.subMenu = [];
55844
+ area.removeEventListener('click', onArea);
55845
+ };
55846
+ area.addEventListener('click', onArea);
55847
+ }
55848
+ document.onmousemove = null;
55849
+ document.body.onselectstart = document.body.oncontextmenu = function () {
55850
+ return true;
55851
+ };
55852
+ };
55853
+ });
55854
+ },
55583
55855
  handleChange: function handleChange() {
55584
55856
  if (this.biserial) {
55585
55857
  this.isShow = !this.isShow;
@@ -55587,7 +55859,7 @@ mainvue_type_template_id_04099294_render._withStripped = true
55587
55859
  this.isCollapse = !this.isCollapse;
55588
55860
  if (this.isCollapse) {
55589
55861
  this.isShow = false;
55590
- this.menuWidth = '70px';
55862
+ this.menuWidth = this.navWidth;
55591
55863
  } else {
55592
55864
  this.isShow = true;
55593
55865
  this.menuWidth = this.width;
@@ -55614,12 +55886,12 @@ mainvue_type_template_id_04099294_render._withStripped = true
55614
55886
  this.$emit('close', res);
55615
55887
  },
55616
55888
  resetHeight: function resetHeight() {
55617
- var _this3 = this;
55889
+ var _this4 = this;
55618
55890
 
55619
55891
  this.$nextTick(function () {
55620
- var height = _this3.$refs.esNav.parentNode.offsetHeight;
55621
- Array.from(_this3.$refs.esNav.parentNode.children).forEach(function (item) {
55622
- if (item !== _this3.$refs.esNav) {
55892
+ var height = _this4.$refs.esNav.parentNode.offsetHeight;
55893
+ Array.from(_this4.$refs.esNav.parentNode.children).forEach(function (item) {
55894
+ if (item !== _this4.$refs.esNav) {
55623
55895
  var mt = utils_util["a" /* default */].getStyle(item, 'margin-top');
55624
55896
  var mb = utils_util["a" /* default */].getStyle(item, 'margin-bottom');
55625
55897
  mt = mt ? parseInt(mt, 10) : 0;
@@ -55627,8 +55899,16 @@ mainvue_type_template_id_04099294_render._withStripped = true
55627
55899
  height -= item.offsetHeight + mt + mb;
55628
55900
  }
55629
55901
  });
55630
- _this3.height = height + 'px';
55631
- _this3.menuHeight = _this3.showTitle ? height - 49 + 'px' : height + 'px';
55902
+ if (_this4.overlap) {
55903
+ height -= 15;
55904
+ }
55905
+ _this4.height = height + 'px';
55906
+ if (_this4.showTitle) {
55907
+ var theight = _this4.$refs.navTitle.offsetHeight;
55908
+ _this4.menuHeight = height - theight + 'px';
55909
+ } else {
55910
+ _this4.menuHeight = height + 'px';
55911
+ }
55632
55912
  });
55633
55913
  }
55634
55914
  }
@@ -55645,8 +55925,8 @@ mainvue_type_template_id_04099294_render._withStripped = true
55645
55925
 
55646
55926
  var nav_src_main_component = normalizeComponent(
55647
55927
  packages_nav_src_mainvue_type_script_lang_js_,
55648
- mainvue_type_template_id_04099294_render,
55649
- mainvue_type_template_id_04099294_staticRenderFns,
55928
+ mainvue_type_template_id_7b4319fb_render,
55929
+ mainvue_type_template_id_7b4319fb_staticRenderFns,
55650
55930
  false,
55651
55931
  null,
55652
55932
  null,
@@ -58391,7 +58671,6 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
58391
58671
  immediate: true,
58392
58672
  handler: function handler(val, old) {
58393
58673
  if (val && val !== old) {
58394
- console.log(1);
58395
58674
  this.label = this.service ? 'label' : 'shortName';
58396
58675
  this.valKey = this.service ? 'value' : 'cciValue';
58397
58676
  var options = utils_store.get(val);
@@ -58404,6 +58683,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
58404
58683
  }
58405
58684
  },
58406
58685
  url: {
58686
+ immediate: true,
58407
58687
  handler: function handler(val, old) {
58408
58688
  if (val && old !== val && !this.sysCode) {
58409
58689
  this.getData();
@@ -58413,7 +58693,6 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
58413
58693
  param: {
58414
58694
  deep: true,
58415
58695
  handler: function handler(val, old) {
58416
- console.log(3);
58417
58696
  if (this.url && JSON.stringify(val) !== JSON.stringify(old)) {
58418
58697
  this.options = [];
58419
58698
  this.getData(this.sysCode);
@@ -59534,8 +59813,8 @@ select_ganged_src_main.install = function (Vue) {
59534
59813
  };
59535
59814
 
59536
59815
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
59537
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=bcfee2b4&
59538
- var mainvue_type_template_id_bcfee2b4_render = function () {
59816
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=59002e4c&
59817
+ var mainvue_type_template_id_59002e4c_render = function () {
59539
59818
  var _vm = this
59540
59819
  var _h = _vm.$createElement
59541
59820
  var _c = _vm._self._c || _h
@@ -59842,7 +60121,7 @@ var mainvue_type_template_id_bcfee2b4_render = function () {
59842
60121
  attrs: {
59843
60122
  type: "text",
59844
60123
  autocomplete: "off",
59845
- clearable: "clearable",
60124
+ clearable: _vm.clearable,
59846
60125
  showClearIcon: "",
59847
60126
  name: _vm.name,
59848
60127
  readonly: _vm.filterable ? false : true,
@@ -60037,11 +60316,11 @@ var mainvue_type_template_id_bcfee2b4_render = function () {
60037
60316
  )
60038
60317
  : _vm._e()
60039
60318
  }
60040
- var mainvue_type_template_id_bcfee2b4_staticRenderFns = []
60041
- mainvue_type_template_id_bcfee2b4_render._withStripped = true
60319
+ var mainvue_type_template_id_59002e4c_staticRenderFns = []
60320
+ mainvue_type_template_id_59002e4c_render._withStripped = true
60042
60321
 
60043
60322
 
60044
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=bcfee2b4&
60323
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=59002e4c&
60045
60324
 
60046
60325
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
60047
60326
  var clickoutside_ = __webpack_require__(18);
@@ -60699,8 +60978,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
60699
60978
 
60700
60979
  var selector_src_main_component = normalizeComponent(
60701
60980
  packages_selector_src_mainvue_type_script_lang_js_,
60702
- mainvue_type_template_id_bcfee2b4_render,
60703
- mainvue_type_template_id_bcfee2b4_staticRenderFns,
60981
+ mainvue_type_template_id_59002e4c_render,
60982
+ mainvue_type_template_id_59002e4c_staticRenderFns,
60704
60983
  false,
60705
60984
  null,
60706
60985
  null,
@@ -66297,8 +66576,8 @@ tips_src_main.install = function (Vue) {
66297
66576
  };
66298
66577
 
66299
66578
  /* harmony default export */ var tips = (tips_src_main);
66300
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=2902064e&
66301
- var mainvue_type_template_id_2902064e_render = function () {
66579
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=4df0cd89&
66580
+ var mainvue_type_template_id_4df0cd89_render = function () {
66302
66581
  var _vm = this
66303
66582
  var _h = _vm.$createElement
66304
66583
  var _c = _vm._self._c || _h
@@ -66494,11 +66773,11 @@ var mainvue_type_template_id_2902064e_render = function () {
66494
66773
  )
66495
66774
  : _vm._e()
66496
66775
  }
66497
- var mainvue_type_template_id_2902064e_staticRenderFns = []
66498
- mainvue_type_template_id_2902064e_render._withStripped = true
66776
+ var mainvue_type_template_id_4df0cd89_staticRenderFns = []
66777
+ mainvue_type_template_id_4df0cd89_render._withStripped = true
66499
66778
 
66500
66779
 
66501
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=2902064e&
66780
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=4df0cd89&
66502
66781
 
66503
66782
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=script&lang=js&
66504
66783
  //
@@ -66864,7 +67143,7 @@ mainvue_type_template_id_2902064e_render._withStripped = true
66864
67143
  if (Object.prototype.hasOwnProperty.call(this.search, 'value')) {
66865
67144
  this.searchValue = this.search.value;
66866
67145
  }
66867
- this.getTreeData(param);
67146
+ this.getTreeData(this.param);
66868
67147
  },
66869
67148
  mounted: function mounted() {},
66870
67149
 
@@ -66885,9 +67164,9 @@ mainvue_type_template_id_2902064e_render._withStripped = true
66885
67164
  getTreeDatas: function getTreeDatas(param) {
66886
67165
  var _this2 = this;
66887
67166
 
66888
- this.loading = true;
66889
67167
  var params = utils_util["a" /* default */].extend({}, this.param, this.where, param);
66890
67168
  if (!this.url || !this.isRemote) return;
67169
+ this.loading = true;
66891
67170
  utils_util["a" /* default */].ajax({
66892
67171
  url: this.url,
66893
67172
  method: this.method,
@@ -67199,8 +67478,8 @@ mainvue_type_template_id_2902064e_render._withStripped = true
67199
67478
 
67200
67479
  var tree_src_main_component = normalizeComponent(
67201
67480
  packages_tree_src_mainvue_type_script_lang_js_,
67202
- mainvue_type_template_id_2902064e_render,
67203
- mainvue_type_template_id_2902064e_staticRenderFns,
67481
+ mainvue_type_template_id_4df0cd89_render,
67482
+ mainvue_type_template_id_4df0cd89_staticRenderFns,
67204
67483
  false,
67205
67484
  null,
67206
67485
  null,
@@ -74700,7 +74979,7 @@ if (typeof window !== 'undefined' && window.Vue) {
74700
74979
  }
74701
74980
 
74702
74981
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
74703
- version: '0.5.71',
74982
+ version: '0.5.73',
74704
74983
  install: install,
74705
74984
  Button: packages_button,
74706
74985
  ButtonGroup: button_group,