From fb6a5a7233487ff3ffd551c18fb2460299b0d1fd Mon Sep 17 00:00:00 2001
From: quantulr <35954003+quantulr@users.noreply.github.com>
Date: Thu, 7 Mar 2024 17:24:19 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E8=B7=B3=E8=BD=AC=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E9=A1=B5=EF=BC=8C=E7=BB=8F=E7=BA=AA=E4=BA=BA=E6=9F=A5?=
=?UTF-8?q?=E7=9C=8B=E6=9C=8D=E5=8A=A1=E7=9A=84=E9=9C=80=E6=B1=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/dataList/technology-demand.js | 7 +
src/api/dataList/technology-project.js | 5 +-
.../Enterpriseproducts/index.vue | 32 +--
src/views/dataAuditList/demand/index.vue | 2 +-
src/views/dataList/agent/index.vue | 211 ++++++++++--------
.../dataList/agent/serving-tech-demand.vue | 85 +++++++
src/views/dataList/expert/index.vue | 16 +-
.../dataList/technology-project/index.vue | 163 +++++++++++++-
.../website/solution/serviceCase/index.vue | 2 +-
9 files changed, 404 insertions(+), 119 deletions(-)
create mode 100644 src/api/dataList/technology-demand.js
create mode 100644 src/views/dataList/agent/serving-tech-demand.vue
diff --git a/src/api/dataList/technology-demand.js b/src/api/dataList/technology-demand.js
new file mode 100644
index 0000000..591387c
--- /dev/null
+++ b/src/api/dataList/technology-demand.js
@@ -0,0 +1,7 @@
+import request from "@/utils/request";
+
+export const technologyDemandList = (params) => request({
+ url: "/business/technologyDemand/list",
+ method: "GET",
+ params
+})
\ No newline at end of file
diff --git a/src/api/dataList/technology-project.js b/src/api/dataList/technology-project.js
index e8758f6..6b3bffb 100644
--- a/src/api/dataList/technology-project.js
+++ b/src/api/dataList/technology-project.js
@@ -39,8 +39,11 @@ export function technologyProjectDetail(id) {
export function technologyProjectDelete(ids) {
return request({
- url: `/business/technologyProject/${ids}`,
+ url: `/business/technologyProject`,
method: "DELETE",
+ data: {
+ ids
+ }
});
}
diff --git a/src/views/dataAuditList/Enterpriseproducts/index.vue b/src/views/dataAuditList/Enterpriseproducts/index.vue
index 08603f1..aae5311 100644
--- a/src/views/dataAuditList/Enterpriseproducts/index.vue
+++ b/src/views/dataAuditList/Enterpriseproducts/index.vue
@@ -22,23 +22,25 @@
-
- 搜索
-
- 重置
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataList/agent/index.vue b/src/views/dataList/agent/index.vue
index dadeede..930ffe2 100644
--- a/src/views/dataList/agent/index.vue
+++ b/src/views/dataList/agent/index.vue
@@ -1,19 +1,19 @@
@@ -23,14 +23,14 @@
搜索
+ icon="search"
+ size="small"
+ type="primary"
+ @click="handleQuery"
+ >搜索
重置
+ >重置
@@ -38,28 +38,28 @@
新增
+ icon="plus"
+ plain
+ size="small"
+ type="primary"
+ @click="handleAdd"
+ >新增
-
+
@@ -75,7 +75,7 @@
-->
-
+
{{ parseTime(row.createTime) }}
@@ -84,77 +84,84 @@
修改
+ icon="edit"
+ link
+ size="small"
+ type="text"
+ @click="handleDetail(row.brokerId)"
+ >修改
分配账号
+ icon="edit"
+ link
+ size="small"
+ type="text"
+ @click="openAssignAccount(row.brokerId)"
+ >分配账号
重置密码
+ icon="refresh"
+ link
+ size="small"
+ type="text"
+ @click="openResetPassword(row.brokerId)"
+ >重置密码
删除
+ icon="delete"
+ size="small"
+ type="text"
+ @click="handleDelete(row.brokerId)"
+ >删除
+
+ 服务的需求
@@ -162,28 +169,28 @@
@@ -193,8 +200,8 @@
diff --git a/src/views/dataList/agent/serving-tech-demand.vue b/src/views/dataList/agent/serving-tech-demand.vue
new file mode 100644
index 0000000..dfe6016
--- /dev/null
+++ b/src/views/dataList/agent/serving-tech-demand.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/dataList/expert/index.vue b/src/views/dataList/expert/index.vue
index dd00a91..09a5702 100644
--- a/src/views/dataList/expert/index.vue
+++ b/src/views/dataList/expert/index.vue
@@ -136,6 +136,13 @@
@click="openResetPassword(row.id)"
>重置密码
+ 专家详情
+
@@ -296,6 +303,7 @@ import {ElLoading, ElMessage, ElMessageBox} from "element-plus";
import dayjs from "dayjs";
import request from "@/utils/request";
import {educationOptions} from "@/utils/parameter";
+import {getConfigKey} from "@/api/system/config";
const router = useRouter();
// const siteList = ref([]);
@@ -376,9 +384,15 @@ const openResetPassword = async (id) => {
resetPasswordForm.id = userId;
showResetPassword.value = true;
} else {
- ElMessageBox.alert(`尚未分配账号,请先分配账号`, "尚未分配账号");
+ void ElMessageBox.alert(`尚未分配账号,请先分配账号`, "尚未分配账号");
}
};
+const goToDetail = (id) => {
+ getConfigKey("website.link").then(resp => {
+ const websiteLink = resp.msg
+ open(`${websiteLink}/searchList/expert/detail/${id}`, "_blank")
+ })
+}
const resetForm = () => {
if (resetPasswordFormRef.value) {
resetPasswordFormRef.value.resetFields();
diff --git a/src/views/dataList/technology-project/index.vue b/src/views/dataList/technology-project/index.vue
index 5916b76..cda8c46 100644
--- a/src/views/dataList/technology-project/index.vue
+++ b/src/views/dataList/technology-project/index.vue
@@ -1,17 +1,25 @@
@@ -68,6 +92,12 @@ getList()
+
+
+ 详情
+ 删除
+
+
+
+
+
+
+
+
+
+ 承担单位
+
+
+ 参与单位
+
+
+
+
+
+
+ 万元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/website/solution/serviceCase/index.vue b/src/views/website/solution/serviceCase/index.vue
index 84f49c4..613da08 100644
--- a/src/views/website/solution/serviceCase/index.vue
+++ b/src/views/website/solution/serviceCase/index.vue
@@ -208,7 +208,7 @@ const data = reactive({
form: {},
rules: {
title: [{required: true, message: "案例标题不能为空", trigger: "blur"}],
- description: [{required: true, message: "描述不能为空", trigger: "blur"}],
+ // description: [{required: true, message: "描述不能为空", trigger: "blur"}],
image: [
{
required: true,