deason 1 rok temu
rodzic
commit
9d681a4f2c
1 zmienionych plików z 4 dodań i 7 usunięć
  1. 4 7
      src/modules/examwork/view/notice.vue

+ 4 - 7
src/modules/examwork/view/notice.vue

@@ -127,10 +127,7 @@
                 @click="sendMsg(scope.row.id)"
                 >发送</el-button
               >
-              <el-dropdown
-                style="margin-left: 10px"
-                :disabled="scope.row.publishStatus != 'DRAFT'"
-              >
+              <el-dropdown style="margin-left: 10px">
                 <el-button type="primary" plain size="mini">
                   更多 <i class="el-icon-arrow-down el-icon--right"></i>
                 </el-button>
@@ -865,7 +862,7 @@ export default {
 
     //删除单个数据
     deleteById(row) {
-      this.$confirm("是否删除该通知?", "提示", {
+      this.$confirm("是否删除该公告?", "提示", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning",
@@ -883,9 +880,9 @@ export default {
     //删除多条数据
     deleteByIds() {
       if (this.selectedNoticeIds.length === 0) {
-        this.warn("请选择要删除的通知");
+        this.warn("请选择要删除的公告");
       } else {
-        this.$confirm("是否删除这些通知?", "提示", {
+        this.$confirm("是否删除这些公告?", "提示", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "error",