Commit 3a8560ec authored by youjie's avatar youjie

no message

parent caba3daa
......@@ -561,6 +561,19 @@
<button class="normalBtn" type="primary" @click="!isBoHui?AuditElec():SubmitContract(BoHuiObj,auditMsg.AuditContract)">{{$t('pub.sureBtn')}}</button>
</div>
</el-dialog>
<el-dialog custom-class='w350' :visible.sync="isShowTG" :title="TGTitle"
:before-close="()=>{auditMsg.IsApplyContract=0,isShowTG=false}">
<el-row :gutter="16">
<el-col :span="24" class="row mb-lg">
<el-radio v-model="auditMsg.IsApplyContract" :label="0"></el-radio>
<el-radio v-model="auditMsg.IsApplyContract" :label="1"></el-radio>
</el-col>
</el-row>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="isShowTG = false">{{$t('pub.cancelBtn')}}</button> &nbsp;
<button class="normalBtn" type="primary" @click="activeName==1?AuditElec():setContractStatus(auditMsg,auditMsg.status)">{{$t('pub.sureBtn')}}</button>
</div>
</el-dialog>
</div>
</template>
......@@ -569,6 +582,8 @@
export default {
data() {
return {
TGTitle: '',
isShowTG: false,
msgOut: {
ContractNum: '',
ProductName: '',
......@@ -751,17 +766,8 @@
this.auditMsg.Id = item.Id;
this.auditMsg.AuditContract = type;
if (type == 2) {
this.$confirm('是否提交到旅游局', this.$t('tips.tips'), {
confirmButtonText: '确认提交到旅游局',
cancelButtonText: '通过',
type: "warning",
}).then(() => {
that.auditMsg.IsApplyContract = 1
that.AuditElec();
}).catch(()=>{
that.AuditElec();
});
this.TGTitle = '是否提交到旅游局'
this.isShowTG = true;
} else {
this.hetongTitle = `${this.$t('objFill.v101.administrative.hetongbohui')}`
this.isShowContract = true;
......@@ -773,9 +779,10 @@
this.apipost("travelcontract_get_UpdateAuditContractService", this.auditMsg, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.getListOutTract();
this.getListOutTract()
this.closeContractDialog();
this.auditMsg.IsApplyContract = 0
this.isShowTG = false
} else {
this.Error(res.data.message);
}
......@@ -880,16 +887,13 @@
message = this.$t('fnc.bohui');
}
if(status==2){
this.$confirm('是否提交到旅游局', this.$t('tips.tips'), {
confirmButtonText: '确认提交到旅游局',
cancelButtonText: '通过',
type: "warning",
}).then(() => {
that.auditMsg.IsApplyContract = 1
that.setContractStatus(item,status);
}).catch(()=>{
that.setContractStatus(item,status);
});
this.TGTitle = '是否提交到旅游局'
that.auditMsg = {
...that.auditMsg,
...item,
status,
}
this.isShowTG = true
}else{
this.$confirm(that.$t('objFill.shifou') + "【" + message + "】" + this.$t('objFill.v101.administrative.chihet') +
"?", {
......@@ -919,6 +923,7 @@
this.getOtherList();
this.closeContractDialog()
this.auditMsg.IsApplyContract = 0
this.isShowTG = false
} else {
this.Error(res.data.message)
}
......
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