| | |
| | | }" |
| | | v-if="state==1&&fileAdd" |
| | | :on-success="handleSuccessUp" :show-file-list="false" |
| | | accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar' :headers="headers" :on-change="beforeUpload" |
| | | accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar,.csv' :headers="headers" :on-change="beforeUpload" |
| | | style="width: 80px !important;" |
| | | :on-error="onError" ref='upload'> |
| | | <el-button size="small" type="primary" v-if="state==1">附件上传</el-button></el-upload> |
| | |
| | | if (power[i].menuMethod == 'insertAuxiliaryWorkingHoursDay') { |
| | | add = true |
| | | } |
| | | console.log(add) |
| | | if (power[i].menuMethod == 'updateAuxiliaryWorkingHoursDay') { |
| | | up = true |
| | | } |
| | |
| | | }, |
| | | getWidth() { |
| | | let count = 0 |
| | | console.log(this.data.do) |
| | | this.data.do.forEach(a => { |
| | | count += a.font.length |
| | | }) |
| | |
| | | // 扫码报检 |
| | | handleCode(){ |
| | | let input = document.getElementById('ScanCodeInfo'); |
| | | console.log(1234567,input,this.startTime) |
| | | // console.log(1234567,input,this.startTime) |
| | | input.focus(); |
| | | this.startTime&&clearInterval(this.startTime) |
| | | this.startTime = setInterval(()=>{ |
| | |
| | | // 扫码枪按下 |
| | | keyup(e){ |
| | | var code = '' |
| | | // console.log(3333,this.codeInfo) |
| | | console.log(3333,this.codeInfo) |
| | | try{ |
| | | code = JSON.parse(this.codeInfo) |
| | | if(code==null||code==undefined||code==''){ |
| | |
| | | //本地 |
| | | // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; |
| | | // const javaApi = 'http://127.0.0.1:8001'; |
| | | // const javaApi = 'http://172.20.10.5:8001'; |
| | | const javaApi = 'http://172.20.10.5:8001'; |
| | | |
| | | // //通信测试库 |
| | | // Vue.prototype.LOCATIONVUE = "http://10.1.13.77:8080"; |
| | | const javaApi = 'http://10.1.13.77:8001'; |
| | | // const javaApi = 'http://10.1.13.77:8001'; |
| | | |
| | | //云 |
| | | // Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; |