소스 검색

feat: 待归档资料归纳列表新增编辑查看删除完成

shiyanyu 1 개월 전
부모
커밋
2c4881ed74
3개의 변경된 파일650개의 추가작업 그리고 245개의 파일을 삭제
  1. 20 3
      src/api/audit/dataInduction.js
  2. 6 1
      src/components/costAudit/CostAuditDialog.vue
  3. 624 241
      src/views/costAudit/auditInfo/archivesManage/pendingArchiveList.vue

+ 20 - 3
src/api/audit/dataInduction.js

@@ -11,7 +11,7 @@ export function getDataInductionList(data) {
   })
 }
 
-// 添加资料列表
+// 添加资料列表(查询用)
 export function addDataInductionList(data) {
   return request({
     url: url + '/api/materialSummary/v1/getDetail',
@@ -20,11 +20,28 @@ export function addDataInductionList(data) {
   })
 }
 
-// 添加编辑资料
-export function editDataInductionList(data) {
+// 新增/编辑资料归纳接口
+export function saveDataInductionWithDetails(data) {
   return request({
     url: url + '/api/materialSummary/v1/saveWithDetails',
     method: 'post',
     data: data,
   })
 }
+
+// 删除资料归纳接口
+export function deleteDataInductionWithDetails(data) {
+  return request({
+    url: url + '/api/materialSummary/v1/delete',
+    method: 'delete',
+    params: data,
+  })
+}
+// 上移下移
+export function moveDataInductionWithDetails(data) {
+  return request({
+    url: url + '/api/materialSummary/v1/sort',
+    method: 'post',
+    data: data,
+  })
+}

+ 6 - 1
src/components/costAudit/CostAuditDialog.vue

@@ -25,7 +25,7 @@
     </div>
 
     <!-- 弹窗底部按钮 -->
-    <div slot="footer" class="dialog-footer">
+    <div v-if="showFooter" slot="footer" class="dialog-footer">
       <slot name="footer">
         <el-button
           v-if="showConfirmBtn"
@@ -148,6 +148,11 @@
         type: Number,
         default: 2000,
       },
+      // 是否显示底部按钮
+      showFooter: {
+        type: Boolean,
+        default: true,
+      },
     },
     computed: {
       mergedDialogProps() {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 624 - 241
src/views/costAudit/auditInfo/archivesManage/pendingArchiveList.vue


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.