Commit e622536e authored by 黄奎's avatar 黄奎

域名调整页面调整

parent e1c913e9
...@@ -2734,20 +2734,7 @@ else if (Type==2) { ...@@ -2734,20 +2734,7 @@ else if (Type==2) {
tab: this.$t('objFill.djpxq') tab: this.$t('objFill.djpxq')
} }
}); });
// return
// let href
// let url
// if (this.isOnline()) {
// url = 'http://fcrmyx.oytour.com/#/'
// } else {
// url = 'http://localhost:8081/#/'
// }
// let data = [{
// path: 'customerOrder',
// OrderId: this.GetDetail.ReFinanceId,
// }]
// href = url + 'automaticLogin?token=' + this.getLocalStorage().token + '&data=' + JSON.stringify(data)
// window.open(href);
}, },
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.TeamShouZhi; var actionCode = this.$AuthCode.TeamShouZhi;
......
...@@ -1962,20 +1962,6 @@ ...@@ -1962,20 +1962,6 @@
tab: this.$t('objFill.djpxq') tab: this.$t('objFill.djpxq')
} }
}); });
// return
// let href
// let url
// if (this.isOnline()) {
// url = 'http://fcrmyx.oytour.com/#/'
// } else {
// url = 'http://localhost:8081/#/'
// }
// let data = [{
// path: 'customerOrder',
// OrderId: this.GetDetail.ReFinanceId,
// }]
// href = url + 'automaticLogin?token=' + this.getLocalStorage().token + '&data=' + JSON.stringify(data)
// window.open(href);
}, },
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.TeamShouZhi; var actionCode = this.$AuthCode.TeamShouZhi;
......
...@@ -389,7 +389,8 @@ ...@@ -389,7 +389,8 @@
<tr> <tr>
<td> <td>
<el-form-item label="公司名称"> <el-form-item label="公司名称">
<el-select v-model="CtObj.SignType" :placeholder="$t('pub.pleaseSel')" @change="changeSignType" class="w300"> <el-select v-model="CtObj.SignType" :placeholder="$t('pub.pleaseSel')" @change="changeSignType"
class="w300">
<el-option key="0" label="四川和平国际旅行社有限公司" :value="0"> <el-option key="0" label="四川和平国际旅行社有限公司" :value="0">
</el-option> </el-option>
<el-option key="1" label="(株)ピースインターナショナル" :value="1"> <el-option key="1" label="(株)ピースインターナショナル" :value="1">
...@@ -471,7 +472,8 @@ ...@@ -471,7 +472,8 @@
<tr> <tr>
<td> <td>
<el-form-item label="旅游者同意选择下列第"> <el-form-item label="旅游者同意选择下列第">
<el-select :placeholder="$t('pub.pleaseSel')" filterable class='w150' v-model="CtObj.carpoolOpinion"> <el-select :placeholder="$t('pub.pleaseSel')" filterable class='w150'
v-model="CtObj.carpoolOpinion">
<el-option label="A" :value='1'></el-option> <el-option label="A" :value='1'></el-option>
<el-option label="B" :value='2'></el-option> <el-option label="B" :value='2'></el-option>
<el-option label="C" :value='3'></el-option> <el-option label="C" :value='3'></el-option>
...@@ -1444,12 +1446,13 @@ ...@@ -1444,12 +1446,13 @@
let lineTeam = this.CtObj.productName; let lineTeam = this.CtObj.productName;
let days = this.CtObj.dayNum; let days = this.CtObj.dayNum;
let nights = this.CtObj.nightNum; let nights = this.CtObj.nightNum;
var erpUrl = this.domainManager().erpSiteUrl;
this.msgGuest.forEach(x => { this.msgGuest.forEach(x => {
let obj = {}; let obj = {};
if (x.checked) { if (x.checked) {
obj.mobiles = x.clientCall; obj.mobiles = x.clientCall;
obj.Url = obj.Url = erpUrl +
`http://yx.oytour.com/#/clientConfirm?TCID=${this.msg.TCID}&orderID=${this.msg.orderID}&guestId=${x.guestId}`; `clientConfirm?TCID=${this.msg.TCID}&orderID=${this.msg.orderID}&guestId=${x.guestId}`;
msgObj.push(obj); msgObj.push(obj);
} }
}) })
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
<div> <div>
<span>下单时间:</span> <span>下单时间:</span>
<el-date-picker v-model="dateList" @change="msg.pageIndex=1,getList()" size="small" type="datetimerange" <el-date-picker v-model="dateList" @change="msg.pageIndex=1,getList()" size="small" type="datetimerange"
:range-separator="$t('OrderList.zhi')" value-format="yyyy-MM-dd HH:mm:ss" :start-placeholder="$t('OrderList.star')" :end-placeholder="$t('OrderList.end')"> :range-separator="$t('OrderList.zhi')" value-format="yyyy-MM-dd HH:mm:ss"
:start-placeholder="$t('OrderList.star')" :end-placeholder="$t('OrderList.end')">
</el-date-picker> </el-date-picker>
<span style="margin-left:15px">所属平台:</span> <span style="margin-left:15px">所属平台:</span>
<el-select class="w120" @change="msg.pageIndex=1,getList()" v-model="msg.OrderSource" size="small" <el-select class="w120" @change="msg.pageIndex=1,getList()" v-model="msg.OrderSource" size="small"
...@@ -35,9 +36,10 @@ ...@@ -35,9 +36,10 @@
</el-option> </el-option>
</el-select> </el-select>
<el-input @clear="msg.pageIndex=1,getList()" @keyup.enter.native="msg.pageIndex=1,getList()" clearable <el-input @clear="msg.pageIndex=1,getList()" @keyup.enter.native="msg.pageIndex=1,getList()" clearable
style="margin-left:15px;width:300px" class="input-with-select" :placeholder="$t('fnc.qsrneirong')" v-model="msgVal" style="margin-left:15px;width:300px" class="input-with-select" :placeholder="$t('fnc.qsrneirong')"
size="small"> v-model="msgVal" size="small">
<el-select class="pendSelect" @change="ChangeId" v-model="msgId" slot="prepend" :placeholder="$t('pub.pleaseSel')"> <el-select class="pendSelect" @change="ChangeId" v-model="msgId" slot="prepend"
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in option" :key="item.Id" :label="item.name" :value="item.Id"> <el-option v-for="item in option" :key="item.Id" :label="item.name" :value="item.Id">
</el-option> </el-option>
</el-select> </el-select>
...@@ -205,7 +207,7 @@ ...@@ -205,7 +207,7 @@
src="../../../assets/img/userman/edit1.png" alt=""> src="../../../assets/img/userman/edit1.png" alt="">
</span> </span>
</div> </div>
<div flex="cross:center main:center" >人数:x {{list.Number}}</div> <div flex="cross:center main:center">人数:x {{list.Number}}</div>
</div> </div>
<div style="width: 200px; display: flex;flex-direction:column;justify-content: center" <div style="width: 200px; display: flex;flex-direction:column;justify-content: center"
v-if="TenantId==1"> v-if="TenantId==1">
...@@ -451,7 +453,8 @@ ...@@ -451,7 +453,8 @@
</el-form-item> </el-form-item>
<template v-if="fhMsg.Type==1"> <template v-if="fhMsg.Type==1">
<el-form-item label="快递公司" prop="ExpressId"> <el-form-item label="快递公司" prop="ExpressId">
<el-select class="w200" size="small" v-model="fhMsg.ExpressId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class="w200" size="small" v-model="fhMsg.ExpressId" filterable
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in ExpressList" :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for="item in ExpressList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
...@@ -498,7 +501,8 @@ ...@@ -498,7 +501,8 @@
<el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select size="small" v-model="shMsg.District" style="width:144px" filterable :placeholder="$t('pub.pleaseSel')"> <el-select size="small" v-model="shMsg.District" style="width:144px" filterable
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in areaList" :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for="item in areaList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
...@@ -1580,9 +1584,10 @@ ...@@ -1580,9 +1584,10 @@
ECOrderDetailId: list.Id ECOrderDetailId: list.Id
}] }]
} }
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj)) var newUrl = this.domainManager().erpSiteUrl + 'ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID +
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' + '&orderObj=' +
JSON.stringify(orderObj)) JSON.stringify(orderObj)
window.open(newUrl)
}, },
goPayment(item, list) { //跳到erp付款单 goPayment(item, list) { //跳到erp付款单
let currentUser = this.getLocalStorage() let currentUser = this.getLocalStorage()
...@@ -1597,19 +1602,20 @@ ...@@ -1597,19 +1602,20 @@
ECOrderDetailId: list.Id ECOrderDetailId: list.Id
}] }]
} }
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj)) var newUrl = this.domainManager().erpSiteUrl + 'ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID +
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' + '&orderObj=' +
JSON.stringify(orderObj)) JSON.stringify(orderObj)
window.open(newUrl)
}, },
goSF(item) { //收入详情 goSF(item) { //收入详情
// window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID + this.CommonJump('FinancialDocumentsDetail', {
// '&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85') id: item.FrID
this.CommonJump('FinancialDocumentsDetail',{id:item.FrID}) })
}, },
goZF(item) { //付款详情 goZF(item) { //付款详情
// window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID + this.CommonJump('FinancialDocumentsDetail', {
// '&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85') id: item.FrID
this.CommonJump('FinancialDocumentsDetail',{id:item.FrID}) })
} }
}, },
}; };
...@@ -1621,10 +1627,11 @@ ...@@ -1621,10 +1627,11 @@
padding-top: 3px; padding-top: 3px;
margin-left: 7px; margin-left: 7px;
} }
.orderList span{
.orderList span {
font-size: 13px; font-size: 13px;
font-weight: normal; font-weight: normal;
} }
.orderList .upload-demo { .orderList .upload-demo {
float: right; float: right;
......
...@@ -2394,16 +2394,8 @@ ...@@ -2394,16 +2394,8 @@
}, },
LogSetReadStatus(s) { LogSetReadStatus(s) {
if (s.Type == 7) { if (s.Type == 7) {
let url = ""; let url = this.domainManager().erpSiteUrl;
if (!this.isOnline()) {
url = "http://testerp.oytour.com:8081/#/";
} else {
url = "http://yx.oytour.com/#/";
}
let path = url + s.Link; let path = url + s.Link;
let routeData = this.$router.resolve({
name: path
})
window.open(path, '_blank') window.open(path, '_blank')
} else { } else {
this.apipost( this.apipost(
......
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
let mallUrl = ""; //商城API let mallUrl = ""; //商城API
let lxymallUrl = ''; //国内游api let lxymallUrl = ''; //国内游api
let crmUrl = ""; //crm API let crmUrl = ""; //crm API
let erpSiteUrl = ""; //ERP站点
let locationName = window.location.hostname; let locationName = window.location.hostname;
let isOnline = 0; //0-本地测试,1-线上 let isOnline = 0; //0-本地测试,1-线上
let ocrUrl = "http://192.168.5.46:8888"; let ocrUrl = "http://192.168.5.46:8888";
...@@ -130,12 +131,14 @@ export default { ...@@ -130,12 +131,14 @@ export default {
mallUrl = "http://192.168.5.214:8200"; mallUrl = "http://192.168.5.214:8200";
lxymallUrl = "http://192.168.20.13:8088"; lxymallUrl = "http://192.168.20.13:8088";
crmUrl = "http://192.168.5.46:5003" crmUrl = "http://192.168.5.46:5003"
erpSiteUrl = "http://localhost:8080/#/";
if (locationName.indexOf('testerp.oytour') !== -1) { if (locationName.indexOf('testerp.oytour') !== -1) {
domainUrl = "http://testapi.oytour.com"; domainUrl = "http://testapi.oytour.com";
mallUrl = "https://mallapi.oytour.com"; mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com"; lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://testcrm.oytour.com"; crmUrl = "http://testcrm.oytour.com";
ocrUrl = "http://ocr.oytour.com"; ocrUrl = "http://ocr.oytour.com";
erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1; isOnline = 1;
} else if (locationName.indexOf('ys.oytour') !== -1) { } else if (locationName.indexOf('ys.oytour') !== -1) {
domainUrl = "http://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
...@@ -143,6 +146,7 @@ export default { ...@@ -143,6 +146,7 @@ export default {
lxymallUrl = "https://erpmallapi.oytour.com"; lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://crm.oytour.com"; crmUrl = "http://crm.oytour.com";
ocrUrl = "http://ocr.oytour.com"; ocrUrl = "http://ocr.oytour.com";
erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1; isOnline = 1;
} else if (locationName.indexOf('oytour') !== -1) { } else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
...@@ -150,13 +154,19 @@ export default { ...@@ -150,13 +154,19 @@ export default {
lxymallUrl = "https://erpmallapi.oytour.com"; lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://crm.oytour.com"; crmUrl = "http://crm.oytour.com";
ocrUrl = "http://ocr.oytour.com"; ocrUrl = "http://ocr.oytour.com";
erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1; isOnline = 1;
} }
var userInfo = this.getLocalStorage();
if (userInfo && userInfo.ERPUrl && userInfo.ERPUrl != '') {
erpSiteUrl = userInfo.ERPUrl;
}
var obj = { var obj = {
IsOnline: isOnline, //0-本地,1-线上 IsOnline: isOnline, //0-本地,1-线上
//主地址 //主地址
DomainUrl: domainUrl, DomainUrl: domainUrl,
ocrUrl: ocrUrl, //行程下载地址 ocrUrl: ocrUrl, //行程下载地址
erpSiteUrl: erpSiteUrl, //ERP站点地址
//常用提交数据URL //常用提交数据URL
PostUrl: domainUrl + "/api/common/post", PostUrl: domainUrl + "/api/common/post",
//上传文件URL //上传文件URL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment