From da9c0b8c1b35edfa586f523692a6c27e8fb4d338 Mon Sep 17 00:00:00 2001 From: lxp <1928192722@qq.com> Date: 星期一, 12 八月 2024 17:51:05 +0800 Subject: [PATCH] modified: src/components/do/b1-ins-order/fiberoptic-config.vue --- src/components/view/b1-inspect-order-plan.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue index 365c1a5..49818f8 100644 --- a/src/components/view/b1-inspect-order-plan.vue +++ b/src/components/view/b1-inspect-order-plan.vue @@ -200,7 +200,7 @@ </span> </el-dialog> <div style="width: 100%;height: 100%;" v-if="activeFace >0"> - <Add :active="activeFace" :currentId="currentId"/> + <Add :active="activeFace" :currentId="currentId" :examine="examine"/> </div> <Inspection v-if="state>0" @goback="goback" :orderId="orderId" :inspectorList="inspectorList" :sonLaboratory="componentData.entity.sonLaboratory" :state="state"/> <el-dialog title="鏁版嵁鏌ョ湅" :visible.sync="dataDialogVisible" width="80%"> @@ -228,6 +228,7 @@ }, data() { return { + examine: null, inspectorList: [],//妫�楠屼汉鍛樺垪琛� alone: false, sampleUserForm: { @@ -581,6 +582,7 @@ }, selectAllByOne(row) { this.activeFace = 2; + this.examine = 1; this.currentId = parseInt(row.id) }, playOrder(num) { @@ -596,6 +598,10 @@ if(row.userName){ inspectorList = row.userName.split(',') } + let user = JSON.parse(localStorage.getItem('user')) + if(user){ + inspectorList.push(user.name) + } this.inspectorList = inspectorList this.state = 1; this.orderId = row.id -- Gitblit v1.9.3