董国庆
2025-07-01 4ca375b2e3dae98d6ececc1b7b421a12f3fa8a26
laboratory/src/views/chemistQa/projectTesting/components/approval/index.vue
@@ -76,7 +76,7 @@
                </div>
            </div>
        </div>
        <div class="approval-dialog-approve" v-if="type === 'approve'">
        <div class="approval-dialog-approve" v-if="type == 'approve'">
            <el-row :span="24">
                <el-col :span="12">
                    <div class="status">
@@ -103,7 +103,7 @@
        </div>
        <div slot="footer" class="dialog-footer">
            <el-button @click="handleClose">取 消</el-button>
            <el-button type="primary" @click="handleApprove" v-if="type === 'approve'">确认</el-button>
            <el-button type="primary" @click="handleApprove" v-if="type == 'approve'">确认</el-button>
        </div>
    </el-dialog>
</template>
@@ -157,7 +157,7 @@
    },
    computed: {
        dialogTitle() {
            return this.type === "approve" ? "审核项目检测项、检验包" : "项目检测项、检验包详情";
            return this.type == "approve" ? "审核项目检测项、检验包" : "项目检测项、检验包详情";
        },
    },
    watch: {
@@ -219,9 +219,9 @@
                    if (res.status == 2 || res.status == 3) {
                        processData.push({
                            type:
                                res.status === 2
                                res.status == 2
                                    ? "primary"
                                    : res.status === 3
                                    : res.status == 3
                                        ? "danger"
                                        : "warning",
                            mode: "list",
@@ -229,9 +229,9 @@
                                {
                                    label: "审核结果:",
                                    value:
                                        res.status === 2
                                        res.status == 2
                                            ? "通过"
                                            : res.status === 3
                                            : res.status == 3
                                                ? "驳回"
                                                : "待审批",
                                },
@@ -277,7 +277,7 @@
            const params = {
                id: this.data.id,
                auditRemark: this.remark,
                auditStatus: this.status === '1' ? 2 : 3
                auditStatus: this.status == '1' ? 2 : 3
            };
            detailAuditReport(params).then(res => {
                if (res) {