eoss-ui 0.5.71 → 0.5.72

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 (50) hide show
  1. package/lib/cascader.js +22 -3
  2. package/lib/data-table.js +16 -9
  3. package/lib/dialog.js +2 -3
  4. package/lib/eoss-ui.common.js +324 -88
  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 +74 -17
  10. package/lib/nav.js +158 -13
  11. package/lib/select.js +0 -2
  12. package/lib/theme-chalk/base.css +1 -1
  13. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  14. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  15. package/lib/theme-chalk/icon.css +1 -1
  16. package/lib/theme-chalk/index.css +1 -1
  17. package/lib/theme-chalk/main.css +1 -1
  18. package/lib/theme-chalk/menu.css +1 -1
  19. package/lib/theme-chalk/nav.css +1 -1
  20. package/lib/theme-chalk/sizer.css +1 -1
  21. package/lib/theme-chalk/upload.css +1 -1
  22. package/lib/tree.js +3 -3
  23. package/package.json +1 -1
  24. package/packages/cascader/src/main.vue +22 -3
  25. package/packages/data-table/src/main.vue +14 -6
  26. package/packages/dialog/src/main.vue +0 -1
  27. package/packages/icon/src/main.vue +1 -0
  28. package/packages/icons/src/icon.json +1 -1
  29. package/packages/login/src/main.vue +5 -0
  30. package/packages/main/src/main.vue +21 -12
  31. package/packages/main/src/settings.vue +13 -0
  32. package/packages/nav/src/main.vue +99 -5
  33. package/packages/select/src/main.vue +0 -2
  34. package/packages/theme-chalk/lib/base.css +1 -1
  35. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  36. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  37. package/packages/theme-chalk/lib/icon.css +1 -1
  38. package/packages/theme-chalk/lib/index.css +1 -1
  39. package/packages/theme-chalk/lib/main.css +1 -1
  40. package/packages/theme-chalk/lib/menu.css +1 -1
  41. package/packages/theme-chalk/lib/nav.css +1 -1
  42. package/packages/theme-chalk/lib/sizer.css +1 -1
  43. package/packages/theme-chalk/lib/upload.css +1 -1
  44. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  45. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  46. package/packages/theme-chalk/src/icon.scss +432 -437
  47. package/packages/theme-chalk/src/main.scss +16 -14
  48. package/packages/theme-chalk/src/nav.scss +31 -2
  49. package/packages/tree/src/main.vue +1 -1
  50. 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=f4b01d22&
6692
+ var mainvue_type_template_id_f4b01d22_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_f4b01d22_staticRenderFns = []
7003
+ mainvue_type_template_id_f4b01d22_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=f4b01d22&
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
 
@@ -9582,7 +9601,7 @@ var mainvue_type_script_lang_js_components, _watch;
9582
9601
  param: {
9583
9602
  deep: true,
9584
9603
  handler: function handler(val) {
9585
- this.getTableData(112);
9604
+ this.getTableData();
9586
9605
  }
9587
9606
  }
