Browse Source

码表修改

duwendi 1 year ago
parent
commit
c2dff1774d
2 changed files with 8 additions and 3 deletions
  1. 5 0
      src/api/article_liao.js
  2. 3 3
      src/pages/index/components/performance_assess.vue

+ 5 - 0
src/api/article_liao.js

@@ -34,6 +34,11 @@ export default {
34 34
   optPersonnelManagementBasicPage(params){
35 35
     return axios.get('/opt/personnel/management/basic/page', {params})
36 36
   },
37
+  //获取收费员下拉列表
38
+  optPersonnelDic(params){
39
+    return axios.get('/opt/common/select/tollman', {params})
40
+  },
41
+
37 42
   //获取收费员信息分页
38 43
   optPersonnelManagementBasicDetail(params){
39 44
     return axios.get('/opt/personnel/management/basic/page', {params})

+ 3 - 3
src/pages/index/components/performance_assess.vue

@@ -4,7 +4,7 @@
4 4
       <el-tab-pane label="收费员工作统计" name="收费员工作统计">
5 5
         <el-form class="form-wrapper" :inline="true" :model="formInline1">
6 6
           <el-form-item label="收费员: ">
7
-            <el-select filterable clearable v-model="formInline1.rollmanId" placeholder="请选择">
7
+            <el-select filterable clearable v-model="formInline1.rollmanId"  placeholder="请选择">
8 8
               <el-option
9 9
                 v-for="(item,index) in peopleOptions"
10 10
                 :key="index"
@@ -219,8 +219,8 @@ export default {
219 219
     },
220 220
     //人员
221 221
     getPeople(){
222
-      api_l.optPersonnelManagementBasicPage({}).then(res => {
223
-        this.peopleOptions = res.data.records
222
+      api_l.optPersonnelDic({}).then(res => {
223
+        this.peopleOptions = res.data || []
224 224
       })
225 225
     },
226 226
     handlePageChange2() {