Browse Source

宁夏首页搜索修改

zz 4 months ago
parent
commit
daf1364369
5 changed files with 33 additions and 18 deletions
  1. BIN
      dist.zip
  2. 7 7
      src/views/data/query/details.vue
  3. 15 0
      src/views/data/query/index.vue
  4. 7 7
      src/views/medicalRecord/index.vue
  5. 4 4
      vue.config.js

BIN
dist.zip


+ 7 - 7
src/views/data/query/details.vue

@@ -33,7 +33,7 @@
               </div>
             </div>
           </div>
- 
+
         </div>
         <div class="cont-title-description">住院病案首页</div>
         <!--  -->
@@ -51,7 +51,7 @@
         </div>
         <!--  -->
         <div class="cont-title contLeft-title-top" style="margin-top: 10px;">
-          
+
           <div class="refachInput">
             <span ref="JKKH" class="homeTitle-i-t" style="padding-right: 28px;">健康卡号</span>
             <span v-if="!ifFile" class="homeTitle-i-x">{{ data.JKKH ? data.JKKH : ' —  ' }}</span>
@@ -625,8 +625,8 @@
               <td class="table-labelon" ref="OPE_DATE" style="font-weight: bold">手术及操作日期</td>
               <td class="table-labelon" ref="OPE_LEVEL" style="font-weight: bold">手术级别</td>
               <td class="table-labelon" ref="ICD9_NAME" style="font-weight: bold">手术及操作名称</td>
-              <td class="table-labelon" ref="SSLX" style="font-weight: bold">手术类型</td>
-              <td class="table-labelon" ref="SSPB" style="font-weight: bold">手术判别</td>
+              <td class="table-labelon" ref="SSLX" style="font-weight: bold">手术判别</td>
+              <td class="table-labelon" ref="SSPB" style="font-weight: bold">手术类型</td>
               <td class="table-labelon" style="padding: 0px; border: 0">
                 <tr>
                   <td class="table-labelon" colspan="3" style="border-left: 0; font-weight: bold; border-right: 0">手术及操作人员</td>
@@ -1349,7 +1349,7 @@ export default {
       // 禁用选择
       document.onselectstart = new Function('event.returnValue=false');
     });
-    
+
     this.isControl = localStorage.getItem('isControl') == 'true' ? true : false
   },
   beforeMount() {
@@ -1423,7 +1423,7 @@ export default {
     },
     // 之前的方法
     getBlankIndex(item) {
-      
+
       if(item.error_field=='AAA11'||item.error_field=='AAA10'||item.error_field=='AAA09'){
         item.error_field='AAA11'
       }
@@ -1502,7 +1502,7 @@ export default {
         }
         console.log(this.data.operation);
         return f(this.errorList);
-       
+
       });
     },
 

+ 15 - 0
src/views/data/query/index.vue

@@ -170,6 +170,17 @@
             <span class="pind10"></span>
             <el-date-picker v-model="formData1.endTime" type="date" format="yyyy 年 MM 月 dd 日" value-format="yyyyMMdd" placeholder="结束日期"></el-date-picker>
           </el-form-item>
+          <el-form-item label="诊断编码范围">
+            <div class="zkSelect">
+              <el-input class="width300" v-model="formData1.bmStart"  placeholder="编码起始范围">
+              </el-input>
+            </div>
+            <span class="pind" style="color: #ccc">——</span>
+            <div class="zkSelect">
+              <el-input class="width300" v-model="formData1.bmEnd" placeholder="编码结束范围">
+              </el-input>
+            </div>
+          </el-form-item>
         </el-form>
       </div>
       <div class="fBtn" style="position: relative">
@@ -363,6 +374,8 @@ export default {
         ],
         hospitalizationon: '',
         hospitalizationin: '',
+        bmStart:'',
+        bmEnd:'',
       },
       inputOn: '', //全站搜索病案号
       value: '',
