MFMF 3 年之前
父节点
当前提交
3de5ca265c

+ 2 - 2
src/components/cdssManage/dept/DeptManage.vue

@@ -280,8 +280,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 7,

+ 1 - 1
src/components/cdssManage/disclaimer/Disclaimer.vue

@@ -202,7 +202,7 @@ export default {
         this.filter.title = '';
       }
       const param = {
-        title: this.filter.title.trim(),
+        title: this.filter.title.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize
       };

+ 2 - 2
src/components/cdssManage/disease/Disease.vue

@@ -281,8 +281,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         icdCode: '',
         hospitalId:
           (data && data.hospitalId) || localStorage.getItem('hospitalId'),

+ 2 - 2
src/components/cdssManage/drug/DrugManage.vue

@@ -308,8 +308,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId:
           (data && data.hospitalId) || localStorage.getItem('hospitalId'),

+ 2 - 2
src/components/cdssManage/drugroute/Drugroute.vue

@@ -276,8 +276,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 16,

+ 2 - 2
src/components/cdssManage/fusion/Fusion.vue

@@ -276,8 +276,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 8,

+ 2 - 2
src/components/cdssManage/hemp/Hemp.vue

@@ -313,8 +313,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId:
           (data && data.hospitalId) || localStorage.getItem('hospitalId'),

+ 1 - 1
src/components/cdssManage/hospital/Hospital.vue

@@ -216,7 +216,7 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        name: this.filter.hospitalName.trim()
+        name: this.filter.hospitalName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_")
       };
       return param;
     },

+ 1 - 1
src/components/cdssManage/knowledge/KnowledgeManage.vue

@@ -226,7 +226,7 @@ export default {
       const param = {
         number: this.inCurrentPage - 1 || this.currentPage - 1,
         size: this.pageSize,
-        name: this.filter.name.trim(),
+        name: this.filter.name.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         labelType: this.filter.labelType,
         is_kl: this.filter.is_kl,
         status: this.filter.status

+ 3 - 3
src/components/cdssManage/lis/Lis.vue

@@ -286,10 +286,10 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
-        hisDetailName: this.filter.hisDetailName.trim(),
+        hisDetailName: this.filter.hisDetailName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         hospitalId:
           (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 1,

+ 2 - 2
src/components/cdssManage/nursing/nursing.vue

@@ -276,8 +276,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 11,

+ 2 - 2
src/components/cdssManage/operation/Operation.vue

@@ -283,8 +283,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 6,

+ 2 - 2
src/components/cdssManage/pacs/Pacs.vue

@@ -276,8 +276,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 3,

+ 1 - 1
src/components/cdssManage/plan/Plan.vue

@@ -223,7 +223,7 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        planName: this.filter.planName.trim(),
+        planName: this.filter.planName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         hospitalId: this.filter.hospitalId
       };
       return param;

+ 2 - 2
src/components/cdssManage/scale/ScaleManage.vue

@@ -277,8 +277,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 10,

+ 2 - 2
src/components/cdssManage/tcmdisease/tcmdisease.vue

@@ -283,8 +283,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 12,

+ 2 - 2
src/components/cdssManage/tcmdrome/tcmdrome.vue

@@ -283,8 +283,8 @@ export default {
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        hisName: this.filter.hisName.trim(),
-        uniqueName: this.filter.uniqueName.trim(),
+        hisName: this.filter.hisName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
+        uniqueName: this.filter.uniqueName.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         uniqueCode: '',
         hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
         type: 13,

+ 1 - 1
src/components/cdssManage/version/Version.vue

@@ -223,7 +223,7 @@ export default {
         this.filter.type = null;
       }
       const param = {
-        name: this.filter.name.trim(),
+        name: this.filter.name.trim().replace(/%/g,"\\%").replace(/_/g,"\\_"),
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
         // productType: this.filter.type ? this.filter.type : 0