Browse Source

流程修改

duy 2 weeks ago
parent
commit
d42ba73ac5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/tasks/flow.vue

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

@@ -138,7 +138,7 @@ const getTableData = async () => {
     //处理数据
     tableLoading.value = false
     if (!error && code === 200) {
-        tableListData.value = getArrValue(data)
+        tableListData.value = getArrValue(data['records'])
         searchForm.value.total = data.total || 0
     } else {
         tableListData.value = []
@@ -275,7 +275,7 @@ const saveFormClick = async () => {
 const handleTableDel = (row) => {
     HcDelMsg(async (resolve) => {
         const { error, code } = await tasksFlowApi.removeFixedFlowData({
-              ids: row?.id || '',
+              id: row?.id || '',
         projectId: projectId.value,
         contractId: contractId.value,
         })