| | |
| | | ></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="参数项类型" |
| | | prop="paramType" |
| | | align="center" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | label="参数格式" |
| | | prop="parameterFormat" |
| | |
| | | return this.getInspectionTypeOptionList() |
| | | } |
| | | }, |
| | | { |
| | | /* { |
| | | minWidth: '120', |
| | | prop: 'operationName', |
| | | label: '工序名称', |
| | |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | }, */ |
| | | { |
| | | minWidth: '120', |
| | | prop: 'state', |
| | |
| | | }, |
| | | computed: { |
| | | ...mapGetters(['permissions']), |
| | | editable: function() { |
| | | editable : function() { |
| | | if (!this.currentTestStandard) { |
| | | return true |
| | | } |
| | | console.log('99999999999', this.currentTestStandard) |
| | | if ( |
| | | this.currentTestStandard.id && |
| | | this.currentTestStandard.state === '01draft' |
| | |
| | | dataFormTestStandardParam() { |
| | | this.isSubmit = true |
| | | if (this.testStandardParams.length > 0) { |
| | | this.testStandardParams.map(m=>{ |
| | | if(m.referenceValue != undefined) { |
| | | m.referenceValue = m.referenceValue.replace(',',',').replace('(','(').replace(')',')') |
| | | return m |
| | | } |
| | | }) |
| | | addTestStandardParam(this.testStandardParams) |
| | | .then((response) => { |
| | | this.$message.success('检测标准参数保存成功') |