liuhj 20 小時之前
父節點
當前提交
4d523bfa83
共有 1 個文件被更改,包括 29 次插入3 次删除
  1. 29 3
      src/components/OP/OPgroup.vue

+ 29 - 3
src/components/OP/OPgroup.vue

@@ -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;