Harley 6 éve
szülő
commit
2d1d8a695b

+ 5 - 0
chat/index.html

@@ -15,6 +15,11 @@
 	<!--<link rel ="shortcut icon" type="image/x-icon" href="static/logo.gif"> -->
 	<title>智能客服系统</title>
 </head>
+<!-- <script src="./url_config.js"></script> -->
+<script>
+	window.url_https_ajax = 'https://manage.281570.com';
+	window.url_https_wss = 'link.281570.com';
+</script>
 <body>
 <div id="app"></div>
 <!-- built files will be auto injected -->

+ 1 - 1
chat/src/api/https.js

@@ -3,7 +3,7 @@ import $qs from 'qs';
 // 请求超时时间
 axios.defaults.timeout = 10000
 // 线上
-let Base = 'https://manage.281570.com'
+let Base = window.url_https_ajax;
 // 开发
 //let Base = 'https://sports.5gogo.com'
 function headerUrl (url) {

+ 3 - 2
chat/src/components/index.vue

@@ -507,7 +507,7 @@
 				problem: [],//机器人问题
 				welcome: [],//欢迎语
 				advertisement: '', //广告
-				img_http: 'https://manage.281570.com',//图片路径域
+				img_http: '',//图片路径域
 				//img_http:'http://192.168.2.186:8090',//图片路径域
 
 				robot: [],//和机器人聊天临时数据
@@ -608,7 +608,7 @@
 			//初始化Websocket链接
 			initWebSocket(apiToken) {
 				let sock_ip = ''; // 线上
-				this.websock = new WebSocket("wss://link.281570.com?apiToken=" + apiToken);
+				this.websock = new WebSocket("wss://"+window.url_https_wss+"?apiToken=" + apiToken);
 				//数据返回
 				this.websock.onmessage = this.socket_message;
 				//数据发送
@@ -1554,6 +1554,7 @@
 		 * 视图挂载前
 		 */
 		mounted() {
+			this.img_http = window.url_https_ajax;
 			this.source.appuid = this.$public.getQueryString('appuid');//用户标识
 			this.source.appid = this.$public.getQueryString('appid');//用户来源
 			this.frceArr = frce.frce;

+ 2 - 1
chat/src/components/knowledgeLibrary.vue

@@ -231,7 +231,7 @@
 				pages: 1,
 				imgs: [],
 				imgss: [],
-				url: 'https://manage.281570.com', // 域名地址
+				url: '', // 域名地址
 				fileList: [],
 				filesImg: '',
 				showImg: false,
@@ -449,6 +449,7 @@
 			}
 		},
 		mounted() {
+			this.url = window.url_https_wss
 			this.getAjaxType()
 			this.getAjax(1);
 		}

+ 5 - 0
pc_chat/index.html

@@ -8,6 +8,11 @@
 	<!-- <link rel ="shortcut icon" type="image/x-icon" href="static/logo.gif">-->
 	<title>智能客服系统</title>
 </head>
+<script src="./url_config.js"></script>
+<!-- <script>
+	window.url_https_ajax = 'https://manage.281570.com';
+	window.url_https_wss = 'link.281570.com';
+</script> -->
 <body>
 <div id="app"></div>
 <!-- built files will be auto injected -->

+ 1 - 1
pc_chat/src/api/http.js

@@ -4,7 +4,7 @@ import qs from 'qs'  // 序列化字符串
 // 请求超时时间
 axios.defaults.timeout = 10000
 // 线上
-let Base = 'https://manage.281570.com'
+let Base = window.url_https_ajax
 // 开发
 // let Base = ''
 function headerUrl(url) {

+ 9 - 8
pc_chat/src/components/chat.vue

@@ -601,7 +601,7 @@
 				userConversation: {}, //用户当前会话
 				machineAndAtl: 10, //默认为机器人,100为人工
 				satisfaction: 1, //评价满意度,1为满意,2为一般,3为不满意
-				url: 'https://manage.281570.com', // 域名地址
+				url: '', // 域名地址
 				user_info: '', // 用户信息
 				// 人工客服信息
 				service: '',
@@ -761,7 +761,7 @@
 			upImg(formData) {
 				let self = this;
 				// 数据结构请求
-				this.$axios.post('/api/index/upload/uploadImg', formData).then(res => {
+				this.$http.post('/index/upload/uploadImg', formData).then(res => {
 					// console.log(res.data.data)
 					// console.log(res.data.data.src);
 					let str = this.information;
@@ -1114,7 +1114,7 @@
 			changeService() {
 				this.nloding("加载人工客服列表请等待");
 				// if(!this.isConnection) return
-				this.$axios.post('/api/index/groups/index', {}, {
+				this.$http.post('/index/groups/index', {}, {
 					headers: {
 						'Content-Type': 'application/x-www-form-urlencoded',
 						'apiToken': this.setApiToken('index', 'groups', 'index')
@@ -1160,7 +1160,7 @@
 
 			/***************获取热点智能问题*************** */
 			getProblem() {
-				this.$axios.post('/api/index/robot/index', {groups_id: 1, robotgroups_id: 1}, {
+				this.$http.post('/index/robot/index', {groups_id: 1, robotgroups_id: 1}, {
 					headers: {
 						'Content-Type': 'application/x-www-form-urlencoded',
 						'apiToken': this.setApiToken('index', 'robot', 'index')
@@ -1174,7 +1174,7 @@
 
 			/*****************获取聊天次数*******************/
 			getChatNum() {
-				this.$axios.post('/api/index/evaluate/minRound', '', {
+				this.$http.post('/index/evaluate/minRound', '', {
 					headers: {
 						'Content-Type': 'application/x-www-form-urlencoded',
 						'apiToken': this.setApiToken('minround', 'evaluate', 'index')
@@ -1208,7 +1208,7 @@
 			initWebSocket() {
 				let _this = this;
 				let apiToken = this.$md5.hex_md5('customer-service' + window.location.origin);
-				this.websock = new WebSocket('wss://link.281570.com?apiToken=' + apiToken);
+				this.websock = new WebSocket('wss://'+window.url_https_wss+'?apiToken=' + apiToken);
 				// console.log(this.websock)
 				this.websock.debug = true;
 				// 数据接收
@@ -1799,7 +1799,7 @@
 				let data = {
 					userToken: ''
 				}
-				this.$axios.post('/api/index/index/sensitiveWords', '', obj).then(res => {
+				this.$http.post('/index/index/sensitiveWords', '', obj).then(res => {
 					if (res.data.code == 1) {
 						// console.log(res.data.data);
 						res.data.data.userSensitive.forEach(res => {
@@ -1827,8 +1827,9 @@
 		/**************页面加载中挂载**************** */
 		mounted() {
 			let self = this;
+			this.url = window.url_https_ajax;
 			this.frceArr = frce.frce;
-			this.$axios.get('api/index/index/systime?t=' + new Date()).then(res => {
+			this.$http.get('/index/index/systime?t=' + new Date()).then(res => {
 				if (res.data.code == 1) {
 					// 获取系统时间
 					let date = res.data.data.time.split(" ");

+ 18 - 16
pc_chat/src/components/leaveMsg.vue

@@ -50,6 +50,7 @@
 						<label for="">
 							<span>您的留言信息</span>
 							<span class="star"> *</span>
+							<span style="color: #969696;font-size: 12px;">(输入的留言信息不能少于10字)</span>
 						</label>
 						<el-input maxlength="120"  show-word-limit type="textarea" @blur="widthCheck($event.target, 100)" placeholder="比赛中遇到作弊怎么办?"
 								  v-model.trim="leaveInfor"></el-input>
@@ -127,18 +128,16 @@
 				} else if (this.leaveInfor == '') {
 					this.$message.error('请填写留言信息!');
 				} else {
-					// 手动上传
-					this.isUpImg = true;
-					this.isSub = true;
-					this.$refs.upload.submit();
-					let _this = this;
-					this.imgNum = 0;
-				
-
-					// setTimeout(function () {
-					// 	// console.log(this.imgUrl,"上传的图片")
-			
-					// }, 1500)
+					if(this.fileList.length == 0){
+						this.subData()
+					}else{
+						// 手动上传
+						this.isUpImg = true;
+						this.isSub = true;
+						this.$refs.upload.submit();
+						let _this = this;
+						this.imgNum = 0;
+					}
 				}
 			},
 
@@ -155,13 +154,13 @@
 					'file': this.imgUrl,
 					'account_id': uid,
 				}
-				this.$axios.post('/api/index/User/LeavingMessage', params).then(res => {
+				this.$http.post('/index/User/LeavingMessage', params).then(res => {
 					if (res.data.code == 1) {
 						this.$message.success('留言成功')
 						this.$emit('value', 10);
-						//this.$refs.upload.clearFiles();
 						this.fileList =[];
 						this.isSub = false;
+						//this.$refs.upload.clearFiles();
 					}
 				})
 			},
@@ -170,8 +169,11 @@
 			widthCheck(str, len) {
 				var temp = 0
 				for (var i = 0; i < str.value.length; i++) {
-					if (str.value.length < 4) {
-						str.value = ''
+					if (str.value.length < 10) {
+						this.$message.error('不能少于10个字')
+						str.value = '';
+						this.leaveInfor = '';
+
 					}
 				}
 			},

+ 10 - 5
pc_chat/src/components/ledgeBase.vue

@@ -125,7 +125,7 @@
 				imgss: [],
 				showimgs:false,
 				showimgss:false,
-				url: 'https://manage.281570.com', // 域名地址
+				url: '', // 域名地址
 				pages: 1,
 				optionCont: "",
 				ledgedata: {}
@@ -176,8 +176,12 @@
 					pageSize: size,
 					pageNumber: page,
 				}
-
-				this.$axios.post('/api/index/Message/index', this.ledgedata).then(res => {
+				let loading = this.$loading({
+					lock: true,
+					text: '数据加载中...',
+					spinner: 'el-icon-loading',
+				});
+				this.$http.post('/index/Message/index', this.ledgedata).then(res => {
 					if (res.data.status === 1) {
 						this.imgs = []
 						this.imgss = []
@@ -205,7 +209,7 @@
 						this.knowLedgeBase.length > 0 ? this.noBase = true : this.noBase = false;
 
 					}
-
+					loading.close();
 				})
 			},
 			// 查询数据
@@ -220,8 +224,9 @@
 			}
 		},
 		mounted() {
+			this.url = window.url_https_ajax
 			this.activity = '1';
-			this.$axios.post('/api/index/Message/type').then(res => {
+			this.$http.post('/index/Message/type').then(res => {
 				if (res.data.status === 1) {
 					this.problemType = res.data.data;
 					let optionCont = '';

+ 3 - 3
pc_chat/src/main.js

@@ -8,9 +8,9 @@ import 'element-ui/lib/theme-chalk/index.css';
 import publicMethods from './assets/publicMethods';
 import md5 from '../static/md5';
 Vue.use(ElementUI);
-//  引入api
-import axios from 'axios' // 接口封装,请求拦截
-Vue.prototype.$axios = axios;
+// //  引入api
+// import axios from 'axios' // 接口封装,请求拦截
+// Vue.prototype.$axios = axios;
 Vue.prototype.$http = http;
 Vue.prototype.$md5 = md5;
 Vue.prototype.$public = publicMethods;

+ 10 - 2
service/index.html

@@ -3,15 +3,23 @@
   <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
-   <!-- <link rel ="shortcut icon" type="image/x-icon" href="static/logo.gif"> -->
+    <!-- <link rel ="shortcut icon" type="image/x-icon" href="static/logo.gif"> -->
 	  <title>智能客服系统</title>
   </head>
+  <!-- <script src="/url_config.js"></script> -->
+  <script>
+      window.url_https_ajax = 'https://manage.281570.com';
+      window.url_https_wss = 'link.281570.com';
+  </script>
   <body>
     <div id="app"></div>
     <!-- built files will be auto injected -->
   </body>
+ 
   <script>
-  	let name = getQueryString('pid');
+    let name = getQueryString('pid');
+    // 
+    
     // if(unescape(name) != "这就是一个编码没有什么用啊"){
     //   document.getElementById("app").remove();
     //   var parent = document.body;

+ 1 - 1
service/src/App.vue

@@ -28,7 +28,7 @@
 			//初始化weosocket
 			initWebSocket(apiToken) {
 				// 书写接口信息
-				const wsuri = "wss://link.281570.com?apiToken=" + apiToken;//www.service.com 线上
+				const wsuri = "wss://"+window.url_https_wss+"?apiToken=" + apiToken;//www.service.com 线上
 				// 创建websocket实例
 				Vue.prototype.$websocket = new WebSocket(wsuri);
 				this.$websocket.onopen = this.websocketonopen; //连接成功

+ 2 - 2
service/src/api/http.js

@@ -4,9 +4,9 @@ import qs from 'qs'  // 序列化字符串
 // 请求超时时间
 axios.defaults.timeout = 10000
 // 线上
-let Base = 'https://manage.281570.com'
+let Base = window.url_https_ajax;
 // 开发
-//let Base = 'http://sports.5gogo.com'
+// let Base = 'https://manage.281570.com'
 function headerUrl (url) {
 	url = Base +  url
 	return url

+ 18 - 11
service/src/components/hader.vue

@@ -161,7 +161,7 @@
 				user_info: '',//
 				userID:null,
 				unreadNum:null, // 未读数量
-				img_http:'https://manage.281570.com',//图片路径域
+				img_http:'',//图片路径域
 				innerDrawer:false,//会话总览抽屉开关
 				dataTree: [],
 				defaultProps: {
@@ -176,16 +176,16 @@
 				session_litle:'',//会话标题
 				newTime:'',//本次最新时间
 				isGetList:false,//点击获取会话信息
-
 				dialogVisible: false, //图片放大
 				dialogImageUrl: '', // 放大的图片
-
 				serverList:[],
 				get_num:'',
+				loadingobj:{},//
 			}
 		},
 
 		mounted() {
+        	this.img_http = window.url_https_ajax;
 			if (this.$store.getters.get_stateValue) {
 				this.value = this.$store.getters.get_stateValue;
 			}
@@ -304,11 +304,15 @@
 					if(this.isGetList) return false
 					clearInterval(this.ession_int);
 					this.servicelog = data;
-					console.log(this.servicelog)
+					// console.log(this.servicelog)
 					this.init();
 					this.get_session_lise();
+					this.loadingobj = this.$loading({
+						lock: true,
+						text: '拼命加载中...',
+						spinner: 'el-icon-loading',
+					});
 					this.ession_int = setInterval(()=>{
-						Loading.service({text:'拼命加载中',background:'rgba(0, 0, 0, 0.8)'});
 						this.get_session_lise(this.newTime,10000);
 					},1000*5)
 				}
@@ -329,7 +333,12 @@
 				if(this.innerDrawer) return false;
 				this.innerDrawer = true;
 				setTimeout(()=>{
-					Loading.service({text:'拼命加载中',background:'rgba(0, 0, 0, 0.8)'});
+					// Loading.service({text:'拼命加载中',background:'rgba(0, 0, 0, 0.8)'});
+					this.loadingobj = this.$loading({
+						lock: true,
+						text: '拼命加载中...',
+						spinner: 'el-icon-loading',
+					});
 					let obj = {
 						headers: {
 							apiToken: this.$md5("allconversation" + "customer-service" + "history" + "service"),
@@ -337,6 +346,7 @@
 						}
 					};
 					this.$http.post(this.$ports.overview.allConversation,'',obj).then(res => {
+						this.loadingobj.close()
 						if(res.data.code === 1){
 							// console.log('会话',res.data)
 							this.dataTree = res.data.data;
@@ -358,11 +368,10 @@
 										if (step == true) {
 											this.init();
 										}
-
 									}
 								});
 							},1000*60);
-							Loading.service().close()
+							
 						}
 					});
 				},200)
@@ -405,10 +414,8 @@
 							e.content.text = this.$public.turnFace(e.content.text,this.$frce);
 							this.dataList.push(e)
 						});
-						if( type ==10000){
-							Loading.service().close()
-						}
 					}
+					this.loadingobj.close()
 				});
 			},
 

+ 2 - 1
service/src/components/historicalRecord.vue

@@ -132,12 +132,13 @@ export default {
             dataList:[],//会话记录
             alarm:'',//评价谢谢
             account:'',//用户信息
-            imgsrc:'https://manage.281570.com',//图片路径域 
+            imgsrc:'',//图片路径域 
             isShowBt:false,//显示加载按钮
             currentPage:'',//当前页数
         }
     },
     mounted() {
+        this.imgsrc = window.url_https_ajax;
         if(typeof this.$store.getters.get_user_info  != 'string'){
             this.token = this.$store.getters.get_user_info.token;
         }else if(this.$store.getters.get_user_info!= ""){

+ 2 - 1
service/src/components/leftNav.vue

@@ -32,7 +32,7 @@
 				megnum: 0,
 				showMeg: false,
 				logo: '',
-				img_http: 'https://manage.281570.com',//图片路径域
+				img_http: '',//图片路径域
 				titleActive: "TheCurrentSession",
 				data: [
 					{
@@ -101,6 +101,7 @@
 			}
 		},
 		mounted() {
+        	this.img_http = window.url_https_ajax;
 			this.titleActive = this.$store.getters.get_navState;
 			this.logo = sessionStorage.getItem('logo');
 			this.showMeg = this.$store.getters.get_meg;

+ 2 - 1
service/src/components/messageCenter.vue

@@ -1,4 +1,4 @@
-<template>
+   <template>
 	<!-- 消息中心 -->
 	<el-drawer
 			:close-on-press-escape="true"
@@ -178,6 +178,7 @@
 					user_id: this.userID
 				},obj).then(res => {
 					// console.log(res)
+					this.unreadListOne = {}
 					if(res.data.code === 1){
 						// console.log("未读",res.data.data);
 						this.unreadList = res.data.data;

+ 12 - 14
service/src/pages/FastReply.vue

@@ -38,7 +38,7 @@
 
 							<!-- 私有库列表 -->
 							<div class="list row" v-for="(item) in ReplyArr" :key="item.id">
-								<div style="width:100%;" class="row item-center allAlignment">
+								<div  class="row item-center allAlignment">
 									<div class="row">
 										<span class="ellipsis"
 											  style="display:block;max-width:100px;">#{{item.title}}</span>
@@ -48,8 +48,7 @@
 										>{{item.content}}</span>
 									</div>
 									<div class="fnc">
-										<i class="el-icon-edit-outline hover" style="margin-right:15px;"
-										   @click="popUpChange(item)"></i>
+										<i class="el-icon-edit-outline hover" @click="popUpChange(item)"></i>
 										<i class="el-icon-delete hover" @click="clickDel(item.id)"></i>
 									</div>
 								</div>
@@ -94,14 +93,13 @@
 											</div>
 										</el-checkbox>
 
-										<el-checkbox name="type" :label="item.id" v-for="(item,index) in ReplyArr"
-													 :key="index">
+										<el-checkbox name="type" :label="item.id" v-for="(item,index) in ReplyArr" :key="index">
 											<div class="row" style="width:100%;height:100%;">
-												<div style="color:#666;color:#666;width:100%; position: relative;">
+												<div class="row" style="color:#666;color: position: relative;">
 													<!-- style="width:50px;" -->
-													<p class="ellipsis">{{item.title}}</p>
-													<p class="row item-center ellipsis addContent"
-													>{{item.content}}</p>
+													<span  style="display:block;max-width:100px; " class="ellipsis">{{item.title}}</span>
+													<span  style="margin-left: 20px; display:block;max-width:400px;" class="ellipsis "
+													>{{item.content}}</span>
 												</div>
 											</div>
 										</el-checkbox>
@@ -650,7 +648,7 @@
 	}
 
 	.el-checkbox__label {
-		padding-left: 50px;
+		padding-left: 40px;
 		display: block;
 		width: 100%;
 	}
@@ -666,13 +664,13 @@
 	.addContent {
 		color: #666;
 		font-size: 14px;
-		position: absolute;
-		left: 16%;
+		/* position: absolute;
+		left: 20%;
 		top: 0;
-		width: 70%;
+		width: 60%;
 		overflow: hidden;
 		text-overflow: ellipsis;
-		white-space: nowrap;
+		white-space: nowrap; */
 	}
 
 	.popUp {

+ 6 - 3
service/src/pages/LeaveMessage.vue

@@ -31,7 +31,7 @@
 							</div>
 						</div>
 					</div>
-					<div style="margin:0 20px;">
+					<div style="margin:0 20px; height: 77vh;overflow-y: scroll;">
 						<el-table
 							:header-cell-style="{background:'#eef1f6',color:'#606266'}"
 							:row-style="{background:'#ffffff',color:'#606266'}"
@@ -118,7 +118,7 @@
 										</el-col>
 										<el-col>
 											<el-upload style="margin:10px;"
-													action="https://manage.281570.com/index/upload/uploadImg"
+													:action='uploadImg'
 													:before-upload="beforeAvatarUpload"
 													:on-change='uploadChange'
 													:on-success='uploadSuccess'
@@ -238,7 +238,7 @@
 				dialogImageUrl: '',
 				userInfo: [], //用户信息
 				getUserItem: [],
-				img_http: 'https://manage.281570.com',//图片路径域
+				img_http: '',//图片路径域
 				fileList:[],
 				imgUrl:'',
 				users:[],
@@ -247,6 +247,7 @@
 				size:'small',//表单大小
 				isUpImg:false,//是否提交图片片
 				img_number:'',//图片数量
+				uploadImg:'',//
 
 			};
 		},
@@ -257,6 +258,8 @@
 			messageCenter
 		},
 		mounted() {
+			this.img_http = window.url_https_ajax;
+			this.uploadImg = this.img_http+"/index/upload/uploadImg"
 			this.frceArr = frce.frce;
 			this.value = this.options[2].value;
 			if(typeof this.$store.getters.get_user_info  != 'string'){

+ 2 - 7
service/src/pages/SessionHistory.vue

@@ -22,7 +22,7 @@
 							</el-select>
 							<div style="font-size: 0;padding-right: 20px;">
 								<el-input
-										placeholder="请输入访客名称"
+										placeholder="请输入账号"
 										size="mini"
 										v-model="input3"
 										class="input-with-select"
@@ -32,7 +32,7 @@
 							</div>
 						</div>
 					</div>
-					<div style="margin:0 20px;">
+					<div style="margin:0 20px; height: 77vh;overflow-y: scroll;">
 						<el-table
 								v-loading="loading"
 								element-loading-text="拼命加载中"
@@ -295,11 +295,6 @@
 	.el-table::before {
 		z-index: 0 !important;
 	}
-
-	/* .el-table td{
-			padding: 12px 0;
-		} */
-
 	.input-with-select {
 		width: 100%;
 	}

+ 6 - 3
service/src/pages/TheCurrentSession.vue

@@ -210,7 +210,7 @@
 							 v-for="item in FastReply.sysWords" :key="item.id" v-if="FastReplySwitch == 'one'">
 							<el-tooltip class="title_span" effect="light" placement="bottom-start">
 								<div slot="content">{{item.content}}</div>
-								<span class="title_span" style=" width: 100%">#{{item.title}}</span>
+								<span class="title_span ellipsis" style=" width: 100%">#{{item.title}}</span>
 							</el-tooltip>
 
 							<!-- <div class="ellipsis" style=" width: 70%">
@@ -225,7 +225,7 @@
 							 v-for="item in FastReply.userWords" :key="item.id" v-if="FastReplySwitch == 'tow'">
 							<el-tooltip class="title_span" effect="light" placement="bottom-start">
 								<div slot="content">{{item.content}}</div>
-								<span class="title_span" style=" width: 100%">#{{item.title}}</span>
+								<span class="title_span ellipsis" style=" width: 100%">#{{item.title}}</span>
 							</el-tooltip>
 							<!-- <div class="ellipsis" style=" width: 70%">
 
@@ -354,7 +354,7 @@
 				lineUp: [],//排队列表
 				conversationId: '',//会话工单
 				session_user_info: {},//当前会话用户信息
-				img_http: 'https://manage.281570.com',//图片路径域
+				img_http: '',//图片路径域
 				// img_http: 'http://192.168.2.187:8090',//图片路径域
 				fit: 'scale-down',//图片渲染样式
 				is_eva_btn: true,//
@@ -1159,6 +1159,8 @@
 					// 释放内存
 					clipboard.destroy()
 				})
+				
+				
 			},
 
 			/****************访问信息和评价状态***************/
@@ -1298,6 +1300,7 @@
 		 * 挂载前执行
 		 */
 		mounted() {
+			this.img_http = window.url_https_ajax;
 			//获取vuex里面数据
 			this.get_vuex_info();
 			let _this = this;

+ 2 - 1
service/src/pages/login.vue

@@ -71,7 +71,7 @@ export default {
       logo: "",
       verifySystem: "",
       verifySystemId: "",
-      img_http: "https://manage.281570.com" //图片路径域
+      img_http: "" //图片路径域
     };
   },
   methods: {
@@ -173,6 +173,7 @@ export default {
     }
   },
   mounted() {
+		this.img_http = window.url_https_ajax;
     // 判断验证码参数
     let SystemId = this.$public.getQueryString("id");
     let System = this.$public.getQueryString("code");