浏览代码

转义字符 还原

morphone1995 4 年之前
父节点
当前提交
e160e4d6b4
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/components/cdssManage/plan/Plan.vue

+ 2 - 4
src/components/cdssManage/plan/Plan.vue

@@ -194,13 +194,11 @@ export default {
       if (isTurnPage && !this.searched) {
         this.clearFilter();
       }
-      let planName = this.filter.planName.trim();
-      // var patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/im;
-      // console.log(this.escapeRegExp(planName));
+      // let planName = this.filter.planName.trim();
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        planName: this.escapeRegExp(planName),
+        planName: this.filter.planName.trim(),
         hospitalId: this.filter.hospitalId
       };
       return param;