瀏覽代碼

update servie

luke 6 年之前
父節點
當前提交
f5180df230

+ 2 - 2
service/config/index.js

@@ -12,8 +12,8 @@ module.exports = {
     assetsPublicPath: '/',
     proxyTable: {
       '/api': {
-        target: 'http://103.108.43.176:8080', // 后台访问地址
-        //target:'http://192.168.2.186:8090', // 后台访问地址http://192.168.2.186:8090
+         //target: 'http://103.108.43.176:8080', // 后台访问地址
+        target:'http://192.168.2.186:8090', // 后台访问地址http://192.168.2.186:8090
         // changeOrigin: true,
         pathRewrite: {
           '^/api': ''

+ 2 - 2
service/src/App.vue

@@ -27,8 +27,8 @@ export default {
     //初始化weosocket
     initWebSocket(apiToken) {
       // 书写接口信息
-      const wsuri = "ws://103.108.43.176:9101?apiToken=" + apiToken;//www.service.com 线上
-      //const wsuri = "ws://192.168.2.186:9101?apiToken=" + apiToken;//www.service.com //192.168.2.186 本地
+      //const wsuri = "ws://103.108.43.176:9101?apiToken=" + apiToken;//www.service.com 线上
+      const wsuri = "ws://192.168.2.186:9101?apiToken=" + apiToken;//www.service.com //192.168.2.186 本地
       // 创建websocket实例
       Vue.prototype.$websocket = new WebSocket(wsuri);
       this.$websocket.onopen = this.websocketonopen; //连接成功

+ 0 - 1
service/src/components/hader.vue

@@ -51,7 +51,6 @@
 		},
 		methods: {
 			openDrawer() {
-				// this.$emit("listenDrawer", true);
 				this.$store.dispatch("SET_DRAWER", true);
 			},
 			/**********************************************/

+ 6 - 3
service/src/components/messageCenter.vue

@@ -26,7 +26,7 @@
 							<span class="name">GFF_D345</span>
 							<span class="time">11:30:54</span>
 						</p>
-						<p>我是未读信息</p>
+						<p>我是未读信息123213213</p>
 					</li>
 				</ul>
 
@@ -129,11 +129,11 @@
 
 	.message-list {
 		margin: 0;
-
+		/* 奇数背景色 */
 		.list-item:nth-of-type(odd) {
 			background: #F6F8FF;
 		}
-
+		/* 偶数背景色 */
 		.list-item:nth-of-type(even) {
 			background: #fff;
 		}
@@ -144,6 +144,9 @@
 			p {
 				color: #666;
 				font-size: 14px;
+				overflow: hidden;
+				text-overflow:ellipsis;
+				white-space: nowrap;
 			}
 		}
 

+ 2 - 2
service/src/pages/TheCurrentSession.vue

@@ -275,8 +275,8 @@
 				conversationId:'',//会话工单
 				sessionName:'',//当前会话用户名字
 				session_user_info:{},//当前会话用户信息
-				img_http:'http://kfadmin.bocai186.com',//图片路径域
-				//img_http:'http://192.168.2.186:8090',//图片路径域
+				// img_http:'http://kfadmin.bocai186.com',//图片路径域
+				img_http:'http://192.168.2.186:8090',//图片路径域
 				fit:'scale-down',//图片渲染样式
 				is_eva_btn:true,//
 				trigger_condition:0,//评价触发条件