Commit 880918b4 by liudx

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

parent 318824ab
No preview for this file type
......@@ -23,40 +23,7 @@ export default {
},
option: {
type: Object,
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",
},
],
};
},
default:{}
},
},
computed: {
......@@ -103,7 +70,6 @@ export default {
// },
init() {
let chart = echarts.init(document.getElementById(this.id));
chart.setOption(this.option);
// let that = this;
......
......@@ -15,6 +15,10 @@ export const industryType = p => get('/api/common/industryType');
export const enterpriseSelect = p => post('/api/enterprise/list',p);
//企业详情
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 @@
/>
</a-config-provider>
</a-form-item>
<a-row><label for="">注册资本</label></a-row>
<a-row>
<a-col :span="11">
<a-form-item name="minvalue" :rules="minvalueRules">
<a-input
v-model="formState.capital_nums_min"
style="width: 95%"
placeholder="请输入数值"
></a-input>
</a-form-item>
</a-col>
<a-col :span="1">-</a-col>
<a-col :span="11">
<a-form-item name="maxvalue" :rules="maxvalueRules">
<a-input
v-model="formState.capital_nums_max"
style="width: 95%"
placeholder="请输入数值"
></a-input>
</a-form-item>
</a-col>
</a-row>
<a-form-item label="注册资本">
<a-input-number
v-model="formState.capital_nums_min"
style="width: 47%"
placeholder="请输入数值"
@chane="cccc"
></a-input-number>
-
<a-form-item-rest>
<a-input-number
v-model="formState.capital_nums_max"
style="width: 47%"
placeholder="请输入数值"
></a-input-number>
</a-form-item-rest>
</a-form-item>
<a-form-item label="企业创新排名">
<a-select
v-model:value="valueInnovation"
......@@ -198,6 +204,7 @@ import {
enterpriseList,
industryType,
enterpriseSelect,
} from "../../utils/indexApi.js";
import "dayjs/locale/zh-cn";
import zh_CN from "ant-design-vue/lib/locale-provider/zh_CN";
......@@ -234,10 +241,27 @@ export default {
},
filter: [],
companylist: [],
minvalueRules: [
{ required: true, message: "请输入ghj", trigger: "blur" },
{ type: "number", message: "年龄必须是一个数值", trigger: "blur" },
{
min: 18,
max: 60,
message: "年龄必须介于18到60之间",
trigger: "blur",
},
],
};
},
components: {},
methods: {
validateUsername() {
if (value !== "admin") {
callback(new Error("用户名必须是 admin"));
} else {
callback();
}
},
//获取企业列表
getCompanyList(keyword) {
let params = {
......@@ -387,7 +411,7 @@ export default {
...params.area,
...params.company_industry,
...params.qualification,
params.innovate
params.innovate,
];
if (key == "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