소스 검색

医院版用户管理护理参数选择,责任人选择

wuyunfeng 4 년 전
부모
커밋
023643f873

+ 8 - 0
src/api/ncs_nurse_config.js

@@ -38,3 +38,11 @@ export function listByPartId(params) {
     data: params
   })
 }
+
+export function getConfigSelectionByPartId(part_id) {
+  return request({
+    url: `/ncs/nurse_config/selection/${part_id}`,
+    method: 'get'
+  })
+}
+

+ 14 - 0
src/router/index.js

@@ -165,6 +165,20 @@ export const partRoutes = [
       }
     ]
   },
+  // 医院版
+  {
+    path: '/patientlist',
+    component: Layout,
+    redirect: '/customerlist/index',
+    children: [
+      {
+        path: 'index',
+        component: () => import('@/views/customer/patientManagement'),
+        name: 'patientManagement',
+        meta: { title: '病人管理', icon: 'el-icon-s-custom', noCache: true }
+      }
+    ]
+  },
   {
     path: '/ncs-nurse-watch',
     component: Layout,

+ 1 - 1
src/styles/index.scss

@@ -194,6 +194,6 @@ aside {
 // .el-select .el-input__inner[type="text"][readonly]{
 //  background: #fff;
 //}
-.el-form-item__content>.el-input>.el-input__inner[type="text"][readonly]{
+.el-form-item__content>.el-input:not(.el-date-editor)>.el-input__inner[type="text"][readonly]{
   background: #F5F7FA;
 }

+ 1 - 0
src/views/customer/components/customerManager.vue

@@ -847,6 +847,7 @@ export default {
     /** 入住登记 **/
     handleAdd() {
       this.customerFormVisible = true
+      this.activeName = 'customerBaseInfo'
       this.formmodel = {
         sex: 0,
         id_type: '身份证',

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1401 - 0
src/views/customer/components/patientManager.vue


+ 1 - 1
src/views/customer/customerManagement.vue

@@ -5,7 +5,7 @@
 </template>
 
 <script>
-import CustomerManager from './components/customerManager'
+import CustomerManager from './components/patientManager'
 export default {
   name: 'CustomerManagement',
   components: { CustomerManager },

+ 1 - 1
src/views/customer/list.vue

@@ -123,7 +123,7 @@
           { key: '女', value: 0, color: 'red' }
         ],
         statusTransfer: [
-          { key: '已出院', value: 1,  color: 'orange' },
+        { key: '已出院', value: 1,  color: 'orange' },
           { key: '在院', value: 0,  color: 'green' }
         ]
       }

+ 22 - 0
src/views/customer/patientManagement.vue

@@ -0,0 +1,22 @@
+<template>
+  <div>
+    <patient-manager :frame="frame"></patient-manager>
+  </div>
+</template>
+
+<script>
+import PatientManager from './components/patientManager'
+export default {
+  name: 'PatientManagement',
+  components: { PatientManager },
+  data() {
+    return {
+      frame: {}
+    }
+  }
+}
+</script>
+
+<style scoped>
+
+</style>

+ 0 - 1
src/views/ncs-auth/compontents/roleEdit.vue

@@ -153,7 +153,6 @@ export default {
       permissions.forEach(item => {
         if (item.children && item.children.length) {
           this.countParentChecked(item.children)
-          const lenght = item.children.length
           const checked_length = item.children.filter(_item => _item.checked).length
           item.checked = !!checked_length
         }