Przeglądaj źródła

修改提示权限的问题

gyj 2 lat temu
rodzic
commit
72926b2e27

+ 8
- 0
src/api/caseManagement/caseManagement.js Wyświetl plik

@@ -175,3 +175,11 @@ export function confirmMediation(data) {
175 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 Wyświetl plik

@@ -136,7 +136,7 @@
136 136
 </template>
137 137
 
138 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 140
 import { listDept } from '@/api/system/dept.js'
141 141
 import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js'
142 142
 import moment from "moment";
@@ -402,7 +402,7 @@ export default {
402 402
         },
403 403
         /** 获取所有部门 */
404 404
         listDeptFn() {
405
-            listDept().then(res => {
405
+            listDeptApplied().then(res => {
406 406
                 this.deptList = res.data;
407 407
             })
408 408
         },