liuchengxin
2022-01-24 1908a80cd8224860bb704486fa78a18cc9a06bf7
src/views/system/notice/index.vue
@@ -96,7 +96,7 @@
          <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
      <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
@@ -125,7 +125,7 @@
    />
    <!-- 添加或修改公告对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="780px" append-to-body>
    <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="780px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-row>
          <el-col :span="12">
@@ -302,7 +302,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const noticeIds = row.noticeId || this.ids
      this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delNotice(noticeIds);
      }).then(() => {
        this.getList();
@@ -311,4 +311,4 @@
    }
  }
};
</script>
</script>