Browse Source

修改医师职称

DESKTOP-QGP20P1\dev_2 7 months ago
parent
commit
e17d9be5c5
4 changed files with 24 additions and 9 deletions
  1. 9 2
      src/components/PatInfo/index.jsx
  2. 8 2
      src/store/reducers/patInfo.js
  3. 6 5
      src/utils/config.js
  4. 1 0
      src/utils/tools.js

+ 9 - 2
src/components/PatInfo/index.jsx

@@ -55,11 +55,18 @@ class PatInfo extends Component {
           title: '科室',
           maxlength: 50
         },
+        // {
+        //   label: 'doctorName',
+        //   id: 'doctorName',
+        //   value: '付医生',
+        //   title: '医生',
+        //   maxlength: 50
+        // },
         {
           label: 'doctorName',
           id: 'doctorName',
-          value: '付医生',
-          title: '医生',
+          value: '医师',
+          title: '医生职称',
           maxlength: 50
         },
         {

+ 8 - 2
src/store/reducers/patInfo.js

@@ -76,11 +76,17 @@ export default function(state = initState,action){
           value: '全科',
           title: '科室',
         },
+        // {
+        //   label: 'doctorName',
+        //   id: 'doctorName',
+        //   value: '付医生',
+        //   title: '医生',
+        // },
         {
           label: 'doctorName',
           id: 'doctorName',
-          value: '付医生',
-          title: '医生',
+          value: '医师',
+          title: '医生职称',
         },
         {
           label: 'recordId',

+ 6 - 5
src/utils/config.js

@@ -1,15 +1,16 @@
 
 const { func } = require("prop-types");
 
-// const host='http://173.18.12.192:6060';//后端接口访问地址
-const host='http://192.168.65.95:6060';    //沙雅后端接口访问地址
+const host='http://173.18.12.195:6060';//后端接口访问地址
+// const host='http://172.16.8.12:6060';//后端接口访问地址
+// const host='http://192.168.65.95:6060';    //沙雅后端接口访问地址
 
 // const host='http://'+window.location.hostname+':5050';//后端接口访问地址
 
-const imageUrlPrefix = 'http://192.168.65.96:82';
+const imageUrlPrefix = 'http://173.18.12.194:82';
 function geturl(){
     return {
-        gourl:'http://'+window.location.hostname+':5654/cdss.html',
+        gourl:'http://'+window.location.hostname+':8081/cdss.html',
         imgurl:'http://'+window.location.hostname+':82'
     }
 }
@@ -17,7 +18,7 @@ let urlSelect = geturl()
 module.exports={
     host,
     prefix:'',            //带权限验证的api
-    pushPage:'http://192.168.65.96:5488/icssIndex.html',        //右侧推送页面的地址
+    pushPage:'http://173.18.12.194:5488/icssIndex.html',        //右侧推送页面的地址
     imageUrlPrefix:urlSelect.imgurl,
     pushPage2:urlSelect.gourl,        //右侧推送页面的地址
     // pushPage2:'http://localhost:8080/cdss.html',        //右侧推送页面的地址

+ 1 - 0
src/utils/tools.js

@@ -1072,6 +1072,7 @@ function getEMRParams() {
     "age": formatFormParmas('patientAge', patInfoData),
     "sex": sex,
     "deptName": formatFormParmas('hospitalDeptName', patInfoData),
+    "doctor": {professionalTitle: formatFormParmas('doctorName', patInfoData)},
     "chief": mainSuit.saveText[0] || '',    //主诉
     "symptom": currentIll.saveText[0] || '',  //现病史
     "vital": checkBody.saveText[0] || '',  //查体