From 4dc66a6c347a4483e72892ed4195e597b9d43f8f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 29 四月 2024 15:02:28 +0800
Subject: [PATCH] 测试完成

---
 src/api/smartor/patphysical.js                           |    4 
 src/api/smartor/patouthosp.js                            |    6 
 src/views/patient/patient/physical.vue                   |   52 +++++-----
 src/views/repositoryai/templateku/configurat/index.vue   |    8 -
 src/views/repositoryai/verbaltrick/particulars/index.vue |   52 ++++-----
 src/views/patient/patient/outpatient.vue                 |   76 ++++++---------
 src/views/patient/patient/behospitalized.vue             |   47 ++++----
 7 files changed, 112 insertions(+), 133 deletions(-)

diff --git a/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js
index 42e6809..ebe3d70 100644
--- a/src/api/smartor/patouthosp.js
+++ b/src/api/smartor/patouthosp.js
@@ -3,9 +3,9 @@
 // 鏌ヨ鎮h�呴棬璇婅褰曞垪琛�
 export function listPatouthosp(query) {
   return request({
-    url: '/smartor/patouthosp/list',
-    method: 'get',
-    params: query
+    url: '/smartor/patouthosp/selectPatMedOuthospList',
+    method: 'post',
+    data: query
   })
 }
 
diff --git a/src/api/smartor/patphysical.js b/src/api/smartor/patphysical.js
index 947d4d3..59840bc 100644
--- a/src/api/smartor/patphysical.js
+++ b/src/api/smartor/patphysical.js
@@ -3,9 +3,9 @@
 // 鏌ヨ鎮h�呬綋妫�璁板綍鍒楄〃
 export function listPatphysical(query) {
   return request({
-    url: '/smartor/patphysical/list',
+    url: '/smartor/patphysical/selectPatMedPhysicalList',
     method: 'get',
-    params: query
+    data: query
   })
 }
 
diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index e497607..1c2552d 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -169,25 +169,25 @@
             fixed
             label="搴忓彿"
             align="center"
-            key="patid"
-            prop="patid"
+            key="inhospid"
+            prop="inhospid"
           /><el-table-column
             fixed
             label="鎮h�呭鍚�"
             align="center"
-            key="name"
-            prop="name"
+            key="patname"
+            prop="patname"
           />
           <el-table-column
             label="搴婁綅鍙�"
             align="center"
-            key="Patientnumber"
-            prop="Patientnumber"
+            key="bedNo"
+            prop="bedNo"
           />
           <el-table-column
             label="浣忛櫌鍙�"
             align="center"
-            key="Patientnumber"
+            key="deptcode"
             prop="Patientnumber"
           />
 
@@ -204,7 +204,7 @@
             width="120"
           />
           <el-table-column
-            label="璐圭敤"
+            label="璐圭敤锛堢己锛�"
             align="center"
             key="telephone"
             prop="telephone"
@@ -213,8 +213,8 @@
           <el-table-column
             label="鍏ョ鏃堕棿"
             align="center"
-            key="archivetime"
-            prop="archivetime"
+            key="createTime"
+            prop="createTime"
             width="160"
           >
             <template slot-scope="scope">
@@ -224,24 +224,24 @@
           <el-table-column
             label="鍑洪櫌鏃堕棿"
             align="center"
-            key="archivetime"
-            prop="archivetime"
+            key="endtime"
+            prop="endtime"
             width="160"
           >
             <template slot-scope="scope">
-              <span>{{ parseTime(scope.row.createTime) }}</span>
+              <span>{{ parseTime(scope.row.endtime) }}</span>
             </template>
           </el-table-column>
 
           <el-table-column
-            label="鎶ょ悊绛夌骇"
+            label="鎶ょ悊绛夌骇锛堢己锛�"
             align="center"
             key="idcardtype"
             prop="idcardtype"
             width="120"
           />
           <el-table-column
-            label="鐥呮儏鐘舵��"
+            label="鐥呮儏鐘舵�侊紙缂猴級"
             align="center"
             key="idcardno"
             prop="idcardno"
@@ -251,19 +251,19 @@
           <el-table-column
             label="涓讳换鍖诲笀"
             align="center"
