Commit 880918b4 by liudx

联调公司详情研发可持续性

parent 318824ab
No preview for this file type
...@@ -23,40 +23,7 @@ export default { ...@@ -23,40 +23,7 @@ export default {
}, },
option: { option: {
type: Object, type: Object,
default() { default:{}
return {
title: {
text: "ECharts 入门示例",
},
tooltip: {},
legend: {
icon: "circle",
orient: "horizontal",
itemGap: 40,
itemWidth: 14,
itemHeight: 14,
textStyle: {
fontSize: 14,
fontWeight: 400,
padding: [4, 0, 0, 0],
},
},
xAxis: {
type: "category",
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
},
yAxis: {
type: "value",
},
series: [
{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: "line",
},
],
};
},
}, },
}, },
computed: { computed: {
...@@ -103,7 +70,6 @@ export default { ...@@ -103,7 +70,6 @@ export default {
// }, // },
init() { init() {
let chart = echarts.init(document.getElementById(this.id)); let chart = echarts.init(document.getElementById(this.id));
chart.setOption(this.option); chart.setOption(this.option);
// let that = this; // let that = this;
......
...@@ -15,6 +15,10 @@ export const industryType = p => get('/api/common/industryType'); ...@@ -15,6 +15,10 @@ export const industryType = p => get('/api/common/industryType');
export const enterpriseSelect = p => post('/api/enterprise/list',p); export const enterpriseSelect = p => post('/api/enterprise/list',p);
//企业详情 //企业详情
export const enterpriseDetail = p => get('/api/enterprise/detail/'+p.id); export const enterpriseDetail = p => get('/api/enterprise/detail/'+p.id);
//企业详情-》研发概要 研发规模
export const researchDevelop = p=>get('/api/enterprise/researchDevelop/'+p.id)
//企业详情-》研发概要 研发可持续性
export const sustainability = p=>get('/api/enterprise/sustainability/'+p.id)
......
...@@ -65,23 +65,29 @@ ...@@ -65,23 +65,29 @@
/> />
</a-config-provider> </a-config-provider>
</a-form-item> </a-form-item>
<a-row><label for="">注册资本</label></a-row>
<a-form-item label="注册资本"> <a-row>
<a-input-number <a-col :span="11">
<a-form-item name="minvalue" :rules="minvalueRules">
<a-input
v-model="formState.capital_nums_min" v-model="formState.capital_nums_min"
style="width: 47%" style="width: 95%"
placeholder="请输入数值" placeholder="请输入数值"
@chane="cccc" ></a-input>
></a-input-number> </a-form-item>
- </a-col>
<a-form-item-rest> <a-col :span="1">-</a-col>
<a-input-number <a-col :span="11">
<a-form-item name="maxvalue" :rules="maxvalueRules">
<a-input
v-model="formState.capital_nums_max" v-model="formState.capital_nums_max"
style="width: 47%" style="width: 95%"
placeholder="请输入数值" placeholder="请输入数值"
></a-input-number> ></a-input>
</a-form-item-rest>
</a-form-item> </a-form-item>
</a-col>
</a-row>
<a-form-item label="企业创新排名"> <a-form-item label="企业创新排名">
<a-select <a-select
v-model:value="valueInnovation" v-model:value="valueInnovation"
...@@ -198,6 +204,7 @@ import { ...@@ -198,6 +204,7 @@ import {
enterpriseList, enterpriseList,
industryType, industryType,
enterpriseSelect, enterpriseSelect,
} from "../../utils/indexApi.js"; } from "../../utils/indexApi.js";
import "dayjs/locale/zh-cn"; import "dayjs/locale/zh-cn";
import zh_CN from "ant-design-vue/lib/locale-provider/zh_CN"; import zh_CN from "ant-design-vue/lib/locale-provider/zh_CN";
...@@ -234,10 +241,27 @@ export default { ...@@ -234,10 +241,27 @@ export default {
}, },
filter: [], filter: [],
companylist: [], companylist: [],
minvalueRules: [
{ required: true, message: "请输入ghj", trigger: "blur" },
{ type: "number", message: "年龄必须是一个数值", trigger: "blur" },
{
min: 18,
max: 60,
message: "年龄必须介于18到60之间",
trigger: "blur",
},
],
}; };
}, },
components: {}, components: {},
methods: { methods: {
validateUsername() {
if (value !== "admin") {
callback(new Error("用户名必须是 admin"));
} else {
callback();
}
},
//获取企业列表 //获取企业列表
getCompanyList(keyword) { getCompanyList(keyword) {
let params = { let params = {
...@@ -387,7 +411,7 @@ export default { ...@@ -387,7 +411,7 @@ export default {
...params.area, ...params.area,
...params.company_industry, ...params.company_industry,
...params.qualification, ...params.qualification,
params.innovate params.innovate,
]; ];
if (key == "keyword") { if (key == "keyword") {
params.keyword ? filter.push(params.keyword) : ""; params.keyword ? filter.push(params.keyword) : "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment