diff --git a/src/api/dataList/list.js b/src/api/dataList/list.js new file mode 100644 index 0000000..4bc19f8 --- /dev/null +++ b/src/api/dataList/list.js @@ -0,0 +1,23 @@ +import request from "@/utils/request"; + +// 企业审核列表列表 +export function enterpriseList(params) { + return request({ + url: "/business/enterprise/list", + method: "get", + params, + }); + } + + // 修改企业类型 + export const editType=(data)=>request({ + url:`/business/enterprise`, + method:'put', + data + }) + + // 删除当前项 + export const delItem=(id)=>request({ + url:`/business/enterprise/${id}`, + method:'delete', + }) \ No newline at end of file diff --git a/src/views/components/ExpertForm/index.vue b/src/views/components/ExpertForm/index.vue index 30056d3..4404f4a 100644 --- a/src/views/components/ExpertForm/index.vue +++ b/src/views/components/ExpertForm/index.vue @@ -294,6 +294,7 @@ import CityOptions from "@/views/components/CityOptions"; import InputBoxAdd from "@/views/components/InputBoxAdd"; import { researchSelect } from "@/api/dataList/research"; import { laboratorySelect } from "@/api/dataList/laboratory"; +import { tenantSelect } from "@/api/subPlatform/tenant"; import { enterpriseOptions } from "@/utils/parameter"; import { reactive, ref, toRefs } from "vue"; import WangEditor from "../../../components/WangEditor/index.vue"; diff --git a/src/views/dataList/dataList/add.vue b/src/views/dataList/dataList/add.vue new file mode 100644 index 0000000..8798735 --- /dev/null +++ b/src/views/dataList/dataList/add.vue @@ -0,0 +1,82 @@ + + + \ No newline at end of file diff --git a/src/views/dataList/dataList/index.vue b/src/views/dataList/dataList/index.vue new file mode 100644 index 0000000..36262d1 --- /dev/null +++ b/src/views/dataList/dataList/index.vue @@ -0,0 +1,202 @@ + + + + \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index b2e95be..8b6f631 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,7 +31,7 @@ export default defineConfig(({ mode, command }) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'http://192.168.31.162:1618', + target: 'http://120.26.107.74:1618', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') }