Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before into master
| | |
| | | responseType: 'blob' |
| | | }) |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 检测标准参数 |
| | | * @param query |
| | | */ |
| | | export function getTestStandardParams(query) { |
| | | return request({ |
| | | url: '/mes/document/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | |
| | | //创建路由 |
| | | const createRouter = () => { |
| | | return new VueRouter({ |
| | | mode: 'history', |
| | | scrollBehavior (to, from, savedPosition) { |
| | | if (savedPosition) { |
| | | return savedPosition |
| | |
| | | <el-input |
| | | v-model="dataForm.contractNo" |
| | | placeholder="" |
| | | disabled |
| | | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | if (this.testStandardParams.length > 0) { |
| | | for(let standardParam in this.testStandardParams) { |
| | | let value = this.testStandardParams[standardParam].referenceValue |
| | | if( value !== undefined) { |
| | | if( value !=null) { |
| | | value = value.replace(',',',').replace('(','(').replace(')',')') |
| | | } else{ |
| | | this.$message.warning('要求范围没有填写!') |
| | | this.isSubmit = false |
| | | return; |
| | | } |
| | | if (!isNaN(value)) { |
| | | value='='+value |
| | | } |
| | | } |
| | | } |
| | | addTestStandardParam(this.testStandardParams) |
| | | .then((response) => { |