duy 2 settimane fa
parent
commit
9669819ba9
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 3 3
      src/api/modules/tasks/flow.js
  2. 1 1
      src/views/tasks/flow.vue

+ 3 - 3
src/api/modules/tasks/flow.js

@@ -28,7 +28,7 @@ export default {
     //详情
     async queryFixedFlowDetail(form) {
         return HcApi({
-            url: '/api/blade-business/fixedFlow/detail',
+            url: '/api/blade-business/fixedFlow/getFixedFlow',
             method: 'get',
             params: form,
         })
@@ -44,7 +44,7 @@ export default {
     //修改
     async updateFixedFlowData(form) {
         return HcApi({
-            url: '/api/blade-business/fixedFlow/update',
+            url: '/api/blade-business/fixedFlow/updateFixedFlow',
             method: 'post',
             data: form,
         })
@@ -52,7 +52,7 @@ export default {
     //删除
     async removeFixedFlowData(form) {
         return HcApi({
-            url: '/api/blade-business/fixedFlow/remove',
+            url: '/api/blade-business/fixedFlow/deleteFixedFlow',
             method: 'post',
             params: form,
         })

+ 1 - 1
src/views/tasks/flow.vue

@@ -138,7 +138,7 @@ const getTableData = async () => {
     //处理数据
     tableLoading.value = false
     if (!error && code === 200) {
-        tableListData.value = getArrValue(data['records'])
+        tableListData.value = getArrValue(data)
         searchForm.value.total = data.total || 0
     } else {
         tableListData.value = []