|
|
@ -37,7 +37,17 @@ |
|
|
|
:label="getColumnName('ScanRuleInfo-SRCtrlPara1')" |
|
|
|
prop="ScanRuleInfo-SRCtrlPara1" |
|
|
|
> |
|
|
|
<el-input v-model="formData['ScanRuleInfo-SRCtrlPara1']" /> |
|
|
|
<el-select |
|
|
|
v-model="formData['ScanRuleInfo-SRCtrlPara1']" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in SRCtrlPara1List" |
|
|
|
:key="item['stdeftab-stdeftyp']" |
|
|
|
:label="item['stdeftab-bez']" |
|
|
|
:value="item['stdeftab-stdeftyp']" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item |
|
|
|
></el-col> |
|
|
|
<el-col :span="6"> |
|
|
@ -116,9 +126,13 @@ export default { |
|
|
|
'ScanRuleInfo-RuleType': [ |
|
|
|
{ required: true, message: '请选择', trigger: 'blur' } |
|
|
|
], |
|
|
|
'ScanRuleInfo-SRCtrlPara1': [ |
|
|
|
{ required: true, message: '请选择', trigger: 'blur' } |
|
|
|
], |
|
|
|
}, |
|
|
|
loading:false, |
|
|
|
ruleTypeList:[], // RuleType |
|
|
|
SRCtrlPara1List:[], |
|
|
|
} |
|
|
|
}, |
|
|
|
methods:{ |
|
|
@ -166,9 +180,15 @@ export default { |
|
|
|
}).catch(()=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
getSRCtrlPara1List(){ |
|
|
|
this.getStanderOne({ statid: 'ScanRuleInfo-SRCtrlPara1' }).then(({data=[]})=>{ |
|
|
|
this.SRCtrlPara1List=data; |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
created(){ |
|
|
|
this.getSRCtrlPara1List(); |
|
|
|
this.getRuleType(); |
|
|
|
}, |
|
|
|
mounted(){ |
|
|
|