@@ -149,7 +149,13 @@
-
+
+ 下载产品图片
-
+
-
+ /> -->
+ 下载成熟度证明材料
@@ -201,6 +213,7 @@ import {
} from "@/utils/parameter";
import { useRoute, useRouter } from "vue-router";
import { ElMessage } from "element-plus";
+import { customDownload } from "@/utils/request";
// import WangEditor from "@/components/WangEditor/index.vue";
// const isAdd = ref(false);
const route = useRoute();
@@ -231,6 +244,18 @@ const getDetail = async (id) => {
if (route.query.id) {
getDetail(route.query.id);
}
+const downloadProductImage = () => {
+ const filename =
+ form.value.image.split("/")[form.value.image.split("/").length - 1];
+ customDownload(form.value.image, {}, filename);
+};
+const downloadProductMaterial = () => {
+ const filename =
+ form.value.material.split("/")[form.value.material.split("/").length - 1];
+ const baseUrl = import.meta.env.VITE_APP_BASE_API;
+ customDownload(`/file${form.value.material}`, {}, filename);
+};
+
const submitForm = async (status) => {
await updateEnterpriseApprovalProduct({ ...form.value, status });
let successMessage;
diff --git a/src/views/Enterpriseproducts/index.vue b/src/views/Enterpriseproducts/index.vue
index a1285af..793ce46 100644
--- a/src/views/Enterpriseproducts/index.vue
+++ b/src/views/Enterpriseproducts/index.vue
@@ -51,7 +51,7 @@
diff --git a/src/views/components/Businessneeds/Approvaldetails copy.vue b/src/views/components/Businessneeds/Approvaldetails copy.vue
new file mode 100644
index 0000000..308b961
--- /dev/null
+++ b/src/views/components/Businessneeds/Approvaldetails copy.vue
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+ 万元
+
+
+
+
+
+ 面议
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 驳回
+ 通过需求
+
+
+
+
+
diff --git a/src/views/components/Businessneeds/Approvaldetails.vue b/src/views/components/Businessneeds/Approvaldetails.vue
index 4c066df..87c1475 100644
--- a/src/views/components/Businessneeds/Approvaldetails.vue
+++ b/src/views/components/Businessneeds/Approvaldetails.vue
@@ -1,76 +1,200 @@
-
-
-
-
+
+
+ 基本信息
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 万元
+
-
-
-
-
-
-
-
-
+
+
+
+ 面议
-
- 万元 面议
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- 驳回
- 通过需求
-
-
+