Selaa lähdekoodia

公告消息管理页面,添加系统操作员部分代码

黄勇成 1 vuosi sitten
vanhempi
commit
c9fcd8b227

+ 2 - 2
src/main/webapp/WEB-INF/pages/admin/notice/noticeAppVerify.jsp

@@ -67,7 +67,7 @@
         <div class="main-content-mode-wp">
           <form:form id="conditionform" class="clearfloat">
             <input type="hidden" class="state" name="state" />
-            <c:if test="${userType=='1'||userType=='2'||userType=='6'}">
+            <c:if test="${userType=='-1'||userType=='1'||userType=='2'||userType=='6'}">
               <div class=" part-wp">
                 <span class="search-tips">运营中心</span>
                 <input ${userType=='6'?'disabled':''} class="${userType=='6'?'default-select not-allowed':'default-select'}" name="comdId" id="comdId" autocomplete="off"  placeholder="请选择运营中心"/>
@@ -145,7 +145,7 @@
       <script type="text/html" id="indexTpl">
         {{d.LAY_TABLE_INDEX+1}}
       </script>
-      <script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeAppVerify.js?v=2022.05.25.1'/>"></script>
+      <script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeAppVerify.js?v=20230323.1'/>"></script>
     </body>
 
     </html>

+ 2 - 2
src/main/webapp/WEB-INF/pages/admin/notice/noticeEmailVerify.jsp

@@ -62,7 +62,7 @@
 		<div class="main-content-mode-wp">
 		  <form:form  id="conditionform"  class="clearfloat">
 		  	  <input type="hidden" class="state" name="state"/>
-			  <c:if test="${userType=='1'||userType=='2'||userType=='6'}">
+			  <c:if test="${userType=='-1'||userType=='1'||userType=='2'||userType=='6'}">
 				  <div class=" part-wp">
 					  <span class="search-tips">运营中心</span>
 					  <input ${userType=='6'?'disabled':''} class="${userType=='6'?'default-select not-allowed':'default-select'}" name="comdId" id="comdId" autocomplete="off"  placeholder="请选择运营中心"/>
@@ -115,6 +115,6 @@
 <script type="text/html" id="indexTpl">
 	{{d.LAY_TABLE_INDEX+1}}
 </script>
-<script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeEmailVerify.js?v=20220321.2'/>"></script>
+<script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeEmailVerify.js?v=20230323.1'/>"></script>
 </body>
 </html>

+ 2 - 2
src/main/webapp/WEB-INF/pages/admin/notice/noticeMsgVerify.jsp

@@ -59,7 +59,7 @@
 		<div class="main-content-mode-wp">
 		  <form:form  id="conditionform"  class="clearfloat">
 		  	  <input type="hidden" class="state" name="state"/>
-			  <c:if test="${userType=='1'||userType=='2'||userType=='6'}">
+			  <c:if test="${userType=='-1'||userType=='1'||userType=='2'||userType=='6'}">
 				  <div class=" part-wp">
 					  <span class="search-tips">运营中心</span>
 					  <input ${userType=='6'?'disabled':''} class="${userType=='6'?'default-select not-allowed':'default-select'}" name="comdId" id="comdId" autocomplete="off"  placeholder="请选择运营中心"/>
@@ -112,6 +112,6 @@
 <script type="text/html" id="indexTpl">
 	{{d.LAY_TABLE_INDEX+1}}
 </script>
-<script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeMsgVerify.js?v=20220321.2'/>"></script>
+<script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeMsgVerify.js?v=20230323.1'/>"></script>
 </body>
 </html>

+ 2 - 2
src/main/webapp/WEB-INF/pages/admin/notice/noticeWxVerify.jsp

@@ -61,7 +61,7 @@
         <div class="main-content-mode-wp">
           <form:form id="conditionform" class="clearfloat">
             <input type="hidden" class="state" name="state" />
-            <c:if test="${userType=='1'||userType=='2'||userType=='6'}">
+            <c:if test="${userType=='-1'||userType=='1'||userType=='2'||userType=='6'}">
               <div class=" part-wp">
                 <span class="search-tips">运营中心</span>
                 <input ${userType=='6'?'disabled':''} class="${userType=='6'?'default-select not-allowed':'default-select'}" name="comdId" id="comdId" autocomplete="off"  placeholder="请选择运营中心"/>
@@ -108,7 +108,7 @@
       <script type="text/html" id="indexTpl">
         {{d.LAY_TABLE_INDEX+1}}
       </script>
-      <script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeWxVerify.js?v=20220321.2'/>"></script>
+      <script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeWxVerify.js?v=20230323.1'/>"></script>
     </body>
 
     </html>

+ 3 - 3
src/main/webapp/scripts/admin/notice/noticeAppVerify.js

