zjk
2025-08-14 2c527d44ae31d2ec48a0835a10f8bdd9eb80d771
culture/src/views/strainReportLibrary/reportLibraryOneTWO/add.vue
@@ -64,7 +64,7 @@
                        <div slot="tip" class="el-upload__tip">支持任意格式文件上传</div>
                    </el-upload>
                </el-form-item>
                <div class="header-title" style="width: 100%;">
                <!-- <div class="header-title" style="width: 100%;">
                    <div class="header-title-left">
                        <img src="@/assets/public/headercard.png" />
                        <div>菌种实验员操作评定</div>
@@ -73,7 +73,6 @@
                <div class="header-title" style="width: 100%;display: flex; align-items: center;">
                    <div class="header-title-left mt-unset">
                        <!-- <img src="@/assets/public/headercard.png" /> -->
                        <div>菌种实验员</div>
                    </div>
                    <div class="header-title-right">
@@ -108,9 +107,9 @@
                            </div>
                        </div>
                    </div>
                </div>
                </div> -->
                <div class="table" style="margin-top: 38px">
                <!-- <div class="table" style="margin-top: 38px">
                    <el-table :data="assessmentTable" border style="width: 100%" :show-summary="true"
                        :span-method="tableSpanMethod" :summary-method="getTableSummary">
                        <el-table-column prop="category" label="菌种实验员专业能力考核项" width="180"></el-table-column>
@@ -142,7 +141,7 @@
                            </template>
                        </el-table-column>
                    </el-table>
                </div>
                </div> -->
                <div class="end-btn" style="margin-top: 38px">
                    <el-button type="primary" @click="addData" :loading="loading" :disabled="loading">发送</el-button>
@@ -359,21 +358,21 @@
                    this.loading = false;
                    return;
                }
                if (!this.selectedMember || !this.selectedMember[0]) {
                    this.$message.warning('请选择菌种实验员');
                    this.loading = false;
                    return;
                }
                // if (!this.selectedMember || !this.selectedMember[0]) {
                //     this.$message.warning('请选择菌种实验员');
                //     this.loading = false;
                //     return;
                // }
                const params = {
                    isDraft: 0,
                    projectId: this.projectData[0].id,
                    experimentId: this.selectedMember[0].userId,
                    // experimentId: this.selectedMember[0].userId,
                    enclosureUrl: this.fileList.length && JSON.stringify(this.fileList),
                    // reportCode: this.form.reportCode,
                    reportContent: this.$refs.materialEditor.getContent(),
                    reportName: this.form.reportName,
                    evaluateTotal: this.totalScore,
                    evaluate: str.join(','),
                    // evaluate: str.join(','),
                    reportType: 2
                };
@@ -425,7 +424,7 @@
                    const params = {
                        isDraft: 1,
                        projectId: this.projectData[0].id,
                        experimentId: this.selectedMember[0].userId,
                        // experimentId: this.selectedMember[0].userId,
                        enclosureUrl: this.fileList.length && JSON.stringify(this.fileList),
                        // reportCode: this.form.reportCode,
                        reportContent: this.$refs.materialEditor.getContent(),