From 2787212362c5a23bf5dd94b1bb9cae4ec3fe4caa Mon Sep 17 00:00:00 2001 From: MichelleChung <1242874891@qq.com> Date: 星期五, 03 二月 2023 09:47:41 +0800 Subject: [PATCH] !284 更新常量 GenConstants,优化 Map 返回结构 * update 优化返回结构, 将 Map 改为指定 Vo 对象 ; * update GenConstants 扩展数据库数据类型, 更新 BO, VO, ENTITY 字段, 并移动到 generator 模块 ; --- ruoyi-ui/src/views/system/notice/index.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/notice/index.vue b/ruoyi-ui/src/views/system/notice/index.vue index 19e25a0..daf5c46 100644 --- a/ruoyi-ui/src/views/system/notice/index.vue +++ b/ruoyi-ui/src/views/system/notice/index.vue @@ -9,9 +9,9 @@ @keyup.enter.native="handleQuery" /> </el-form-item> - <el-form-item label="鎿嶄綔浜哄憳" prop="createBy"> + <el-form-item label="鎿嶄綔浜哄憳" prop="createByName"> <el-input - v-model="queryParams.createBy" + v-model="queryParams.createByName" placeholder="璇疯緭鍏ユ搷浣滀汉鍛�" clearable @keyup.enter.native="handleQuery" @@ -88,7 +88,7 @@ <dict-tag :options="dict.type.sys_notice_status" :value="scope.row.status"/> </template> </el-table-column> - <el-table-column label="鍒涘缓鑰�" align="center" prop="createBy" width="100" /> + <el-table-column label="鍒涘缓鑰�" align="center" prop="createByName" width="100" /> <el-table-column label="鍒涘缓鏃堕棿" align="center" prop="createTime" width="100"> <template slot-scope="scope"> <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> @@ -200,7 +200,7 @@ pageNum: 1, pageSize: 10, noticeTitle: undefined, - createBy: undefined, + createByName: undefined, status: undefined }, // 琛ㄥ崟鍙傛暟 @@ -282,6 +282,7 @@ this.$refs["form"].validate(valid => { if (valid) { if (this.form.noticeId != undefined) { + console.log(this.$refs['form']) updateNotice(this.form).then(response => { this.$modal.msgSuccess("淇敼鎴愬姛"); this.open = false; @@ -309,4 +310,4 @@ } } }; -</script> \ No newline at end of file +</script> -- Gitblit v1.9.3