| | |
| | | @close="handleClose"> |
| | | <div class="evaluate-dialog-layout"> |
| | | <!-- 左侧评分规则说明 --> |
| | | <div class="evaluate-rule-panel"> |
| | | <!-- <div class="evaluate-rule-panel"> |
| | | <div class="rule-title">设立课题规则</div> |
| | | <div class="rule-content"> |
| | | <ol> |
| | |
| | | <li>在可行研究阶段,工艺开发升级,重新规划工艺研究路线,则以新规划的工艺路线方案来设定课题。</li> |
| | | </ol> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <!-- 右侧评定表及表单 --> |
| | | <div class="evaluate-main-panel"> |
| | | <el-form ref="form" :model="form" :rules="rules" label-position="top" class="evaluate-form"> |
| | |
| | | <el-table-column prop="index" label="序号" width="60"> |
| | | <template slot-scope="scope">{{ scope.row.index }}</template> |
| | | </el-table-column> |
| | | <el-table-column prop="standard" :label="type == 1 || type == '1' ? '规程型课题评定标准' : '创新型课题评定标准'"> |
| | | <el-table-column prop="standard" :label="type == 2 || type == '2' ? '规程型课题评定标准' : '创新型课题评定标准'"> |
| | | <template slot-scope="scope">{{ scope.row.standard }}</template> |
| | | </el-table-column> |
| | | <el-table-column prop="fullScore" label="满分值" width="80"> |
| | |
| | | placeholder="请输入" :controls="false" style="width: 100%;" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="rule" :label="type == 1 || type == '1' ? '规程型课题报告评分规则' : '创新型课题报告评分规则'"> |
| | | <el-table-column prop="rule" :label="type == 2 || type == '2' ? '规程型课题报告评分规则' : '创新型课题报告评分规则'"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.$index === 0 && (type == 1 || type == '1')"> |
| | | <span v-if="scope.$index === 0 && (type == 2 || type == '2')"> |
| | | 1. 规程型课题评定总分的满分为5分。<br> |
| | | 2. 某分项工作完成,但出现以下三种错误中的1种,则减1分:<br> |
| | | ①有缺项、漏项;②或不完整衔接;③或工作被多人拖延。<br> |
| | | 3. 不能完成该分项的全部工作,或课题不涉及该分项内容,则该分项评0分。 |
| | | </span> |
| | | <span v-if="scope.$index === 0 && (type == 2 || type == '2')"> |
| | | <span v-if="scope.$index === 0 && (type == 1 || type == '1')"> |
| | | 1. 各分项评满分,应满足以下四项要求:<br> |
| | | ①分项内容:清晰、系统、完整,结构逻辑清晰,无缺项;<br> |
| | | ②团队工作运行顺畅,计划时间高效。<br> |
| | |
| | | detailData: {} |
| | | }; |
| | | }, |
| | | watch: { |
| | | type(val) { |
| | | console.log(val); |
| | | |
| | | } |
| | | }, |
| | | computed: { |
| | | currentAssessmentTable() { |
| | | return this.type == 1 || this.type == '1' ? this.assessmentTable1 : this.assessmentTable2; |
| | | return this.type == 2 || this.type == '2' ? this.assessmentTable1 : this.assessmentTable2; |
| | | }, |
| | | fullScore() { |
| | | return this.type == 1 || this.type == '1' |
| | | return this.type == 2 || this.type == '2' |
| | | ? this.assessmentTable1.reduce((sum, item) => sum + (item.fullScore || 0), 0) |
| | | : this.assessmentTable2.reduce((sum, item) => sum + (item.fullScore || 0), 0); |
| | | }, |
| | |
| | | return this.currentAssessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0); |
| | | }, |
| | | dialogTitle() { |
| | | return this.type === "approve" ? "检测项评定" : "检测项评定详情"; |
| | | return this.type == "1" ? "创新型课题评定" : "规程型课题评定标准"; |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | this.form.reportCode = res.reportCode || ''; |
| | | this.form.reportName = res.reportName || ''; |
| | | this.form.id = res.id || ''; |
| | | if( res.evaluate.split(',').length == 6){ |
| | | this.type = 1 |
| | | } |
| | | this.currentAssessmentTable = this.currentAssessmentTable.map((item,index)=> { |
| | | item.selectedScore = res.evaluate.split(',')[index] || 0; |
| | | return item; |