Browse Source

团组信息

liuhj 1 day ago
parent
commit
d5ecfb840d
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/components/OP/OPgroup.vue

+ 7 - 1
src/components/OP/OPgroup.vue

@@ -187,9 +187,10 @@
                             <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!=''"
+                            :type="scope.row.step==2?'primary':''"
                             @click="EnterpriseWeChatNotificationAsyncBaoPi(scope.$index, scope.row)"
                             size="mini"
-                            title="通知国交各岗位可以开始业务操作"
+                            :title="scope.row.step==2?'已通知开始业务操作':'通知国交各岗位可以开始业务操作'"
                             ><i class="el-icon-check"></i></el-button>
                         </template>
                         </el-table-column>
@@ -426,6 +427,10 @@ export default {
         },
         //报批
         EnterpriseWeChatNotificationAsyncBaoPi(index, row){
+            if (row.step==2) {
+                this.$message.error("已通知开始业务操作,无需重复操作!");
+                return
+            }
             var url = "/api/Groups/EnterpriseWeChatNotificationAsyncBaoPi"
             var that = this
             this.$axios({
@@ -435,6 +440,7 @@ export default {
                     Authorization: 'Bearer '
                 },
                 data: {
+                    currUserId:that.userid,
                     diid:row.id,
                 }
             }).then(function (res) {