Browse Source

新增code 参数

yuwandanmian 1 năm trước cách đây
mục cha
commit
e5d2c63c21

+ 3 - 0
src/views/outpatient/case/index.vue

@@ -251,6 +251,9 @@ import { dateFormat } from '@/utils/index'
           page: currentPage,
           page_size: pageSize,
         }
+        if (this.$route.query.code) {
+          params.user_code = this.$route.query.code
+        }
         if (field[0].key) {
           params.field = field
         }

+ 19 - 12
src/views/outpatient/control/defectNumber.vue

@@ -6,7 +6,7 @@
       </div>
       <div class="block">
         <div class="blockCon">
-          <el-date-picker v-model="formData.startTime" class="selects" type="date" format="yyyy年MM月dd日" value-format="yyyyMMdd" placeholder="就诊时间-开始"></el-date-picker>
+          <el-date-picker v-model="formData.startTime" class="selects" type="date" format="yyyy年MM月dd日" value-format="yyyyMMdd" placeholder="就诊时间-开始" style="width: 180px;"></el-date-picker>
           <span class="kong"></span>
           <el-date-picker
             v-model="formData.endTime"
@@ -15,15 +15,18 @@
             format="yyyy年MM月dd日"
             value-format="yyyyMMdd"
             placeholder="就诊时间-结束"
+            style="width: 180px;"
           ></el-date-picker>
           <span class="kong"></span>
-          <el-select v-model="formData.dep_id" class="selects" filterable clearable placeholder="科室">
+          <el-select v-model="formData.dep_id" class="selects" filterable clearable placeholder="科室" style="width: 180px;">
             <el-option v-for="(item, index) in departmentList" :label="item.name" :value="item.id" :key="index"></el-option>
           </el-select>
           <span class="kong"></span>
-          <el-input v-model="formData.sfzh" placeholder="身份证号"></el-input>
+          <el-input v-model="formData.sfzh" placeholder="身份证号" style="width: 180px;"></el-input>
           <span class="kong"></span>
-          <el-select v-model="formData.doctor_id" class="selects" filterable clearable placeholder="医生签名">
+          <el-input v-model="formData.mzh" placeholder="门诊号" style="width: 180px;"></el-input>
+          <span class="kong"></span>
+          <el-select v-model="formData.doctor_id" class="selects" filterable clearable placeholder="医生签名" style="width: 180px;">
             <el-option v-for="(item, index) in doctors" :label="item.name" :value="item.id" :key="index"></el-option>
           </el-select>
           <span class="kong"></span>
@@ -78,7 +81,8 @@ export default {
         startTime:'',
         endTime:'',
         sfzh: '',
-        doctor_id: ''
+        doctor_id: '',
+        mzh: ''
       },
       rule_id: '',
       tableData: [],
@@ -109,7 +113,8 @@ export default {
           startTime:'',
           endTime:'',
           sfzh: '',
-          doctor_id: ''
+          doctor_id: '',
+          mzh: ''
         }
         this.rule_id = this.$route.query.rule_id
         this.formData.startTime = this.storageGet('start_time');
@@ -123,7 +128,7 @@ export default {
   methods: {
     // 导出
     onExport() {
-      const { dep_id, startTime, endTime, sfzh, doctor_id } = this.formData
+      const { dep_id, startTime, endTime, sfzh, doctor_id, mzh } = this.formData
         const params = {
           dep_id,
           start_time: startTime,
@@ -131,7 +136,8 @@ export default {
           sfzh,
           doctor_id,
           rule_id: this.rule_id,
-          is_error: this.$route.query.is_error
+          is_error: this.$route.query.is_error,
+          mzh
         }
         outHospitalExport(params).then(res => {
           const content = res.data // 后台返回二进制数据
@@ -158,7 +164,8 @@ export default {
         startTime:'',
         endTime:'',
         sfzh: '',
-        doctor_id: ''
+        doctor_id: '',
+        mzh: ''
       }
       this.funQuery();
     },
@@ -203,6 +210,9 @@ export default {
       if (this.formData.doctor_id) {
         pramse.doctor_id = this.formData.doctor_id
       }
+      if (this.formData.mzh) {
+        pramse.mzh = this.formData.mzh
+      }
 
       this.$axios.post('/omr_zk/error_list', pramse).then(res => {
         this.paginationData.total = res.data.count;
@@ -304,9 +314,6 @@ export default {
 .pind10 {
   padding: 0 5px;
 }
-.width150 {
-  width: 200px;
-}
 .width300 {
   width: 295px;
 }

+ 1 - 1
src/views/outpatient/control/detail.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="bcjl">
     <div class="content-box">
-      <div class="title">门(急)诊病历</div>
+      <div class="title">{{ data.title }}</div>
       <div class="info-header mb40">
         <el-row :gutter="32">
           <el-col :span="8" class="mb20">

+ 3 - 0
src/views/searchSystem/components/BLSearch.vue

@@ -702,6 +702,9 @@ export default {
         limit: this.paginationData.pageSize,
         page: this.paginationData.currentPage, // 是当前页数 默认是0 。普通检索的参数是
       };
+      if (this.$route.query.code) {
+        pramse.user_code = this.$route.query.code
+      }
       let queryUrl = "normalSearch";
       if (this.choice == "0") {
         queryUrl = "normalSearch";

+ 6 - 0
src/views/searchSystem/components/CaseHomeSearch.vue

@@ -798,6 +798,9 @@ export default {
           limit: this.paginationData.pageSize, //条数
           is_tm: 1,
         };
+        if (this.$route.query.code) {
+          pramse.user_code = this.$route.query.code
+        }
         sessionStorage.setItem('Zkpramse', JSON.stringify(pramse));
         sessionStorage.setItem('ZkChoice', this.choice);
         this.getinfo(pramse);
@@ -817,6 +820,9 @@ export default {
           limit: this.paginationData.pageSize, //条数
           is_tm: 1,
         };
+        if (this.$route.query.code) {
+          pramse.user_code = this.$route.query.code
+        }
         sessionStorage.setItem('Zkpramse', JSON.stringify(pramse));
         sessionStorage.setItem('ZkChoice', this.choice);
         this.getinfo(pramse);

+ 3 - 0
src/views/searchSystem/components/DoctorOrderSearch.vue

@@ -225,6 +225,9 @@ export default {
         limit: this.paginationData.pageSize,
         page: this.paginationData.currentPage, //是当前页数 默认是0 。普通检索的参数是
       };
+      if (this.$route.query.code) {
+        pramse.user_code = this.$route.query.code
+      }
       this.formData.seniorList.forEach(item => {
         if (item.key == 'AAA28') {
           pramse.AAA28 = item.value;