Quellcode durchsuchen

Merge branch 'hotfix-20181009-wangcz'

wangcz vor 7 Jahren
Ursprung
Commit
f88fde0361
33 geänderte Dateien mit 102 neuen und 103 gelöschten Zeilen
  1. 21 2
      src/main/java/com/uas/platform/b2b/model/User.java
  2. 8 25
      src/main/java/com/uas/platform/b2b/service/impl/UserServiceImpl.java
  3. 1 1
      src/main/webapp/WEB-INF/views/mobile/signin.html
  4. 13 13
      src/main/webapp/WEB-INF/views/normal/index.html
  5. 1 1
      src/main/webapp/WEB-INF/views/normal/signin.html
  6. BIN
      src/main/webapp/resources/img/home/board.jpg
  7. 2 2
      src/main/webapp/resources/tpl/index/approvalFlow/enterprise.html
  8. 2 2
      src/main/webapp/resources/tpl/index/baseInfo/customersInfo.html
  9. 2 2
      src/main/webapp/resources/tpl/index/baseInfo/inquiry_list.html
  10. 2 2
      src/main/webapp/resources/tpl/index/baseInfo/invitation.html
  11. 2 2
      src/main/webapp/resources/tpl/index/baseInfo/myRequest.html
  12. 2 2
      src/main/webapp/resources/tpl/index/baseInfo/servicerInfo.html
  13. 2 2
      src/main/webapp/resources/tpl/index/baseInfo/vendorsInfo.html
  14. 2 2
      src/main/webapp/resources/tpl/index/fa/apBill.html
  15. 2 2
      src/main/webapp/resources/tpl/index/fa/apCheck.html
  16. 2 2
      src/main/webapp/resources/tpl/index/fa/arCheck.html
  17. 4 6
      src/main/webapp/resources/tpl/index/home/right.html
  18. 2 2
      src/main/webapp/resources/tpl/index/make/accept.html
  19. 2 2
      src/main/webapp/resources/tpl/index/make/order.html
  20. 2 2
      src/main/webapp/resources/tpl/index/make/returns.html
  21. 2 2
      src/main/webapp/resources/tpl/index/purc/addOrder.html
  22. 2 2
      src/main/webapp/resources/tpl/index/purc/changeList.html
  23. 2 2
      src/main/webapp/resources/tpl/index/purc/deputyOrder.html
  24. 2 2
      src/main/webapp/resources/tpl/index/purc/inquiry_new.html
  25. 4 5
      src/main/webapp/resources/tpl/index/purc/modal/enableOrderList.html
  26. 2 2
      src/main/webapp/resources/tpl/index/purc/prodList.html
  27. 2 2
      src/main/webapp/resources/tpl/index/purc/pubInquiry_new.html
  28. 2 2
      src/main/webapp/resources/tpl/index/purc/saved_tender.html
  29. 2 2
      src/main/webapp/resources/tpl/index/purc/vendor_detail.html
  30. 2 2
      src/main/webapp/resources/tpl/index/qc/MRB.html
  31. 2 2
      src/main/webapp/resources/tpl/index/qc/badIn.html
  32. 2 2
      src/main/webapp/resources/tpl/index/qc/badOut.html
  33. 2 2
      src/main/webapp/resources/tpl/index/sale/pubinquiry.html

+ 21 - 2
src/main/java/com/uas/platform/b2b/model/User.java

