Commit 2b49c43d authored by 黄奎's avatar 黄奎

页面修改

parent 016af6d5
...@@ -1115,6 +1115,10 @@ ...@@ -1115,6 +1115,10 @@
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-button @click.native='PushMessage(item)' type="primary"
style="background:#00C6FF; border-color:#00C6FF;margin-top:5px;">推送消息
</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -1505,6 +1509,20 @@ ...@@ -1505,6 +1509,20 @@
}, },
}, },
methods: { methods: {
PushMessage(item) {
var pMsg = {
TCID: item.TCID
};
this.apipost("travel_post_PushTravelPriceToQYWork", pMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
showDialog(ConfigId, OfferId) { showDialog(ConfigId, OfferId) {
this.dialog = { this.dialog = {
show: true, show: true,
......
...@@ -756,6 +756,10 @@ ...@@ -756,6 +756,10 @@
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-button @click.native='PushMessage(item)' type="primary"
style="background:#00C6FF; border-color:#00C6FF;margin-top:5px;">推送消息
</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -1010,6 +1014,20 @@ ...@@ -1010,6 +1014,20 @@
}; };
}, },
methods: { methods: {
PushMessage(item) {
var pMsg = {
TCID: item.TCID
};
this.apipost("travel_post_PushTravelPriceToQYWork", pMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
showDialog(ConfigId, OfferId) { showDialog(ConfigId, OfferId) {
this.dialog = { this.dialog = {
show: true, show: true,
......
...@@ -470,7 +470,8 @@ ...@@ -470,7 +470,8 @@
</span> </span>
</p> </p>
<p class="travelnowrap" v-if="item.Config_OfferId"> <p class="travelnowrap" v-if="item.Config_OfferId">
<span style="cursor:pointer;text-decoration:underline;color:blue;" @click="showDialog(item.ID, item.Config_OfferId)">报价详情</span> <span style="cursor:pointer;text-decoration:underline;color:blue;"
@click="showDialog(item.ID, item.Config_OfferId)">报价详情</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -660,7 +661,8 @@ ...@@ -660,7 +661,8 @@
<el-dropdown-item v-if="item.TCState==3" @click.native="Setshelves(item.TCID)"> <el-dropdown-item v-if="item.TCState==3" @click.native="Setshelves(item.TCID)">
{{$t('Operation.Op_xiajia')}} {{$t('Operation.Op_xiajia')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.Status==1&&Number(item.OrderGuestNum)>0" @click.native="OutGroup(item.TCID,2)"> <el-dropdown-item v-if="item.Status==1&&Number(item.OrderGuestNum)>0"
@click.native="OutGroup(item.TCID,2)">
{{$t('Operation.Op_jietuan')}} {{$t('Operation.Op_jietuan')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.Status==2" @click.native="OutGroup(item.TCID,1)">{{$t('visaT.sale')}} <el-dropdown-item v-if="item.Status==2" @click.native="OutGroup(item.TCID,1)">{{$t('visaT.sale')}}
...@@ -681,6 +683,10 @@ ...@@ -681,6 +683,10 @@
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-button @click.native='PushMessage(item)' type="primary"
style="background:#00C6FF; border-color:#00C6FF;margin-top:5px;">推送消息
</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -974,6 +980,20 @@ ...@@ -974,6 +980,20 @@
} }
}, },
methods: { methods: {
PushMessage(item) {
var pMsg = {
TCID: item.TCID
};
this.apipost("travel_post_PushTravelPriceToQYWork", pMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
//显示报价单弹窗 //显示报价单弹窗
showDialog(ConfigId, OfferId) { showDialog(ConfigId, OfferId) {
this.dialog = { this.dialog = {
......
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