Commit 7ad6c18e authored by 吴春's avatar 吴春
parents 1087998b 09fce732
...@@ -1919,7 +1919,9 @@ ...@@ -1919,7 +1919,9 @@
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun; this.queryMsg.TCNUM = this.$route.query.tcmun;
} }
if (this.$route.query.TCID) {
this.queryMsg.TCID = this.$route.query.TCID;
}
if (userInfo.IsParentCompany == undefined) { if (userInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2; this.queryCommonData.IsParentCompany = 2;
} else { } else {
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return this.$message.error('请选择出团公司'); return this.$message.error('请选择出团公司');
} }
if(this.msg.ApplyResion==''){ if(this.msg.ApplyResion==''){
return this.$message.error('请输入申请出团公司缘由'); return this.$message.error('请输入申请修改出团公司缘由');
} }
this.loading = true this.loading = true
this.apipost('travel_post_SetApplyPriceTeamType', this.msg, res => { this.apipost('travel_post_SetApplyPriceTeamType', this.msg, res => {
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
<span style="margin-left:24px;"> <span style="margin-left:24px;">
<input type="text" class="resource-name resAddImg" v-model="queryMsg.Name" @keyup.enter="getList" <input type="text" class="resource-name resAddImg" v-model="queryMsg.Name" @keyup.enter="getList"
placeholder="请输入关键字" /> placeholder="请输入关键字" />
<span class="search-imgicon"><i class="iconfont icon-img_cz searchImgIcon" @click="getList"></i></span> <span class="search-imgicon"><i class="iconfont icon-img_cz searchImgIcon" @click="queryMsg.currentPage=1,queryMsg.pageIndex=1,getList()"></i></span>
</span> </span>
<div class="addimgContent test-1" v-loading="loading"> <div class="addimgContent test-1" v-loading="loading">
<div class="addimgDiv" v-for="(item, index) in imglistArry" :key="item.subCode" <div class="addimgDiv" v-for="(item, index) in imglistArry" :key="item.subCode"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<ul> <ul>
<li> <li>
<em>出团公司</em> <em>出团公司</em>
<el-select filterable v-model='msg.OutBranchId' size="small" @change='getControlList()' clearable> <el-select filterable v-model='msg.OutBranchId' size="small" @change='getControlList()'>
<el-option label="不限" :value="-1" :key="-1"></el-option> <el-option label="不限" :value="-1" :key="-1"></el-option>
<el-option v-for="item in companyList" :label='item.BName' :value='item.Id' :key='item.Id'></el-option> <el-option v-for="item in companyList" :label='item.BName' :value='item.Id' :key='item.Id'></el-option>
</el-select> </el-select>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<span> <span>
<em>团队类型</em> <em>团队类型</em>
<el-select class="w200" v-model="msg.TeamType" filterable :placeholder="$t('pub.pleaseImport')" size="small" <el-select class="w200" v-model="msg.TeamType" filterable :placeholder="$t('pub.pleaseImport')" size="small"
@change="getControlList()" clearable> @change="getControlList()">
<el-option v-for="item in groupType" :label="item.Name" :value="item.Id" :key="item.Id"></el-option> <el-option v-for="item in groupType" :label="item.Name" :value="item.Id" :key="item.Id"></el-option>
</el-select> </el-select>
</span> </span>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<span> <span>
<em>审核状态</em> <em>审核状态</em>
<el-select class="w200" v-model="msg.BranchAuditState" filterable :placeholder="$t('pub.pleaseImport')" <el-select class="w200" v-model="msg.BranchAuditState" filterable :placeholder="$t('pub.pleaseImport')"
size="small" @change="getControlList()" clearable> size="small" @change="getControlList()">
<el-option v-for="item in BranchAuditStateType" :label="item.Name" :value="item.Id" :key="item.Id"> <el-option v-for="item in BranchAuditStateType" :label="item.Name" :value="item.Id" :key="item.Id">
</el-option> </el-option>
</el-select> </el-select>
...@@ -201,9 +201,6 @@ ...@@ -201,9 +201,6 @@
this.StartTime = [StartTime, EndTime] this.StartTime = [StartTime, EndTime]
this.msg.QStartDate = StartTime this.msg.QStartDate = StartTime
this.msg.QEndDate = EndTime this.msg.QEndDate = EndTime
if (this.$route.query && this.$route.query.TCID) {
this.msg.TCID = this.$route.query.TCID
}
this.getCompany() this.getCompany()
}, },
mounted() { mounted() {
...@@ -218,6 +215,7 @@ ...@@ -218,6 +215,7 @@
this.msg.QStartDate = '' this.msg.QStartDate = ''
this.msg.QEndDate = '' this.msg.QEndDate = ''
} }
this.getControlList()
}, },
getCompany() { getCompany() {
this.apipost('admin_get_BranchGetList', this.getCompanyMsg, res => { this.apipost('admin_get_BranchGetList', this.getCompanyMsg, res => {
...@@ -297,44 +295,54 @@ ...@@ -297,44 +295,54 @@
} }
this.loading = true this.loading = true
this.apipost("travel_post_AuditPriceOutBranchTeamType", { this.apipost("travel_post_AuditPriceOutBranchTeamType", {
TCID: TCID, TCID: TCID,
BranchAuditState: type, BranchAuditState: type,
BranchAuditRemark: this.cancelRemark BranchAuditRemark: this.cancelRemark
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
if (!name) { if (!name) {
this.cancelOrderDialog = false
this.Success(res.data.message);
this.getList()
} else {
if (length) {
this.cancelOrderDialog = false this.cancelOrderDialog = false
this.Success(res.data.message); this.Success(res.data.message);
this.getList() this.getList()
} else {
if (length) {
this.cancelOrderDialog = false
this.Success(res.data.message);
this.getList()
}
} }
} else {
this.Error(res.data.message);
} }
this.loading = false } else {
this.Error(res.data.message);
} }
); this.loading = false
});
}, },
goTravel(item) { //跳转到团队列表 goTravel(item) { //跳转到团队列表
var newPath = "TravelControlList"; var newPath = "TravelControlList";
var query = {
TCID: item.TCID,
blank: 'y',
tab: '团控列表'
};
if (item.TeamType == 1) { if (item.TeamType == 1) {
newPath = "TravelControlListSale" newPath = "TravelControlListSale";
query = {
TCID: item.TCID,
blank: 'y',
tab: '团控列表'
};
} }
if (item.TeamType == 2) { if (item.TeamType == 2) {
newPath = "oneDayTrip" newPath = "oneDayTrip";
query = {
id: item.TCID,
blank: 'y',
tab: '团控列表'
};
} }
this.$router.push({ this.$router.push({
path: newPath, path: newPath,
query: { query: query
TCID: item.TCID,
blank: 'y',
tab: '团控列表'
}
}); });
} }
} }
......
...@@ -247,7 +247,6 @@ ...@@ -247,7 +247,6 @@
<img <img
v-if="ScenicArrayList.length==0&&item.ScenicArray.length==0&&!item.TrafficObj.trafficIntroduce.IntroduceImage" v-if="ScenicArrayList.length==0&&item.ScenicArray.length==0&&!item.TrafficObj.trafficIntroduce.IntroduceImage"
class="absolute" class="absolute"
style="height: 100%;"
:src="domainManager().ViittoFileUrl+'/Upload/DefalutImage/DMC/defaultairline.png'"> :src="domainManager().ViittoFileUrl+'/Upload/DefalutImage/DMC/defaultairline.png'">
</div> </div>
</div> </div>
...@@ -287,8 +286,7 @@ ...@@ -287,8 +286,7 @@
<template v-if="ScenicArrayList&&ScenicArrayList.length>1"> <template v-if="ScenicArrayList&&ScenicArrayList.length>1">
<img <img
v-if="!ScenicArrayList[1].NewImaArray[0].FileType&&ScenicArrayList[1].NewImaArray[0].Url" v-if="!ScenicArrayList[1].NewImaArray[0].FileType&&ScenicArrayList[1].NewImaArray[0].Url"
class="absolute" class="absolute" :src="ScenicArrayList[1].NewImaArray[0].Url"
style="height: 100%;" :src="ScenicArrayList[1].NewImaArray[0].Url"
:id="'viewSpotImg_'+(item*4)+'_1'+index"> :id="'viewSpotImg_'+(item*4)+'_1'+index">
</template> </template>
<img v-if="ScenicArrayList.length==1&&item.ScenicArray.length==1" class="absolute img100" <img v-if="ScenicArrayList.length==1&&item.ScenicArray.length==1" class="absolute img100"
...@@ -339,8 +337,7 @@ ...@@ -339,8 +337,7 @@
<template v-if="ScenicArrayList&&ScenicArrayList.length>2"> <template v-if="ScenicArrayList&&ScenicArrayList.length>2">
<img <img
v-if="!ScenicArrayList[2].NewImaArray[0].FileType&&ScenicArrayList[2].NewImaArray[0].Url" v-if="!ScenicArrayList[2].NewImaArray[0].FileType&&ScenicArrayList[2].NewImaArray[0].Url"
class="absolute" class="absolute" :src="ScenicArrayList[2].NewImaArray[0].Url"
style="height: 100%;" :src="ScenicArrayList[2].NewImaArray[0].Url"
:id="'viewSpotImg_'+(item*4)+'_2'+index"> :id="'viewSpotImg_'+(item*4)+'_2'+index">
</template> </template>
<img v-if="ScenicArrayList.length>2&&item.ScenicArray.length>2" class="absolute img100" <img v-if="ScenicArrayList.length>2&&item.ScenicArray.length>2" class="absolute img100"
......
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