licp
2024-12-24 97bd43c4d9f4df55365e4634de347f2ac13145af
src/components/do/a6-personnel-training/Edit.vue
@@ -54,6 +54,14 @@
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="评价时间">
              <el-date-picker v-model="trainingForm.assessmentDate" :disabled="currentRow.state === 1" style="width:40%"
                              type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" size="small"
                              placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </el-col>
        </el-form>
      </el-row>
    </div>
@@ -203,6 +211,7 @@
    };
  },
  mounted() {
    console.log(this.currentRow, '当前数据')
    this.trainingForm = this.currentRow
    this.getInfo()
    this.getUserList()
@@ -339,6 +348,7 @@
        comprehensiveAssessment: this.trainingForm.comprehensiveAssessment,
        trainingDetailedId: this.trainingForm.id,
        assessmentUserId: this.trainingForm.assessmentUserId,
        assessmentDate: this.trainingForm.assessmentDate,
        state: state
      }
      const {code} = await this.$axios({