Commit ee17348c authored by youjie's avatar youjie

no message

parent 122336ec
<style> <style>
@import "../assets/css/flex.css";
.TD_MainContent { .TD_MainContent {
min-height: 650px; min-height: 650px;
background: url(../assets/img/bodyBg.png); background: url(../assets/img/bodyBg.png);
...@@ -451,12 +452,15 @@ ...@@ -451,12 +452,15 @@
<div class="TD_MainContent" v-loading="pdfLoading"> <div class="TD_MainContent" v-loading="pdfLoading">
<div class="container-fluid"> <div class="container-fluid">
<div class="block mtop15"> <div class="block mtop15">
<div class="blockTitle"> <div class="blockTitle row justify-between">
<span class="icon"><i class="iconfont icon-wenjian"></i></span> <div>
<h2> <span class="icon"><i class="iconfont icon-wenjian"></i></span>
合同详情 &nbsp;&nbsp;<template v-if="dataList.saleName&&dataList.saleName!=''"> <h2>
{{$t('objFill.v101.xiaosoureny')}}:{{dataList.saleName}}</template> 合同详情 &nbsp;&nbsp;<template v-if="dataList.saleName&&dataList.saleName!=''">
<span> {{$t('objFill.v101.xiaosoureny')}}:{{dataList.saleName}}</template>
</h2>
</div>
<div>
<template v-if="dataList.orderType==0"> <template v-if="dataList.orderType==0">
<input type="button" class="TCbtn-info" @click="(dialogVisible = true), getGuestList()" value="复制合同" /> <input type="button" class="TCbtn-info" @click="(dialogVisible = true), getGuestList()" value="复制合同" />
</template> </template>
...@@ -466,8 +470,10 @@ ...@@ -466,8 +470,10 @@
@click="isShowFade=true,GetQrCode()" :value="$t('objFill.v101.Contract.kehuqz')" /> @click="isShowFade=true,GetQrCode()" :value="$t('objFill.v101.Contract.kehuqz')" />
<input type="button" class="TCbtn-info" :value="$t('objFill.xz')" <input type="button" class="TCbtn-info" :value="$t('objFill.xz')"
@click="toContractPDF(dataList.contractNum)" /> @click="toContractPDF(dataList.contractNum)" />
</span> <input v-if="dataList.thirdContractState == 1" type="button" class="TCbtn-info" value="发送短信通知" @click="SMSnotification()"/>
</h2> <input v-if="dataList.thirdContractFileUrl" type="button" class="TCbtn-info" @click="OpenNewUrl(dataList.thirdContractFileUrl)"
:value="'旅游局合同'+$t('sm.yulan')" />
</div>
</div> </div>
<div class="contract"> <div class="contract">
<div class="title"> <div class="title">
...@@ -1590,6 +1596,7 @@ ...@@ -1590,6 +1596,7 @@
export default { export default {
data() { data() {
return { return {
SMLoading: false,
CurrentUserInfo: {}, CurrentUserInfo: {},
//选中切换 //选中切换
cked: 1, cked: 1,
...@@ -1624,6 +1631,41 @@ ...@@ -1624,6 +1631,41 @@
}; };
}, },
methods: { methods: {
SMSnotification(){
if(this.SMLoading) return
this.$confirm("是否发送短信通知?", this.$t("tips.tips"), {
confirmButtonText: this.$t("pub.sureBtn"),
cancelButtonText: this.$t("pub.cancelBtn"),
type: "warning",
})
.then(() => {
var that = this;
let msg = {
ContractId: that.dataList.Id,
ContractType: 1,
}
this.SMLoading = true
that.apipost(
"travelcontract_post_ReSendContract",
msg,
res => {
if (res.data.resultCode == 1) {
that.SMLoading = false
that.Success(this.$t('objFill.chaozuochenggong'));
that.getList()
} else {
that.SMLoading = false
that.Error(res.data.message);
}
},err=>{
that.SMLoading = false
}
);
})
.catch(() => {
});
},
getKongge(str){ getKongge(str){
return str.replace(/\s+/g, ""); return str.replace(/\s+/g, "");
}, },
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<th width="100">{{$t('hotel.hotel_StarDate')}}</th> <th width="100">{{$t('hotel.hotel_StarDate')}}</th>
<th width="100">{{$t('sm.fanhuiDate')}}</th> <th width="100">{{$t('sm.fanhuiDate')}}</th>
<th width="80">{{$t('hotel.hotel_status')}}</th> <th width="80">{{$t('hotel.hotel_status')}}</th>
<th width="80">旅游局合同</th> <th width="100">旅游局合同</th>
<th width="80">{{$t('objFill.shifougz')}}</th> <th width="80">{{$t('objFill.shifougz')}}</th>
<th width="125">{{$t('active.cl_addPp')}}</th> <th width="125">{{$t('active.cl_addPp')}}</th>
<th width="200">{{$t('hotel.table_operat')}}</th> <th width="200">{{$t('hotel.table_operat')}}</th>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<span v-if="item.ThirdContractID" <span v-if="item.ThirdContractID"
:class="[item.ThirdContractFileUrl?'c3FC4FF pointer':'']" :class="[item.ThirdContractFileUrl?'c3FC4FF pointer':'']"
@click="item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''"> @click="item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''">
{{item.ThirdContractID}} {{item.ThirdContractID}}</span> <br/>
<span v-if="item.ThirdContractState==0" class="c9e">待上传</span> <span v-if="item.ThirdContractState==0" class="c9e">待上传</span>
<span v-if="item.ThirdContractState==1" class="c3FC4FF">待签名</span> <span v-if="item.ThirdContractState==1" class="c3FC4FF">待签名</span>
<span v-if="item.ThirdContractState==2" class="c20C997">已签署</span> <span v-if="item.ThirdContractState==2" class="c20C997">已签署</span>
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
<span v-if="item.ThirdContractID" <span v-if="item.ThirdContractID"
:class="[item.ThirdContractFileUrl?'c3FC4FF pointer':'']" :class="[item.ThirdContractFileUrl?'c3FC4FF pointer':'']"
@click="item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''"> @click="item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''">
{{item.ThirdContractID}} {{item.ThirdContractID}} <br/>
<span v-if="item.ThirdContractState==0" class="c9e">待上传</span> <span v-if="item.ThirdContractState==0" class="c9e">待上传</span>
<span v-if="item.ThirdContractState==1" class="c3FC4FF">待签名</span> <span v-if="item.ThirdContractState==1" class="c3FC4FF">待签名</span>
<span v-if="item.ThirdContractState==2" class="c20C997">已签署</span> <span v-if="item.ThirdContractState==2" class="c20C997">已签署</span>
......
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