Commit 3e251715 authored by 黄奎's avatar 黄奎

页面修改

parent cad0f283
...@@ -599,7 +599,7 @@ ...@@ -599,7 +599,7 @@
style="background:#67c23a; border-color:#67c23a">查看行程</el-button> style="background:#67c23a; border-color:#67c23a">查看行程</el-button>
<el-button v-if="item.TCState==2||item.TCState==0||item.TCState==1" @click.native="setUpPlat(item)" <el-button v-if="item.TCState==2||item.TCState==0||item.TCState==1" @click.native="setUpPlat(item)"
type="primary" style="background:#F16C3C; border-color:#F16C3C"> type="primary" style="background:#F16C3C; border-color:#F16C3C">
上架</el-button> 审核</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -630,19 +630,41 @@ ...@@ -630,19 +630,41 @@
<div class="combottomDiv TC_divCon" v-if="queryCommonData.setPlatDialog"> <div class="combottomDiv TC_divCon" v-if="queryCommonData.setPlatDialog">
<div class="combottomTitle">{{$t('Operation.Op_choicePlat')}}</div> <div class="combottomTitle">{{$t('Operation.Op_choicePlat')}}</div>
<span class="setPlatLeft">{{$t('Operation.Op_salesPlat')}}</span> <table>
<span> <tr>
<el-checkbox v-model="queryCommonData.checkDialogAll" @change="checkAllDialog" style="margin-right:20px;"> <td>
{{$t('system.table_chekAll')}}</el-checkbox> <span class="setPlatLeft">{{$t('Operation.Op_salesPlat')}}</span>
<el-checkbox-group v-model="queryCommonData.ckedplat" @change="checkDialog"> </td>
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name"> <td>
{{sales.Name}}</el-checkbox> <span>
</el-checkbox-group> <el-checkbox v-model="queryCommonData.checkDialogAll" @change="checkAllDialog" style="margin-right:20px;">
</span> {{$t('system.table_chekAll')}}</el-checkbox>
<span> <el-checkbox-group v-model="queryCommonData.ckedplat" @change="checkDialog">
<button class="normalBtn" style="margin-left:50px;" @click="SetshelvesUp">{{$t('pub.sureBtn')}}</button> <el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name">
<button class="hollowFixedBtn" @click="queryCommonData.setPlatDialog=false">{{$t('pub.cancelBtn')}}</button> {{sales.Name}}</el-checkbox>
</span> </el-checkbox-group>
</span>
</td>
</tr>
<tr>
<td>
<span class="setPlatLeft">备注</span>
</td>
<td>
<el-input type="textarea" v-model="remarkMsg.AuditRemark"></el-input>
</td>
</tr>
<tr>
<td colspan="2">
<span>
<button class="normalBtn" style="margin-left:50px;" @click="SetshelvesUp(2)">通过</button>
<button class="normalBtn" style="margin-left:10px;" @click="SetshelvesUp(3)">拒绝</button>
<button class="hollowFixedBtn" @click="queryCommonData.setPlatDialog=false">{{$t('pub.cancelBtn')}}</button>
</span>
</td>
</tr>
</table>
</div> </div>
<div class="combottomDiv OPremarkDiv" v-if="queryCommonData.outerVisible"> <div class="combottomDiv OPremarkDiv" v-if="queryCommonData.outerVisible">
...@@ -786,7 +808,8 @@ ...@@ -786,7 +808,8 @@
IsShowUnion: 1, IsShowUnion: 1,
//团控状态 //团控状态
FreePlanType: -1, FreePlanType: -1,
DepartmentIdLimit:1,//是否开启部门查询权限 DepartmentIdLimit: 1, //是否开启部门查询权限
AuditStatus:1,//待审
}, },
remarkMsg: { remarkMsg: {
TCID: 0, TCID: 0,
...@@ -795,7 +818,8 @@ ...@@ -795,7 +818,8 @@
//配置 //配置
ConfigId: 0, ConfigId: 0,
//本团卖点 //本团卖点
ProductRecommend: "" ProductRecommend: "",
AuditRemark: "", //审核备注
}, },
flightStatus: [{ flightStatus: [{
Id: 0, Id: 0,
...@@ -1088,11 +1112,13 @@ ...@@ -1088,11 +1112,13 @@
}); });
}, },
//单团设置上架 //单团设置上架
SetshelvesUp() { SetshelvesUp(type) {
let msg = { let msg = {
TCID: this.queryCommonData.singleTCID, TCID: this.queryCommonData.singleTCID,
TCState: 3, TCState: 3,
SalePlat: this.queryCommonData.ckedplat.join(",") SalePlat: this.queryCommonData.ckedplat.join(","),
AuditStatus: type,
AuditRemark: this.remarkMsg.AuditRemark
}; };
if (msg.SalePlat == "") { if (msg.SalePlat == "") {
this.Error(this.$t('Operation.Op_choicePlat')); this.Error(this.$t('Operation.Op_choicePlat'));
......
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