Переглянути джерело

公共接口

feature/20220929首页静态开发
王露 3 роки тому
джерело
коміт
ecd8266470

+ 22
- 0
digital-park-web/digital-park/src/api/common.js Переглянути файл

@@ -0,0 +1,22 @@
/**
* api接口统一管理
*
* 公共接口
*
*/
import {get, post } from "../utils/http";

// 获取session信息
export const getSession = p => get("/common/session", p);

// 文件上传
export const upload = p => post("/common/upload", p);

// 获取三级分类明细
export const getClassificationDataList = p => get("/common/getClassificationDataList", p);

// 获取三级分类类型
export const getClassificationType = p => get("/common/getClassificationType", p);

// 获取所有列表
export const getAllPickListByEntity = p => get("/common/getAllPickListByEntity", p);

+ 4
- 3
digital-park-web/digital-park/src/components/Footer.vue Переглянути файл

@@ -52,9 +52,10 @@ export default {
name: "园区首页",
path: "/index",
},
// {
// name: "招商服务",
// },
{
name: "招商服务",
path: "/service",
},
{
name: "园区企业",
path: "/company-list",

+ 4
- 3
digital-park-web/digital-park/src/components/Header.vue Переглянути файл

@@ -37,9 +37,10 @@ export default {
name: "园区首页",
path: "/index",
},
// {
// name: "招商服务",
// },
{
name: "招商服务",
path: "/service",
},
{
name: "园区企业",
path: "/company-list",

+ 7
- 7
digital-park-web/digital-park/src/views/park-enterprises/Detail.vue Переглянути файл

@@ -106,7 +106,7 @@
<section class="content_box">
<basic-info :companyInfo="companyInfo"></basic-info>
<company-dev :companyInfo="companyInfo"></company-dev>
<intellectual-property :companyInfo="companyInfo"></intellectual-property>
<!-- <intellectual-property :companyInfo="companyInfo"></intellectual-property> -->
<other-info :companyInfo="companyInfo"></other-info>
</section>
<Footer></Footer>
@@ -121,7 +121,7 @@ import Nav from "@components/Header.vue";
import Footer from "@components/Footer.vue";
import BasicInfo from "./components/BasicInfo.vue";
import CompanyDev from "./components/CompanyDev.vue";
import IntellectualProperty from "./components/IntellectualProperty.vue";
// import IntellectualProperty from "./components/IntellectualProperty.vue";
import OtherInfo from "./components/OtherInfo.vue";
import ClaimDialog from "./components/ClaimDialog.vue";
import { getCompanyById } from "@api/company";
@@ -133,7 +133,7 @@ export default {
Footer,
BasicInfo,
CompanyDev,
IntellectualProperty,
// IntellectualProperty,
OtherInfo,
ClaimDialog,
},
@@ -150,10 +150,10 @@ export default {
name: "企业发展",
value: 2,
},
{
name: "知识产权",
value: 3,
},
// {
// name: "知识产权",
// value: 3,
// },
{
name: "其他信息(可编辑)",
value: 4,

+ 2
- 2
digital-park-web/digital-park/src/views/park-enterprises/components/CompanyDev.vue Переглянути файл

@@ -35,7 +35,7 @@
:rowHeight="50"
></table-item>
</div>
<div>
<!-- <div>
<div class="title">
荣誉资质
</div>
@@ -44,7 +44,7 @@
:table-data="companyInfo.honorQualification"
:rowHeight="50"
></table-item>
</div>
</div> -->
</section>
</div>
</template>

Завантаження…
Відмінити
Зберегти