13404089107
2025-06-26 6fd9edb76f4b9ba18c33a3ed161d30c5f2a29732
修改bug
10个文件已修改
39 ■■■■■ 已修改文件
culture/src/App.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOne/add.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOne/components/approval/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOne/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneFour/add.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneTWO/add.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneTWO/components/approval/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneThree/add.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/App.vue
@@ -138,6 +138,10 @@
  color: rgba(0, 0, 0, 0.6) !important;
}
.el-message {
  z-index: 3000 !important;
}
.el-dialog {
  border-radius: 16px 16px 6px 6px;
culture/src/views/strainReportLibrary/reportLibraryOne/add.vue
@@ -143,8 +143,10 @@
                </div>
                <div class="end-btn" style="margin-top: 38px">
                    <el-button type="primary" @click="addData" :loading="submitLoading" :disabled="submitLoading">发送</el-button>
                    <el-button type="default" @click="saveData" :loading="submitLoading" :disabled="submitLoading">存草稿</el-button>
                    <el-button type="primary" @click="addData" :loading="submitLoading"
                        :disabled="submitLoading">发送</el-button>
                    <el-button type="default" @click="saveData" :loading="submitLoading"
                        :disabled="submitLoading">存草稿</el-button>
                </div>
            </el-form>
        </Card>
@@ -283,7 +285,6 @@
        addData() {
            if (this.submitLoading) return;
            this.submitLoading = true;
            console.log('qeqweqeqwqrew', this.form, this.projectData);
            this.$refs.form.validate(async (valid) => {
                if (!valid) { this.submitLoading = false; return; }
@@ -308,7 +309,7 @@
                    return;
                }
                const params = {
                    isDraft: 0,
                    isDraft: this.form.isDraft ? this.form.isDraft : 0,
                    projectId: this.projectData[0].id,
                    experimentId: this.selectedMember[0].userId,
                    // reportCode: this.form.reportCode,
@@ -318,8 +319,6 @@
                    evaluate: str.join(','),
                    reportType: 1
                };
                console.log('params', params);
                if (this.$route.query.id) {
                    params.id = this.$route.query.id
                    update(params).then(res => {
culture/src/views/strainReportLibrary/reportLibraryOne/components/approval/index.vue
@@ -235,7 +235,8 @@
    },
    computed: {
        dialogTitle() {
            return this.type === "approve" ? "审批" : "审批详情";
            return !this.obj.isDetail? "审批" : "详情";
        },
        totalScore() {
            return this.assessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0);
@@ -243,6 +244,8 @@
    },
    methods: {
        open() {
            if (!this.obj.id) {
                this.$message.error('缺少必要参数');
                return;
culture/src/views/strainReportLibrary/reportLibraryOne/index.vue
@@ -241,8 +241,8 @@
        handleApprove(params) {
            approve({ ...params, status: params.statuss }).then(res => {
                if (res.code === 200) {
                    this.$message.success('审核成功')
                    this.showApproval = false
                    this.$message.success('审核成功')
                    this.getLists()
                    if(params.statuss=='2'){
                        this.showEvaluate = true
culture/src/views/strainReportLibrary/reportLibraryOneFour/add.vue
@@ -304,7 +304,7 @@
                        return;
                    }
                    const params = {
                        isDraft: 0,
                        isDraft: this.form.isDraft ? this.form.isDraft : 0,
                        projectId: this.projectData[0].id,
                        experimentId: this.selectedMember[0].userId,
                        // reportCode: this.form.reportCode,
culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue
@@ -235,7 +235,8 @@
    },
    computed: {
        dialogTitle() {
            return this.type === "approve" ? "审批" : "审批详情";
            return !this.obj.isDetail ? "审批" : "详情";
        },
        totalScore() {
            return this.assessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0);
@@ -278,7 +279,7 @@
                    ]
                });
                if (data.status >=2) {
                if (data.status >= 2) {
                    processData.push({
                        type: data.status >= 2 && data.status != 4 ? "primary" : "danger",
                        mode: "list",
culture/src/views/strainReportLibrary/reportLibraryOneTWO/add.vue
@@ -304,7 +304,7 @@
                    return;
                }
                const params = {
                    isDraft: 0,
                    isDraft: this.form.isDraft ? this.form.isDraft : 0,
                    projectId: this.projectData[0].id,
                    experimentId: this.selectedMember[0].userId,
                    // reportCode: this.form.reportCode,
culture/src/views/strainReportLibrary/reportLibraryOneTWO/components/approval/index.vue
@@ -235,7 +235,7 @@
    },
    computed: {
        dialogTitle() {
            return this.type === "approve" ? "审批" : "审批详情";
            return !this.obj.isDetail? "审批" : "详情";
        },
        totalScore() {
            return this.assessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0);
culture/src/views/strainReportLibrary/reportLibraryOneThree/add.vue
@@ -303,7 +303,7 @@
                    return;
                }
                const params = {
                    isDraft: 0,
                    isDraft: this.form.isDraft ? this.form.isDraft : 0,
                    projectId: this.projectData[0].id,
                    experimentId: this.selectedMember[0].userId,
                    // reportCode: this.form.reportCode,
culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue
@@ -235,7 +235,7 @@
    },
    computed: {
        dialogTitle() {
            return this.type === "approve" ? "审批" : "审批详情";
            return !this.obj.isDetail ? "审批" : "详情";
        },
        totalScore() {
            return this.assessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0);
@@ -278,7 +278,7 @@
                    ]
                });
                if (data.status >=2) {
                if (data.status >= 2) {
                    processData.push({
                        type: data.status >= 2 && data.status != 4 ? "primary" : "danger",
                        mode: "list",