| | |
| | | border-radius: 8px 0 0 8px; |
| | | } |
| | | |
| | | .tab li:nth-child(4) { |
| | | .tab li:nth-child(5) { |
| | | border-radius: 0 8px 8px 0; |
| | | } |
| | | |
| | |
| | | entity: { |
| | | entrustCode: null, |
| | | sample: null, |
| | | state: 1, |
| | | state: 0, |
| | | orderBy: { |
| | | field: 'id', |
| | | order: 'asc' |
| | |
| | | return row.state == 2 || row.state == 3 |
| | | } |
| | | }, { |
| | | font: '下发', |
| | | font: '分配', |
| | | type: 'text', |
| | | method: 'handleIssued', |
| | | disabFun: (row, index) => { |
| | | return row.state != 1 || row.sendTime != null |
| | | } |
| | | }], |
| | | linkEvent:{ |
| | | entrustCode:{ |
| | | method:'selectAllByOne' |
| | | } |
| | | linkEvent: { |
| | | entrustCode: { |
| | | method: 'selectAllByOne' |
| | | } |
| | | }, |
| | | tagField: { |
| | | type: { |
| | |
| | | addPower: true, |
| | | upLoad: false, |
| | | tabList: [{ |
| | | label: '检验处理', |
| | | label: '待审核', |
| | | value: 0 |
| | | }, { |
| | | label: '待检验', |
| | | value: 1 |
| | | }, |
| | | { |
| | | label: '待审核', |
| | | value: 0 |
| | | label: '已检验', |
| | | value: 4 |
| | | }, |
| | | { |
| | | label: '退回', |
| | |
| | | }, |
| | | ], |
| | | tabIndex: 0, |
| | | active: 0,//1:下单,2:查看,3:审核 |
| | | currentId:null |
| | | active: 0, //1:下单,2:查看,3:审核 |
| | | currentId: null |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }, |
| | | // 详情 |
| | | selectAllByOne(row) { |
| | | this.active = 2; |
| | | this.active = 2; |
| | | // console.log(row); |
| | | // //打开弹框 |
| | | // this.dialogVisible = true; |
| | | // //row = 点击对应行值 |
| | | // //复制给formData |
| | | // this.formData = this.HaveJson(row); |
| | | this.currentId = row.id |
| | | this.currentId = row.id |
| | | }, |
| | | // 数据查看 |
| | | handleDataLook(row) { |
| | | this.dataDialogVisible = true; |
| | | }, |
| | | // 下载报告 |
| | | download(row) { |
| | | }, |
| | | download(row) {}, |
| | | // 审核 |
| | | handleVerify(row) { |
| | | // this.verifyDialogVisible = true; |
| | | this.active = 3; |
| | | this.currentId = row.id |
| | | this.active = 3; |
| | | this.currentId = row.id |
| | | }, |
| | | // 撤销 |
| | | handlEquash(row) { |
| | |
| | | // 下发 |
| | | handleIssued(row) { |
| | | this.issuedDialogVisible = true; |
| | | this.$axios.post(this.$api.insOrder.selectOrderManDay,{ |
| | | this.$axios.post(this.$api.insOrder.selectOrderManDay, { |
| | | id: row.sampleId |
| | | }).then(res=>{ |
| | | }).then(res => { |
| | | this.distributeData.orderId = row.id |
| | | this.distributeData.sampleId = row.sampleId |
| | | this.distributeData.appointed = res.data |
| | |
| | | }) |
| | | }, |
| | | submitForm2() { |
| | | if(this.distributeData.appointed==null||this.distributeData.appointed==''){ |
| | | if (this.distributeData.appointed == null || this.distributeData.appointed == '') { |
| | | this.$message.error('约定时间未填写') |
| | | return |
| | | } |