|
@@ -187,8 +187,9 @@
|
|
|
<el-button v-if="scope.row.tourCode==''" size="mini" title="确认出团" type="primary" @click="confirmDeparture(scope.$index, scope.row)"><i class="el-icon-check"></i></el-button>
|
|
|
<el-button
|
|
|
v-if="scope.row.tourCode!=''"
|
|
|
+ @click="EnterpriseWeChatNotificationAsyncBaoPi(scope.$index, scope.row)"
|
|
|
size="mini"
|
|
|
- title="已出团"
|
|
|
+ title="完成报批工作后请点击此按钮"
|
|
|
><i class="el-icon-check"></i></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -397,8 +398,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
//报价word
|
|
|
- GroupQuotationsDetailFileDown(val){
|
|
|
- var url = "/api/Groups/GroupQuotationsDetailFileDown"
|
|
|
+ GroupQuotationsFileDown(val){
|
|
|
+ var url = "/api/Groups/GroupQuotationsFileDown"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
|
method: 'post',
|
|
@@ -423,6 +424,31 @@ export default {
|
|
|
|
|
|
})
|
|
|
},
|
|
|
+ //报批
|
|
|
+ EnterpriseWeChatNotificationAsyncBaoPi(index, row){
|
|
|
+ var url = "/api/Groups/EnterpriseWeChatNotificationAsyncBaoPi"
|
|
|
+ var that = this
|
|
|
+ this.$axios({
|
|
|
+ method: 'post',
|
|
|
+ url: url,
|
|
|
+ headers: {
|
|
|
+ Authorization: 'Bearer '
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ diid:row.id,
|
|
|
+ }
|
|
|
+ }).then(function (res) {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ that.$message({
|
|
|
+ message:res.data.msg ,
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ that.$message.error(res.data.msg);
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
contracton(val){
|
|
|
this.hetonggroupId=0;
|
|
|
this.hetonggroupId=val.id;
|