| | |
| | | <el-row :gutter="10" style="width:100%;z-index: 10;height:30px;"> |
| | | <el-col :span="12">检验项目</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-dropdown @command="handleCommand"> |
| | | <el-dropdown @command="handleCommand" v-if="!isShow"> |
| | | <el-button size="mini" style="margin-right: 10px;" type="primary" > |
| | | 切换默认检验项<i class="el-icon-arrow-down el-icon--right"></i> |
| | | </el-button> |
| | |
| | | } from '@/api/quality/packageInspect' |
| | | import {inspect1,inspect2} from '@/const/defaultPackageInspect' |
| | | export default { |
| | | computed:{}, |
| | | computed:{ |
| | | }, |
| | | components:{ |
| | | }, |
| | | data(){ |
| | | return{ |
| | | isShow: true, |
| | | submitData: { |
| | | id:null, |
| | | result: null, |
| | |
| | | _than.list.push(ele) |
| | | } |
| | | }) |
| | | let find1 = _than.list.find(ele=>ele.name===inspect1[0].name) !=undefined; |
| | | let find2 = _than.list.find(ele=>ele.name===inspect2[0].name) !=undefined; |
| | | _than.isShow = find1||find2 |
| | | _than.conclusionTable = [{ |
| | | packageNo: data.packageNo, |
| | | userName: Array.from(new Set(userNameList)).join(','), |