Commit 96f415ab authored by 吴春's avatar 吴春

解决冲突

parents 9bf42483 13d475ad
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
class="hotelProductManage2_edit2_form"> class="hotelProductManage2_edit2_form">
<el-row> <el-row>
<el-col :span="24" class="HotelProductEdit_date"> <el-col :span="24" class="HotelProductEdit_date">
<el-form-item :label="$t('ground.yixuanriqi')" prop="DateList"> <el-form-item :label="$t('ground.yixuanriqi')" prop="DateList">
<el-tag v-for="(item, key) in msg2.DateList" :key="key" type="info" style="margin: 0 5px 0 0;" closable <el-tag v-for="(item, key) in msg2.DateList" :key="key" type="info" style="margin: 0 5px 0 0;" closable
@close="calendarDayOff(item)">{{item}}</el-tag> @close="calendarDayOff(item)">{{item}}</el-tag>
...@@ -413,7 +413,7 @@ ...@@ -413,7 +413,7 @@
class="hotelProductManage2_edit_form"> class="hotelProductManage2_edit_form">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item :label="$t('ground.riqixuanzfs')" prop="DayType"> <el-form-item :label="$t('ground.riqixuanzfs')" prop="DayType">
<el-select v-model="msg.DayType" :placeholder="$t('pub.pleaseSel')" @change="dayTypeChange"> <el-select v-model="msg.DayType" :placeholder="$t('pub.pleaseSel')" @change="dayTypeChange">
<el-option :label="$t('ground.annian')" value="1"></el-option> <el-option :label="$t('ground.annian')" value="1"></el-option>
...@@ -670,7 +670,7 @@ ...@@ -670,7 +670,7 @@
<el-input-number v-model="msg.PayLimitFirstDay" :min="1"></el-input-number> <el-input-number v-model="msg.PayLimitFirstDay" :min="1"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6" v-if="msg.CustomerPayType==2 && userInfo&&userInfo.RB_Group_id==2" > <el-col :span="6" v-if="msg.CustomerPayType==2 && userInfo&&userInfo.RB_Group_id==2">
<el-form-item :label="$t('objFill.ruzhuqjtfwk')" prop="PayLimitEndDay"> <el-form-item :label="$t('objFill.ruzhuqjtfwk')" prop="PayLimitEndDay">
<el-input-number v-model="msg.PayLimitEndDay" :min="1"></el-input-number> <el-input-number v-model="msg.PayLimitEndDay" :min="1"></el-input-number>
</el-form-item> </el-form-item>
...@@ -1255,10 +1255,14 @@ ...@@ -1255,10 +1255,14 @@
}, },
// 获取供应商 // 获取供应商
initSupplier() { initSupplier() {
this.apipost("supplier_post_GetAllList", { var postMsg = {
Type: 1, Type: 1,
Country: 651 Country: 0
}, res => { }
if (this.userInfo && this.userInfo.RB_Group_id==2) {
postMsg.Country = 651;
}
this.apipost("supplier_post_GetAllList", postMsg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.SupplierList = res.data.data; this.SupplierList = res.data.data;
} }
......
...@@ -1255,11 +1255,19 @@ ...@@ -1255,11 +1255,19 @@
<span> <span>
<el-checkbox v-model="queryCommonData.checkDialogAll" @change="checkAllDialog" style="margin-right:20px;"> <el-checkbox v-model="queryCommonData.checkDialogAll" @change="checkAllDialog" style="margin-right:20px;">
{{$t('system.table_chekAll')}}</el-checkbox> {{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox-group v-model="queryCommonData.ckedplat" @change="checkDialog"> <template v-if="CurrentUserInfo.RB_Group_Id==2">
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name" <el-checkbox-group v-model="queryCommonData.ckedplat" @change="checkDialog">
:disabled="((sales.Id=='2'||sales.Id=='5')&&SaleB2COrWeChatStatus)?true:false"> <el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name"
{{sales.Name}}</el-checkbox> :disabled="((sales.Id=='2'||sales.Id=='5')&&SaleB2COrWeChatStatus)?true:false">
</el-checkbox-group> {{sales.Name}}</el-checkbox>
</el-checkbox-group>
</template>
<template v-else>
<el-checkbox-group v-model="queryCommonData.ckedplat" @change="checkDialog">
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name">
{{sales.Name}}</el-checkbox>
</el-checkbox-group>
</template>
</span> </span>
<span> <span>
<button class="normalBtn" style="margin-left:50px;" @click="SetshelvesUp">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" style="margin-left:50px;" @click="SetshelvesUp">{{$t('pub.sureBtn')}}</button>
...@@ -2905,7 +2913,8 @@ ...@@ -2905,7 +2913,8 @@
this.CurrentUserInfo.RB_Branch_id == 1216 || this.CurrentUserInfo.RB_Branch_id == 1216 ||
this.CurrentUserInfo.RB_Branch_id == 49 || this.CurrentUserInfo.RB_Branch_id == 49 ||
this.CurrentUserInfo.RB_Branch_id == 1218 || this.CurrentUserInfo.RB_Branch_id == 1218 ||
this.CurrentUserInfo.RB_Branch_id == 1249 this.CurrentUserInfo.RB_Branch_id == 1249 ||
this.CurrentUserInfo.RB_Branch_id == 1252
) { ) {
this.IsModifyTravelControl = 1; this.IsModifyTravelControl = 1;
} else { } else {
...@@ -2970,11 +2979,14 @@ ...@@ -2970,11 +2979,14 @@
if (!this.$route.query.tcmun) { if (!this.$route.query.tcmun) {
this.queryMsg.StartGroupDate = nowDate; this.queryMsg.StartGroupDate = nowDate;
} }
if ( if (this.CurrentUserInfo.RB_Group_id == 2) {
this.queryCommonData.IsParentCompany != 1 && if (
this.CurrentUserInfo.RB_Branch_id != 49 && this.CurrentUserInfo.RB_Branch_id != 1249 this.queryCommonData.IsParentCompany != 1 &&
) { this.CurrentUserInfo.RB_Branch_id != 49 && this.CurrentUserInfo.RB_Branch_id != 1249 &&
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id); this.CurrentUserInfo.RB_Branch_id != 1252
) {
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id);
}
} }
var routeName = this.$route.name var routeName = this.$route.name
if (routeName == 'TravelControlList') { if (routeName == 'TravelControlList') {
......
...@@ -1960,7 +1960,7 @@ ...@@ -1960,7 +1960,7 @@
} }
if (this.queryCommonData.IsParentCompany != 1 && userInfo.RB_Branch_id != 49 && userInfo.RB_Branch_id != 1224 && if (this.queryCommonData.IsParentCompany != 1 && userInfo.RB_Branch_id != 49 && userInfo.RB_Branch_id != 1224 &&
userInfo.RB_Branch_id != 1249) { userInfo.RB_Branch_id != 1249&& this.CurrentUserInfo.RB_Branch_id != 1252) {
this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id); this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id);
} }
//默认查询全部团队状态 //默认查询全部团队状态
......
...@@ -1980,7 +1980,7 @@ ...@@ -1980,7 +1980,7 @@
} }
if (this.queryCommonData.IsParentCompany != 1) { if (this.queryCommonData.IsParentCompany != 1) {
if (this.CurrentUserInfo.RB_Branch_id != 49 && this.CurrentUserInfo.RB_Branch_id != 1245 && this.CurrentUserInfo if (this.CurrentUserInfo.RB_Branch_id != 49 && this.CurrentUserInfo.RB_Branch_id != 1245 && this.CurrentUserInfo
.RB_Branch_id != 1249) { .RB_Branch_id != 1249&& this.CurrentUserInfo.RB_Branch_id != 1252) {
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id) this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id)
} }
......
...@@ -7,13 +7,16 @@ ...@@ -7,13 +7,16 @@
<ul> <ul>
<li> <li>
<!-- 岗位名称 --> <!-- 岗位名称 -->
<span><em>{{$t('adm.adm_gwname')}}</em><el-input class='w210' v-model='msg.PostName' <span><em>{{$t('adm.adm_gwname')}}</em>
@keyup.enter.native="getList"></el-input></span> <el-input class='w210' v-model='msg.PostName' @keyup.enter.native="getList"></el-input>
</span>
</li> </li>
<li> <li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="resetPageIndex(),getList()"/> <input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')"
<input type="button" @click="outerVisible = true,dialogTitle=$t('objFill.xingzenganwei'),layerShowIndex=1,getCompany()" @click="resetPageIndex(),getList()" />
class="normalBtn" :value="$t('pub.addBtn')"/> <input type="button"
@click="outerVisible = true,dialogTitle=$t('objFill.xingzenganwei'),layerShowIndex=1,getCompany()"
class="normalBtn" :value="$t('pub.addBtn')" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -37,7 +40,8 @@ ...@@ -37,7 +40,8 @@
<el-button @click="roleAllocation(item.PostId,1)" type="primary" icon="iconfont icon-user11"></el-button> <el-button @click="roleAllocation(item.PostId,1)" type="primary" icon="iconfont icon-user11"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('objFill.appjuesegl')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('objFill.appjuesegl')" placement="top-start">
<el-button v-if="qjGroupId==userInfo.RB_Group_id || A_AppMenu_Allot" @click="roleAllocation(item.PostId,2)" type="primary" icon="iconfont icon-user11"></el-button> <el-button v-if="qjGroupId==userInfo.RB_Group_id || A_AppMenu_Allot"
@click="roleAllocation(item.PostId,2)" type="primary" icon="iconfont icon-user11"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start">
<el-button @click="deleteData(item.PostId)" type="danger" icon="el-icon-delete"></el-button> <el-button @click="deleteData(item.PostId)" type="danger" icon="el-icon-delete"></el-button>
...@@ -47,14 +51,15 @@ ...@@ -47,14 +51,15 @@
</tr> </tr>
</table> </table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size=msg.pageSize :total=total> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
<el-dialog custom-class='w550' :title="dialogTitle" :visible.sync="outerVisible" center <el-dialog custom-class='w550' :title="dialogTitle" :visible.sync="outerVisible" center
:before-close="closeChangeMachie"> :before-close="closeChangeMachie">
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="120px"> <el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="120px">
<div v-if="this.layerShowIndex==1"> <div v-if="this.layerShowIndex==1">
<el-form-item :label="$t('adm.adm_gwname')" prop="PostName"> <el-form-item :label="$t('adm.adm_gwname')" prop="PostName">
<el-input class='w300' type="text" v-model="addMsg.PostName" :placeholder="$t('pub.pleaseImport')"></el-input> <el-input class='w300' type="text" v-model="addMsg.PostName" :placeholder="$t('pub.pleaseImport')">
</el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('adm.adm_ynyyfenqu')" prop="IsUseSubarea"> <el-form-item :label="$t('adm.adm_ynyyfenqu')" prop="IsUseSubarea">
<el-select v-model="addMsg.IsUseSubarea" :placeholder="$t('pub.pleaseSel')"> <el-select v-model="addMsg.IsUseSubarea" :placeholder="$t('pub.pleaseSel')">
...@@ -64,16 +69,19 @@ ...@@ -64,16 +69,19 @@
</el-form-item> </el-form-item>
</div> </div>
<div v-if="this.layerShowIndex==2"> <div v-if="this.layerShowIndex==2">
<el-transfer filterable v-model="postRoleListId" :data="groupRoleList" :props="{key: 'Id',label: 'Name'}" :titles="[$t('objFill.kexuanjuese'), $t('objFill.yiuxanjuese')]"></el-transfer> <el-transfer filterable v-model="postRoleListId" :data="groupRoleList" :props="{key: 'Id',label: 'Name'}"
:titles="[$t('objFill.kexuanjuese'), $t('objFill.yiuxanjuese')]"></el-transfer>
</div> </div>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="outerVisible = false,resetForm('addMsg')">{{$t('pub.cancelBtn')}}</button> &nbsp; <button class="hollowFixedBtn"
<button v-if="this.layerShowIndex==1" class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button> @click="outerVisible = false,resetForm('addMsg')">{{$t('pub.cancelBtn')}}</button> &nbsp;
<button v-if="this.layerShowIndex==2" class="normalBtn" type="primary" @click="updateRole()">{{$t('pub.saveBtn')}}</button> <button v-if="this.layerShowIndex==1" class="normalBtn" type="primary"
@click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button>
<button v-if="this.layerShowIndex==2" class="normalBtn" type="primary"
@click="updateRole()">{{$t('pub.saveBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
...@@ -81,10 +89,9 @@ ...@@ -81,10 +89,9 @@
export default { export default {
data() { //穿梭 data() { //穿梭
return { return {
A_AppMenu_Allot:false, A_AppMenu_Allot: false,
qjGroupId:-1, qjGroupId: -1,
userInfo:{}, userInfo: {},
loading: true, loading: true,
total: 0, total: 0,
pageSize: '', pageSize: '',
...@@ -111,8 +118,16 @@ ...@@ -111,8 +118,16 @@
Status: 0, Status: 0,
}, },
rules: { rules: {
PostName: [{required: true,message: this.$t('adm.adm_qsrgwname'),trigger: 'blur'}], PostName: [{
IsUseSubarea: [{required: true,message: this.$t('adm.adm_qxzsfyyfenqu'),trigger: 'blur'}] required: true,
message: this.$t('adm.adm_qsrgwname'),
trigger: 'blur'
}],
IsUseSubarea: [{
required: true,
message: this.$t('adm.adm_qxzsfyyfenqu'),
trigger: 'blur'
}]
}, },
addMsg: { addMsg: {
PostId: '-1', PostId: '-1',
...@@ -146,25 +161,24 @@ ...@@ -146,25 +161,24 @@
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
this.qjGroupId=this.QjGroupId(); this.qjGroupId = this.QjGroupId();
this.msg.RB_Group_Id = this.getDepartmentMsg.RB_Group_Id = this.getCompanyMsg.RB_Group_Id = this.addMsg.RB_Group_Id = userInfo.RB_Group_id; //集团 this.msg.RB_Group_Id = this.getDepartmentMsg.RB_Group_Id = this.getCompanyMsg.RB_Group_Id = this.addMsg
.RB_Group_Id = userInfo.RB_Group_id; //集团
this.getList(); this.getList();
this.getCompany(); this.getCompany();
this.getDerpartMent(); this.getDerpartMent();
}, },
methods: { methods: {
GetSupperOrderEditAuth() { GetSupperOrderEditAuth() {
var actionCodeNew = this.$AuthCode.A_AppMenu_Allot; var actionCodeNew = this.$AuthCode.A_AppMenu_Allot;
// 制单权限
// 制单权限 this.CheckUserAuth(actionCodeNew, res => {
this.CheckUserAuth(actionCodeNew, res => { if (res.data.resultCode == 1 && res.data.data == 1) {
if (res.data.resultCode == 1 && res.data.data == 1) { this.A_AppMenu_Allot = true;
this.A_AppMenu_Allot = true; }
} });
}); },
},
getCompany() { getCompany() {
this.apipost('admin_get_BranchGetList', this.getCompanyMsg, res => { this.apipost('admin_get_BranchGetList', this.getCompanyMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -173,10 +187,8 @@ ...@@ -173,10 +187,8 @@
} else { } else {
this.companyList = res.data.data; this.companyList = res.data.data;
} }
} else { } else {}
} }, err => {})
}, err => {
})
}, },
getDerpartMent() { //获取部门 getDerpartMent() { //获取部门
this.apipost('admin_get_DepartmentGetList', this.getDepartmentMsg, res => { this.apipost('admin_get_DepartmentGetList', this.getDepartmentMsg, res => {
...@@ -186,10 +198,8 @@ ...@@ -186,10 +198,8 @@
} else { } else {
this.departMentList = res.data.data; this.departMentList = res.data.data;
} }
} else { } else {}
} }, err => {})
}, err => {
})
}, },
getList() { //获取数据 getList() { //获取数据
this.loading = true, this.loading = true,
...@@ -198,10 +208,8 @@ ...@@ -198,10 +208,8 @@
this.DataList = res.data.data.pageData this.DataList = res.data.data.pageData
this.total = res.data.data.count this.total = res.data.data.count
this.loading = false this.loading = false
} else { } else {}
} }, err => {})
}, err => {
})
}, },
addData() { //新增数据 addData() { //新增数据
this.apipost('admin_post_PostSet', this.addMsg, res => { this.apipost('admin_post_PostSet', this.addMsg, res => {
...@@ -213,21 +221,19 @@ ...@@ -213,21 +221,19 @@
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
}, err => { }, err => {})
})
}, },
updateData(index, id) { updateData(index, id) {
this.addMsg.PostId = id this.addMsg.PostId = id
this.apipost('admin_get_PostGet', {PostId: id}, res => { this.apipost('admin_get_PostGet', {
PostId: id
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.addMsg = res.data.data this.addMsg = res.data.data;
this.addMsg.IsUseSubarea = this.addMsg.IsUseSubarea.toString(); this.addMsg.IsUseSubarea = this.addMsg.IsUseSubarea.toString();
} else { }
} }, err => {})
}, err => {
})
this.layerShowIndex = 1; this.layerShowIndex = 1;
}, },
roleAllocation(id, platform) { //角色管理 roleAllocation(id, platform) { //角色管理
this.platform = platform; this.platform = platform;
...@@ -237,23 +243,24 @@ ...@@ -237,23 +243,24 @@
this.updatePostId = id; this.updatePostId = id;
this.layerShowIndex = 2; this.layerShowIndex = 2;
this.outerVisible = true; this.outerVisible = true;
this.apipost('admin_get_PostGetPostRole', {PostId: id, Platform: platform}, res => { this.apipost('admin_get_PostGetPostRole', {
PostId: id,
Platform: platform
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.groupRoleList = res.data.data.groupRoleList; this.groupRoleList = res.data.data.groupRoleList;
res.data.data.postRoleList.forEach(i => { res.data.data.postRoleList.forEach(i => {
this.postRoleListId.push(i.Id) this.postRoleListId.push(i.Id)
}); });
} else {
} }
}, err => { }, err => {})
})
}, },
updateRole() { //修改岗位角色 updateRole() { //修改岗位角色
let roleIdsString = this.postRoleListId.join(','); let roleIdsString = this.postRoleListId.join(',');
this.apipost('admin_post_PostUpdatePostRole', { this.apipost('admin_post_PostUpdatePostRole', {
PostId: this.updatePostId, PostId: this.updatePostId,
RoleIds: roleIdsString, RoleIds: roleIdsString,
Platform:this.platform Platform: this.platform
}, res => { }, res => {
this.insideDialogTxt = res.data.message this.insideDialogTxt = res.data.message
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -262,8 +269,7 @@ ...@@ -262,8 +269,7 @@
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
}, err => { }, err => {})
})
}, },
deleteData(id) { deleteData(id) {
this.$confirm(this.$t('tips.shifoushanchu'), this.$t('tips.tips'), { this.$confirm(this.$t('tips.shifoushanchu'), this.$t('tips.tips'), {
...@@ -280,17 +286,14 @@ ...@@ -280,17 +286,14 @@
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList() this.getList()
} else { } else {}
} }, err => {})
}, err => {
})
}).catch(() => { }).catch(() => {
this.$message({ this.$message({
type: 'info', type: 'info',
message: this.$t('tips.cancleDelete') message: this.$t('tips.cancleDelete')
}); });
}); });
}, },
linkageDepartment() { //联动部门 linkageDepartment() { //联动部门
this.msg.RB_Department_Id = '0'; this.msg.RB_Department_Id = '0';
...@@ -329,4 +332,4 @@ ...@@ -329,4 +332,4 @@
} }
} }
} }
</script> </script>
\ No newline at end of file
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<div class="HotelWorkList"> <div class="HotelWorkList">
<div class="query-box HotelWorkInput" style="border-bottom: none;"> <div class="query-box HotelWorkInput" style="border-bottom: none;">
<ul> <ul>
<li v-if="Title=='审核'||Title=='查看'"> <li v-if="Title=='审核'">
<span> <span>
<em>{{$t('fnc.shzhuangtai')}}</em> <em>{{$t('fnc.shzhuangtai')}}</em>
<el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()"> <el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()">
...@@ -100,6 +100,19 @@ ...@@ -100,6 +100,19 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li v-if="Title=='查看'">
<span>
<em>{{$t('fnc.shzhuangtai')}}</em>
<el-select v-model='msg.TicketStatus' class="w200" @change="msg.papageIndex==1,GetList()">
<!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> -->
<el-option v-for='item in TicketStatusList2'
:label='item.Name'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</span>
</li>
<li v-if="Title=='申请'"> <li v-if="Title=='申请'">
<span> <span>
<em>申请状态</em> <em>申请状态</em>
...@@ -745,9 +758,9 @@ ...@@ -745,9 +758,9 @@
this.msg.IsMyOrder = '0' this.msg.IsMyOrder = '0'
} }
msgObj = (this.pagesTitle=='审核'||this.pagesTitle=='查看')?this.msg2:this.msg msgObj = (this.pagesTitle=='审核'||this.pagesTitle=='查看')?this.msg2:this.msg
if(this.pagesTitle=='查看'){ // if(this.pagesTitle=='查看'){
msgObj.TicketStatus=5; // msgObj.TicketStatus=5;
} // }
this.apipost(url, msgObj, this.apipost(url, msgObj,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
.TC_comDMCchoose .el-dialog__body { .TC_comDMCchoose .el-dialog__body {
padding: 5px 25px 30px; padding: 5px 25px 30px;
} }
.colorMark { .colorMark {
width: 25px; width: 25px;
height: 25px; height: 25px;
...@@ -94,10 +95,11 @@ ...@@ -94,10 +95,11 @@
background: #fff; background: #fff;
border: 5px solid #eee; border: 5px solid #eee;
cursor: pointer; cursor: pointer;
} }
._VideoStr_boxColor .el-form-item__content{
line-height: 0 !important; ._VideoStr_boxColor .el-form-item__content {
} line-height: 0 !important;
}
</style> </style>
...@@ -156,7 +158,7 @@ ...@@ -156,7 +158,7 @@
:placeholder="$t('sm.tuanduibiaoti')"></el-input> :placeholder="$t('sm.tuanduibiaoti')"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div :class="{'showOther':TeamType==3}" > <div :class="{'showOther':TeamType==3}">
<el-form-item :label="$t('Operation.Op_bentuanMaidian')"> <el-form-item :label="$t('Operation.Op_bentuanMaidian')">
<el-input v-model="PostConfig.ProductRecommend" type="textarea" :autosize="{minRows: 3, maxRows: 3 }" <el-input v-model="PostConfig.ProductRecommend" type="textarea" :autosize="{minRows: 3, maxRows: 3 }"
resize="none" :placeholder="$t('Operation.Op_bentuanMaidian')" maxlength="2000"></el-input> resize="none" :placeholder="$t('Operation.Op_bentuanMaidian')" maxlength="2000"></el-input>
...@@ -168,7 +170,7 @@ ...@@ -168,7 +170,7 @@
resize="none" :placeholder="$t('sm.onlybeizhu')" maxlength="300"></el-input> resize="none" :placeholder="$t('sm.onlybeizhu')" maxlength="300"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div v-if="CurrentUserInfo&&CurrentUserInfo.RB_Group_id!=2"> <div v-if="CurrentUserInfo&&CurrentUserInfo.RB_Group_id!=2" style="display:none;">
<el-form-item :label="$t('system.quety_area')"> <el-form-item :label="$t('system.quety_area')">
<el-select v-model="PostConfig.WAreaId" :placeholder="$t('pub.pleaseSel')" <el-select v-model="PostConfig.WAreaId" :placeholder="$t('pub.pleaseSel')"
@change="GetSelfArea(PostConfig.WAreaId,2,true)" filterable> @change="GetSelfArea(PostConfig.WAreaId,2,true)" filterable>
...@@ -238,25 +240,21 @@ ...@@ -238,25 +240,21 @@
</div> </div>
</div> </div>
</div> </div>
<div class="_VideoStr_box _VideoStr_boxColor" v-if="true"> <div class="_VideoStr_box _VideoStr_boxColor" v-if="CurrentUserInfo&&CurrentUserInfo.RB_Group_id==2">
<el-form-item label="行程主题色"> <el-form-item label="行程主题色">
<div class="row items-center nowrap"> <div class="row items-center nowrap">
<template v-for="(x,i) in colorArr"> <template v-for="(x,i) in colorArr">
<el-tooltip :key="i" <el-tooltip :key="i" class="box-item" effect="dark" :content="x.ColorName" placement="bottom">
class="box-item" <div @click="PostConfig.TripColor=x.ColorValue">
effect="dark" <span class="colorMark"
:content="x.ColorName" :style="{'background':x.ColorValue,'border-color':x.ColorValue==PostConfig.TripColor?'black':'#eee'}"></span>
placement="bottom" </div>
> </el-tooltip>
<div @click="PostConfig.TripColor=x.ColorValue">
<span class="colorMark"
:style="{'background':x.ColorValue,'border-color':x.ColorValue==PostConfig.TripColor?'black':'#eee'}"></span>
</div>
</el-tooltip>
</template> </template>
</div> </div>
<!-- <el-color-picker style='vertical-align: middle;' v-model="PostConfig.TripColor"></el-color-picker> --> <!-- <el-color-picker style='vertical-align: middle;' v-model="PostConfig.TripColor"></el-color-picker> -->
<span style="color: red;margin-left: 5px;margin-top: 15px;display: block;">注意,如果你使用行程模板,系统将会强制修改主色</span> <span
style="color: red;margin-left: 5px;margin-top: 15px;display: block;">注意,如果你使用行程模板,系统将会强制修改主色</span>
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>
...@@ -311,26 +309,82 @@ ...@@ -311,26 +309,82 @@
SelfWCountryList: [], //国家列表 SelfWCountryList: [], //国家列表
SelfWLocationList: [], //地区列表 SelfWLocationList: [], //地区列表
SelfWCityList: [], //城市列表 SelfWCityList: [], //城市列表
colorArr:[ colorArr: [{
{ColorName:'红色',ColorValue:'#E53935'}, ColorName: '红色',
{ColorName:'玫红',ColorValue:'#D61159'}, ColorValue: '#E53935'
{ColorName:'紫色',ColorValue:'#8E24AA'}, },
{ColorName:'深紫色',ColorValue:'#4C24AB'}, {
{ColorName:'深蓝色',ColorValue:'#3949AB'}, ColorName: '玫红',
{ColorName:'蓝色',ColorValue:'#1B84F1'}, ColorValue: '#D61159'
{ColorName:'浅蓝色',ColorValue:'#039BE6'}, },
{ColorName:'青色',ColorValue:'#00ACC2'}, {
{ColorName:'深绿色',ColorValue:'#01887A'}, ColorName: '紫色',
{ColorName:'绿色',ColorValue:'#4AAC45'}, ColorValue: '#8E24AA'
{ColorName:'浅绿',ColorValue:'#7DB343'}, },
{ColorName:'青绿色',ColorValue:'#C0CA35'}, {
{ColorName:'黄色',ColorValue:'#FDD734'}, ColorName: '深紫色',
{ColorName:'深黄色',ColorValue:'#F5BE1B'}, ColorValue: '#4C24AB'
{ColorName:'橙色',ColorValue:'#FB8C00'}, },
{ColorName:'橘红色',ColorValue:'#F5511E'}, {
{ColorName:'深灰色',ColorValue:'#767676'}, ColorName: '深蓝色',
{ColorName:'墨绿色',ColorValue:'#546F7A'}, ColorValue: '#3949AB'
{ColorName:'深咖色',ColorValue:'#6E4C43'}, },
{
ColorName: '蓝色',
ColorValue: '#1B84F1'
},
{
ColorName: '浅蓝色',
ColorValue: '#039BE6'
},
{
ColorName: '青色',
ColorValue: '#00ACC2'
},
{
ColorName: '深绿色',
ColorValue: '#01887A'
},
{
ColorName: '绿色',
ColorValue: '#4AAC45'
},
{
ColorName: '浅绿',
ColorValue: '#7DB343'
},
{
ColorName: '青绿色',
ColorValue: '#C0CA35'
},
{
ColorName: '黄色',
ColorValue: '#FDD734'
},
{
ColorName: '深黄色',
ColorValue: '#F5BE1B'
},
{
ColorName: '橙色',
ColorValue: '#FB8C00'
},
{
ColorName: '橘红色',
ColorValue: '#F5511E'
},
{
ColorName: '深灰色',
ColorValue: '#767676'
},
{
ColorName: '墨绿色',
ColorValue: '#546F7A'
},
{
ColorName: '深咖色',
ColorValue: '#6E4C43'
},
] ]
}; };
}, },
......
<template> <template>
<div>clickFeature <div>
<div class="TravelFeature" :class="{'foldHeight':isFold==1}"> <div class="TravelFeature" :class="{'foldHeight':isFold==1}">
<span class="TMTitle"> <span class="TMTitle">
<i></i>{{$t('sm.chanpintese')}} <i></i>{{$t('sm.chanpintese')}}
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
<div class="TFslide" <div class="TFslide"
:class="{'TFcked':item.isShow,'display_none':(item.TypeState===4 && FeatureData.FeatureType !== 4) || (item.TypeState===4 && !$route.query.configId)}" :class="{'TFcked':item.isShow,'display_none':(item.TypeState===4 && FeatureData.FeatureType !== 4) || (item.TypeState===4 && !$route.query.configId)}"
@click="clickFeature(item)" :key="item.subCode" @click="clickFeature(item)" :key="item.subCode"
v-if="((item.TypeState>3 && CurrentUserInfo.RB_Group_id==QjGroupId())||item.TypeState<=3)"> >
<!--v-if="((item.TypeState>3 && CurrentUserInfo.RB_Group_id==QjGroupId())||item.TypeState<=3)"-->
<img v-bind:src="item.imgUrl"> <img v-bind:src="item.imgUrl">
<div>{{item.ckTitle}}</div> <div>{{item.ckTitle}}</div>
</div> </div>
......
...@@ -227,6 +227,7 @@ ...@@ -227,6 +227,7 @@
TripMapList: [], TripMapList: [],
NotQueryCityList: [], //使用系统中的经纬度城市 NotQueryCityList: [], //使用系统中的经纬度城市
FeaturePageType: 0, //1横版 2竖版 FeaturePageType: 0, //1横版 2竖版
TeamType:0,
}, },
//行程 //行程
FeatureData: { FeatureData: {
...@@ -305,7 +306,7 @@ ...@@ -305,7 +306,7 @@
ckedNav: 1, ckedNav: 1,
modifyType: 1, //1:系列团修改,2:单团修改 modifyType: 1, //1:系列团修改,2:单团修改
modifyTcid: 0, //修改单团期id modifyTcid: 0, //修改单团期id
TeamType: '', TeamType: '0',
loading: false, loading: false,
isNewConfig: true, isNewConfig: true,
offerMsg: { offerMsg: {
......
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
<div> <div>
<div class="TravelPrice clearfix" :class="{'foldHeight':isFold==1}"> <div class="TravelPrice clearfix" :class="{'foldHeight':isFold==1}">
<span class="TMTitle"> <span class="TMTitle">
<i></i>{{$t('sm.tuanqishezhi')}} <i></i>{{$t('sm.tuanqishezhi')}}
</span> </span>
<span class="foldList" @click="fold" v-if="isFold==''">{{$t('sm.djzd')}}</span> <span class="foldList" @click="fold" v-if="isFold==''">{{$t('sm.djzd')}}</span>
<span class="foldList" @click="fold" v-if="isFold==1">{{$t('sm.djzk')}}</span> <span class="foldList" @click="fold" v-if="isFold==1">{{$t('sm.djzk')}}</span>
...@@ -654,7 +654,7 @@ ...@@ -654,7 +654,7 @@
</el-form-item> </el-form-item>
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span>
<el-select class="w180" v-model="priceData.OutBranchId" @change="getstandardCurrencyName" disabled> <el-select class="w180" v-model="priceData.OutBranchId" @change="getstandardCurrencyName" :disabled="CurrentUserInfo.RB_Group_id==2">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id"> <el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option> </el-option>
......
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