9588
9607
  }, _watch['page'] = {
@@ -9895,13 +9914,19 @@ var mainvue_type_script_lang_js_components, _watch;
9895
9914
  })).then(function (res) {
9896
9915
  _this8.tableLoading = false;
9897
9916
  if (res.rCode === 0 || res.status === 'success') {
9917
+ if (_this8.isReload) {
9918
+ _this8.list = [];
9919
+ _this8.isReload = false;
9920
+ }
9898
9921
  var results = _this8.parseData !== undefined ? _this8.parseData(res.results || res.data || res) : res.results || res.data;
9899
9922
  if (_this8.infiniteScroll) {
9900
9923
  _this8.list = _this8.list.concat(results.data || results.records || results.list);
9901
9924
  _this8.config.pageNum += 1;
9902
9925
  } else {
9903
- _this8.list = results.data || results.records || results.list || [];
9904
- _this8.$refs.oaTable && _this8.$refs.oaTable.resetScroll && _this8.$refs.oaTable.resetScroll(0, 0);
9926
+ _this8.$nextTick(function () {
9927
+ _this8.list = results.data || results.records || results.list || [];
9928
+ _this8.$refs.oaTable && _this8.$refs.oaTable.resetScroll && _this8.$refs.oaTable.resetScroll(0, 0);
9929
+ });
9905
9930
  }
9906
9931
  _this8.config.totalCount = results.count || results.total || results.totalCount;
9907
9932
  _this8.checked && _this8.$nextTick(function () {
@@ -10288,6 +10313,7 @@ var mainvue_type_script_lang_js_components, _watch;
10288
10313
  this.config = utils_util["a" /* default */].extend({}, this.config, obj.config);
10289
10314
  }
10290
10315
  if (this.url) {
10316
+ this.isReload = true;
10291
10317
  this.getTableData({ where: obj && obj.where ? obj.where : {}, first: first });
10292
10318
  }
10293
10319
  },
@@ -10402,8 +10428,8 @@ var mainvue_type_script_lang_js_components, _watch;
10402
10428
 
10403
10429
  var data_table_src_main_component = normalizeComponent(
10404
10430
  packages_data_table_src_mainvue_type_script_lang_js_,
10405
- mainvue_type_template_id_79cb5b69_render,
10406
- mainvue_type_template_id_79cb5b69_staticRenderFns,
10431
+ mainvue_type_template_id_f4b01d22_render,
10432
+ mainvue_type_template_id_f4b01d22_staticRenderFns,
10407
10433
  false,
10408
10434
  null,
10409
10435
  null,
@@ -12538,8 +12564,8 @@ date_picker_src_main.install = function (Vue) {
12538
12564
  };
12539
12565
 
12540
12566
  /* 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 () {
12567
+ // 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&
12568
+ var mainvue_type_template_id_90beba00_render = function () {
12543
12569
  var _vm = this
12544
12570
  var _h = _vm.$createElement
12545
12571
  var _c = _vm._self._c || _h
@@ -13049,11 +13075,11 @@ var mainvue_type_template_id_55a176e4_render = function () {
13049
13075
  2
13050
13076
  )
13051
13077
  }
13052
- var mainvue_type_template_id_55a176e4_staticRenderFns = []
13053
- mainvue_type_template_id_55a176e4_render._withStripped = true
13078
+ var mainvue_type_template_id_90beba00_staticRenderFns = []
13079
+ mainvue_type_template_id_90beba00_render._withStripped = true
13054
13080
 
13055
13081
 
13056
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=55a176e4&
13082
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=90beba00&
13057
13083
 
13058
13084
  // EXTERNAL MODULE: external "wujie-vue2"
13059
13085
  var external_wujie_vue2_ = __webpack_require__(14);
@@ -13571,7 +13597,6 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
13571
13597
  this.show = false;
13572
13598
  this.$emit('close', res, this);
13573
13599
  if (this.closeParent && this.esDialog) {
13574
- console.log(12121);
13575
13600
  this.esDialog.handleClosed(res);
13576
13601
  }
13577
13602
  },
@@ -13611,8 +13636,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
13611
13636
 
13612
13637
  var dialog_src_main_component = normalizeComponent(
13613
13638
  packages_dialog_src_mainvue_type_script_lang_js_,
13614
- mainvue_type_template_id_55a176e4_render,
13615
- mainvue_type_template_id_55a176e4_staticRenderFns,
13639
+ mainvue_type_template_id_90beba00_render,
13640
+ mainvue_type_template_id_90beba00_staticRenderFns,
13616
13641
  false,
13617
13642
  null,
13618
13643
  null,
@@ -45944,8 +45969,8 @@ handler_src_main.install = function (Vue) {
45944
45969
  };
45945
45970
 
45946
45971
  /* 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 () {
45972
+ // 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&
45973
+ var mainvue_type_template_id_d93859ec_render = function () {
45949
45974
  var _vm = this
45950
45975
  var _h = _vm.$createElement
45951
45976
  var _c = _vm._self._c || _h
@@ -45960,11 +45985,11 @@ var mainvue_type_template_id_509a9002_render = function () {
45960
45985
  )
45961
45986
  )
45962
45987
  }
45963
- var mainvue_type_template_id_509a9002_staticRenderFns = []
45964
- mainvue_type_template_id_509a9002_render._withStripped = true
45988
+ var mainvue_type_template_id_d93859ec_staticRenderFns = []
45989
+ mainvue_type_template_id_d93859ec_render._withStripped = true
45965
45990
 
45966
45991
 
45967
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=509a9002&
45992
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=d93859ec&
45968
45993
 
45969
45994
  // 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
45995
  //
@@ -45993,6 +46018,7 @@ mainvue_type_template_id_509a9002_render._withStripped = true
45993
46018
  this.code = val;
45994
46019
  this.className = 'es-icon';
45995
46020
  } else {
46021
+ this.code = '';
45996
46022
  this.className = val;
45997
46023
  }
45998
46024
  } else {
@@ -46035,8 +46061,8 @@ mainvue_type_template_id_509a9002_render._withStripped = true
46035
46061
 
46036
46062
  var icon_src_main_component = normalizeComponent(
46037
46063
  packages_icon_src_mainvue_type_script_lang_js_,
46038
- mainvue_type_template_id_509a9002_render,
46039
- mainvue_type_template_id_509a9002_staticRenderFns,
46064
+ mainvue_type_template_id_d93859ec_render,
46065
+ mainvue_type_template_id_d93859ec_staticRenderFns,
46040
46066
  false,
46041
46067
  null,
46042
46068
  null,
@@ -47426,8 +47452,8 @@ layout_src_main.install = function (Vue) {
47426
47452
  };
47427
47453
 
47428
47454
  /* 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 () {
47455
+ // 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&
47456
+ var mainvue_type_template_id_249fae96_render = function () {
47431
47457
  var _vm = this
47432
47458
  var _h = _vm.$createElement
47433
47459
  var _c = _vm._self._c || _h
@@ -47583,6 +47609,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
47583
47609
  size: "large",
47584
47610
  type: "text",
47585
47611
  name: "username",
47612
+ tabindex: "1",
47586
47613
  exclude: "",
47587
47614
  placeholder: _vm.username.placeholder,
47588
47615
  focusShow: _vm.focusShow,
@@ -47631,6 +47658,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
47631
47658
  attrs: {
47632
47659
  size: "large",
47633
47660
  name: "password",
47661
+ tabindex: "2",
47634
47662
  type: "password",
47635
47663
  placeholder: _vm.password.placeholder,
47636
47664
  autocomplete: "off",
@@ -47685,6 +47713,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
47685
47713
  attrs: {
47686
47714
  size: "large",
47687
47715
  name: "identifyingCode",
47716
+ tabindex: "3",
47688
47717
  type: "text",
47689
47718
  placeholder: "请输入验证码",
47690
47719
  autocomplete: "off",
@@ -48032,6 +48061,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
48032
48061
  size: "large",
48033
48062
  type: "text",
48034
48063
  name: "target",
48064
+ tabindex: "4",
48035
48065
  placeholder:
48036
48066
  _vm.active == 6
48037
48067
  ? _vm.phone.placeholder
@@ -48088,6 +48118,7 @@ var mainvue_type_template_id_5bc62799_render = function () {
48088
48118
  type: "text",
48089
48119
  placeholder: "请输入验证码",
48090
48120
  autocomplete: "off",
48121
+ tabindex: "5",
48091
48122
  },
48092
48123
  model: {
48093
48124
  value: _vm.formData.verificationCode,
@@ -48352,11 +48383,11 @@ var mainvue_type_template_id_5bc62799_render = function () {
48352
48383
  )
48353
48384
  : _vm._e()
48354
48385
  }
48355
- var mainvue_type_template_id_5bc62799_staticRenderFns = []
48356
- mainvue_type_template_id_5bc62799_render._withStripped = true
48386
+ var mainvue_type_template_id_249fae96_staticRenderFns = []
48387
+ mainvue_type_template_id_249fae96_render._withStripped = true
48357
48388
 
48358
48389
 
48359
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=5bc62799&
48390
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=249fae96&
48360
48391
 
48361
48392
  // 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
48393
  var resetPasswordvue_type_template_id_28f463b9_render = function () {
@@ -49264,6 +49295,11 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49264
49295
  //
49265
49296
  //
49266
49297
  //
49298
+ //
49299
+ //
49300
+ //
49301
+ //
49302
+ //
49267
49303
 
49268
49304
 
49269
49305
 
@@ -50388,8 +50424,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
50388
50424
 
50389
50425
  var login_src_main_component = normalizeComponent(
50390
50426
  packages_login_src_mainvue_type_script_lang_js_,
50391
- mainvue_type_template_id_5bc62799_render,
50392
- mainvue_type_template_id_5bc62799_staticRenderFns,
50427
+ mainvue_type_template_id_249fae96_render,
50428
+ mainvue_type_template_id_249fae96_staticRenderFns,
50393
50429
  false,
50394
50430
  null,
50395
50431
  null,
@@ -50406,8 +50442,8 @@ login_src_main.install = function (Vue) {
50406
50442
  };
50407
50443
 
50408
50444
  /* 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 () {
50445
+ // 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=268dce6d&
50446
+ var mainvue_type_template_id_268dce6d_render = function () {
50411
50447
  var _vm = this
50412
50448
  var _h = _vm.$createElement
50413
50449
  var _c = _vm._self._c || _h
@@ -50541,7 +50577,7 @@ var mainvue_type_template_id_098112dd_render = function () {
50541
50577
  "div",
50542
50578
  { staticClass: "es-main-left" },
50543
50579
  [
50544
- _vm.layout === "topside"
50580
+ _vm.layout === "topside" || _vm.layout === "side"
50545
50581
  ? _c(
50546
50582
  "div",
50547
50583
  { staticClass: "es-main-side" },
@@ -50602,10 +50638,11 @@ var mainvue_type_template_id_098112dd_render = function () {
50602
50638
  ? _c("es-nav", {
50603
50639
  attrs: {
50604
50640
  "is-top": _vm.layout == "topside",
50641
+ overlap: _vm.layout == "side",
50605
50642
  data: _vm.menu,
50606
50643
  "default-active": _vm.active,
50607
50644
  width: _vm.navsWidth,
50608
- "nav-width": _vm.navWidth,
50645
+ "nav-width": _vm._navWidth,
50609
50646
  icons: _vm.icons,
50610
50647
  "menu-icon": _vm.menuIcon,
50611
50648
  "sub-icon": _vm.subIcon,
@@ -50844,11 +50881,11 @@ var mainvue_type_template_id_098112dd_render = function () {
50844
50881
  1
50845
50882
  )
50846
50883
  }
50847
- var mainvue_type_template_id_098112dd_staticRenderFns = []
50848
- mainvue_type_template_id_098112dd_render._withStripped = true
50884
+ var mainvue_type_template_id_268dce6d_staticRenderFns = []
50885
+ mainvue_type_template_id_268dce6d_render._withStripped = true
50849
50886
 
50850
50887
 
50851
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=098112dd&
50888
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=268dce6d&
50852
50889
 
50853
50890
  // 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
50891
  var userinfovue_type_template_id_75d533de_render = function () {
@@ -51329,8 +51366,8 @@ var userinfo_component = normalizeComponent(
51329
51366
  )
51330
51367
 
51331
51368
  /* 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 () {
51369
+ // 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&
51370
+ var settingsvue_type_template_id_e1a47a4a_render = function () {
51334
51371
  var _vm = this
51335
51372
  var _h = _vm.$createElement
51336
51373
  var _c = _vm._self._c || _h
@@ -51567,6 +51604,44 @@ var settingsvue_type_template_id_3c983b8c_render = function () {
51567
51604
  ),
51568
51605
  ]
51569
51606
  ),
51607
+ _c(
51608
+ "el-tooltip",
51609
+ {
51610
+ staticClass: "es-setting-navs-item",
51611
+ attrs: {
51612
+ effect: "dark",
51613
+ content: "侧边菜单布局",
51614
+ placement: "bottom",
51615
+ },
51616
+ },
51617
+ [
51618
+ _c(
51619
+ "div",
51620
+ {
51621
+ staticClass: "es-setting-navs es-setting-side-navs",
51622
+ on: {
51623
+ click: function ($event) {
51624
+ $event.stopPropagation()
51625
+ _vm.handleLayout("side")
51626
+ },
51627
+ },
51628
+ },
51629
+ [
51630
+ _c("i", {
51631
+ directives: [
51632
+ {
51633
+ name: "show",
51634
+ rawName: "v-show",
51635
+ value: _vm.activeName == "side",
51636
+ expression: "activeName == 'side'",
51637
+ },
51638
+ ],
51639
+ staticClass: "es-icon-gou",
51640
+ }),
51641
+ ]
51642
+ ),
51643
+ ]
51644
+ ),
51570
51645
  ],
51571
51646
  1
51572
51647
  ),
@@ -51574,11 +51649,11 @@ var settingsvue_type_template_id_3c983b8c_render = function () {
51574
51649
  ]
51575
51650
  )
51576
51651
  }
51577
- var settingsvue_type_template_id_3c983b8c_staticRenderFns = []
51578
- settingsvue_type_template_id_3c983b8c_render._withStripped = true
51652
+ var settingsvue_type_template_id_e1a47a4a_staticRenderFns = []
51653
+ settingsvue_type_template_id_e1a47a4a_render._withStripped = true
51579
51654
 
51580
51655
 
51581
- // CONCATENATED MODULE: ./packages/main/src/settings.vue?vue&type=template&id=3c983b8c&
51656
+ // CONCATENATED MODULE: ./packages/main/src/settings.vue?vue&type=template&id=e1a47a4a&
51582
51657
 
51583
51658
  // 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
51659
  //
@@ -51676,6 +51751,19 @@ settingsvue_type_template_id_3c983b8c_render._withStripped = true
51676
51751
  //
51677
51752
  //
51678
51753
  //
51754
+ //
51755
+ //
51756
+ //
51757
+ //
51758
+ //
51759
+ //
51760
+ //
51761
+ //
51762
+ //
51763
+ //
51764
+ //
51765
+ //
51766
+ //
51679
51767
 
51680
51768
 
51681
51769
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
@@ -51768,8 +51856,8 @@ settingsvue_type_template_id_3c983b8c_render._withStripped = true
51768
51856
 
51769
51857
  var settings_component = normalizeComponent(
51770
51858
  src_settingsvue_type_script_lang_js_,
51771
- settingsvue_type_template_id_3c983b8c_render,
51772
- settingsvue_type_template_id_3c983b8c_staticRenderFns,
51859
+ settingsvue_type_template_id_e1a47a4a_render,
51860
+ settingsvue_type_template_id_e1a47a4a_staticRenderFns,
51773
51861
  false,
51774
51862
  null,
51775
51863
  null,
@@ -52926,9 +53014,6 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
52926
53014
  //
52927
53015
  //
52928
53016
  //
52929
- //
52930
- //
52931
- //
52932
53017
 
52933
53018
 
52934
53019
 
@@ -53096,6 +53181,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53096
53181
  appCode: String,
53097
53182
  //菜单左边距
53098
53183
  navPaddingLeft: Number,
53184
+ navBoxWidth: {
53185
+ type: String,
53186
+ default: '230px'
53187
+ },
53099
53188
  navWidth: String
53100
53189
  },
53101
53190
  computed: {
@@ -53124,10 +53213,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53124
53213
  return true;
53125
53214
  },
53126
53215
  navsWidth: function navsWidth() {
53127
- return this.layout === 'topside' ? '230px' : undefined;
53216
+ return this.layout === 'topside' ? this.navBoxWidth : undefined;
53217
+ },
53218
+ _navWidth: function _navWidth() {
53219
+ return this.layout === 'side' ? this.navBoxWidth : this.layout === 'subsystem' || this.layout === 'topside' ? '0' : this.navWidth;
53128
53220
  },
53129
53221
  showNavTitle: function showNavTitle() {
53130
- return this.layout !== 'topside';
53222
+ return this.layout !== 'topside' && this.layout !== 'side';
53131
53223
  },
53132
53224
 
53133
53225
  //tabs菜单
@@ -53170,7 +53262,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53170
53262
  } else {
53171
53263
  return { set: !this.set, system: false };
53172
53264
  }
53173
- } else if (this.layout === 'topside') {
53265
+ } else if (this.layout === 'topside' || this.layout === 'side') {
53174
53266
  if (this.hides && Object.keys(this.hides).length) {
53175
53267
  return main_src_mainvue_type_script_lang_js_extends({}, this.hides, {
53176
53268
  set: !this.set,
@@ -53971,6 +54063,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53971
54063
  }
53972
54064
  }
53973
54065
  } else {
54066
+ this.tabs = [];
53974
54067
  this.handleJump(obj.url, obj.urlopenmode, obj);
53975
54068
  }
53976
54069
  return obj;
@@ -54772,8 +54865,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54772
54865
 
54773
54866
  var main_src_main_component = normalizeComponent(
54774
54867
  packages_main_src_mainvue_type_script_lang_js_,
54775
- mainvue_type_template_id_098112dd_render,
54776
- mainvue_type_template_id_098112dd_staticRenderFns,
54868
+ mainvue_type_template_id_268dce6d_render,
54869
+ mainvue_type_template_id_268dce6d_staticRenderFns,
54777
54870
  false,
54778
54871
  null,
54779
54872
  null,
@@ -55208,8 +55301,8 @@ menu_src_main.install = function (Vue) {
55208
55301
  };
55209
55302
 
55210
55303
  /* 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 () {
55304
+ // 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=3f63e2ce&
55305
+ var mainvue_type_template_id_3f63e2ce_render = function () {
55213
55306
  var _vm = this
55214
55307
  var _h = _vm.$createElement
55215
55308
  var _c = _vm._self._c || _h
@@ -55225,12 +55318,24 @@ var mainvue_type_template_id_04099294_render = function () {
55225
55318
  _vm.biserial
55226
55319
  ? _c(
55227
55320
  "div",
55228
- { staticClass: "es-nav-initial" },
55321
+ {
55322
+ staticClass: "es-nav-initial",
55323
+ style: {
55324
+ width: _vm._navWidth,
55325
+ left:
55326
+ this.overlap && !this.subMenu.length
55327
+ ? "15px"
55328
+ : _vm.show
55329
+ ? "-" + _vm.boxWidth
55330
+ : "",
55331
+ },
55332
+ },
55229
55333
  [
55230
55334
  _c(
55231
55335
  "es-menu",
55232
55336
  _vm._b(
55233
55337
  {
55338
+ class: { "es-nav-overlap": _vm.overlap },
55234
55339
  attrs: {
55235
55340
  "sub-nav": "",
55236
55341
  data: _vm.menu,
@@ -55265,7 +55370,11 @@ var mainvue_type_template_id_04099294_render = function () {
55265
55370
  },
55266
55371
  ],
55267
55372
  staticClass: "es-nav-main",
55268
- style: { width: _vm.biserial ? _vm.width : _vm.boxWidth },
55373
+ class: { "es-nav-overlap": _vm.overlap },
55374
+ style: {
55375
+ width: _vm.biserial ? _vm.width : _vm.boxWidth,
55376
+ left: _vm.show ? "15px" : _vm.navWidth,
55377
+ },
55269
55378
  attrs: { biserial: _vm.biserial },
55270
55379
  },
55271
55380
  [
@@ -55352,14 +55461,37 @@ var mainvue_type_template_id_04099294_render = function () {
55352
55461
  ],
55353
55462
  1
55354
55463
  ),
55464
+ _c(
55465
+ "div",
55466
+ {
55467
+ directives: [
55468
+ {
55469
+ name: "show",
55470
+ rawName: "v-show",
55471
+ value: _vm.show,
55472
+ expression: "show",
55473
+ },
55474
+ ],
55475
+ ref: "box",
55476
+ staticClass: "es-sets-button",
55477
+ },
55478
+ [
55479
+ _c("el-button", {
55480
+ ref: "area",
55481
+ staticClass: "es-icon-yingyonglan",
55482
+ attrs: { round: "", type: "primary" },
55483
+ }),
55484
+ ],
55485
+ 1
55486
+ ),
55355
55487
  ]
55356
55488
  )
55357
55489
  }
55358
- var mainvue_type_template_id_04099294_staticRenderFns = []
55359
- mainvue_type_template_id_04099294_render._withStripped = true
55490
+ var mainvue_type_template_id_3f63e2ce_staticRenderFns = []
55491
+ mainvue_type_template_id_3f63e2ce_render._withStripped = true
55360
55492
 
55361
55493
 
55362
- // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=04099294&
55494
+ // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=3f63e2ce&
55363
55495
 
55364
55496
  // 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
55497
  //
@@ -55426,6 +55558,32 @@ mainvue_type_template_id_04099294_render._withStripped = true
55426
55558
  //
55427
55559
  //
55428
55560
  //
55561
+ //
55562
+ //
55563
+ //
55564
+ //
55565
+ //
55566
+ //
55567
+ //
55568
+ //
55569
+ //
55570
+ //
55571
+ //
55572
+ //
55573
+ //
55574
+ //
55575
+ //
55576
+ //
55577
+ //
55578
+ //
55579
+ //
55580
+ //
55581
+ //
55582
+ //
55583
+ //
55584
+ //
55585
+ //
55586
+ //
55429
55587
 
55430
55588
 
55431
55589
  /* harmony default export */ var nav_src_mainvue_type_script_lang_js_ = ({
@@ -55467,9 +55625,13 @@ mainvue_type_template_id_04099294_render._withStripped = true
55467
55625
  subIcon: {
55468
55626
  type: Boolean,
55469
55627
  default: true
55470
- }
55628
+ },
55629
+ overlap: Boolean
55471
55630
  },
55472
55631
  computed: {
55632
+ show: function show() {
55633
+ return this.overlap && this.subMenu.length;
55634
+ },
55473
55635
  menu: function menu() {
55474
55636
  return this.data;
55475
55637
  },
@@ -55489,13 +55651,19 @@ mainvue_type_template_id_04099294_render._withStripped = true
55489
55651
  },
55490
55652
  boxWidth: function boxWidth() {
55491
55653
  if (!this.biserial) {
55654
+ if (this.overlap) {
55655
+ return this.navWidth;
55656
+ }
55492
55657
  if (this.isShow) {
55493
55658
  return this.width;
55494
55659
  } else {
55495
55660
  return this.navWidth;
55496
55661
  }
55497
55662
  }
55498
- return this.subMenu && this.subMenu.length && this.isShow ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
55663
+ return this.subMenu && this.subMenu.length && this.isShow && !this.overlap ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
55664
+ },
55665
+ _navWidth: function _navWidth() {
55666
+ return this.overlap ? parseInt(this.navWidth, 10) - 30 + 'px' : this.navWidth;
55499
55667
  }
55500
55668
  },
55501
55669
  watch: {
@@ -55577,9 +55745,76 @@ mainvue_type_template_id_04099294_render._withStripped = true
55577
55745
  },
55578
55746
  mounted: function mounted() {
55579
55747
  this.resetHeight();
55748
+ this.move();
55580
55749
  },
55581
55750
 
55582
55751
  methods: {
55752
+ //设置按钮拖动
55753
+ move: function move() {
55754
+ var _this3 = this;
55755
+
55756
+ var area = this.$refs.area.$el;
55757
+ var box = this.$refs.box;
55758
+ var sTime = 0,
55759
+ eTime = 0;
55760
+
55761
+ area.addEventListener('mousedown', function (e) {
55762
+ sTime = new Date().getTime();
55763
+ var downY = e.y,
55764
+ downX = e.x;
55765
+
55766
+ var _document$body$getBou = document.body.getBoundingClientRect(),
55767
+ winH = _document$body$getBou.height,
55768
+ winW = _document$body$getBou.width;
55769
+ //防止拖动期间选中和复制网页文本
55770
+
55771
+
55772
+ document.body.onselectstart = document.body.oncontextmenu = function () {
55773
+ return false;
55774
+ };
55775
+ document.onmousemove = function (eve) {
55776
+ var size = 40;
55777
+ var moveY = eve.y,
55778
+ moveX = eve.x;
55779
+
55780
+ var _box$getBoundingClien = box.getBoundingClientRect(),
55781
+ boxTop = _box$getBoundingClien.top,
55782
+ boxLeft = _box$getBoundingClien.left;
55783
+
55784
+ boxTop += moveY - downY;
55785
+ boxLeft += moveX - downX;
55786
+ boxTop >= winH - size && (boxTop = winH - size);
55787
+ boxTop <= -size && (boxTop = -size);
55788
+ boxLeft >= winW - size && (boxLeft = winW - size);
55789
+ boxLeft <= -size && (boxLeft = -size);
55790
+ if (boxTop < 0) {
55791
+ boxTop = 0;
55792
+ }
55793
+ if (boxLeft < 0) {
55794
+ boxLeft = 0;
55795
+ }
55796
+ box.style.top = boxTop + 'px';
55797
+ box.style.left = boxLeft + 'px';
55798
+ downY = moveY;
55799
+ downX = moveX;
55800
+ };
55801
+ document.onmouseup = function () {
55802
+ eTime = new Date().getTime();
55803
+ var isClick = eTime - sTime < 200;
55804
+ if (isClick) {
55805
+ var onArea = function onArea() {
55806
+ _this3.subMenu = [];
55807
+ area.removeEventListener('click', onArea);
55808
+ };
55809
+ area.addEventListener('click', onArea);
55810
+ }
55811
+ document.onmousemove = null;
55812
+ document.body.onselectstart = document.body.oncontextmenu = function () {
55813
+ return true;
55814
+ };
55815
+ };
55816
+ });
55817
+ },
55583
55818
  handleChange: function handleChange() {
55584
55819
  if (this.biserial) {
55585
55820
  this.isShow = !this.isShow;
@@ -55587,7 +55822,7 @@ mainvue_type_template_id_04099294_render._withStripped = true
55587
55822
  this.isCollapse = !this.isCollapse;
55588
55823
  if (this.isCollapse) {
55589
55824
  this.isShow = false;
55590
- this.menuWidth = '70px';
55825
+ this.menuWidth = this.navWidth;
55591
55826
  } else {
55592
55827
  this.isShow = true;
55593
55828
  this.menuWidth = this.width;
@@ -55614,12 +55849,12 @@ mainvue_type_template_id_04099294_render._withStripped = true
55614
55849
  this.$emit('close', res);
55615
55850
  },
55616
55851
  resetHeight: function resetHeight() {
55617
- var _this3 = this;
55852
+ var _this4 = this;
55618
55853
 
55619
55854
  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) {
55855
+ var height = _this4.$refs.esNav.parentNode.offsetHeight;
55856
+ Array.from(_this4.$refs.esNav.parentNode.children).forEach(function (item) {
55857
+ if (item !== _this4.$refs.esNav) {
55623
55858
  var mt = utils_util["a" /* default */].getStyle(item, 'margin-top');
55624
55859
  var mb = utils_util["a" /* default */].getStyle(item, 'margin-bottom');
55625
55860
  mt = mt ? parseInt(mt, 10) : 0;
@@ -55627,8 +55862,11 @@ mainvue_type_template_id_04099294_render._withStripped = true
55627
55862
  height -= item.offsetHeight + mt + mb;
55628
55863
  }
55629
55864
  });
55630
- _this3.height = height + 'px';
55631
- _this3.menuHeight = _this3.showTitle ? height - 49 + 'px' : height + 'px';
55865
+ if (_this4.overlap) {
55866
+ height -= 15;
55867
+ }
55868
+ _this4.height = height + 'px';
55869
+ _this4.menuHeight = _this4.showTitle ? height - 49 + 'px' : height + 'px';
55632
55870
  });
55633
55871
  }
55634
55872
  }
@@ -55645,8 +55883,8 @@ mainvue_type_template_id_04099294_render._withStripped = true
55645
55883
 
55646
55884
  var nav_src_main_component = normalizeComponent(
55647
55885
  packages_nav_src_mainvue_type_script_lang_js_,
55648
- mainvue_type_template_id_04099294_render,
55649
- mainvue_type_template_id_04099294_staticRenderFns,
55886
+ mainvue_type_template_id_3f63e2ce_render,
55887
+ mainvue_type_template_id_3f63e2ce_staticRenderFns,
55650
55888
  false,
55651
55889
  null,
55652
55890
  null,
@@ -58391,7 +58629,6 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
58391
58629
  immediate: true,
58392
58630
  handler: function handler(val, old) {
58393
58631
  if (val && val !== old) {
58394
- console.log(1);
58395
58632
  this.label = this.service ? 'label' : 'shortName';
58396
58633
  this.valKey = this.service ? 'value' : 'cciValue';
58397
58634
  var options = utils_store.get(val);
@@ -58413,7 +58650,6 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
58413
58650
  param: {
58414
58651
  deep: true,
58415
58652
  handler: function handler(val, old) {
58416
- console.log(3);
58417
58653
  if (this.url && JSON.stringify(val) !== JSON.stringify(old)) {
58418
58654
  this.options = [];
58419
58655
  this.getData(this.sysCode);
@@ -66297,8 +66533,8 @@ tips_src_main.install = function (Vue) {
66297
66533
  };
66298
66534
 
66299
66535
  /* 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 () {
66536
+ // 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=3eb6c637&
66537
+ var mainvue_type_template_id_3eb6c637_render = function () {
66302
66538
  var _vm = this
66303
66539
  var _h = _vm.$createElement
66304
66540
  var _c = _vm._self._c || _h
@@ -66494,11 +66730,11 @@ var mainvue_type_template_id_2902064e_render = function () {
66494
66730
  )
66495
66731
  : _vm._e()
66496
66732
  }
66497
- var mainvue_type_template_id_2902064e_staticRenderFns = []
66498
- mainvue_type_template_id_2902064e_render._withStripped = true
66733
+ var mainvue_type_template_id_3eb6c637_staticRenderFns = []
66734
+ mainvue_type_template_id_3eb6c637_render._withStripped = true
66499
66735
 
66500
66736
 
66501
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=2902064e&
66737
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=3eb6c637&
66502
66738
 
66503
66739
  // 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
66740
  //
@@ -66864,7 +67100,7 @@ mainvue_type_template_id_2902064e_render._withStripped = true
66864
67100
  if (Object.prototype.hasOwnProperty.call(this.search, 'value')) {
66865
67101
  this.searchValue = this.search.value;
66866
67102
  }
66867
- this.getTreeData(param);
67103
+ this.getTreeData(this.param);
66868
67104
  },
66869
67105
  mounted: function mounted() {},
66870
67106
 
@@ -67199,8 +67435,8 @@ mainvue_type_template_id_2902064e_render._withStripped = true
67199
67435
 
67200
67436
  var tree_src_main_component = normalizeComponent(
67201
67437
  packages_tree_src_mainvue_type_script_lang_js_,
67202
- mainvue_type_template_id_2902064e_render,
67203
- mainvue_type_template_id_2902064e_staticRenderFns,
67438
+ mainvue_type_template_id_3eb6c637_render,
67439
+ mainvue_type_template_id_3eb6c637_staticRenderFns,
67204
67440
  false,
67205
67441
  null,
67206
67442
  null,
@@ -74700,7 +74936,7 @@ if (typeof window !== 'undefined' && window.Vue) {
74700
74936
  }
74701
74937
 
74702
74938
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
74703
- version: '0.5.71',
74939
+ version: '0.5.72',
74704
74940
  install: install,
74705
74941
  Button: packages_button,
74706
74942
  ButtonGroup: button_group,