Commit baab5497 by xiaohai

build for test

parent 208b36c1
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.8a375d62496a3c6542ed6ae159cfa799.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.7be8150c890892048c3b.js></script><script type=text/javascript src=./static/js/vendor.524761e5c779827c0dbf.js></script><script type=text/javascript src=./static/js/app.d1a6562a3362f557eb17.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.8a375d62496a3c6542ed6ae159cfa799.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.7c45e4538d15c9cf752b.js></script><script type=text/javascript src=./static/js/vendor.524761e5c779827c0dbf.js></script><script type=text/javascript src=./static/js/app.d1a6562a3362f557eb17.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.
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,o,b,i=0,u=[];i<a.length;i++)o=a[i],f[o]&&u.push(f[o][0]),f[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=d(d.s=r[i]);return b};var a={},f={43:0};function d(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,d),f.l=!0,f.exports}d.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,d){c=f[e]=[a,d]});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,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"54c9ca11ca9f020c354b",1:"26fc7c6e9b4ccca95f46",2:"2a5d4ed08aba031f77a6",3:"e7e2f202b6eaadef64a7",4:"0dccbeb384a458517ae8",5:"c9d0324089804bae77c3",6:"1cfc190be082172b30c3",7:"baa1f65b93f6e2ad112b",8:"47e3369fb1f988741929",9:"926da949c22346f61e60",10:"5614d3673a92e370b9b1",11:"f6e7b64dec5aff9cee5e",12:"c663a32829137fd499a3",13:"ebd6dd7ee23e5703e425",14:"dbe2d759dd74464a50d6",15:"e041c7ed9f836ff33a5d",16:"6f4ecf83128f405b243f",17:"a5b2012df380c5df06fc",18:"20ded4fcaee76d2ec5c0",19:"fe41fe6cd02009652c19",20:"48c7dac836dc8f07b246",21:"0c95a879bf810ea693f0",22:"1e34bcb0dd0d10584a8a",23:"9f05cfc644dbcf58019a",24:"5436864bdfd8dfdbef23",25:"6cc97e6afe73c2b498f9",26:"47454b21c2e8bc230179",27:"e1dae8eea7cebb0399b2",28:"ef5d4fe5d5da87f2ea93",29:"e36fff938ae088383d0e",30:"ea63488f1ae74c53784d",31:"f95acb2588f6ea83603e",32:"e231e76fe8401d4578c4",33:"3ad556d147428ad00563",34:"75342eb5950a24f5ba13",35:"58d4c515235752f2886d",36:"0a78880adaedb759c3c1",37:"f0f5cfddc9cd88a9bdb3",38:"15467158be1f31baef4e",39:"00cfbf48fe9fecf5c578",42:"aba74eb87387aac73c65"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.7be8150c890892048c3b.js.map
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(c,n,r){for(var t,o,b,i=0,u=[];i<c.length;i++)o=c[i],a[o]&&u.push(a[o][0]),a[o]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(f&&f(c,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=d(d.s=r[i]);return b};var c={},a={43:0};function d(f){if(c[f])return c[f].exports;var a=c[f]={i:f,l:!1,exports:{}};return e[f].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var f=a[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var c=new Promise(function(c,d){f=a[e]=[c,d]});f[2]=c;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"d374dcf31523ec535417",1:"26fc7c6e9b4ccca95f46",2:"2a5d4ed08aba031f77a6",3:"e7e2f202b6eaadef64a7",4:"0dccbeb384a458517ae8",5:"2512fc9b4903791e5716",6:"1cfc190be082172b30c3",7:"baa1f65b93f6e2ad112b",8:"47e3369fb1f988741929",9:"926da949c22346f61e60",10:"5614d3673a92e370b9b1",11:"f6e7b64dec5aff9cee5e",12:"ede70e1be43f5d97dff9",13:"ebd6dd7ee23e5703e425",14:"dbe2d759dd74464a50d6",15:"e041c7ed9f836ff33a5d",16:"6f4ecf83128f405b243f",17:"a5b2012df380c5df06fc",18:"20ded4fcaee76d2ec5c0",19:"fe41fe6cd02009652c19",20:"48c7dac836dc8f07b246",21:"0c95a879bf810ea693f0",22:"1e34bcb0dd0d10584a8a",23:"9f05cfc644dbcf58019a",24:"5436864bdfd8dfdbef23",25:"6cc97e6afe73c2b498f9",26:"47454b21c2e8bc230179",27:"e1dae8eea7cebb0399b2",28:"ef5d4fe5d5da87f2ea93",29:"e36fff938ae088383d0e",30:"ea63488f1ae74c53784d",31:"f95acb2588f6ea83603e",32:"e231e76fe8401d4578c4",33:"3ad556d147428ad00563",34:"75342eb5950a24f5ba13",35:"58d4c515235752f2886d",36:"0a78880adaedb759c3c1",37:"f0f5cfddc9cd88a9bdb3",38:"15467158be1f31baef4e",39:"00cfbf48fe9fecf5c578",42:"aba74eb87387aac73c65"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var f=a[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),c},d.m=e,d.c=c,d.d=function(e,f,c){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.7c45e4538d15c9cf752b.js.map
\ No newline at end of file
......@@ -103,7 +103,7 @@
}
},
changed: {
type: String,
type: [String, Number],
default: ""
}
},
......@@ -308,6 +308,21 @@
// },
changed() {
// this.formatGroupData(this.treeData.treeData, this.treeData.personData);
if (this.defaultSelection) {
let list = this.defaultSelection;
this.$nextTick(() => {
console.log(this.$refs, "this");
this.selectedList = list;
this.$refs.tree.setCheckedNodes(list);
list.forEach(li => {
if (li.employeeClerkId) {
this.defaultOpen = [li.departmentId];
} else {
this.defaultOpen.push(this.menusObj[li.id].parentId);
}
});
});
}
}
}
};
......
......@@ -3,7 +3,7 @@
<div class="handle-area">
<div class="flex1">
<el-button @click="callSelector" :disabled="disabled" style="margin-right: 10px; height:32px;">行政架构选人</el-button>
<el-button @click="callStoreSelector" style="margin-right: 10px; height:32px;">门店选人</el-button>
<el-button @click="callStoreSelector" style="margin-right: 10px; height:32px;">门店架构选人</el-button>
<template v-if="!isUnEmployee">
<el-select v-model="clerkType" placeholder="选择类型" @change="reGetList" class="m-r-10">
<el-option
......@@ -39,7 +39,7 @@
</div>
<el-input v-model="searchParam" placeholder="请输入姓名或手机号" style="width: 218px;margin-left:10px;" @keyup.enter.native="searchFn" clearable @clear="searchFn"></el-input>
</div>
<el-button type="primary" v-if="!isUnEmployee" @click="showExportSet">导出<i class="el-icon-upload el-icon--right"></i></el-button>
<el-button type="primary" @click="showExportSet">导出<i class="el-icon-upload el-icon--right"></i></el-button>
</div>
<ul class="selector-selected-list" v-if="selectionList.length > 0">
<template v-for="(sld, index) in selectionList">
......@@ -76,7 +76,7 @@
<handle-dialog :employee="employeeObj" :handleType="handleType" :typeTitle="typeTitle" @handleSuccess="handleSuccess"></handle-dialog>
</el-dialog>
<vue-select-store ref="storeSelector" @handleSelectedList="handleStoreSelectedList"></vue-select-store>
<vue-select-employee ref="departmentSelector" @handleSelectedList="handleSelectedList" :treeData="treeData"></vue-select-employee>
<vue-select-employee ref="departmentSelector" @handleSelectedList="handleSelectedList" :changed="changed" :treeData="treeData" :defaultSelection="adDefaultSelection"></vue-select-employee>
</div>
</template>
<script>
......@@ -156,7 +156,9 @@ export default {
chooseGroupIdList: [],
chooseStoreIdList: [],
adList: [],
stList: []
adDefaultSelection: [],
stList: [],
changed: 0
};
},
methods: {
......@@ -192,9 +194,35 @@ export default {
this.$refs.storeSelector.treeSet.dialogVisible = true;
},
showExportSet() {
this.$emit("showExportSetFn");
let isUnEmployee = this.isUnEmployee;
if (!isUnEmployee) {
this.$emit("showExportSetFn");
} else {
let local = window.location.origin;
if (local.indexOf('localhost')!= -1) {
local = 'http://www.gicdev.com';
}
let ths = this;
let params = {
pageNum: ths.pageNum,
chooseClerkIdList: ths.chooseClerkIdList.join(","),
chooseGroupIdList: ths.chooseGroupIdList.join(","),
chooseStoreIdList: ths.chooseStoreIdList.join(","),
pageSize: ths.pageSize,
sortType: ths.sortType,
clerkStatus: ths.clerkStatus == 0 ? "" : ths.clerkStatus,
sortColumn: ths.sortColumn,
clerkType: ths.clerkType == 0 ? "" : ths.clerkType,
startDate: ths.startDate,
endDate: ths.endDate,
searchParam: ths.searchParam
};
let clerkType = ths.clerkType == 0 ? "" : ths.clerkType;
location.href = local + "/haoban-manage-web/record/export-fire-employee-record?clerkType=" + clerkType + "&sortType=" + ths.sortType + "&sortColumn=" + ths.sortColumn + "&startDate=" + ths.startDate + "&endDate=" + ths.endDate + "&searchParam=" + ths.searchParam + "&chooseClerkIdList=" + ths.chooseClerkIdList.join(",") + "&chooseGroupIdList=" + ths.chooseGroupIdList.join(",") + "&chooseStoreIdList=" + ths.chooseStoreIdList.join(",");
}
},
handleSelectedList(list) {
this.adDefaultSelection = list;
this.adList = list;
let arr = this.selectionList.concat(list);
this.selectionList = arr;
......@@ -242,6 +270,14 @@ export default {
let idx = this.selectionList.indexOf(sld);
this.selectionList.splice(idx, 1);
this.formatSelectionList(this.selectionList);
ths.adList.forEach(ad => {
if (ad.id == sld.id) {
console.log(ad, ths.adList.indexOf(ad));
ths.adList.splice(ths.adList.indexOf(ad), 1);
}
});
ths.changed += 1;
ths.adDefaultSelection = ths.adList.slice(0);
},
handleSuccess() {
this.dialogVisible = false;
......
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