@@ -382,7 +382,7 @@ $(function () {
 				$("#conditionform select").val("");
 
 				let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-				if (userType == 1 || userType == 2|| userType == 6) {
+				if (userType == -1||userType == 1 || userType == 2|| userType == 6) {
 					$("#conditionform input").val("");
 					$('#comdId').val(companyArr[0].label).attr('comd__id', companyArr[0].value).attr('meetCode', companyArr[0].meetCode);
 					companyId = $("#conditionform #comdId").attr('comd__id');
@@ -394,7 +394,7 @@ $(function () {
 				}
 			})
 			let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-			if (userType == 1 || userType == 2|| userType == 6) {
+			if (userType == -1 || userType == 1 || userType == 2|| userType == 6) {
 				_this.getCompanyList({}, contextPathURL)
 				$('body').on("focus", '#comdId', function (event) {
 					_this.setOrgCompanyData($('#comdId'), 'comd__id', 'comd__span' , companyArr);
@@ -923,7 +923,7 @@ $(function () {
 				//查询
 				$('#conditionform  .search-btn').on('click', function () {
 					var org_Id = $("#conditionform #orgId").attr('org__id');
-					if (!org_Id&&userType!=1&&userType!=2) {
+					if (!org_Id&&userType!=1&&userType!=2&&userType != -1) {
 						layer.msg('请选择项目')
 						return;
 					}

+ 3 - 3
src/main/webapp/scripts/admin/notice/noticeEmailVerify.js

@@ -489,7 +489,7 @@ $(function() {
 				$("#conditionform select").val("")
 
 				let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-				if (userType == 1 || userType == 2|| userType == 6) {
+				if (userType == -1 || userType == 1 || userType == 2|| userType == 6) {
 					$("#conditionform input").val("");
 					$('#comdId').val(companyArr[0].label).attr('comd__id', companyArr[0].value).attr('meetCode', companyArr[0].meetCode);
 					companyId = $("#conditionform #comdId").attr('comd__id');
@@ -513,7 +513,7 @@ $(function() {
 			});
 
 			let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-			if (userType == 1 || userType == 2|| userType == 6) {
+			if (userType == -1 || userType == 1 || userType == 2|| userType == 6) {
 				_this.getCompanyList({}, contextPathURL)
 				$('body').on("focus", '#comdId', function (event) {
 					_this.setOrgCompanyData($('#comdId'), 'comd__id', 'comd__span' , companyArr);
@@ -1137,7 +1137,7 @@ $(function() {
 				//查询
 				$('#conditionform  .search-btn').on('click', function() {
 					var org_Id = $("#conditionform #orgId").attr('org__id');
-					if (!org_Id&&userType!=1&&userType!=2) {
+					if (!org_Id&&userType!=1&&userType!=2&&userType != -1) {
 						layer.msg('请选择项目')
 						return;
 					}

+ 3 - 3
src/main/webapp/scripts/admin/notice/noticeMsgVerify.js

@@ -359,7 +359,7 @@ $(function() {
 				$("#conditionform select").val("")
 
 				let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-				if (userType == 1 || userType == 2|| userType == 6) {
+				if (userType == -1 || userType == 1 || userType == 2|| userType == 6) {
 					$("#conditionform input").val("");
 					$('#comdId').val(companyArr[0].label).attr('comd__id', companyArr[0].value).attr('meetCode', companyArr[0].meetCode);
 					companyId = $("#conditionform #comdId").attr('comd__id');
@@ -378,7 +378,7 @@ $(function() {
 			});
 
 			let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-			if (userType == 1 || userType == 2|| userType == 6) {
+			if (userType == -1 || userType == 1 || userType == 2|| userType == 6) {
 				_this.getCompanyList({}, contextPathURL)
 				$('body').on("focus", '#comdId', function (event) {
 					_this.setOrgCompanyData($('#comdId'), 'comd__id', 'comd__span' , companyArr);
@@ -862,7 +862,7 @@ $(function() {
 				//查询
 				$('#conditionform  .search-btn').on('click', function() {
 					var org_Id = $("#conditionform #orgId").attr('org__id');
-					if (!org_Id&&userType!=1&&userType!=2) {
+					if (!org_Id&&userType!=1&&userType!=2&&userType != -1) {
 						layer.msg('请选择项目')
 						return;
 					}

+ 3 - 3
src/main/webapp/scripts/admin/notice/noticeWxVerify.js

@@ -132,7 +132,7 @@ $(function () {
 				$("#conditionform select").val("")
 
 				let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-				if (userType == 1 || userType == 2|| userType == 6) {
+				if (userType == -1||userType == 1 || userType == 2|| userType == 6) {
 					$("#conditionform input").val("");
 					$('#comdId').val(companyArr[0].label).attr('comd__id', companyArr[0].value).attr('meetCode', companyArr[0].meetCode);
 					companyId = $("#conditionform #comdId").attr('comd__id');
@@ -145,7 +145,7 @@ $(function () {
 			})
 
 			let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
-			if (userType == 1 || userType == 2|| userType == 6) {
+			if (userType == -1||userType == 1 || userType == 2|| userType == 6) {
 				_this.getCompanyList({}, contextPathURL)
 				$('body').on("focus", '#comdId', function (event) {
 					_this.setOrgCompanyData($('#comdId'), 'comd__id', 'comd__span' , companyArr);
@@ -537,7 +537,7 @@ $(function () {
 				//查询
 				$('#conditionform  .search-btn').on('click', function () {
 					var org_Id = $("#conditionform #orgId").attr('org__id');
-					if (!org_Id&&userType!=1&&userType!=2) {
+					if (!org_Id&&userType!=1&&userType!=2&&userType != -1) {
 						layer.msg('请选择项目')
 						return;
 					}