Commit c1c0abe1 by 无尘

fix:修改组织架构

parent 3c08cf50
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.90d57976d91686e593353837cad4866e.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.17195ab42f7bda4814bd.js></script><script type=text/javascript src=./static/js/vendor.335cad076562a197329f.js></script><script type=text/javascript src=./static/js/app.4c63eb571c26d8adb2bf.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.f8e04676327feb60a2cafccc503ac65d.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.0cc5a2aeb32401811dd8.js></script><script type=text/javascript src=./static/js/vendor.335cad076562a197329f.js></script><script type=text/javascript src=./static/js/app.4c63eb571c26d8adb2bf.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},d={58:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"29fe486e7bc7492226f8",3:"b2cc94a09469925585d4",4:"48683e240d33007103ef",5:"5d215dc36c0d1c48e078",6:"830ccaeb3dabb854de00",7:"05c74c76c13ad9c6c264",8:"1064c13f6499d3584a7a",9:"1af4e41f6c0abfe9ab16",10:"8f034eddadaa388a28ca",11:"dd3f0a08b2f714c2ff3f",12:"9012fc1846da845cc44b",13:"5cc656369eca6da7166b",14:"9b0fd682e7ff9de7493b",15:"b11c4e277ba5b15fae60",16:"43a3d87b46bb037ed7b8",17:"460972d5475db459c8d1",18:"a04e1af625d632a6f78c",19:"23b56206349e67bb3652",20:"5f6fef2d3b7557f2608e",21:"c7913c7cc969936bc4c0",22:"673da915390891ca958c",23:"ff9c41d5760ef945a3c5",24:"b0db1c04eda50480c9dc",25:"db198c98626c54aa65c5",26:"9f12894d65bf5d1ab991",27:"b490fd241b7731265513",28:"7c1b655549994ce54ea3",29:"d4f8647711a9d8ccb164",30:"86b5b1715bd40de91206",31:"a668ab1de95280d8ea4b",32:"22fcab94d4b8d6c87e72",33:"d51faa2d3dbe6520d566",34:"6cfbb247fbb23212e1ea",35:"a06319b5a088958091c2",36:"ab1ba043932c91607c7b",37:"2b75c5bdcf4cbabe30d7",38:"11fa4a08a95df9d72fdb",39:"7dfcaaab2bdeab04f8e8",40:"171cc72fd4e4372da044",41:"f85ecdef63675f23bd74",42:"df126b2732f7f4b4bb42",43:"d05c21c0ca2024af77dc",44:"4023d0edb59dd022cfe1",45:"779a749f328ebdad6494",46:"d3d14b6a1e8065c570b3",47:"92eb14302f83a336d9e1",48:"7924df130d5da2e421e2",49:"1172d8a0393b3303db5a",50:"07dc0cbae75c78a91e9e",51:"fee210cf92d3a0968f77",52:"430cd7d5ca507f1b9672",53:"bdf7402197597faaef29",54:"681ff60c3870c0b73217",55:"46b3ad4746b48178893b"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},d={58:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"29fe486e7bc7492226f8",3:"b2cc94a09469925585d4",4:"48683e240d33007103ef",5:"87083a8e874c8e9952ef",6:"830ccaeb3dabb854de00",7:"05c74c76c13ad9c6c264",8:"1064c13f6499d3584a7a",9:"1af4e41f6c0abfe9ab16",10:"8f034eddadaa388a28ca",11:"dd3f0a08b2f714c2ff3f",12:"9012fc1846da845cc44b",13:"5cc656369eca6da7166b",14:"9b0fd682e7ff9de7493b",15:"b11c4e277ba5b15fae60",16:"43a3d87b46bb037ed7b8",17:"460972d5475db459c8d1",18:"a04e1af625d632a6f78c",19:"23b56206349e67bb3652",20:"5f6fef2d3b7557f2608e",21:"c7913c7cc969936bc4c0",22:"673da915390891ca958c",23:"ff9c41d5760ef945a3c5",24:"b0db1c04eda50480c9dc",25:"db198c98626c54aa65c5",26:"9f12894d65bf5d1ab991",27:"b490fd241b7731265513",28:"7c1b655549994ce54ea3",29:"d4f8647711a9d8ccb164",30:"86b5b1715bd40de91206",31:"a668ab1de95280d8ea4b",32:"22fcab94d4b8d6c87e72",33:"d51faa2d3dbe6520d566",34:"6cfbb247fbb23212e1ea",35:"a06319b5a088958091c2",36:"ab1ba043932c91607c7b",37:"2b75c5bdcf4cbabe30d7",38:"11fa4a08a95df9d72fdb",39:"7dfcaaab2bdeab04f8e8",40:"171cc72fd4e4372da044",41:"f85ecdef63675f23bd74",42:"df126b2732f7f4b4bb42",43:"d05c21c0ca2024af77dc",44:"4023d0edb59dd022cfe1",45:"779a749f328ebdad6494",46:"d3d14b6a1e8065c570b3",47:"92eb14302f83a336d9e1",48:"7924df130d5da2e421e2",49:"1172d8a0393b3303db5a",50:"07dc0cbae75c78a91e9e",51:"fee210cf92d3a0968f77",52:"430cd7d5ca507f1b9672",53:"bdf7402197597faaef29",54:"681ff60c3870c0b73217",55:"46b3ad4746b48178893b"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘
* @LastEditTime: 2020-04-13 12:48:29
* @LastEditTime: 2020-04-13 13:00:13
-->
<!--
<org-tree v-if="item.children.length" :itemData="item.children" ></org-tree>
......@@ -18,7 +18,7 @@ import orgTree from './org-tree.vue';
<div class="li-cell li-cell-copy cursor-pointer" @click="toggleExpand(item)">
<span :class="['font-12 color-606266', item.isStore == 1 || !item.hasSonNode ? 'color-fff' : '', item.expand ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"></span><span v-if="item.loading" class="el-tree-node__loading-icon el-icon-loading"></span><span :class="['font-14 p-r-10 iconfont', !!item.loading ? '' : 'p-l-10', item.isStore == 1 ? 'icondianpu-kuai' : 'iconqiye-tianchong', item.bindFlag == 1 ? 'color-2f54eb' : 'color-dedfe6']"></span><span class="font-14 color-606266">{{ item.label }}</span>
</div>
<li-row v-show="!!item.children.length && item.expand" :wxData="wxData" :itemObj="item" :itemData="item.children"></li-row>
<li-row v-show="!!item.children.length && item.expand" :wxData="wxData" :itemObj="item" :itemData="item.children" @setFix="setFix"></li-row>
</li>
</draggable>
</ul>
......@@ -196,6 +196,13 @@ export default {
return !draggedElement.fixed;
},
/**
* 设置父级的父级不可拖拽
*/
setFix() {
const that = this;
that.$set(that.itemObj, 'fixed', true);
},
/**
* move end
*/
itemMoveEnd(evt) {
......@@ -205,6 +212,11 @@ export default {
if (!that.itemObj.children.length) {
that.itemObj.hasSonNode = false;
}
const childData = that.getChildData(that.itemObj);
if (that.itemObj.children.length != childData.length) {
that.$set(that.itemObj, 'fixed', true);
that.$emit('setFix');
}
that.$forceUpdate();
},
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment