|
|
|
|
@ -34,7 +34,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="sub_txt">{{ subtitle }}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="tab_box" v-if="isShow"> |
|
|
|
|
<div class="tab_box" v-if="isShow" :class="isShowHos ? 'isTab' : ''"> |
|
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick"> |
|
|
|
|
<el-tab-pane :label="item.dictValue" :name="item.dictValue" v-for="item in tabArr" :key="item.dictValue"> |
|
|
|
|
<div class="form_box"> |
|
|
|
|
@ -43,7 +43,8 @@ |
|
|
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
<div class="hos_box" v-show="isShowHos" style="margin-right:10px">投放医院</div> <el-select v-show="isShowHos" |
|
|
|
|
<div class="hos_box" v-show="isShowHos" style="margin-right:10px">投放医院</div> |
|
|
|
|
<el-select v-show="isShowHos" class="hos_sele" |
|
|
|
|
v-model="deptName" placeholder="请选择医院"> |
|
|
|
|
<el-option v-for="item in hospitalArr" :key="item.id" :label="item.deptName" :value="item.id"> |
|
|
|
|
</el-option> |
|
|
|
|
@ -620,8 +621,13 @@ export default { |
|
|
|
|
handleSubmit(value, done) { |
|
|
|
|
this.count = 0; |
|
|
|
|
this.tabArr.map(item => { |
|
|
|
|
item.addForm.addData.map(item1 => this.count += item1.num) |
|
|
|
|
item.addForm.addData1.map(item1 => this.count += item1.num) |
|
|
|
|
item.addForm.addData.map(item1 => { |
|
|
|
|
item1.num = item1.num == undefined ? 0 : item1.num |
|
|
|
|
this.count += parseInt(item1.num) |
|
|
|
|
}) |
|
|
|
|
item.addForm.addData1.map(item1 => { |
|
|
|
|
item1.num = item1.num == undefined ? 0 : item1.num |
|
|
|
|
this.count += parseInt(item1.num)}) |
|
|
|
|
}) |
|
|
|
|
if (this.userInfo.role_name !== "hospital") { |
|
|
|
|
if (this.deptName == '') { |
|
|
|
|
@ -917,6 +923,14 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.isTab{ |
|
|
|
|
.el-tabs{ |
|
|
|
|
.el-tabs__content{ |
|
|
|
|
bottom: 100px !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.title_box { |
|
|
|
|
|
|
|
|
|
// padding: 0 40px; |
|
|
|
|
@ -966,7 +980,13 @@ export default { |
|
|
|
|
font-family: Microsoft YaHei-Bold, Microsoft YaHei; |
|
|
|
|
font-weight: bold; |
|
|
|
|
color: #333333; |
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
bottom: 65px; |
|
|
|
|
position: absolute; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.hos_sele{ |
|
|
|
|
bottom: 15px; |
|
|
|
|
position: absolute; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.monment_txt { |
|
|
|
|
|