lideyin 4 gadi atpakaļ
vecāks
revīzija
594679ac4d
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      src/modules/basic/view/sys_notice.vue

+ 4 - 0
src/modules/basic/view/sys_notice.vue

@@ -74,6 +74,7 @@ export default {
     return {
       examDatetimeRange: [],
       ruleForm: {
+        id: null,
         rootOrgId: -1,
         content: "",
         startTime: null,
@@ -125,8 +126,11 @@ export default {
           let data = response.data;
           (this.ruleForm.rootOrgId = data.rootOrgId),
             (this.ruleForm.content = data.content);
+          this.ruleForm.id = data.id;
           this.ruleForm.startTime = data.startTime;
           this.ruleForm.endTime = data.endTime;
+          this.ruleForm.title = data.title;
+          this.ruleForm.enable = data.enable;
 
           this.examDatetimeRange = [
             this.ruleForm.startTime,