Commit c7edba39 by xiaohai

build for test

parent a036e15c
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.f04cfb86fcb409da810d12bd16b83f3a.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.775da3d8bbdc162fb25f.js></script><script type=text/javascript src=./static/js/vendor.7bc7944cf0eee932433b.js></script><script type=text/javascript src=./static/js/app.fd798dae49c438d21c2e.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 href=./static/css/app.f04cfb86fcb409da810d12bd16b83f3a.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.836cc8935ba84a47d2d1.js></script><script type=text/javascript src=./static/js/vendor.7bc7944cf0eee932433b.js></script><script type=text/javascript src=./static/js/app.fd798dae49c438d21c2e.js></script></body></html>
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],f[d]&&u.push(f[d][0]),f[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(c&&c(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var a={},f={33:0};function n(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=f[e]=[a,n]});c[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"509df5587c1da4f08632",1:"26fc7c6e9b4ccca95f46",2:"7caf351c243b32de5884",3:"dd74d5987c2f3d860fb5",4:"61f676cb653e1398e9a3",5:"bea14f5510ce0e80d317",6:"c10e4a89c1bfb81ccebe",7:"1446ae883311d3fa83fa",8:"16a8fb9b3e4e6c3808de",9:"3ffdf6ceabafc8f60d47",10:"140397a466fe9e24c029",11:"29f3e367e3f81429d7cc",12:"bac5af9d962cdba2acc7",13:"ea914025f2f420709f17",14:"4767b86c69852d50cfe1",15:"060041aba9e230b11664",16:"541a671ae6f34f7e9a28",17:"8a99d0468a58f743de02",18:"8afde91fc06e8d8fae7d",19:"e57d4d199a8baedf8160",20:"c35833201b444beb20f4",21:"9670c17d9d5cfe905c94",22:"3bbb580d048f65cb2914",23:"66ce6295fdc6476e9fc0",24:"00ebc2e44128f7fbad8e",25:"deed1078cc03aad96148",26:"a8edf1591aaa869ce0c6",27:"0e36ae9e3824eafd2bdb",28:"e7f9437d7012aa113184",29:"53b7436ec5d1c6141f72",30:"97ade3808abebffe350e"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.775da3d8bbdc162fb25f.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in f)Object.prototype.hasOwnProperty.call(f,o)&&(e[o]=f[o]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=r(r.s=t[i]);return b};var a={},n={33:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"509df5587c1da4f08632",1:"26fc7c6e9b4ccca95f46",2:"6b38f003797130d4f9ab",3:"dd74d5987c2f3d860fb5",4:"c7f125e0b82f1ee855d9",5:"bea14f5510ce0e80d317",6:"c10e4a89c1bfb81ccebe",7:"1446ae883311d3fa83fa",8:"16a8fb9b3e4e6c3808de",9:"86209c1e712273816719",10:"140397a466fe9e24c029",11:"29f3e367e3f81429d7cc",12:"bac5af9d962cdba2acc7",13:"ea914025f2f420709f17",14:"4767b86c69852d50cfe1",15:"060041aba9e230b11664",16:"541a671ae6f34f7e9a28",17:"8a99d0468a58f743de02",18:"8afde91fc06e8d8fae7d",19:"e57d4d199a8baedf8160",20:"c35833201b444beb20f4",21:"9670c17d9d5cfe905c94",22:"3bbb580d048f65cb2914",23:"66ce6295fdc6476e9fc0",24:"00ebc2e44128f7fbad8e",25:"deed1078cc03aad96148",26:"a8edf1591aaa869ce0c6",27:"0e36ae9e3824eafd2bdb",28:"e7f9437d7012aa113184",29:"53b7436ec5d1c6141f72",30:"97ade3808abebffe350e"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=d,f.appendChild(t),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.836cc8935ba84a47d2d1.js.map
\ No newline at end of file
......@@ -86,7 +86,7 @@
default() {
return {
isSelectPerson: true,
dialogVisible: true
dialogVisible: false
}
}
}
......
......@@ -9,7 +9,7 @@
inactive-color="#DCDFE6">
</el-switch>
<div class="particular-setting" v-if="visibleThere">
<select-area></select-area>
<select-area :treeData="treeData"></select-area>
</div>
</div>
<div class="only-visivble-self permission-div">
......@@ -48,6 +48,12 @@
default() {
return [];
}
},
treeData: {
type: Object,
default() {
return {};
}
}
},
data() {
......
......@@ -38,7 +38,7 @@
</template>
<li class="item J_add-btn" @click="$refs.butSelector.treeSet.dialogVisible = true;"><i class="el-icon-plus"></i></li>
</ul>
<vue-select-employee ref="butSelector" @handleSelectedList="handleSelectedList"></vue-select-employee>
<vue-select-employee ref="butSelector" :treeSet="treeSet" @handleSelectedList="handleSelectedList" :treeData="groupData"></vue-select-employee>
</div>
</template>
<script>
......@@ -49,6 +49,14 @@ export default {
components: {
vueSelectEmployee
},
props: {
treeData: {
type: Object,
default() {
return {};
}
}
},
data() {
return {
testList: [],
......@@ -57,7 +65,8 @@ export default {
dialogVisible: false
},
butList: [],
vipList: []
vipList: [],
groupData: {}
};
},
......@@ -78,8 +87,16 @@ export default {
console.log(list);
this.butList = list;
}
},
watch: {
treeData(data) {
console.log(data);
this.groupData = data;
}
}
};
</script>
<style lang="scss">
.select-area {
......
......@@ -19,7 +19,7 @@
</div>
<div class="setting-cell" v-if="$route.query.addnew != 1">
<p class="title">权限设置</p>
<permission-setting :visibleApartList="testList" :visibleSpecialLsit="testList" :onlySelfApartList="testList"></permission-setting>
<permission-setting :visibleApartList="testList" :visibleSpecialLsit="testList" :onlySelfApartList="testList" :treeData="treeData"></permission-setting>
</div>
<div class="setting-cell">
<div class="btn-area">
......
......@@ -17,7 +17,7 @@
<span class="handle-area">
<a :href="'#/addDepartment?addnew=1&departmentId='+groupInfo.departmentId" class="J_add-child a-href">添加子部门</a>
<span class="hurdle"></span>
<a class="J_edit a-href">编辑</a>
<a :href="'#/addDepartment?departmentId='+groupInfo.departmentId" class="J_edit a-href">编辑</a>
</span>
</div>
<div class="af-right-button-box">
......@@ -32,7 +32,7 @@
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:page-sizes="[100, 200, 300, 400]"
:page-sizes="[20, 40, 60, 80]"
:page-size="pageSize"
:current-page="currentPage"
layout="total, sizes, prev, pager, next"
......@@ -59,7 +59,7 @@
showChildMember: false,
setDisabledDel: false,
menuData: [],
pageSize: 100,
pageSize: 20,
currentPage: 1,
selectedList: [],
total: 0,
......@@ -80,8 +80,14 @@
this.getEmployee();
},
methods: {
handleSizeChange() {},
handleCurrentChange() {},
handleSizeChange(val) {
this.pageSize = val;
this.getEmployee();
},
handleCurrentChange(val) {
this.currentPage = val;
this.getEmployee();
},
/**
* 树形菜单搜索
......@@ -198,12 +204,19 @@
departmentId: _this.groupInfo.departmentId,
showChild: _this.showChildMember * 1,
pageSize: _this.pageSize,
pageNumber: _this.currentPage,
status: 1
};
getRequest("/haoban-manage-web/emp/findsimplepage", params)
.then(res => {
_this.employeeList = res.data.result.list;
_this.total = res.data.result.total;
let list = [];
let total = 0;
if (res.data.errorCode == 1) {
list = res.data.result.list || [];
total = res.data.result.total || 0;
}
_this.employeeList = list;
_this.total = total;
_this.loading = false;
})
.catch(e => {
......
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