|
@@ -2,7 +2,7 @@
|
|
|
<!-- 检验报告单 -->
|
|
|
<div id="checkoutA">
|
|
|
<div class="checkout-cont" v-for="(dataObj, index) in dataObjArr" :key="index">
|
|
|
- <div class="cont-title-description">滨州医学院烟台附属医院检验报告单</div>
|
|
|
+ <div class="cont-title-description">{{hospital}}检验报告单</div>
|
|
|
<div class="examType">{{ dataObj.ExamType }}</div>
|
|
|
<div class="checkout-cont-header"></div>
|
|
|
|
|
@@ -119,6 +119,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import { getSystemSetting } from '@/utils/index'
|
|
|
export default {
|
|
|
name: '',
|
|
|
components: {
|
|
@@ -136,6 +137,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ hospital: '',
|
|
|
ifFile: false,
|
|
|
};
|
|
|
},
|
|
@@ -151,7 +153,8 @@ export default {
|
|
|
beforeMount() {
|
|
|
// 生命周期钩子:模板编译/挂载之前
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ async mounted() {
|
|
|
+ this.hospital = (await getSystemSetting()).web_name.content
|
|
|
// 生命周期钩子:模板编译、挂载之后(此时不保证已在 document 中)
|
|
|
},
|
|
|
beforeUpate() {
|