Pārlūkot izejas kodu

修改提示权限的问题

gyj 2 gadus atpakaļ
vecāks
revīzija
72926b2e27

+ 8
- 0
src/api/caseManagement/caseManagement.js Parādīt failu

175
     data: data,
175
     data: data,
176
   })
176
   })
177
 }
177
 }
178
+// 查询部门列表
179
+export function listDeptApplied(query) {
180
+  return request({
181
+    url: '/system/dept/selectList',
182
+    method: 'get',
183
+    params: query
184
+  })
185
+}

+ 2
- 2
src/views/caseManagement/caseList.vue Parādīt failu

136
 </template>
136
 </template>
137
 
137
 
138
 <script>
138
 <script>
139
-import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl,listCaseLogRecord,msCaseFile,msCaseSign} from '@/api/caseManagement/caseManagement.js'
139
+import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl,listCaseLogRecord,msCaseFile,msCaseSign,listDeptApplied} from '@/api/caseManagement/caseManagement.js'
140
 import { listDept } from '@/api/system/dept.js'
140
 import { listDept } from '@/api/system/dept.js'
141
 import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js'
141
 import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js'
142
 import moment from "moment";
142
 import moment from "moment";
402
         },
402
         },
403
         /** 获取所有部门 */
403
         /** 获取所有部门 */
404
         listDeptFn() {
404
         listDeptFn() {
405
-            listDept().then(res => {
405
+            listDeptApplied().then(res => {
406
                 this.deptList = res.data;
406
                 this.deptList = res.data;
407
             })
407
             })
408
         },
408
         },