浏览代码

修改课程模板

吴树波 2 月之前
父节点
当前提交
22e53c0aef
共有 4 个文件被更改,包括 8 次插入5 次删除
  1. 2 2
      src/api/qw/groupChat.js
  2. 2 2
      src/views/course/courseFinishTemp/index.vue
  3. 1 1
      src/views/qw/sop/addSop.vue
  4. 3 0
      src/views/qw/sop/sop.vue

+ 2 - 2
src/api/qw/groupChat.js

@@ -31,10 +31,10 @@ export function cogradientGroupChat(corpId) {
 }
 }
 
 
 
 
-export function listAll(qwUserIds) {
+export function listAll(qwUserIds, corpId) {
   return request({
   return request({
     url: '/qw/groupChat/listAll',
     url: '/qw/groupChat/listAll',
     method: 'get',
     method: 'get',
-    params:{qwUserIds}
+    params:{qwUserIds, corpId}
   })
   })
 }
 }

+ 2 - 2
src/views/course/courseFinishTemp/index.vue

@@ -62,10 +62,10 @@
           plain
           plain
           icon="el-icon-edit"
           icon="el-icon-edit"
           size="mini"
           size="mini"
-          :disabled="single"
+          :disabled="multiple"
           @click="handleUpdate"
           @click="handleUpdate"
           v-hasPermi="['courseFinishTemp:course:edit']"
           v-hasPermi="['courseFinishTemp:course:edit']"
-        >修改
+        >修改状态
         </el-button>
         </el-button>
       </el-col>
       </el-col>
       <el-col :span="1.5">
       <el-col :span="1.5">

+ 1 - 1
src/views/qw/sop/addSop.vue

@@ -903,7 +903,7 @@ export default {
       return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
       return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
     },
     },
     loadChatList() {
     loadChatList() {
-      chatListAll(this.qwUserIds.join()).then(e => {
+      chatListAll(this.qwUserIds.join(), this.form.corpId).then(e => {
         this.qwGroupList = e.data;
         this.qwGroupList = e.data;
       })
       })
     },
     },

+ 3 - 0
src/views/qw/sop/sop.vue

@@ -1761,6 +1761,9 @@ export default {
       this.sendMsgOpen.open = false;
       this.sendMsgOpen.open = false;
       this.resetSendMsgSop();
       this.resetSendMsgSop();
     },
     },
+    delSetList(index){
+      this.setting.splice(index,1)
+    },
   }
   }
 };
 };
 </script>
 </script>