wangfei 6 年前
父节点
当前提交
840cc2cc8b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      src/pages/system/healthManager/healthRecord/index.vue

+ 3
- 3
src/pages/system/healthManager/healthRecord/index.vue 查看文件

25
           <li>
25
           <li>
26
             <el-input
26
             <el-input
27
               placeholder="请输入用户名"
27
               placeholder="请输入用户名"
28
-              v-model="userName"
28
+              v-model="name"
29
             >
29
             >
30
             </el-input>
30
             </el-input>
31
           </li>
31
           </li>
91
   data () {
91
   data () {
92
     return {
92
     return {
93
       total: 0,
93
       total: 0,
94
-      userName: '',
94
+      name: '',
95
       mobile: '',
95
       mobile: '',
96
       postData: { // 表格搜索条件
96
       postData: { // 表格搜索条件
97
         caseid: '',
97
         caseid: '',
134
       return (this.cases.filter(x => x.CaseId === caseid)[0] || {}).CaseName
134
       return (this.cases.filter(x => x.CaseId === caseid)[0] || {}).CaseName
135
     },
135
     },
136
     getList () { // 获取列表
136
     getList () { // 获取列表
137
-      this.getHealthList({ ...this.postData, caseid: this.CaseId, phone: this.mobile, customerName: this.userName }).then((res) => {
137
+      this.getHealthList({ ...this.postData, caseid: this.CaseId, phone: this.mobile, name: this.name }).then((res) => {
138
         this.currentList = this.list.list
138
         this.currentList = this.list.list
139
         this.postData.page = this.list.page
139
         this.postData.page = this.list.page
140
         this.total = this.list.pagenum
140
         this.total = this.list.pagenum