budgetTempSheet-measure4Hr.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. $(function () {
  2. spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"), {sheetCount: 1});
  3. initSpread();
  4. initStatusBar(spread);
  5. initStatusBarEvents(spread);
  6. });
  7. function initSpread() {
  8. spread.suspendPaint();
  9. var sheet ;
  10. if (dbJson) {//数据库
  11. spread.fromJSON(dbJson);
  12. sheet=spread.getActiveSheet();
  13. var sheetTag = sheet.tag();
  14. if(sheetTag){
  15. sheetVar = sheetTag.sheetVar;
  16. }
  17. initBind(sheet,false);
  18. } else {
  19. var headerJson =tempsheet_hr_header;
  20. spread.fromJSON(headerJson);
  21. sheet=spread.getActiveSheet();
  22. sheet.clearSelection();
  23. var columnColumn = sheet.getColumnCount();
  24. sheet.addColumns(columnColumn,1);
  25. sheetVar.bindMeasureStartCol=columnColumn+1;
  26. sheet.getRange(-1, columnColumn).visible(false);
  27. addSheetTagValue(sheet,{sheetVar:sheetVar});
  28. sheet.showColumn(0, GC.Spread.Sheets.HorizontalPosition.left);
  29. sheet.frozenColumnCount(3);
  30. var stag = sheet.tag();
  31. if(!stag.periodDetailInfo){
  32. $('#periodDetialName').val(defaultPeriodDetailInfo.periodDetailName);
  33. addSheetTagValue(sheet,{periodDetailInfo:defaultPeriodDetailInfo});
  34. }
  35. initBind(sheet,true);
  36. }
  37. spread.options.newTabVisible = false;//取消新增sheet按钮
  38. spread.options.allowExtendPasteRange = true;//扩展粘贴区域
  39. bindEvent(spread);
  40. setDefaultLock(sheet);
  41. var stag = sheet.tag();
  42. if (stag) {
  43. for (var i in stag) {
  44. if (i.indexOf('c_') == 0) {
  45. $('#' + i.substr(2)).val(stag[i]);
  46. }
  47. }
  48. if(stag.periodDetailInfo){
  49. $('#periodDetialName').val(stag.periodDetailInfo.periodDetailName);
  50. }
  51. if(typeof stag.includeTax !="undefined"){
  52. $('#includeTax'+stag.includeTax).attr('checked','checked');
  53. }
  54. if(typeof stag.expect !="undefined"){
  55. $('#expect'+stag.expect).attr('checked','checked');
  56. }
  57. if(stag.basePay){
  58. $('#basePay').val(stag.basePay);
  59. }
  60. }
  61. spread.resumePaint();
  62. }
  63. function bindEvent(spread) {
  64. }
  65. function setDefaultLock(sheet) {
  66. var option = {
  67. allowSelectLockedCells: true,
  68. allowSelectUnlockedCells: true,
  69. allowFilter: true,
  70. allowSort: false,
  71. allowResizeRows: true,
  72. allowResizeColumns: true,
  73. allowEditObjects: false,
  74. allowDragInsertRows: false,
  75. allowDragInsertColumns: false,
  76. allowInsertRows: false,
  77. allowInsertColumns: false,
  78. allowDeleteRows: false,
  79. allowDeleteColumns: false
  80. };
  81. sheet.options.protectionOptions = option;
  82. sheet.options.isProtected = false;
  83. var defaultStyle = sheet.getDefaultStyle() //默认的样式,
  84. defaultStyle.locked = true;
  85. sheet.setDefaultStyle(defaultStyle);
  86. }
  87. function save(afterSaveFunction) {
  88. var sheet = spread.getActiveSheet();
  89. var allBind =true;
  90. /* $('#bindMeasureDiv input').each(function(){
  91. var $t = $(this);
  92. if($t.val()==''){
  93. allBind =false;
  94. return false;
  95. }
  96. });
  97. if(!allBind) {
  98. $.messager.alert("信息", '请绑定全部维度');
  99. return;
  100. }*/
  101. var tag = sheet.tag();
  102. if(typeof tag.includeTax=="undefined"){
  103. $.messager.alert("信息", '请选择含税维度');
  104. return;
  105. }
  106. if(typeof tag.expect =="undefined"){
  107. $.messager.alert("信息", '请选择预实维度');
  108. return;
  109. }
  110. var basePay=$('#basePay').val();
  111. if(!basePay){
  112. _alert('请输入最低基本工资');
  113. return;
  114. }
  115. if(!/^\d+(\.\d+)?$/.test(basePay)){
  116. _alert('最低基本工资必须是数字');
  117. return;
  118. }
  119. addSheetTagValue(sheet,{basePay:basePay});
  120. _commonSave({type:'hr'},afterSaveFunction);
  121. }
  122. function _openDialog(url, title, okCallback, width, height) {
  123. if (!width) {
  124. width = '500px';
  125. }
  126. if (!height) {
  127. height = '350px';
  128. }
  129. if (width == "100%") {
  130. width = window.top.document.body.offsetWidth;
  131. }
  132. if (height == "100%") {
  133. height = window.top.document.body.offsetHeight - 100;
  134. }
  135. var _selectDialog = $.dialog({
  136. content: 'url:' + url
  137. , zIndex: getzIndex()
  138. , title: title, lock: true, width: width, height: height, opacity: 0.4, button: [
  139. {
  140. name: '确定', callback: function () {
  141. var iframe = _selectDialog.iframe.contentWindow;
  142. if (okCallback) {
  143. var b = okCallback(iframe);
  144. return b;
  145. }
  146. }
  147. , focus: true
  148. },
  149. {
  150. name: '取消', callback: function () {
  151. }
  152. }
  153. ]
  154. }).zindex();
  155. return _selectDialog;
  156. }
  157. function initBind(sheet,create) {
  158. if(create){
  159. var totalCount = sheet.getColumnCount();
  160. sheet.addColumns(totalCount,bindMap.length+1);
  161. sheet.getRange(-1, totalCount,-1,bindMap.length+1).visible(false);
  162. }
  163. var tag = sheet.tag();
  164. if(!tag) tag={};
  165. for(let i=0;i<bindMap.length;i++){
  166. let one = bindMap[i];
  167. var tr = $(bindTrTemplate.replace("$id",one.findKey).replace("$name",one.bindName));
  168. tr.find('a').bind('click',function(){
  169. bindOneSubMeasure(one,i);
  170. });
  171. $('#bindTable').append(tr);
  172. // var bindValue = tag["c_"+one.findKey];
  173. if(create){
  174. // $('#'+one.findKey).val(bindValue);
  175. autoBind(one,i);
  176. }
  177. }
  178. $('#bindTable').show();
  179. }
  180. function autoBind(one,index){
  181. var measureId = one.measureId;
  182. if(!measureId) return;
  183. $.ajax({
  184. url: 'budgetMeasureController/'+measureId+".do"
  185. ,data:{}
  186. ,dataType:'json'
  187. ,type:'get'
  188. ,async:false
  189. ,success:function (d) {
  190. $.extend(one,d);
  191. _bindSubMeasure(one,index);
  192. }
  193. });
  194. }
  195. var bindTrTemplate='<tr>\n' +
  196. ' <td>$name:</td>\n' +
  197. ' <td><input type="text" id="$id" style="width: 150px;" readonly="readonly"></td>\n' +
  198. ' <td>' +
  199. ' <a href="javascript:void(0)" class="easyui-linkbutton l-btn" iconcls="icon-synchronization">' +
  200. ' <span class="l-btn-left"><span class="l-btn-text icon-synchronization l-btn-icon-left">绑定</span></span>' +
  201. ' </a> '+
  202. ' </td>' +
  203. ' </tr>';
  204. var _i=0;
  205. var _j=0;
  206. var bindMap=[];
  207. var sumColArr=['l','m','n','o','p','q','r','s','t','u','x','y'];
  208. var totalCol='w';
  209. //人工费用 - 条线小计
  210. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-bgs',postType:'办公室',bindName:'人工费用-办公室'};
  211. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-kf',postType:'客服部',bindName:'人工费用-客服部'};
  212. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-ba',postType:'保安部',bindName:'人工费用-保安部'};
  213. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-bj',postType:'保洁部',bindName:'人工费用-保洁部'};
  214. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-gc',postType:'工程部',bindName:'人工费用-工程部'};
  215. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-hw',postType:'会务部',bindName:'人工费用-会务部'};
  216. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-sg',postType:'宿管部',bindName:'人工费用-宿管部'};
  217. bindMap[_i++]={measureId:"",sumCol:totalCol,findKey:'rgfy-qt',postType:'其他部',bindName:'人工费用-其他部'};
  218. //年度工资
  219. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c256b2006a",sumCol:sumColArr[_j],findKey:'ndgz-bgs',postType:'办公室',bindName:'年度工资-办公室'};
  220. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c29569006c",sumCol:sumColArr[_j],findKey:'ndgz-kf',postType:'客服部',bindName:'年度工资-客服部'};
  221. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c2e791006e",sumCol:sumColArr[_j],findKey:'ndgz-ba',postType:'保安部',bindName:'年度工资-保安部'};
  222. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c32b120070",sumCol:sumColArr[_j],findKey:'ndgz-bj',postType:'保洁部',bindName:'年度工资-保洁部'};
  223. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c36eca0072",sumCol:sumColArr[_j],findKey:'ndgz-gc',postType:'工程部',bindName:'年度工资-工程部'};
  224. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c3b1740074",sumCol:sumColArr[_j],findKey:'ndgz-hw',postType:'会务部',bindName:'年度工资-会务部'};
  225. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c3f2b10076",sumCol:sumColArr[_j],findKey:'ndgz-sg',postType:'宿管部',bindName:'年度工资-宿管部'};
  226. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c42a660078",sumCol:sumColArr[_j++],findKey:'ndgz-qt',postType:'其他部',bindName:'年度工资-其他部'};
  227. //高温补贴
  228. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c4c356007a",sumCol:sumColArr[_j],findKey:'gwbt-bgs',postType:'办公室',bindName:'高温补贴-办公室'};
  229. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c5694d007c",sumCol:sumColArr[_j],findKey:'gwbt-kf',postType:'客服部',bindName:'高温补贴-客服部'};
  230. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c59790007e",sumCol:sumColArr[_j],findKey:'gwbt-ba',postType:'保安部',bindName:'高温补贴-保安部'};
  231. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c5da020080",sumCol:sumColArr[_j],findKey:'gwbt-bj',postType:'保洁部',bindName:'高温补贴-保洁部'};
  232. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c670c20082",sumCol:sumColArr[_j],findKey:'gwbt-gc',postType:'工程部',bindName:'高温补贴-工程部'};
  233. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c6bf4d0084",sumCol:sumColArr[_j],findKey:'gwbt-hw',postType:'会务部',bindName:'高温补贴-会务部'};
  234. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c6f5660086",sumCol:sumColArr[_j],findKey:'gwbt-sg',postType:'宿管部',bindName:'高温补贴-宿管部'};
  235. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c72c0c0088",sumCol:sumColArr[_j++],findKey:'gwbt-qt',postType:'其他部',bindName:'高温补贴-其他部'};
  236. // 法定及额外加(值)班费
  237. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c797e6008a",sumCol:sumColArr[_j],findKey:'jbf-bgs',postType:'办公室',bindName:'法定及额外加(值)班费-办公室'};
  238. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c7da63008c",sumCol:sumColArr[_j],findKey:'jbf-kf',postType:'客服部',bindName:'法定及额外加(值)班费-客服部'};
  239. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c816c3008e",sumCol:sumColArr[_j],findKey:'jbf-ba',postType:'保安部',bindName:'法定及额外加(值)班费-保安部'};
  240. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c86ee00090",sumCol:sumColArr[_j],findKey:'jbf-bj',postType:'保洁部',bindName:'法定及额外加(值)班费-保洁部'};
  241. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c8a64d0092",sumCol:sumColArr[_j],findKey:'jbf-gc',postType:'工程部',bindName:'法定及额外加(值)班费-工程部'};
  242. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c8df230094",sumCol:sumColArr[_j],findKey:'jbf-hw',postType:'会务部',bindName:'法定及额外加(值)班费-会务部'};
  243. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c91d430096",sumCol:sumColArr[_j],findKey:'jbf-sg',postType:'宿管部',bindName:'法定及额外加(值)班费-宿管部'};
  244. bindMap[_i++]={measureId:"2c9358ad758842bf0175ababd5870066",sumCol:sumColArr[_j++],findKey:'jbf-qt',postType:'其他部',bindName:'法定及额外加(值)班费-其他部'};
  245. // 工作餐补及中夜班津贴
  246. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c973460098",sumCol:sumColArr[_j],findKey:'gzc-bgs',postType:'办公室',bindName:'工作餐补及中夜班津贴-办公室'};
  247. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c9b59c009a",sumCol:sumColArr[_j],findKey:'gzc-kf',postType:'客服部',bindName:'工作餐补及中夜班津贴-客服部'};
  248. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3c9eefd009c",sumCol:sumColArr[_j],findKey:'gzc-ba',postType:'保安部',bindName:'工作餐补及中夜班津贴-保安部'};
  249. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ca2532009e",sumCol:sumColArr[_j],findKey:'gzc-bj',postType:'保洁部',bindName:'工作餐补及中夜班津贴-保洁部'};
  250. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ca60db00a0",sumCol:sumColArr[_j],findKey:'gzc-gc',postType:'工程部',bindName:'工作餐补及中夜班津贴-工程部'};
  251. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ca92d500a2",sumCol:sumColArr[_j],findKey:'gzc-hw',postType:'会务部',bindName:'工作餐补及中夜班津贴-会务部'};
  252. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cad45600a4",sumCol:sumColArr[_j],findKey:'gzc-sg',postType:'宿管部',bindName:'工作餐补及中夜班津贴-宿管部'};
  253. bindMap[_i++]={measureId:"2c9358ad758842bf0175abb1063d006f",sumCol:sumColArr[_j++],findKey:'gzc-qt',postType:'其他部',bindName:'工作餐补及中夜班津贴-其他部'};
  254. //社保
  255. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ccd16b00b4",sumCol:sumColArr[_j],findKey:'sb-bgs',postType:'办公室',bindName:'社保-办公室'};
  256. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cd052d00b6",sumCol:sumColArr[_j],findKey:'sb-kf',postType:'客服部',bindName:'社保-客服部'};
  257. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cd3d0200b8",sumCol:sumColArr[_j],findKey:'sb-ba',postType:'保安部',bindName:'社保-保安部'};
  258. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cd722600ba",sumCol:sumColArr[_j],findKey:'sb-bj',postType:'保洁部',bindName:'社保-保洁部'};
  259. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cda4a800bc",sumCol:sumColArr[_j],findKey:'sb-gc',postType:'工程部',bindName:'社保-工程部'};
  260. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cdd83400be",sumCol:sumColArr[_j],findKey:'sb-hw',postType:'会务部',bindName:'社保-会务部'};
  261. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ce097d00c0",sumCol:sumColArr[_j],findKey:'sb-sg',postType:'宿管部',bindName:'社保-宿管部'};
  262. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ce3c1e00c2",sumCol:sumColArr[_j++],findKey:'sb-qt',postType:'其他部',bindName:'社保-其他部'};
  263. // 公积金
  264. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3ce76ba00c4",sumCol:sumColArr[_j],findKey:'gjj-bgs',postType:'办公室',bindName:'公积金-办公室'};
  265. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cf15b600c6",sumCol:sumColArr[_j],findKey:'gjj-kf',postType:'客服部',bindName:'公积金-客服部'};
  266. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cf484a00c8",sumCol:sumColArr[_j],findKey:'gjj-ba',postType:'保安部',bindName:'公积金-保安部'};
  267. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cf7a8d00ca",sumCol:sumColArr[_j],findKey:'gjj-bj',postType:'保洁部',bindName:'公积金-保洁部'};
  268. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cfa74300cc",sumCol:sumColArr[_j],findKey:'gjj-gc',postType:'工程部',bindName:'公积金-工程部'};
  269. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3cfd2fa00ce",sumCol:sumColArr[_j],findKey:'gjj-hw',postType:'会务部',bindName:'公积金-会务部'};
  270. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d0121d00d0",sumCol:sumColArr[_j],findKey:'gjj-sg',postType:'宿管部',bindName:'公积金-宿管部'};
  271. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d045c500d2",sumCol:sumColArr[_j++],findKey:'gjj-qt',postType:'其他部',bindName:'公积金-其他部'};
  272. //奖金
  273. bindMap[_i++]={measureId:"4028128175ce979d0175d11792d40001",sumCol:sumColArr[_j],findKey:'jiangjin-bgs',postType:'办公室',bindName:'奖金-办公室'};
  274. bindMap[_i++]={measureId:"4028128175ce979d0175d117d25d0003",sumCol:sumColArr[_j],findKey:'jiangjin-kf',postType:'客服部',bindName:'奖金-客服部'};
  275. bindMap[_i++]={measureId:"4028128175ce979d0175d118281a0005",sumCol:sumColArr[_j],findKey:'jiangjin-ba',postType:'保安部',bindName:'奖金-保安部'};
  276. bindMap[_i++]={measureId:"4028128175ce979d0175d1186acc0007",sumCol:sumColArr[_j],findKey:'jiangjin-bj',postType:'保洁部',bindName:'奖金-保洁部'};
  277. bindMap[_i++]={measureId:"4028128175ce979d0175d118a9b50009",sumCol:sumColArr[_j],findKey:'jiangjin-gc',postType:'工程部',bindName:'奖金-工程部'};
  278. bindMap[_i++]={measureId:"4028128175ce979d0175d118e961000b",sumCol:sumColArr[_j],findKey:'jiangjin-hw',postType:'会务部',bindName:'奖金-会务部'};
  279. bindMap[_i++]={measureId:"4028128175ce979d0175d1192836000d",sumCol:sumColArr[_j],findKey:'jiangjin-sg',postType:'宿管部',bindName:'奖金-宿管部'};
  280. bindMap[_i++]={measureId:"4028128175ce979d0175d119711b000f",sumCol:sumColArr[_j++],findKey:'jiangjin-qt',postType:'其他部',bindName:'奖金-其他部'};
  281. //春节、中秋
  282. bindMap[_i++]={measureId:"4028128175ce979d0175d11bacae0011",sumCol:sumColArr[_j],findKey:'cjzq-bgs',postType:'办公室',bindName:'春节、中秋-办公室'};
  283. bindMap[_i++]={measureId:"4028128175ce979d0175d11c15af0013",sumCol:sumColArr[_j],findKey:'cjzq-kf',postType:'客服部',bindName:'春节、中秋-客服部'};
  284. bindMap[_i++]={measureId:"4028128175ce979d0175d11c7c640015",sumCol:sumColArr[_j],findKey:'cjzq-ba',postType:'保安部',bindName:'春节、中秋-保安部'};
  285. bindMap[_i++]={measureId:"4028128175ce979d0175d11ccc150017",sumCol:sumColArr[_j],findKey:'cjzq-bj',postType:'保洁部',bindName:'春节、中秋-保洁部'};
  286. bindMap[_i++]={measureId:"4028128175ce979d0175d11d2db30019",sumCol:sumColArr[_j],findKey:'cjzq-gc',postType:'工程部',bindName:'春节、中秋-工程部'};
  287. bindMap[_i++]={measureId:"4028128175ce979d0175d11d8055001b",sumCol:sumColArr[_j],findKey:'cjzq-hw',postType:'会务部',bindName:'春节、中秋-会务部'};
  288. bindMap[_i++]={measureId:"4028128175ce979d0175d11e04d5001d",sumCol:sumColArr[_j],findKey:'cjzq-sg',postType:'宿管部',bindName:'春节、中秋-宿管部'};
  289. bindMap[_i++]={measureId:"4028128175ce979d0175d11e5c11001f",sumCol:sumColArr[_j++],findKey:'cjzq-qt',postType:'其他部',bindName:'春节、中秋-其他部'};
  290. // 年夜饭
  291. bindMap[_i++]={measureId:"4028128175ce979d0175d11f28e30021",sumCol:sumColArr[_j],findKey:'nyf-bgs',postType:'办公室',bindName:'年夜饭-办公室'};
  292. bindMap[_i++]={measureId:"4028128175ce979d0175d11f81ba0023",sumCol:sumColArr[_j],findKey:'nyf-kf',postType:'客服部',bindName:'年夜饭-客服部'};
  293. bindMap[_i++]={measureId:"4028128175ce979d0175d11fe5200025",sumCol:sumColArr[_j],findKey:'nyf-ba',postType:'保安部',bindName:'年夜饭-保安部'};
  294. bindMap[_i++]={measureId:"4028128175ce979d0175d12038260027",sumCol:sumColArr[_j],findKey:'nyf-bj',postType:'保洁部',bindName:'年夜饭-保洁部'};
  295. bindMap[_i++]={measureId:"4028128175ce979d0175d1208fac0029",sumCol:sumColArr[_j],findKey:'nyf-gc',postType:'工程部',bindName:'年夜饭-工程部'};
  296. bindMap[_i++]={measureId:"4028128175ce979d0175d120e2b4002b",sumCol:sumColArr[_j],findKey:'nyf-hw',postType:'会务部',bindName:'年夜饭-会务部'};
  297. bindMap[_i++]={measureId:"4028128175ce979d0175d12135db002d",sumCol:sumColArr[_j],findKey:'nyf-sg',postType:'宿管部',bindName:'年夜饭-宿管部'};
  298. bindMap[_i++]={measureId:"4028128175ce979d0175d1218954002f",sumCol:sumColArr[_j++],findKey:'nyf-qt',postType:'其他部',bindName:'年夜饭-其他部'};
  299. //健康体检
  300. bindMap[_i++]={measureId:"4028128175ce979d0175d12220960031",sumCol:sumColArr[_j],findKey:'jktj-bgs',postType:'办公室',bindName:'健康体检-办公室'};
  301. bindMap[_i++]={measureId:"4028128175ce979d0175d12279ea0033",sumCol:sumColArr[_j],findKey:'jktj-kf',postType:'客服部',bindName:'健康体检-客服部'};
  302. bindMap[_i++]={measureId:"4028128175ce979d0175d122cdb90035",sumCol:sumColArr[_j],findKey:'jktj-ba',postType:'保安部',bindName:'健康体检-保安部'};
  303. bindMap[_i++]={measureId:"4028128175ce979d0175d12322cf0037",sumCol:sumColArr[_j],findKey:'jktj-bj',postType:'保洁部',bindName:'健康体检-保洁部'};
  304. bindMap[_i++]={measureId:"4028128175ce979d0175d1237d0f0039",sumCol:sumColArr[_j],findKey:'jktj-gc',postType:'工程部',bindName:'健康体检-工程部'};
  305. bindMap[_i++]={measureId:"4028128175ce979d0175d123d984003b",sumCol:sumColArr[_j],findKey:'jktj-hw',postType:'会务部',bindName:'健康体检-会务部'};
  306. bindMap[_i++]={measureId:"4028128175ce979d0175d1243535003d",sumCol:sumColArr[_j],findKey:'jktj-sg',postType:'宿管部',bindName:'健康体检-宿管部'};
  307. bindMap[_i++]={measureId:"4028128175ce979d0175d1248df9003f",sumCol:sumColArr[_j++],findKey:'jktj-qt',postType:'其他部',bindName:'健康体检-其他部'};
  308. //内训
  309. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d1de5b00de",sumCol:sumColArr[_j],findKey:'nx-bgs',postType:'办公室',bindName:'内训-办公室'};
  310. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d211c800e0",sumCol:sumColArr[_j],findKey:'nx-kf',postType:'客服部',bindName:'内训-客服部'};
  311. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d2730c00e2",sumCol:sumColArr[_j],findKey:'nx-ba',postType:'保安部',bindName:'内训-保安部'};
  312. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d2a64700e4",sumCol:sumColArr[_j],findKey:'nx-bj',postType:'保洁部',bindName:'内训-保洁部'};
  313. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d2ddb100e6",sumCol:sumColArr[_j],findKey:'nx-gc',postType:'工程部',bindName:'内训-工程部'};
  314. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d30f5e00e8",sumCol:sumColArr[_j],findKey:'nx-hw',postType:'会务部',bindName:'内训-会务部'};
  315. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d33c8e00ea",sumCol:sumColArr[_j],findKey:'nx-sg',postType:'宿管部',bindName:'内训-宿管部'};
  316. bindMap[_i++]={measureId:"2c9358ad758842bf0175abbf55da008d",sumCol:sumColArr[_j++],findKey:'nx-qt',postType:'其他部',bindName:'内训-其他部'};
  317. //外训
  318. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d51ba500ec",sumCol:sumColArr[_j],findKey:'wx-bgs',postType:'办公室',bindName:'外训-办公室'};
  319. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d550dc00ee",sumCol:sumColArr[_j],findKey:'wx-kf',postType:'客服部',bindName:'外训-客服部'};
  320. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d57e8700f0",sumCol:sumColArr[_j],findKey:'wx-ba',postType:'保安部',bindName:'外训-保安部'};
  321. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d5b05800f2",sumCol:sumColArr[_j],findKey:'wx-bj',postType:'保洁部',bindName:'外训-保洁部'};
  322. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d5de9a00f4",sumCol:sumColArr[_j],findKey:'wx-gc',postType:'工程部',bindName:'外训-工程部'};
  323. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d60faf00f6",sumCol:sumColArr[_j],findKey:'wx-hw',postType:'会务部',bindName:'外训-会务部'};
  324. bindMap[_i++]={measureId:"2c9358ad74ae69160174b3d643eb00f8",sumCol:sumColArr[_j],findKey:'wx-sg',postType:'宿管部',bindName:'外训-宿管部'};
  325. bindMap[_i++]={measureId:"2c9358ad758842bf0175abcf28ac00a7",sumCol:sumColArr[_j++],findKey:'wx-qt',postType:'其他部',bindName:'外训-其他部'};