@@ -709,6 +722,8 @@ export default {
           age_end_type: this.formData1.age_end_type || null,
           AAC01_start_date: this.formData1.startTime || '',
           AAC01_end_date: this.formData1.endTime || '',
+          bmStart: this.formData1.bmStart,//编码起始范围
+          bmEnd : this.formData1.bmEnd,//编码结束范围
           field: this.formData1.seniorList || null, //字段条件
           page: this.paginationData.currentPage, //页码
           limit: this.paginationData.pageSize, //条数

+ 7 - 7
src/views/medicalRecord/index.vue

@@ -405,8 +405,8 @@
           <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'OPE_DATE'), 'qz': judgeZD(zk_codes.qz, 'OPE_DATE')}">手术及操作日期</th>
           <th colspan="2" rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'ICD9_NAME'), 'qz': judgeZD(zk_codes.qz, 'ICD9_NAME')}">手术及操作名称</th>
           <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'OPE_LEVEL'), 'qz': judgeZD(zk_codes.qz, 'OPE_LEVEL')}">手术级别</th>
-          <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'OPE_TYPE'), 'qz': judgeZD(zk_codes.qz, 'OPE_TYPE')}">手术类型</th>
-          <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'SSPB'), 'qz': judgeZD(zk_codes.qz, 'SSPB')}">手术判别</th>
+          <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'OPE_TYPE'), 'qz': judgeZD(zk_codes.qz, 'OPE_TYPE')}">手术判别</th>
+          <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'SSPB'), 'qz': judgeZD(zk_codes.qz, 'SSPB')}">手术类型</th>
           <th colspan="3" class="label th25" :class="{'jy': hasIntersection(zk_codes.jy, ['OPE_MAN_NAME', 'FRIST_ASSISTANT_NAME', 'SECOND_ASSISTANT_NAME']), 'qz': hasIntersection(zk_codes.qz, ['OPE_MAN_NAME', 'FRIST_ASSISTANT_NAME', 'SECOND_ASSISTANT_NAME'])}">手术及操作人员</th>
           <th rowspan="2" class="label th25" :class="{'jy': hasIntersection(zk_codes.jy, ['QKDJ', 'YHDJ']), 'qz': hasIntersection(zk_codes.qz, ['QKDJ', 'YHDJ'])}">切口愈合等级</th>
           <th rowspan="2" class="label th25" :class="{'jy': judgeZD(zk_codes.jy, 'HOCUS_WAY_ID'), 'qz': judgeZD(zk_codes.qz, 'HOCUS_WAY_ID')}">麻醉方式</th>
@@ -845,10 +845,10 @@ export default {
     },
     // 判断两个数组是否存在交际
     hasIntersection(arr1, arr2) {
-      // 在arr1中筛选出arr2中存在的元素  
-      const filtered = arr1.filter(item => arr2.includes(item));  
-      // 如果筛选后的数组长度大于0,则存在交集  
-      return filtered.length > 0;  
+      // 在arr1中筛选出arr2中存在的元素
+      const filtered = arr1.filter(item => arr2.includes(item));
+      // 如果筛选后的数组长度大于0,则存在交集
+      return filtered.length > 0;
     },
     // 查看费用详情
     toCostPage() {
@@ -980,4 +980,4 @@ export default {
 }
 
 
-</style>
+</style>

+ 4 - 4
vue.config.js

@@ -14,7 +14,7 @@ const name = defaultSettings.title || 'vue Admin Template'; // page title
 // You can change the port by the following methods:
 // port = 9528 npm run dev OR npm run dev --port = 9528
 // const port = 8083; // dev port
-const port = 8083; // dev port
+const port = 8081; // dev port
 // const saveJSON = process.env.VUE_APP_BASE_API === 'development' &&
 //   process.env.VUE_APP_BASE_API === 'true'
 const context = process.env.VUE_APP_BASE_API
@@ -43,7 +43,7 @@ module.exports = {
         // 医院开发
         // target: ' http://10.10.11.65:8081/',
         // 外网开发
-        target: 'http://182.44.10.206:7081/',
+        target: 'http://10.32.45.11:8081',
         ws: true,
         changeOrigin: true, //是否跨域
       },
@@ -51,7 +51,7 @@ module.exports = {
         // 医院开发
         // target: ' http://10.10.11.65:8081/',
         // 外网开发
-        target: 'http://182.44.10.206:7081/',
+        target: 'http://10.32.45.11:8081',
         ws: true,
         changeOrigin: true, //是否跨域
       },
@@ -59,7 +59,7 @@ module.exports = {
         // 医院开发
         // target: ' http://10.10.11.65:8081/',
         // 外网开发
-        target: 'http://182.44.10.206:7081/',
+        target: 'http://10.32.45.11:8081',
         ws: true,
         changeOrigin: true, //是否跨域
       }