Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/1980/images/changeDepart.png
===================================================================
diff -u
Binary files differ
Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/addDepart.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/addDepart.js (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/addDepart.js (revision 40874)
@@ -0,0 +1,159 @@
+$("#spellingCode").on("change paste keyup", function () {
+ searchTousse("");
+});
+
+function closeLayer() {
+ if (typeof parent.closeLayer == 'function') {
+ //统一到父窗口
+ parent.closeLayer();
+ } else if (parent.LAYER) {
+ //layer库1.4版本的
+ var index = parent.LAYER.getFrameIndex();
+ parent.LAYER.close(index);
+ } else if (parent.layer) {
+ //新版本的layer库
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ }
+}
+
+function addDepart(departCode, departName) {
+ //待回收列表弹出窗
+ if (isFilterApplication) {
+ window.parent.setApplyDepartment(departName, departCode);
+ closeLayer();
+ } else if (departType == 4) {
+ window.parent.selectSettleAccountsDepart(departName, departCode);
+ closeLayer();
+ } else {
+ window.parent.selectDepart(departName, departCode);
+ closeLayer();
+ }
+}
+
+function pageUp() {
+ var inputValue = document.getElementById('spellingCode').value;
+ if (inputValue == null || inputValue == "") {
+ return;
+ }
+ if (pages <= 1) {
+ return;
+ } else {
+ pages--;
+ searchTousse("");
+
+ }
+}
+
+function pageDown() {
+ var inputValue = document.getElementById('spellingCode').value;
+ if (inputValue == null || inputValue == "") {
+ return;
+ }
+ if (num < 12) {
+ return;
+ }
+ pages++;
+ searchTousse("");
+}
+
+/**
+ *检索科室
+ */
+function searchTousse(sign) {
+ var inputObj = document.getElementById('spellingCode');
+ var inputValue = inputObj.value;
+ inputObj.value = inputValue + sign;
+ if (sign != "") {
+ pages = 1;
+ }
+ OrgUnitTableManager.searchOrgUnitBySpellOrWbCode(inputObj.value, pages, pageSize, showDisableOrgUnit, departType, function (result) {
+ if (result != null) {
+ var htmlResultCode = "
";
+ var orgUnitJsonArray = JSON.parse(result);
+ num = pageSize;
+ if (orgUnitJsonArray != null) {
+ num = orgUnitJsonArray.length;
+ for (var i = 0; i < orgUnitJsonArray.length; i++) {
+ var item = orgUnitJsonArray[i];
+ var textWidth = textSize("22px", "微软雅黑", item.orgUnitName).width || 0;
+ var lineHeight = '';
+ if (textWidth > 360) {
+ lineHeight = 27;
+ } else {
+ lineHeight = 54;
+ }
+ htmlResultCode += "- " + item.orgUnitName + "
";
+ }
+ }
+ if (orgUnitJsonArray != null && orgUnitJsonArray.length < pageSize) {
+ for (var i = orgUnitJsonArray.length; i < pageSize; i++) {
+ htmlResultCode += " ";
+ }
+ }
+ htmlResultCode += "
";
+ document.getElementById('tousseListDiv').innerHTML = htmlResultCode;
+ } else {
+ cleanTousseList();
+ }
+ });
+}
+
+function backSpaceInputText() {
+ pages = 1;
+ var currentValue = document.getElementById('spellingCode').value;
+ if (currentValue == "") {
+ return;
+ }
+ document.getElementById('spellingCode').value = currentValue.substring(0, currentValue.length - 1);
+ if (document.getElementById('spellingCode').value == "") {
+ cleanInputText();
+ } else {
+ searchTousse('');
+ }
+}
+
+function cleanInputText() {
+ document.getElementById('spellingCode').value = "";
+ pages = 1;
+ cleanTousseList();
+}
+
+function cleanTousseList() {
+ var htmlResultCode = "";
+ for (var i = 0; i < 12; i++) {
+ htmlResultCode += " ";
+ }
+ htmlResultCode += "
";
+ document.getElementById('tousseListDiv').innerHTML = htmlResultCode;
+};
+
+window.onload = function () {
+ var zoom = getZoom(1920, 1080);
+ $('.add-bao').css('zoom', zoom - 0.08)
+
+ if (sstsConfig.enableAddQuickTecoveryOptionForDepartments) {
+ $('.add-bao').css({
+ position: 'fixed',
+ left: '200px'
+ })
+ $('.changeDepart').show();
+ $('.changeDepart').css('zoom', zoom - 0.08)
+ $('.changeDepart ul').css('height', parseInt(height) + 'px');
+ $.ajax({
+ type: "post",
+ url: WWWROOT + '/disinfectSystem/baseData/supplyRoomConfigAction!getAllConfigsJSONArray.do',
+ dataType: 'json',
+ async: true,
+ success: function (result) {
+ if (result.data.length > 0) {
+ var html = '';
+ for (var i = 0; i < result.data.length; i++) {
+ html += '' + result.data[i].orgUnitName + ''
+ }
+ $('#changeDepartUl').html(html)
+ }
+ }
+ })
+ }
+}
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/expressRecycleForTouchScreen.jsp
===================================================================
diff -u -r40853 -r40874
--- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/expressRecycleForTouchScreen.jsp (.../expressRecycleForTouchScreen.jsp) (revision 40853)
+++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/expressRecycleForTouchScreen.jsp (.../expressRecycleForTouchScreen.jsp) (revision 40874)
@@ -38,7 +38,12 @@
-
+
+