Browse Source

作业发布后不允许修改

zhuth 7 years ago
parent
commit
52691d88d7
1 changed files with 7 additions and 0 deletions
  1. 7 0
      frontend/pc-web/app/view/Interaction/homework/Release.js

+ 7 - 0
frontend/pc-web/app/view/Interaction/homework/Release.js

@@ -135,6 +135,13 @@ Ext.define('school.view.interaction.homework.Release', {
                 bind: {
                     hidden: '{!showDeleteBtn || !task_id || task_status == 1}'
                 },
+            }, {
+                apply: true,
+                text: '保存',
+                bind: {
+                    hidden: '{!showSaveBtn || task_status == 1}',
+                    disabled: '{!base.valid}'
+                }
             }],
             toolBtns: [{
                 xtype: 'button',