| | |
| | | width="100px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-tag :type="typeList.find(m=>m.value==scope.row.insState).type" size="small">{{ typeList.find(m=>m.value==scope.row.insState).label }}</el-tag> |
| | | <el-tag :type="insStateList.find(m=>m.value==scope.row.insState).type" size="small">{{ insStateList.find(m=>m.value==scope.row.insState).label }}</el-tag> |
| | | </template></el-table-column> |
| | | <el-table-column |
| | | prop="userName" |
| | |
| | | <div style="width: 100%;height: 100%;" v-if="activeFace >0"> |
| | | <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"/> |
| | | <Inspection v-if="state>0" @goback="goback" :orderId="orderId" :inspectorList="inspectorList" :sonLaboratory="componentData.entity.sonLaboratory" :state="state" :orderStateId="orderStateId" :version="version"/> |
| | | <el-dialog title="数据查看" :visible.sync="dataDialogVisible" width="80%"> |
| | | <div style="height: 70vh;overflow-y: auto;" v-if="dataDialogVisible"> |
| | | <ValueTable ref="ValueTableDataLook" :rowKey="'insProductId'" :url="$api.insOrder.selectSampleAndProductByOrderId" |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | orderStateId:null, |
| | | version:null, |
| | | examine: null, |
| | | inspectorList: [],//检验人员列表 |
| | | alone: false, |
| | |
| | | loading:false, |
| | | currentTime: null, |
| | | sonLaboratoryList:[], |
| | | tableData: null, |
| | | tableData: [], |
| | | page:{ |
| | | current:1, |
| | | size:20, |
| | |
| | | inspectorList.push(user.name) |
| | | } |
| | | this.inspectorList = inspectorList |
| | | this.state = 1; |
| | | this.orderId = row.id |
| | | this.version = row.version |
| | | this.orderStateId = row.orderStateId |
| | | this.state = 1; |
| | | }, |
| | | handleConnect(row){ |
| | | this.orderId = row.id |
| | |
| | | handleReview(row){ |
| | | this.state = 2; |
| | | this.orderId = row.id |
| | | this.version = row.version |
| | | this.orderStateId = row.orderStateId |
| | | }, |
| | | getAuthorizedPerson() { |
| | | this.$axios.get(this.$api.user.getUserMenu).then(res => { |