|
@@ -205,6 +205,7 @@
|
|
|
'.groupVO.' +
|
|
|
index +
|
|
|
'.klDiagnoseDetail.'+i+'.basType'"
|
|
|
+ :rules="[{ required: true, message: '请选择基础依据类型',trigger: ['change'] }]"
|
|
|
>
|
|
|
<el-select
|
|
|
v-model="items.basType"
|
|
@@ -395,6 +396,7 @@
|
|
|
maxlength="200"
|
|
|
label="正则表达式:"
|
|
|
class="discDesc"
|
|
|
+ :rules="[{required:true,message:'不能为空~',trigger:'change'}]"
|
|
|
>
|
|
|
<el-input class="inp" placeholder="请输入正则表达式" v-model.trim="items.eqValue"></el-input>
|
|
|
</el-form-item>
|
|
@@ -408,6 +410,7 @@
|
|
|
v-if="(!items.onlyNumType&&!items.basNameType&&(items.basType===2 || items.basType===1)&&items.dataType==='2')||items.onlyTxtType"
|
|
|
label="医学内容:"
|
|
|
class="discDesc"
|
|
|
+ :rules="[{required:true,message:'不能为空~',trigger:'change'}]"
|
|
|
>
|
|
|
<el-input v-model.trim="items.eqValue" class="inp" placeholder="请输入医学内容"></el-input>
|
|
|
</el-form-item>
|
|
@@ -660,8 +663,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.i = this.form.klDiagnoseTypeVO.slice(-1).depart_id;
|
|
|
}
|
|
|
- console.log(this.form);
|
|
|
+
|
|
|
this.setRules();
|
|
|
},
|
|
|
|
|
@@ -845,6 +849,7 @@ export default {
|
|
|
});
|
|
|
this.form.klDiagnoseTypeVO.splice(i + 1, 0, temp);
|
|
|
this.setRules();
|
|
|
+ console.log(this.form.klDiagnoseTypeVO);
|
|
|
},
|
|
|
//复制依据
|
|
|
copyDiag(id, inx) {
|
|
@@ -1236,13 +1241,6 @@ export default {
|
|
|
x +
|
|
|
'.klDiagnoseDetail.' +
|
|
|
j;
|
|
|
- that.rules[keyTxt + '.basType'] = [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '请选择基础依据类型',
|
|
|
- trigger: ['change']
|
|
|
- }
|
|
|
- ];
|
|
|
that.rules[keyTxt + '.dataType'] = [
|
|
|
{
|
|
|
required: true,
|
|
@@ -1328,19 +1326,6 @@ export default {
|
|
|
trigger: 'blur'
|
|
|
}
|
|
|
];
|
|
|
- that.rules[keyTxt + '.eqValue'] = [
|
|
|
- { required: true, message: '不能为空~', trigger: 'blur' },
|
|
|
- {
|
|
|
- validator: (rule, value, callback) => {
|
|
|
- if (value && value.length > 200) {
|
|
|
- callback(new Error('不能超过200字'));
|
|
|
- } else {
|
|
|
- callback();
|
|
|
- }
|
|
|
- },
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ];
|
|
|
}
|
|
|
});
|
|
|
});
|
|
@@ -1438,14 +1423,10 @@ export default {
|
|
|
height: 780px;
|
|
|
.content {
|
|
|
background: #fff;
|
|
|
- padding: 20px 20px 0;
|
|
|
- // padding: 20px 20px 50px;
|
|
|
+ padding: 20px 20px 50px;
|
|
|
color: #545455;
|
|
|
min-width: 980px;
|
|
|
position: relative;
|
|
|
- .name {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
.tip-text {
|
|
|
color: #f56c6c;
|
|
|
margin-left: 10px;
|
|
@@ -1459,13 +1440,13 @@ export default {
|
|
|
background: #ebedf1;
|
|
|
}
|
|
|
}
|
|
|
- .el-input {
|
|
|
+ /deep/ .el-input {
|
|
|
height: 30px;
|
|
|
line-height: 30px;
|
|
|
- /deep/.el-input__inner {
|
|
|
+ .el-input__inner {
|
|
|
height: 30px;
|
|
|
line-height: 30px;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 12px;
|
|
|
}
|
|
|
}
|
|
|
.inps {
|
|
@@ -1473,29 +1454,17 @@ export default {
|
|
|
.el-input__inner {
|
|
|
width: 500px !important;
|
|
|
}
|
|
|
- /deep/ .el-form--inline .el-form-item__label {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
.content-2 {
|
|
|
margin-top: 10px;
|
|
|
padding: 20px 20px;
|
|
|
- height: 580px;
|
|
|
- .el-input {
|
|
|
- .el-input__inner {
|
|
|
- font-size: 12px;
|
|
|
- }
|
|
|
- }
|
|
|
+ max-height: 650px;
|
|
|
.cell {
|
|
|
overflow: initial;
|
|
|
}
|
|
|
.content-2-header {
|
|
|
padding: 20px 0;
|
|
|
- /deep/ .el-table--scrollable-y .el-table__body-wrapper{
|
|
|
- height: 443px;
|
|
|
- overflow-y: auto;
|
|
|
- }
|
|
|
.title1 {
|
|
|
font-size: 14px;
|
|
|
font-weight: 400;
|
|
@@ -1512,7 +1481,6 @@ export default {
|
|
|
.el-form-item {
|
|
|
margin-bottom: 10px;
|
|
|
margin-right: 0;
|
|
|
- font-size: 14px;
|
|
|
}
|
|
|
.discDesc {
|
|
|
margin-bottom: 20px;
|
|
@@ -1558,18 +1526,18 @@ export default {
|
|
|
height: 50px;
|
|
|
margin-bottom: 10px;
|
|
|
position: relative;
|
|
|
- .el-input,
|
|
|
+ /deep/ .el-input,
|
|
|
.el-input__inner {
|
|
|
width: 85px;
|
|
|
font-size: 12px;
|
|
|
margin-right: 15px;
|
|
|
}
|
|
|
- .el-form-item__content {
|
|
|
+ /deep/ .el-form-item__content {
|
|
|
position: inherit !important;
|
|
|
}
|
|
|
.last-box-1 {
|
|
|
display: flex;
|
|
|
- .el-form-item__error {
|
|
|
+ /deep/ .el-form-item__error {
|
|
|
top: 38px;
|
|
|
left: 10px;
|
|
|
white-space: nowrap;
|
|
@@ -1578,20 +1546,20 @@ export default {
|
|
|
}
|
|
|
.last-box-s {
|
|
|
position: absolute;
|
|
|
- .el-form-item__error {
|
|
|
+ /deep/ .el-form-item__error {
|
|
|
top: 38px;
|
|
|
left: 0px;
|
|
|
white-space: nowrap;
|
|
|
background: #fff;
|
|
|
}
|
|
|
}
|
|
|
- .el-form-item__error {
|
|
|
+ /deep/ .el-form-item__error {
|
|
|
top: 38px;
|
|
|
left: 10px;
|
|
|
white-space: nowrap;
|
|
|
background: #fff;
|
|
|
}
|
|
|
- .inp {
|
|
|
+ /deep/ .inp {
|
|
|
width: 600px !important;
|
|
|
.el-input__inner {
|
|
|
width: 600px !important;
|
|
@@ -1631,13 +1599,9 @@ export default {
|
|
|
color: #ff545b;
|
|
|
}
|
|
|
}
|
|
|
- .item .el-form-item__error {
|
|
|
+ .description .el-form-item__error {
|
|
|
top: auto;
|
|
|
}
|
|
|
- .item .el-form-item__label {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
-
|
|
|
.Butn {
|
|
|
display: flex;
|
|
|
justify-content: center;
|