mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
nitice module modified query with mybatis plus linked table to xml
This commit is contained in:
@@ -111,7 +111,7 @@ export default {
|
||||
{ min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
typeId: [
|
||||
{ type:'array',required: true, message: '请选择公告类型', trigger: 'change' }
|
||||
{ required: true, message: '请选择公告类型', trigger: 'change' }
|
||||
],
|
||||
sendTime: [
|
||||
{ type: 'date', required: true, message: '请选择生效时间', trigger: 'change' }
|
||||
@@ -167,12 +167,16 @@ export default {
|
||||
}
|
||||
if (this.noticeEdit) {
|
||||
this.addData = this.noticeEdit
|
||||
// 判断是否置顶
|
||||
this.addData.top=this.noticeEdit.top===1;
|
||||
console.log(this.addData)
|
||||
}
|
||||
},
|
||||
updated() {
|
||||
if (this.noticeEdit) {
|
||||
this.addData = this.noticeEdit
|
||||
// 判断是否置顶
|
||||
this.addData.top=this.noticeEdit.top===1;
|
||||
console.log(this.addData)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user