Commit 30132381 by xiaohai

build for test

parent 6d23e958
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.1a3265686108186bbc4c556c2823da87.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.973fc7e754e217e60372.js></script><script type=text/javascript src=./static/js/vendor.9dbe893095a285ecfe72.js></script><script type=text/javascript src=./static/js/app.0abc98f854e25cc5f624.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.c8c8a3ddf85a2bc69abec3b7c570cd73.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.043ecd13a972397d26cf.js></script><script type=text/javascript src=./static/js/vendor.9dbe893095a285ecfe72.js></script><script type=text/javascript src=./static/js/app.0abc98f854e25cc5f624.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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,n,r){for(var t,b,o,i=0,u=[];i<a.length;i++)b=a[i],d[b]&&u.push(d[b][0]),d[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=f(f.s=r[i]);return o};var a={},d={43: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 n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"60a4b05c3d8d5b2016eb",1:"26fc7c6e9b4ccca95f46",2:"0506b7a59cc5da29ffee",3:"6b50e8651aec22b535c5",4:"0dccbeb384a458517ae8",5:"4ef0eebfb8aa3bff2383",6:"1cfc190be082172b30c3",7:"dc7d15d32481c9868fb5",8:"2e3be81a2181b2a663e8",9:"77565ad73b563b258c7e",10:"f0636d01e9936ea34bc5",11:"62175a05dfba8ae91083",12:"c865623a1c91d006377a",13:"68c85fa75d129c3ee2b1",14:"1d74f7b247e8dd6ac194",15:"72f78abc0de011801b84",16:"6f4ecf83128f405b243f",17:"dc7a17a5d3035d7983b3",18:"883dde6f28edff95cea1",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"0c95a879bf810ea693f0",22:"1e34bcb0dd0d10584a8a",23:"27c5038616c4081e0ec7",24:"a65971a02be425cfe7d7",25:"417f7a8c2f6d14f5b18d",26:"2e1c046ddfe645b4fe3e",27:"e9095d6efa4bc8b83fed",28:"dbd9d86ae779ffab47d2",29:"0e3a1c8173246dac0cd3",30:"cc7fd72ffc3cb0e4c4c4",31:"3461b00cec4520ebdbb7",32:"f8d8888126fd951d3a25",33:"6895e9eb632169971ddb",34:"2349d9830c9a4d627933",35:"58d4c515235752f2886d",36:"0a78880adaedb759c3c1",37:"f0f5cfddc9cd88a9bdb3",38:"d4cc702714768d377ace",39:"49fa68a28383c75d8ac7",42:"aba74eb87387aac73c65"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),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}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var t,o,b,i=0,u=[];i<a.length;i++)o=a[i],d[o]&&u.push(d[o][0]),d[o]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=f(f.s=r[i]);return b};var a={},d={43: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 n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"6c3959773003bc4259ef",1:"26fc7c6e9b4ccca95f46",2:"0506b7a59cc5da29ffee",3:"9675edf3a07aab339cae",4:"0dccbeb384a458517ae8",5:"ff31b00aa273cf73ccca",6:"1cfc190be082172b30c3",7:"dc7d15d32481c9868fb5",8:"2e3be81a2181b2a663e8",9:"77565ad73b563b258c7e",10:"f0636d01e9936ea34bc5",11:"62175a05dfba8ae91083",12:"c865623a1c91d006377a",13:"68c85fa75d129c3ee2b1",14:"1d74f7b247e8dd6ac194",15:"72f78abc0de011801b84",16:"6f4ecf83128f405b243f",17:"dc7a17a5d3035d7983b3",18:"883dde6f28edff95cea1",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"0c95a879bf810ea693f0",22:"1e34bcb0dd0d10584a8a",23:"27c5038616c4081e0ec7",24:"a65971a02be425cfe7d7",25:"417f7a8c2f6d14f5b18d",26:"2e1c046ddfe645b4fe3e",27:"e9095d6efa4bc8b83fed",28:"dbd9d86ae779ffab47d2",29:"0e3a1c8173246dac0cd3",30:"cc7fd72ffc3cb0e4c4c4",31:"3461b00cec4520ebdbb7",32:"f8d8888126fd951d3a25",33:"6895e9eb632169971ddb",34:"2349d9830c9a4d627933",35:"58d4c515235752f2886d",36:"0a78880adaedb759c3c1",37:"f0f5cfddc9cd88a9bdb3",38:"d4cc702714768d377ace",39:"49fa68a28383c75d8ac7",42:"aba74eb87387aac73c65"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),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}}([]);
//# sourceMappingURL=manifest.973fc7e754e217e60372.js.map //# sourceMappingURL=manifest.043ecd13a972397d26cf.js.map
\ No newline at end of file \ No newline at end of file
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
.el-tree-node__content { .el-tree-node__content {
height: 36px; height: 36px;
position: relative; position: relative;
.open-child { .el-tree-node__expand-icon {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
......
...@@ -113,17 +113,14 @@ export default { ...@@ -113,17 +113,14 @@ export default {
* 树形菜单搜索 * 树形菜单搜索
*/ */
handleSearchKey(keyWord) { handleSearchKey(keyWord) {
console.log(keyWord, "searchKey");
let params = { let params = {
keyWord keyWord
}; };
getRequest("/haoban-manage-web/emp/searchpage", params) getRequest("/haoban-manage-web/emp/searchpage", params)
.then(res => { .then(res => {
console.log(res, "key word search");
this.searchResult = res.data.result; this.searchResult = res.data.result;
}) })
.catch(e => { .catch(e => {
console.log(e, "error");
}); });
}, },
...@@ -131,7 +128,6 @@ export default { ...@@ -131,7 +128,6 @@ export default {
* 树形菜单选择项处理 * 树形菜单选择项处理
*/ */
handleTreeSelection(obj, node, showEmployee) { handleTreeSelection(obj, node, showEmployee) {
console.log(obj, node, "selection");
this.groupInfo.departmentId = obj.groupId; this.groupInfo.departmentId = obj.groupId;
this.groupInfo.groupName = obj.name; this.groupInfo.groupName = obj.name;
this.showEmployee = showEmployee; this.showEmployee = showEmployee;
...@@ -144,7 +140,6 @@ export default { ...@@ -144,7 +140,6 @@ export default {
* 树形搜索结果选人处理 * 树形搜索结果选人处理
*/ */
handleEmployeeSelection(employee, showEmployee) { handleEmployeeSelection(employee, showEmployee) {
console.log(employee);
this.selectedEmployee = employee; this.selectedEmployee = employee;
this.showEmployee = showEmployee; this.showEmployee = showEmployee;
}, },
...@@ -162,6 +157,7 @@ export default { ...@@ -162,6 +157,7 @@ export default {
_this.$confirm("是否要删除选中的员工?", "提示", { _this.$confirm("是否要删除选中的员工?", "提示", {
type: "warning" type: "warning"
}).then(() => { }).then(() => {
_this.loading = true;
let arr = []; let arr = [];
_this.selectedList.forEach(li => { _this.selectedList.forEach(li => {
arr.push(li.employeeClerkId); arr.push(li.employeeClerkId);
...@@ -171,15 +167,27 @@ export default { ...@@ -171,15 +167,27 @@ export default {
} }
getRequest("/haoban-manage-web/emp/del", params) getRequest("/haoban-manage-web/emp/del", params)
.then(res => { .then(res => {
console.log(res, "Del result"); if (res.data.errorCode == 1) {
let selected = _this.selectedList; let selected = _this.selectedList;
let originList = _this.employeeList; let originList = _this.employeeList;
let selSet = new Set(selected); let selSet = new Set(selected);
let originSet = new Set(originList); let originSet = new Set(originList);
_this.employeeList = selected.concat(originList).filter(v => !selSet.has(v) || !originSet.has(v)); // 两数组非交集部分即为剔除后剩下的数据 _this.employeeList = selected.concat(originList).filter(v => !selSet.has(v) || !originSet.has(v)); // 两数组非交集部分即为剔除后剩下的数据
_this.$message.success({
message: res.data.message
});
} else {
_this.$message.error({
message: res.data.message
});
}
_this.loading = false;
}) })
.catch(e => { .catch(e => {
console.log(e, "error"); _this.loading = false;
_this.$message.error({
message: e.message
});
}); });
}) })
}, },
...@@ -188,7 +196,6 @@ export default { ...@@ -188,7 +196,6 @@ export default {
* 设置是否显示子成员 * 设置是否显示子成员
*/ */
setChildMemberShow() { setChildMemberShow() {
console.log(this.showChildMember * 1);
this.getEmployee(); this.getEmployee();
}, },
...@@ -249,7 +256,7 @@ export default { ...@@ -249,7 +256,7 @@ export default {
}, },
computed: { computed: {
disabledDel() { disabledDel() {
return this.selectedList.length < 1 && !this.setDisabledDel; return this.selectedList.length < 1 && !this.setDisabledDel && this.groupInfo.hasPression != 1;
} }
} }
}; };
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
noStatusCount: "无状态" noStatusCount: "无状态"
}, },
countObj: {}, countObj: {},
showExportSet: true showExportSet: false
}; };
}, },
methods: { methods: {
......
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