@@ -443,16 +443,35 @@ public class User implements Serializable {
 	 * 设置当前登录企业的角色
 	 */
 	public void setCurrentEnterpriseRoles() {
-		if(!CollectionUtils.isEmpty(this.roles) && this.enterprise != null) {
+		if (!CollectionUtils.isEmpty(this.roles) && this.enterprise != null) {
 			Iterator<Role> iterator = this.roles.iterator();
 			Long enUU = this.enterprise.getUu();
 			while (iterator.hasNext()) {
 				Role role = iterator.next();
-				if(!role.getEnUU().equals(enUU)) {
+				if (!role.getEnUU().equals(enUU)) {
 					iterator.remove();
 				}
 			}
 		}
 	}
 
+    /**
+     * 根据enUU判断用户在当前企业的UU号
+     * @param enUU 当前企业UU
+     */
+    public void setCurrentEnterpriseRoles(Long enUU) {
+        if (null != enUU) {
+            if (!CollectionUtils.isEmpty(this.roles)) {
+                Iterator<Role> iterator = this.roles.iterator();
+                while (iterator.hasNext()) {
+                    Role role = iterator.next();
+                    if (!role.getEnUU().equals(enUU)) {
+                        iterator.remove();
+                    }
+                }
+            }
+        } else {
+            this.roles = null;
+        }
+    }
 }

+ 8 - 25
src/main/java/com/uas/platform/b2b/service/impl/UserServiceImpl.java

@@ -51,6 +51,7 @@ import java.util.Map;
 import java.util.Set;
 
 /**
+ * @author US50
  * @since 2016-9-26 21:18:35 账户中心统一管理;部分功能保留,但转移到v2目录
  * @see com.uas.platform.b2b.v2.service.impl.UserServiceImpl
  * 
@@ -304,19 +305,10 @@ public class UserServiceImpl implements UserService {
 	@Override
 	public SPage<User> findByPageInfo(PageInfo pageInfo, String keyword) {
 		Page<User> users = getUsersByPage(pageInfo, keyword);
+		Long enUU = SystemSession.getUser().getEnterprise().getUu();
 		if (!CollectionUtils.isEmpty(users.getContent())) {
 			for (User user : users.getContent()) {
-				Set<Role> roles = user.getRoles();
-				Long enuu = SystemSession.getUser().getEnterprise().getUu();
-				if (!CollectionUtils.isEmpty(roles)) {
-					Iterator<Role> iterator = roles.iterator();
-					while (iterator.hasNext()) {
-						Role role = iterator.next();
-						if (!role.getEnUU().equals(enuu)) {
-							iterator.remove();
-						}
-					}
-				}
+			    user.setCurrentEnterpriseRoles(enUU);
 			}
 		}
 		return SPageUtils.covertSPage(users);
@@ -371,7 +363,8 @@ public class UserServiceImpl implements UserService {
     @Override
     public List<User> findByUserUUList(List<Long> userUUList) {
         List<User> users = userDao.findAll(userUUList);
-        users.forEach(user -> user.setCurrentEnterpriseRoles());
+        Long enUU = SystemSession.getUser().getEnterprise().getUu();
+        users.forEach(user -> user.setCurrentEnterpriseRoles(enUU));
         return users;
     }
 
@@ -635,17 +628,7 @@ public class UserServiceImpl implements UserService {
 		userSet.addAll(userDao.findUserByUserNameAndEnUU(keyword, enUU));
 		if (!CollectionUtils.isEmpty(userSet)) {
 			for (User user : users) {
-				Set<Role> roles = user.getRoles();
-				Long enuu = SystemSession.getUser().getEnterprise().getUu();
-				if (!CollectionUtils.isEmpty(roles)) {
-					Iterator<Role> iterator = roles.iterator();
-					while (iterator.hasNext()) {
-						Role role = iterator.next();
-						if (!role.getEnUU().equals(enuu)) {
-							iterator.remove();
-						}
-					}
-				}
+				user.setCurrentEnterpriseRoles(enUU);
 			}
 		}
 		return userSet;
@@ -681,7 +664,7 @@ public class UserServiceImpl implements UserService {
 		}
 		Set<Enterprise> enterprises = user.getEnterprises();
 		if (CollectionUtils.isEmpty(enterprises)) {
-			enterprises = new HashSet<Enterprise>();
+			enterprises = new HashSet<>();
 		}
 		enterprises.add(SystemSession.getUser().getEnterprise());
 		List<Role> roles = roleDao.findByEnUUAndDesc(SystemSession.getUser().getEnterprise().getUu(), "普通用户");
@@ -710,7 +693,7 @@ public class UserServiceImpl implements UserService {
 
 		Set<Enterprise> enterprises = user.getEnterprises();
 		if (CollectionUtils.isEmpty(enterprises)) {
-			enterprises = new HashSet<Enterprise>();
+			enterprises = new HashSet<>();
 		}
 		if (enter != null) {
 			enterprises.add(enter);

+ 1 - 1
src/main/webapp/WEB-INF/views/mobile/signin.html

@@ -20,7 +20,7 @@
 var _hmt = _hmt || [];
 (function() {
   var hm = document.createElement("script");
-  hm.src = "//hm.baidu.com/hm.js?457b54f7c471179f669eb5bb6397523e";
+  hm.src = "https://hm.baidu.com/hm.js?5701b143e26c91522f816effc41f5df0";
   var s = document.getElementsByTagName("script")[0]; 
   s.parentNode.insertBefore(hm, s);
 })();

+ 13 - 13
src/main/webapp/WEB-INF/views/normal/index.html

@@ -188,19 +188,19 @@
 	<!-- body End -->
 
  <!--金控广告 -->
-<div ng-controller="AdController">
-	<div class="jinkong_bottom" ng-show="bannerShow" ng-class="{'jinkong_animation': jingKongAnmiation}"></div>
-	<div class="jinkong" ng-if="imgShow" ng-class="{'jinkong_animation': jingKongAnmiation}">
-		<div class="container">
-			<div class="img" ng-class="{'img_stater': imgAnmiation}">
-				<span class="qcrode_close close" ng-click="closeClick()">×</span>
-				<span class="close time" ng-if="!imgAnmiation">{{count}}s</span>
-				<img src="static/img/jinkong/xiaoren.png" ng-class="{'animation_xr': imgAnmiation}">
-				<img src="static/img/jinkong/qrcode.png">
-			</div>
-		</div>
-	</div>
-</div>
+<!--<div ng-controller="AdController">-->
+	<!--<div class="jinkong_bottom" ng-show="bannerShow" ng-class="{'jinkong_animation': jingKongAnmiation}"></div>-->
+	<!--<div class="jinkong" ng-if="imgShow" ng-class="{'jinkong_animation': jingKongAnmiation}">-->
+		<!--<div class="container">-->
+			<!--<div class="img" ng-class="{'img_stater': imgAnmiation}">-->
+				<!--<span class="qcrode_close close" ng-click="closeClick()">×</span>-->
+				<!--<span class="close time" ng-if="!imgAnmiation">{{count}}s</span>-->
+				<!--<img src="static/img/jinkong/xiaoren.png" ng-class="{'animation_xr': imgAnmiation}">-->
+				<!--<img src="static/img/jinkong/qrcode.png">-->
+			<!--</div>-->
+		<!--</div>-->
+	<!--</div>-->
+<!--</div>-->
  <!-- -金控广告 -->
 
 <!-- footer Start -->

+ 1 - 1
src/main/webapp/WEB-INF/views/normal/signin.html

@@ -20,7 +20,7 @@
 var _hmt = _hmt || [];
 (function() {
   var hm = document.createElement("script");
-  hm.src = "//hm.baidu.com/hm.js?457b54f7c471179f669eb5bb6397523e";
+  hm.src = "https://hm.baidu.com/hm.js?5701b143e26c91522f816effc41f5df0";
   var s = document.getElementsByTagName("script")[0]; 
   s.parentNode.insertBefore(hm, s);
 })();

BIN
src/main/webapp/resources/img/home/board.jpg


+ 2 - 2
src/main/webapp/resources/tpl/index/approvalFlow/enterprise.html

@@ -846,9 +846,9 @@
 	<div class="com_title01"><span>已开通服务</span></div>
 	<div class="pane-body">
 		<div class="row">
-			<div class="col-xs-4"><a href="http://uas.ubtob.com/#/index" class="bule" title="B2B商务平台">B2B商务平台</a></div>
+			<div class="col-xs-4"><a href="http://b2b.usoftchina.com/" class="bule" title="B2B商务平台">B2B商务平台</a></div>
 			<div class="col-xs-4"><a href="http://mall.usoftchina.com/" class="bule" target="_blank" title="优软商城">优软商城</a></div>
-			<div class="col-xs-4"><a href="http://v2.usoftchina.com/uu" class="bule" target="_blank" title="UU互联">UU互联</a></div>
+			<div class="col-xs-4"><a class="bule" title="UU互联">UU互联</a></div>
 		</div>
 	</div>
 	<div class="save-btn">

+ 2 - 2
src/main/webapp/resources/tpl/index/baseInfo/customersInfo.html

@@ -206,8 +206,8 @@
 				<td colspan="5">
 					<div id="empty">
 						<div class="left_img">
-							<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-							<a href="#/index" title="B2B商务首页">B2B 商务</a>
+							<a><img src="static/img/empty/uas_empty.png"></a>
+							<a>B2B 商务</a>
 						</div>
 						<div class="right_link">
 							<p>暂无客户信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/baseInfo/inquiry_list.html

@@ -421,8 +421,8 @@
                            </table>
                             <div id="empty" ng-if="tableParams.total() == 0">
                                 <div class="left_img">
-                                    <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                                    <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                                    <a><img src="static/img/empty/uas_empty.png"></a>
+                                    <a>B2B 商务</a>
                                 </div>
                                 <div class="right_link">
                                     <p>暂无对应的公共询价信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/baseInfo/invitation.html

@@ -194,8 +194,8 @@
 				<td colspan="5">
 					<div id="empty">
 						<div class="left_img">
-							<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-							<a href="#/index" title="B2B商务首页">B2B 商务</a>
+							<a><img src="static/img/empty/uas_empty.png"></a>
+							<a>B2B 商务</a>
 						</div>
 						<div class="right_link">
 							<p>暂无邀请记录</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/baseInfo/myRequest.html

@@ -421,8 +421,8 @@
 		<td colspan="5">
 			<div id="empty">
 				<div class="left_img">
-					<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-					<a href="#/index" title="B2B商务首页">B2B 商务</a>
+					<a><img src="static/img/empty/uas_empty.png"></a>
+					<a>B2B 商务</a>
 				</div>
 				<div class="right_link">
 					<p>暂无合作伙伴</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/baseInfo/servicerInfo.html

@@ -220,8 +220,8 @@
 				<td colspan="5">
 					<div id="empty">
 						<div class="left_img">
-							<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-							<a href="#/index" title="B2B商务首页">B2B 商务</a>
+							<a><img src="static/img/empty/uas_empty.png"></a>
+							<a>B2B 商务</a>
 						</div>
 						<div class="right_link">
 							<p>暂无服务商信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/baseInfo/vendorsInfo.html

@@ -222,8 +222,8 @@
 				<td colspan="5">
 					<div id="empty">
 						<div class="left_img">
-							<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-							<a href="#/index" title="B2B商务首页">B2B 商务</a>
+							<a><img src="static/img/empty/uas_empty.png"></a>
+							<a>B2B 商务</a>
 						</div>
 						<div class="right_link">
 							<p>暂无供应商信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/fa/apBill.html

@@ -205,8 +205,8 @@
 		<td colspan="6">
 			<div id="empty">
 				<div class="left_img">
-					<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-					<a href="#/index" title="B2B商务首页">B2B 商务</a>
+					<a><img src="static/img/empty/uas_empty.png"></a>
+					<a>B2B 商务</a>
 				</div>
 				<div class="right_link">
 					<p>暂无对应的发票信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/fa/apCheck.html

@@ -320,8 +320,8 @@
 			<td colspan="6">
 				<div id="empty">
 					<div class="left_img">
-						<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-						<a href="#/index" title="B2B商务首页">B2B 商务</a>
+						<a><img src="static/img/empty/uas_empty.png"></a>
+						<a>B2B 商务</a>
 					</div>
 					<div class="right_link">
 						<p ng-if="active != 'all'">您还未生成对账单,请立即新增对账!</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/fa/arCheck.html

@@ -210,8 +210,8 @@
 			<td colspan="6">
 				<div id="empty">
 					<div class="left_img">
-						<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-						<a href="#/index" title="B2B商务首页">B2B 商务</a>
+						<a><img src="static/img/empty/uas_empty.png"></a>
+						<a>B2B 商务</a>
 					</div>
 					<div class="right_link">
 						<p>暂无对应的对账单信息</p>

+ 4 - 6
src/main/webapp/resources/tpl/index/home/right.html

@@ -282,9 +282,9 @@
 		<div class="border01 todo-content" ng-controller="TodoCtrl">
 			<!--工作台导航-->
 			<div class="toto-menu">
-				<div class="advertising">
-					<img src="static/img/jinkong/flag.gif">
-				</div>
+				<!--<div class="advertising">-->
+					<!--<img src="static/img/jinkong/flag.gif">-->
+				<!--</div>-->
 				<div class="menu01 row">
 					<div class="header"><img src="static/img/home/xiaoshou.png" alt=""/>销售</div>
 					<div class="content">
@@ -574,9 +574,7 @@
 			<!-- 轮播(Carousel)项目 -->
 			<div class="carousel-inner">
 				<div class="item active">
-					<a href="http://www.yitoa-fintech.com/" target="_blank">
-						<img src="static/img/home/jingkong.png" alt="First slide" >
-					</a>
+					<img src="static/img/home/board.jpg" alt="First slide" >
 				</div>
 				<!-- <div class="item">
 					<img src="static/img/home/UU.png" alt="Second slide">

+ 2 - 2
src/main/webapp/resources/tpl/index/make/accept.html

@@ -290,8 +290,8 @@
 			<td colspan="6">
 				<div id="empty">
 					<div class="left_img">
-						<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-						<a href="#/index" title="B2B商务首页">B2B 商务</a>
+						<a><img src="static/img/empty/uas_empty.png"></a>
+						<a>B2B 商务</a>
 					</div>
 					<div class="right_link">
 						<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/make/order.html

@@ -423,8 +423,8 @@
 		<td colspan="6">
 			<div id="empty">
 				<div class="left_img">
-					<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-					<a href="#/index" title="B2B商务首页">B2B 商务</a>
+					<a><img src="static/img/empty/uas_empty.png"></a>
+					<a>B2B 商务</a>
 				</div>
 				<div class="right_link">
 					<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/make/returns.html

@@ -273,8 +273,8 @@
 			<td colspan="6">
 				<div id="empty">
 					<div class="left_img">
-						<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-						<a href="#/index" title="B2B商务首页">B2B 商务</a>
+						<a><img src="static/img/empty/uas_empty.png"></a>
+						<a>B2B 商务</a>
 					</div>
 					<div class="right_link">
 						<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/addOrder.html

@@ -264,8 +264,8 @@
 						<td colspan="5">
 							<div id="empty">
 								<div class="left_img">
-									<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-									<a href="#/index" title="B2B商务首页">B2B 商务</a>
+									<a><img src="static/img/empty/uas_empty.png"></a>
+									<a>B2B 商务</a>
 								</div>
 								<div class="right_link">
 									<p ng-if="tip != null">搜索"{{tip}}"未找到产品信息,请重新输入搜索条件</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/changeList.html

@@ -386,8 +386,8 @@
 		<td colspan="6">
 			<div id="empty">
 				<div class="left_img">
-					<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-					<a href="#/index" title="B2B商务首页">B2B 商务</a>
+					<a><img src="static/img/empty/uas_empty.png"></a>
+					<a>B2B 商务</a>
 				</div>
 				<div class="right_link">
 					<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/deputyOrder.html

@@ -320,8 +320,8 @@
                 <td colspan="4">
                     <div id="empty">
                         <div class="left_img">
-                            <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                            <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                            <a><img src="static/img/empty/uas_empty.png"></a>
+                            <a>B2B 商务</a>
                         </div>
                         <div class="right_link">
                             <p>暂无对应的订单信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/inquiry_new.html

@@ -1166,8 +1166,8 @@
                 <td colspan="5" style="border-bottom: 1px solid transparent">
                     <div id="empty">
                         <div class="left_img">
-                            <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                            <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                            <a><img src="static/img/empty/uas_empty.png"></a>
+                            <a>B2B 商务</a>
                         </div>
                         <div class="right_link">
                             <p ng-if="tip != null">搜索"{{tip}}"未找到产品信息,请重新输入搜索条件</p>

+ 4 - 5
src/main/webapp/resources/tpl/index/purc/modal/enableOrderList.html

@@ -184,9 +184,8 @@
                 <td colspan="6">
                     <div id="empty">
                         <div class="left_img">
-                            <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img
-                                    src="static/img/empty/uas_empty.png"></a>
-                            <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                            <a><img src="static/img/empty/uas_empty.png"></a>
+                            <a>B2B 商务</a>
                         </div>
                         <div class="right_link">
                             <p>当前没有对应的采购订单!</p>
@@ -212,8 +211,8 @@
                             <div class="info">
                                 <p>3、您的供应商正在使用旧版本的UAS商务平台<br>
                                     解决:我们仍有部分用户在使用旧版本UAS商务平台系统,你可以用您的企业UU号和管理员个人UU号
-                                    <a href="http://www.usoftchina.com" class="text-bold text-link"
-                                       title="http://www.usoftchina.com" target="_blank">登陆旧版本UAS商务平台</a>
+                                    <a href="http://uas.usoftchina.com" class="text-bold text-link"
+                                       title="http://uas.usoftchina.com" target="_blank">登陆旧版本UAS商务平台</a>
                                 </p>
                             </div>
                         </div>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/prodList.html

@@ -287,8 +287,8 @@
         </table>
         <div id="empty" ng-if="tableParams.total() == 0">
             <div class="left_img">
-                <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                <a><img src="static/img/empty/uas_empty.png"></a>
+                <a>B2B 商务</a>
             </div>
             <div class="right_link">
                 <p>暂无对应的物料信息</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/pubInquiry_new.html

@@ -1132,8 +1132,8 @@ select.disabled {
                 <td colspan="7" style="border-bottom: none;">
                     <div id="empty">
                         <div class="left_img">
-                            <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                            <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                            <a><img src="static/img/empty/uas_empty.png"></a>
+                            <a>B2B 商务</a>
                         </div>
                         <div class="right_link">
                             <p ng-if="tip != null">搜索"{{tip}}"未找到产品信息,请重新输入搜索条件</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/saved_tender.html

@@ -1063,8 +1063,8 @@
         </table>
         <div id="empty" ng-if="tableParams.total() == 0">
             <div class="left_img">
-                <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                <a><img src="static/img/empty/uas_empty.png"></a>
+                <a>B2B 商务</a>
             </div>
             <div class="right_link">
                 <p ng-if="tip != null">搜索"{{tip}}"未找到产品信息,请重新输入搜索条件</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/purc/vendor_detail.html

@@ -127,8 +127,8 @@
                     <td colspan="5">
                         <div id="empty">
                             <div class="left_img">
-                                <a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-                                <a href="#/index" title="B2B商务首页">B2B 商务</a>
+                                <a><img src="static/img/empty/uas_empty.png"></a>
+                                <a>B2B 商务</a>
                             </div>
                             <div class="right_link">
                                 <p ng-if="tip != null">搜索"{{tip}}"未找到产品信息,请重新输入搜索条件</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/qc/MRB.html

@@ -303,8 +303,8 @@
 		<td colspan="6">
 			<div id="empty">
 				<div class="left_img">
-					<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-					<a href="#/index" title="B2B商务首页">B2B 商务</a>
+					<a><img src="static/img/empty/uas_empty.png"></a>
+					<a>B2B 商务</a>
 				</div>
 				<div class="right_link">
 					<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/qc/badIn.html

@@ -271,8 +271,8 @@
 			<td colspan="6">
 				<div id="empty">
 					<div class="left_img">
-						<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-						<a href="#/index" title="B2B商务首页">B2B 商务</a>
+						<a><img src="static/img/empty/uas_empty.png"></a>
+						<a>B2B 商务</a>
 					</div>
 					<div class="right_link">
 						<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/qc/badOut.html

@@ -272,8 +272,8 @@
 		<td colspan="6">
 			<div id="empty">
 				<div class="left_img">
-					<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-					<a href="#/index" title="B2B商务首页">B2B 商务</a>
+					<a><img src="static/img/empty/uas_empty.png"></a>
+					<a>B2B 商务</a>
 				</div>
 				<div class="right_link">
 					<p>暂无对应的单据</p>

+ 2 - 2
src/main/webapp/resources/tpl/index/sale/pubinquiry.html

@@ -339,8 +339,8 @@
 			<td colspan="6">
 				<div id="empty">
 					<div class="left_img">
-						<a href="http://www.usoftchina.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
-						<a href="#/index" title="B2B商务首页">B2B 商务</a>
+						<a><img src="static/img/empty/uas_empty.png"></a>
+						<a>B2B 商务</a>
 					</div>
 					<div class="right_link">
 						<p>当前没有对应的客户询价单!</p>