|
@@ -62,7 +62,8 @@
|
|
</td>
|
|
</td>
|
|
<td class="FeatureResult">
|
|
<td class="FeatureResult">
|
|
<el-tooltip :disabled="!item.verifyResult" class="item" effect="dark" :content="item.verifyResult" placement="top">
|
|
<el-tooltip :disabled="!item.verifyResult" class="item" effect="dark" :content="item.verifyResult" placement="top">
|
|
- <input class="groupInput" :class="{borderRed:item.verifyResult}" :title="item.result" type="text" v-model.trim="item.result" @input="handleInp(index,$event,'FeatureResult')" @click="clickItem(index,'FeatureResult')">
|
|
|
|
|
|
+ <!-- <el-input :disabled="item.type!=3" size="mini" v-model="item.result" placeholder="诊断名称" clearable></el-input> -->
|
|
|
|
+ <input :readonly="item.type!=3" class="groupInput" :class="{borderRed:item.verifyResult, inpDisabled:item.type!=3}" :title="item.result" type="text" v-model.trim="item.result" @input="handleInp(index,$event,'FeatureResult')" @click="clickItem(index,'FeatureResult')">
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</td>
|
|
</td>
|
|
<td class="FeatureOpera">
|
|
<td class="FeatureOpera">
|
|
@@ -464,7 +465,7 @@
|
|
if(type === 'FeatureNumber') {
|
|
if(type === 'FeatureNumber') {
|
|
this.disFeatureList[index].code = value.replace(/[^\d.]/g,'')
|
|
this.disFeatureList[index].code = value.replace(/[^\d.]/g,'')
|
|
} else if(type==='FeatureStand') {
|
|
} else if(type==='FeatureStand') {
|
|
- // this.disFeatureList[index].standard = value.replace(/[^\d.]/g,'')
|
|
|
|
|
|
+ this.disFeatureList[index].standard = value.replace(/、/g,'')
|
|
} else if ( type === 'FormulaNumber') {
|
|
} else if ( type === 'FormulaNumber') {
|
|
//计算公式只能输入以下内容: 任、一、二、三、四、五、六、七、八、九、十
|
|
//计算公式只能输入以下内容: 任、一、二、三、四、五、六、七、八、九、十
|
|
this.disFormulaList[index].formula = value.replace(/[^\u4EFB\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D\u53410-9\/\.+\(\)\(\)]/g,'').replace(/[\(]/g, '(').replace(/[\)]/g, ')').replace(/' '/g, '')
|
|
this.disFormulaList[index].formula = value.replace(/[^\u4EFB\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D\u53410-9\/\.+\(\)\(\)]/g,'').replace(/[\(]/g, '(').replace(/[\)]/g, ')').replace(/' '/g, '')
|
|
@@ -474,10 +475,13 @@
|
|
// this.selectedIndexList[index].indexDesc = item.replace(/[^\d]/g,'');
|
|
// this.selectedIndexList[index].indexDesc = item.replace(/[^\d]/g,'');
|
|
},
|
|
},
|
|
clickItem(index, type) {
|
|
clickItem(index, type) {
|
|
- console.log('typeNull', type)
|
|
|
|
switch(type) {
|
|
switch(type) {
|
|
case 'FeatureType':
|
|
case 'FeatureType':
|
|
this.disFeatureList[index].typeNull = ''
|
|
this.disFeatureList[index].typeNull = ''
|
|
|
|
+ this.disFeatureList[index].standard = ''
|
|
|
|
+ this.disFeatureList[index].relation = ''
|
|
|
|
+ this.disFeatureList[index].result = ''
|
|
|
|
+ this.disFeatureList[index].formula = ''
|
|
return this.disFeatureList = JSON.parse(JSON.stringify(this.disFeatureList))
|
|
return this.disFeatureList = JSON.parse(JSON.stringify(this.disFeatureList))
|
|
case 'FeatureNumber':
|
|
case 'FeatureNumber':
|
|
this.disFeatureList[index].codeNull = ''
|
|
this.disFeatureList[index].codeNull = ''
|
|
@@ -713,6 +717,12 @@
|
|
.moduleTitle {
|
|
.moduleTitle {
|
|
margin: 0 0 10px 0;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
}
|
|
|
|
+ .inpDisabled{
|
|
|
|
+ background: #ECECEC;
|
|
|
|
+ color: #AAAAAA;
|
|
|
|
+ border: none;
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
</style>
|
|
</style>
|