zjk
2025-08-14 2c527d44ae31d2ec48a0835a10f8bdd9eb80d771
culture/src/views/strainReportLibrary/reportLibraryOneThree/add.vue
@@ -64,17 +64,16 @@
                        <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>
                    </div>
                </div>
                </div> -->
                <div class="header-title" style="width: 100%;display: flex; align-items: center;">
                <!-- <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>
                    </div>
                    <div class="header-title-right">
                        <el-button @click="getMember" class="el-icon-circle-plus-outline" type="primary">
@@ -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="sendLoading">发送</el-button>
@@ -358,21 +357,21 @@
                    this.sendLoading = false;
                    return;
                }
                if (!this.selectedMember || !this.selectedMember[0]) {
                    this.$message.warning('请选择菌种实验员');
                    this.sendLoading = false;
                    return;
                }
                    // if (!this.selectedMember || !this.selectedMember[0]) {
                    //     this.$message.warning('请选择菌种实验员');
                    //     this.sendLoading = 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: 3
                };
                console.log('params', params);