diff --git a/src/views/security_investment/extraction_and_use/index.vue b/src/views/security_investment/extraction_and_use/index.vue index 945ca52..b54c5b3 100644 --- a/src/views/security_investment/extraction_and_use/index.vue +++ b/src/views/security_investment/extraction_and_use/index.vue @@ -109,6 +109,9 @@ {{ item.TOTAL }} + + {{item}} +
@@ -202,8 +205,22 @@ const fnGetSummaries = ({ columns, data }) => { }) || "--"; } else sums[index] = "--"; }); + fnGetTotal(sums); return sums; }; +let totalList = []; +const fnGetTotal = (sums) => { + totalList = sums; + const totalAll = []; + for (let i = 0; i < totalList.length; i++) { + if (i === 1 || i === 2) { + continue; + } + totalAll.push(totalList[i]); + } + totalList = totalAll; +}; + const fnDelete = debounce( 1000, async () => { diff --git a/src/views/three_institutional_libraries/safety_production_responsibility_system/components/add.vue b/src/views/three_institutional_libraries/safety_production_responsibility_system/components/add.vue index a89b015..61693eb 100644 --- a/src/views/three_institutional_libraries/safety_production_responsibility_system/components/add.vue +++ b/src/views/three_institutional_libraries/safety_production_responsibility_system/components/add.vue @@ -139,7 +139,7 @@ const fnSubmit = debounce( ]; formData.append("CATEGORY_LIST", JSON.stringify(CATEGORY_LIST)); formData.append("ASSOCIATION", props.association); - formData.append("ISADD", "1"); + formData.append("OPERATE", props.type); await setThreeInstitutionalLibrariesSave(formData); ElMessage.success("操作成功"); fnClose();