|
@@ -47,12 +47,12 @@
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<i
|
|
<i
|
|
class="el-icon-warning"
|
|
class="el-icon-warning"
|
|
- style="color:#e6a23c"
|
|
|
|
|
|
+ style="color:#e6a23c;margin-right:10px"
|
|
v-if="form.hospitalRelationVOList[scope.$index].errorCurrent"
|
|
v-if="form.hospitalRelationVOList[scope.$index].errorCurrent"
|
|
></i>
|
|
></i>
|
|
<i
|
|
<i
|
|
class="el-icon-warning"
|
|
class="el-icon-warning"
|
|
- style="color:#fe6c6f;margin:0 10px"
|
|
|
|
|
|
+ style="color:#fe6c6f;margin-right:10px"
|
|
v-if="form.hospitalRelationVOList[scope.$index].errorOther"
|
|
v-if="form.hospitalRelationVOList[scope.$index].errorOther"
|
|
></i>
|
|
></i>
|
|
<span>{{scope.$index+1}}</span>
|
|
<span>{{scope.$index+1}}</span>
|
|
@@ -222,6 +222,10 @@ export default {
|
|
hospitalRelationVOList: this.form.hospitalRelationVOList
|
|
hospitalRelationVOList: this.form.hospitalRelationVOList
|
|
// code: this.form.hospitalCode
|
|
// code: this.form.hospitalCode
|
|
};
|
|
};
|
|
|
|
+ this.form.hospitalRelationVOList.forEach((item, index) => {
|
|
|
|
+ item.errorOther = false
|
|
|
|
+ item.errorCurrent = false
|
|
|
|
+ });
|
|
if (this.isEdit) {
|
|
if (this.isEdit) {
|
|
params = Object.assign({}, params, {
|
|
params = Object.assign({}, params, {
|
|
id: this.hospitalId
|
|
id: this.hospitalId
|