zouyu
10 天以前 2d54d85fe641e3468c644f5854b1ea9b9311f514
src/views/system/notice/index.vue
@@ -68,7 +68,7 @@
         <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
      </el-row>
      <el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange">
      <el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange" stripe>
         <el-table-column type="selection" width="55" align="center" />
         <el-table-column label="序号" align="center" prop="noticeId" width="100" />
         <el-table-column
@@ -160,6 +160,7 @@
<script setup name="Notice">
import { listNotice, getNotice, delNotice, addNotice, updateNotice } from "@/api/system/notice"
import {onMounted} from "vue";
const { proxy } = getCurrentInstance()
const { sys_notice_status, sys_notice_type } = proxy.useDict("sys_notice_status", "sys_notice_type")
@@ -288,5 +289,7 @@
  }).catch(() => {})
}
getList()
onMounted(() => {
   getList();
});
</script>