-            key="telcode"
-            prop="telcode"
+            key="drname"
+            prop="drname"
             width="120"
           />
           <el-table-column
-            label="涓绘不鍖诲笀"
+            label="涓绘不鍖诲笀锛堝緟瀹氾級"
             align="center"
             key="telcode"
             prop="telcode"
             width="120"
           />
           <el-table-column
-            label="浣忛櫌鍖诲笀"
+            label="浣忛櫌鍖诲笀锛堝緟瀹氾級"
             align="center"
             key="telcode"
             prop="telcode"
@@ -549,14 +549,13 @@
 import { delUser } from "@/api/system/user";
 
 import {
-  messagelistpatient,
-  alterpatient,
-  addpatient,
+  listpatient,
   particularpatient,
+  addpatient,
   deletepatient,
   Exporterrorpatient,
   toleadpatient,
-} from "@/api/patient/homepage";
+} from "@/api/patient/record";
 import { listtag } from "@/api/system/label";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
@@ -722,7 +721,7 @@
     /** 鏌ヨ鎮h�呭垪琛� */
     getList() {
       this.loading = true;
-      messagelistpatient(this.queryParams).then((response) => {
+      listpatient(this.queryParams).then((response) => {
         console.log(response);
         this.userList = response.rows;
         this.total = response.total;
diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index 111bc0c..aaffe46 100644
--- a/src/views/patient/patient/outpatient.vue
+++ b/src/views/patient/patient/outpatient.vue
@@ -13,7 +13,7 @@
         >
           <el-form-item label="濮撳悕" prop="name">
             <el-input
-              v-model="queryParams.name"
+              v-model="queryParams.hospname"
               placeholder="璇疯緭鍏ュ鍚�"
               clearable
               style="width: 200px"
@@ -29,15 +29,7 @@
               @keyup.enter.native="handleQuery"
             />
           </el-form-item>
-          <el-form-item label="鎮h�呯紪鍙�" prop="telcode">
-            <el-input
-              v-model="queryParams.telcode"
-              placeholder="璇疯緭鍏ユ偅鑰呯紪鍙�"
-              clearable
-              style="width: 280px"
-              @keyup.enter.native="handleQuery"
-            />
-          </el-form-item>
+
           <el-form-item label="鎮h�呰寖鍥�" prop="tagId">
             <el-select
               v-model="queryParams.Patientid"
@@ -172,21 +164,21 @@
             label="搴忓彿"
             fixed
             align="center"
-            key="patid"
-            prop="patid"
+            key="id"
+            prop="id"
           />
           <el-table-column
             label="濮撳悕"
             fixed
             align="center"
-            key="name"
-            prop="name"
+            key="patname"
+            prop="patname"
           />
           <el-table-column
-            label="鎮h�呯紪鍙�"
+            label="闂ㄨ瘖缂栧彿"
             align="center"
-            key="Patientnumber"
-            prop="Patientnumber"
+            key="outhospno"
+            prop="outhospno"
           />
           <el-table-column label="鎬у埆" align="center" key="sex" prop="sex">
             <template slot-scope="scope">
@@ -194,21 +186,21 @@
             </template>
           </el-table-column>
           <el-table-column
-            label="骞撮緞"
+            label="骞撮緞锛堢己锛�"
             align="center"
             key="age"
             prop="age"
             width="120"
           />
           <el-table-column
-            label="鑱旂郴鐢佃瘽"
+            label="鑱旂郴鐢佃瘽锛堢己锛�"
             align="center"
             key="telephone"
             prop="telephone"
             width="120"
           />
           <el-table-column
-            label="鎮h�呮爣绛�"
+            label="鎮h�呮爣绛撅紙缂猴級"
             align="center"
             key="tagList"
             prop="tagList"
@@ -220,7 +212,7 @@
             </template>
           </el-table-column>
           <el-table-column
-            label="灏辫瘖绫诲埆"
+            label="灏辫瘖绫诲埆锛堟湭瀹氾級"
             align="center"
             key="idcardtype"
             prop="idcardtype"
@@ -229,27 +221,27 @@
           <el-table-column
             label="璇婃柇"
             align="center"
-            key="idcardno"
-            prop="idcardno"
+            key="diagname"
+            prop="diagname"
             width="190"
           />
 
           <el-table-column
             label="绉戝"
             align="center"
-            key="telcode"
-            prop="telcode"
+            key="deptname"
+            prop="deptname"
             width="120"
           />
           <el-table-column
             label="鍖荤敓"
             align="center"
-            key="telcode"
-            prop="telcode"
+            key="drname"
+            prop="drname"
             width="120"
           />
           <el-table-column
-            label="鐘舵��"
+            label="鐘舵�侊紙鏈畾锛�"
             align="center"
             key="telcode"
             prop="telcode"
@@ -258,8 +250,8 @@
           <el-table-column
             label="灏辫瘖鏃堕棿"
             align="center"
-            key="archivetime"
-            prop="archivetime"
+            key="createTime"
+            prop="createTime"
             width="160"
           >
             <template slot-scope="scope">
@@ -273,7 +265,7 @@
             width="160"
           >
             <template slot-scope="scope">
-              <span>{{ parseTime(scope.row.createTime) }}</span>
+              <span>{{ parseTime(scope.row.updateTime) }}</span>
             </template>
           </el-table-column>
           <el-table-column
@@ -535,14 +527,12 @@
 import { delUser } from "@/api/system/user";
 
 import {
-  messagelistpatient,
-  alterpatient,
-  addpatient,
-  particularpatient,
-  deletepatient,
-  Exporterrorpatient,
-  toleadpatient,
-} from "@/api/patient/homepage";
+  listPatouthosp,
+  getPatouthosp,
+  addPatouthosp,
+  updatePatouthosp,
+  delPatouthosp,
+} from "@/api/smartor/patouthosp";
 import { listtag } from "@/api/system/label";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
@@ -640,11 +630,7 @@
       queryParams: {
         pageNum: 1,
         pageSize: 10,
-        idcardno: undefined,
-        name: undefined,
-        status: undefined,
-        tagIds: undefined,
-        telcode: undefined,
+
       },
       // 琛ㄥ崟鏍¢獙
       rules: {
@@ -708,7 +694,7 @@
     /** 鏌ヨ鎮h�呭垪琛� */
     getList() {
       this.loading = true;
-      messagelistpatient(this.queryParams).then((response) => {
+      listPatouthosp(this.queryParams).then((response) => {
         console.log(response);
         this.userList = response.rows;
         this.total = response.total;
diff --git a/src/views/patient/patient/physical.vue b/src/views/patient/patient/physical.vue
index c199766..aab929e 100644
--- a/src/views/patient/patient/physical.vue
+++ b/src/views/patient/patient/physical.vue
@@ -164,15 +164,15 @@
             label="搴忓彿"
             fixed
             align="center"
-            key="patid"
-            prop="patid"
+            key="id"
+            prop="id"
           />
-          <el-table-column label="濮撳悕" fixed align="center" key="name" prop="name" />
+          <el-table-column label="濮撳悕" fixed align="center" key="patname" prop="patname" />
           <el-table-column
             label="浣撴缂栧彿"
             align="center"
-            key="Patientnumber"
-            prop="Patientnumber"
+            key="projectcode"
+            prop="projectcode"
           />
           <el-table-column label="鎬у埆" align="center" key="sex" prop="sex">
             <template slot-scope="scope">
@@ -187,14 +187,14 @@
             width="120"
           />
           <el-table-column
-            label="鑱旂郴鐢佃瘽"
+            label="鑱旂郴鐢佃瘽锛堢己锛�"
             align="center"
             key="telephone"
             prop="telephone"
             width="120"
           />
           <el-table-column
-            label="鎮h�呮爣绛�"
+            label="鎮h�呮爣绛撅紙缂猴級"
             align="center"
             key="tagList"
             prop="tagList"
@@ -208,12 +208,12 @@
           <el-table-column
             label="浣撴濂楅"
             align="center"
-            key="combo"
-            prop="combo"
+            key="projectname	"
+            prop="projectname	"
             width="120"
           />
           <el-table-column
-            label="浣撴绫诲瀷"
+            label="浣撴绫诲瀷锛堢己锛�"
             align="center"
             key="idcardtype"
             prop="idcardtype"
@@ -222,12 +222,12 @@
           <el-table-column
             label="浣撴鐘舵��"
             align="center"
-            key="telcode"
-            prop="telcode"
+            key="state"
+            prop="state"
             width="120"
           />
           <el-table-column
-            label="浣撴鎶ュ憡"
+            label="浣撴鎶ュ憡锛堝緟瀹氾級"
             align="center"
             key="idcardno"
             prop="idcardno"
@@ -237,23 +237,23 @@
           <el-table-column
             label="绉戝"
             align="center"
-            key="telcode"
-            prop="telcode"
+            key="hospitalname"
+            prop="hospitalname"
             width="120"
           />
           <el-table-column
             label="鍖荤敓"
             align="center"
-            key="telcode"
-            prop="telcode"
+            key="drname"
+            prop="drname"
             width="120"
           />
 
           <el-table-column
             label="灏辫瘖鏃堕棿"
             align="center"
-            key="archivetime"
-            prop="archivetime"
+            key="createTime"
+            prop="createTime"
             width="160"
           >
             <template slot-scope="scope">
@@ -529,14 +529,14 @@
 import { delUser } from "@/api/system/user";
 
 import {
-  messagelistpatient,
-  alterpatient,
-  addpatient,
-  particularpatient,
-  deletepatient,
+  listPatphysical,
+  getPatphysical,
+  addPatphysical,
+  updatePatphysical,
+  delPatphysical,
   Exporterrorpatient,
   toleadpatient,
-} from "@/api/patient/homepage";
+} from "@/api/smartor/patphysical";
 import { listtag } from "@/api/system/label";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
@@ -702,7 +702,7 @@
     /** 鏌ヨ鎮h�呭垪琛� */
     getList() {
       this.loading = true;
-      messagelistpatient(this.queryParams).then((response) => {
+      listPatphysical(this.queryParams).then((response) => {
         console.log(response);
         this.userList = response.rows;
         this.total = response.total;
diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index 53d590a..b9fbd06 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/src/views/repositoryai/templateku/configurat/index.vue
@@ -311,7 +311,6 @@
               <el-form-item label="闅忚鍓嶅鐞�" prop="name">
                 <el-input
                   type="textarea"
-                  maxlength="66"
                   show-word-limit
                   v-model="ruleForm.revisitBefore"
                 ></el-input></el-form-item
@@ -320,7 +319,6 @@
               <el-form-item label="闅忚鍚庡鐞�" prop="region">
                 <el-input
                   type="textarea"
-                  maxlength="66"
                   show-word-limit
                   v-model="ruleForm.revisitAfter"
                 ></el-input> </el-form-item
@@ -541,7 +539,7 @@
                           <el-input
                             type="text"
                             placeholder="璇疯緭鍏�"
-                            v-model="topicobj.nomatchtext"
+                            v-model="topicobj.noMatchText"
                             show-word-limit
                           >
                           </el-input> </el-form-item
@@ -588,7 +586,7 @@
                           <el-input
                             type="text"
                             placeholder="璇疯緭鍏�"
-                            v-model="topicobj.noclearlytext"
+                            v-model="topicobj.noClearlyText"
                             show-word-limit
                           >
                           </el-input> </el-form-item
@@ -635,7 +633,7 @@
                           <el-input
                             type="text"
                             placeholder="璇疯緭鍏�"
-                            v-model="topicobj.sliencetext"
+                            v-model="topicobj.slienceText"
                             show-word-limit
                           >
                           </el-input> </el-form-item
diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue
index 7be697a..8e0978c 100644
--- a/src/views/repositoryai/verbaltrick/particulars/index.vue
+++ b/src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -270,7 +270,6 @@
                 :rows="2"
                   type="textarea"
                   id="questionText"
-                  maxlength="66"
                   show-word-limit
                   placeholder="璇疯緭鍏ュ唴瀹�"
                   v-model.sync="indexform.questionText"
@@ -298,15 +297,14 @@
           >
           <el-row>
             <el-col :span="24">
-              <el-form-item label="鏃犲尮閰嶆枃鏈�" prop="nomatchtext">
+              <el-form-item label="鏃犲尮閰嶆枃鏈�" prop="noMatchText">
                 <el-input
                   type="textarea"
                   :rows="2"
-                  id="nomatchtext"
+                  id="noMatchText"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  v-model.sync="indexform.nomatchtext"
-                  @focus="handleInput('nomatchtext')"
-                  maxlength="66"
+                  v-model.sync="indexform.noMatchText"
+                  @focus="handleInput('noMatchText')"
                   show-word-limit
                 />
               </el-form-item> </el-col
@@ -329,15 +327,14 @@
           >
           <el-row>
             <el-col :span="24">
-              <el-form-item label="鏃犲0鏂囨湰" prop="sliencetext">
+              <el-form-item label="鏃犲0鏂囨湰" prop="slienceText">
                 <el-input
                   type="textarea"
                   :rows="2"
-                  id="sliencetext"
+                  id="slienceText"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  v-model.sync="indexform.sliencetext"
-                  @focus="handleInput('sliencetext')"
-                  maxlength="66"
+                  v-model.sync="indexform.slienceText"
+                  @focus="handleInput('slienceText')"
                   show-word-limit
                 />
               </el-form-item> </el-col
@@ -361,15 +358,14 @@
 
           <el-row>
             <el-col :span="24">
-              <el-form-item label="鍚笉娓呮枃鏈�" prop="noclearlytext">
+              <el-form-item label="鍚笉娓呮枃鏈�" prop="noClearlyText">
                 <el-input
                   type="textarea"
-                  id="noclearlytext"
+                  id="noClearlyText"
                   :rows="2"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  @focus="handleInput('noclearlytext')" 
-                  v-model.sync="indexform.noclearlytext"
-                  maxlength="66"
+                  @focus="handleInput('noClearlyText')" 
+                  v-model.sync="indexform.noClearlyText"
                   show-word-limit
                 />
               </el-form-item> </el-col
@@ -897,12 +893,12 @@
       //el.selectionStart; 杩欏氨鏄綋鍓嶅厜鏍囨墍鍦ㄧ殑浣嶇疆锛堝瓧绗︿覆涓瓧绗︾殑index锛�
       if (this.currentInputId == "questionText") {
         inputValueArr = this.indexform.questionText.split("");
-      } else if (this.currentInputId == "nomatchtext") {
-        inputValueArr = this.indexform.nomatchtext.split("");
-      } else if (this.currentInputId == "sliencetext") {
-        inputValueArr = this.indexform.sliencetext.split("");
-      } else if (this.currentInputId == "noclearlytext") {
-        inputValueArr = this.indexform.noclearlytext.split("");
+      } else if (this.currentInputId == "noMatchText") {
+        inputValueArr = this.indexform.noMatchText.split("");
+      } else if (this.currentInputId == "slienceText") {
+        inputValueArr = this.indexform.slienceText.split("");
+      } else if (this.currentInputId == "noClearlyText") {
+        inputValueArr = this.indexform.noClearlyText.split("");
       } else if (this.currentInputId == "submoduletext") {
         inputValueArr = this.indexform.submoduletext.split("");
       } else {
@@ -919,12 +915,12 @@
       console.log(inputValueArr);
       if (this.currentInputId == "questionText") {
         this.indexform.questionText = inputValueArr;
-      } else if (this.currentInputId == "nomatchtext") {
-        this.indexform.nomatchtext = inputValueArr;
-      } else if (this.currentInputId == "sliencetext") {
-        this.indexform.sliencetext = inputValueArr;
-      } else if (this.currentInputId == "noclearlytext") {
-        this.indexform.noclearlytext = inputValueArr;
+      } else if (this.currentInputId == "noMatchText") {
+        this.indexform.noMatchText = inputValueArr;
+      } else if (this.currentInputId == "slienceText") {
+        this.indexform.slienceText = inputValueArr;
+      } else if (this.currentInputId == "noClearlyText") {
+        this.indexform.noClearlyText = inputValueArr;
       } else if (this.currentInputId == "submoduletext") {
         this.indexform.submoduletext = inputValueArr;
       } else {

--
Gitblit v1.9.3