zjk
2025-08-14 2c527d44ae31d2ec48a0835a10f8bdd9eb80d771
fix: add
10个文件已修改
119 ■■■■ 已修改文件
culture/src/utils/baseurl.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneFour/add.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneTWO/add.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneTWO/components/approval/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneTWO/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneThree/add.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/utils/baseurl.js
@@ -2,7 +2,7 @@
    // 开发环境
    development: {
        baseURL: "http://221.182.45.100:8081",
        imgUrl: "http://192.168.110.64:8081/open/file/upload",
        imgUrl: "http://221.182.45.100:8081/open/file/upload",
        showImgUrl:'http://221.182.45.100:9998/'
    },
    // 生产环境
culture/src/views/strainReportLibrary/reportLibraryOneFour/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="submitLoading">发送</el-button>
@@ -359,21 +358,21 @@
                        this.submitLoading = false;
                        return;
                    }
                    if (!this.selectedMember || !this.selectedMember[0]) {
                        this.$message.warning('请选择菌种实验员');
                        this.submitLoading = false;
                        return;
                    }
                    // if (!this.selectedMember || !this.selectedMember[0]) {
                    //     this.$message.warning('请选择菌种实验员');
                    //     this.submitLoading = 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: 4
                    };
                    if (this.$route.query.id) {
culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue
@@ -64,7 +64,7 @@
                                </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>
@@ -103,7 +103,7 @@
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </div>
                            </div> -->
@@ -272,7 +272,7 @@
                    processData: []
                };
                let arr = data.evaluate.split(',')
                let arr = (data.evaluate||'').split(',')
                this.fileList = (data.enclosureUrl ? JSON.parse(data.enclosureUrl) : [])
                this.assessmentTable = this.assessmentTable.map((item, index) => {
                    item.selectedScore = Number(arr[index])
@@ -412,7 +412,7 @@
    .approval-flow {
        padding: 40px 20px;
        // width: 405px;
        flex: 2;
        flex: 1;
        background: #ffffff;
        box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.08);
        border-radius: 10px;
culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue
@@ -57,8 +57,8 @@
                <el-table-column prop="teamName" label="所属项目组" />
                <el-table-column prop="reportCode" label="报告编号" />
                <el-table-column prop="reportName" label="报告名称" />
                <el-table-column prop="experimentName" label="菌种实验员">
                </el-table-column>
                <!-- <el-table-column prop="experimentName" label="菌种实验员"> -->
                <!-- </el-table-column> -->
                <el-table-column prop="createBy" label="创建人" />
                <el-table-column prop="createTime" label="创建时间" />
                <el-table-column prop="status" label="状态" v-if="!isDraft">
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(),
culture/src/views/strainReportLibrary/reportLibraryOneTWO/components/approval/index.vue
@@ -71,14 +71,14 @@
                                </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="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>
@@ -110,7 +110,7 @@
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </div>
                            </div> -->
@@ -278,7 +278,7 @@
                    processData: []
                };
                let arr = data.evaluate.split(',')
                let arr = (data.evaluate||'').split(',')
                this.fileList = data.enclosureUrl ? JSON.parse(data.enclosureUrl) : []
                this.assessmentTable = this.assessmentTable.map((item, index) => {
                    item.selectedScore = Number(arr[index])
@@ -418,7 +418,7 @@
    .approval-flow {
        padding: 40px 20px;
        // width: 405px;
        flex: 2;
        flex: 1;
        background: #ffffff;
        box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.08);
        border-radius: 10px;
culture/src/views/strainReportLibrary/reportLibraryOneTWO/index.vue
@@ -57,8 +57,8 @@
                <el-table-column prop="teamName" label="所属项目组" />
                <el-table-column prop="reportCode" label="报告编号" />
                <el-table-column prop="reportName" label="报告名称" />
                <el-table-column prop="experimentName" label="菌种实验员">
                </el-table-column>
                <!-- <el-table-column prop="experimentName" label="菌种实验员"> -->
                <!-- </el-table-column> -->
                <el-table-column prop="createBy" label="创建人" />
                <el-table-column prop="createTime" label="创建时间" />
                <el-table-column prop="status" label="状态" v-if="!isDraft">
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);
culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue
@@ -70,7 +70,7 @@
                                </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>
@@ -109,7 +109,7 @@
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </div>
                            </div> -->
@@ -270,7 +270,7 @@
                    processData: []
                };
                let arr = data.evaluate.split(',')
                let arr = (data.evaluate||'').split(',')
                this.fileList = (data.enclosureUrl ? JSON.parse(data.enclosureUrl) : [])
                this.assessmentTable = this.assessmentTable.map((item, index) => {
                    item.selectedScore = Number(arr[index])
@@ -410,7 +410,7 @@
    .approval-flow {
        padding: 40px 20px;
        // width: 405px;
        flex: 2;
        flex: 1;
        background: #ffffff;
        box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.08);
        border-radius: 10px;
culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue
@@ -57,8 +57,8 @@
                <el-table-column prop="teamName" label="所属项目组" />
                <el-table-column prop="reportCode" label="报告编号" />
                <el-table-column prop="reportName" label="报告名称" />
                <el-table-column prop="experimentName" label="菌种实验员">
                </el-table-column>
                <!-- <el-table-column prop="experimentName" label="菌种实验员"> -->
                <!-- </el-table-column> -->
                <el-table-column prop="createBy" label="创建人" />
                <el-table-column prop="createTime" label="创建时间" />
                <el-table-column prop="status" label="状态" v-if="!isDraft">