Browse Source

文字修改

asd123a20 1 year ago
parent
commit
3ce59e0a41
4 changed files with 8 additions and 8 deletions
  1. 1 1
      src/store/index.js
  2. 1 1
      src/views/pay.vue
  3. 5 5
      src/views/reserve.vue
  4. 1 1
      src/views/user/orderDetails.vue

+ 1 - 1
src/store/index.js

@@ -122,7 +122,7 @@ export default createStore({
       if (res.errcode === 0) commit('contentfetch', res)
       return res
     },
-    // 医院
+    // 单位
     async hospitalquery ({ commit }, { region } = {}) {
       const res = await axios.get(`${api.hospitalquery}`, { params: { region } })
       if (res.errcode === 0) commit('hospitalquery', res)

+ 1 - 1
src/views/pay.vue

@@ -2,7 +2,7 @@
 <template>
   <div class="reserve">
     <nut-input v-model="infos.codename" :disabled="true" label="地区"/>
-    <nut-input v-model="infos.hospitalName" :disabled="true" label="医院"/>
+    <nut-input v-model="infos.hospitalName" :disabled="true" label="单位"/>
     <nut-input v-model="infos.subjectName" :disabled="true" label="科室"/>
     <!-- <nut-input v-model="infos.specialistName" :disabled="true" label="专家"/> -->
     <!-- <nut-input v-model="infos.money" :disabled="true" label="金额"/> -->

+ 5 - 5
src/views/reserve.vue

@@ -7,11 +7,11 @@
         title="地址选择"
         @confirm="confirm"
     ></nut-picker>
-    <nut-cell title="请选择医院" :desc="hospitaltitle" @click="hospitalcell"></nut-cell>
+    <nut-cell title="请选择单位" :desc="hospitaltitle" @click="hospitalcell"></nut-cell>
     <nut-picker
         v-model:visible="hospitalshow"
         :list-data="hospitalItems"
-        title="医院选择"
+        title="单位选择"
         @confirm="hospitalConfirm"
     ></nut-picker>
     <nut-cell title="请选择科室" :desc="subjecttitle" @click="subjectcell"></nut-cell>
@@ -122,7 +122,7 @@ export default {
       this.info.code = this.listData.filter(a => a.name === e[1])[0].code
       await this.hospitalquery({ region: this.info.code })
     },
-    // 医院点击
+    // 单位点击
     hospitalcell () {
       if (!this.info.code) {
         Toast.fail('请先选择地区')
@@ -130,7 +130,7 @@ export default {
       }
       this.hospitalshow = true
     },
-    // 医院选择
+    // 单位选择
     async hospitalConfirm (e) {
       if (!e) return
       this.hospitaltitle = e
@@ -143,7 +143,7 @@ export default {
     // 科室点击
     subjectcell () {
       if (!this.info.hospitalId || !this.info.hospitalName) {
-        Toast.fail('请先选择医院')
+        Toast.fail('请先选择单位')
         return false
       }
       this.subjectshow = true

+ 1 - 1
src/views/user/orderDetails.vue

@@ -19,7 +19,7 @@
     </nut-row>
     <nut-row>
       <nut-col :span="6">
-        <div class="flex-content title">医院名称:</div>
+        <div class="flex-content title">单位名称:</div>
       </nut-col>
       <nut-col :span="18">
         <div class="flex-content flex-content-light content">{{ orderItem && orderItem.hospitalName }}</div>