Commit 2e26e3ef authored by xinzhedeai's avatar xinzhedeai

宽度样式调整

parent 9ccda3b1
...@@ -565,7 +565,7 @@ var reqApis = function(){ ...@@ -565,7 +565,7 @@ var reqApis = function(){
name: '企业基本信息', name: '企业基本信息',
Dict: { Dict: {
baseInfo: { baseInfo: {
"companyName": {name:"企业名称", must:true }, "companyName": {name:"企业名称", must:true,width: 215},
"incubatorId": {name:"所属孵化器", must:true, 'type':'select', key:'name', showYN: Tools.isHighTech()}, "incubatorId": {name:"所属孵化器", must:true, 'type':'select', key:'name', showYN: Tools.isHighTech()},
"technicalField": {name:"所属技术领域", must:true, 'type':'select', key:'name', }, "technicalField": {name:"所属技术领域", must:true, 'type':'select', key:'name', },
...@@ -576,7 +576,7 @@ var reqApis = function(){ ...@@ -576,7 +576,7 @@ var reqApis = function(){
"companyType": {name:"企业类型", must:true, 'type':'select', key:'name', }, "companyType": {name:"企业类型", must:true, 'type':'select', key:'name', },
"address":{ "address":{
name:"位置",/* must:true, disabled: true,type:'map',style:"display:flex",*/ table:0, name:"位置",/* must:true, disabled: true,type:'map',style:"display:flex",*/ table:0, width: 215,
mapConfig: { mapConfig: {
options: { options: {
zoom: 12, zoom: 12,
...@@ -642,11 +642,11 @@ var reqApis = function(){ ...@@ -642,11 +642,11 @@ var reqApis = function(){
// "longitude": {name:"经度", must:true, table:0, form:0 }, // "longitude": {name:"经度", must:true, table:0, form:0 },
// "latitude": {name:"纬度", must:true, table:0, form:0 }, // "latitude": {name:"纬度", must:true, table:0, form:0 },
"mentorId": {name:"全职导师", table:0, 'type':'select', key:'name',}, "mentorId": {name:"全职导师", table:0, 'type':'select', key:'name',},
"occupiedArea": {name:"占用孵化场地面积", table:0 }, "occupiedArea": {name:"占用孵化场地面积", table:0,width: 215 },
"principal": {name:"联系人", must:true }, "principal": {name:"联系人", must:true ,width: 215},
"contactPhone": {name:"联系方式", must:true }, "contactPhone": {name:"联系方式", must:true ,width: 215},
// "intellectualProperty": {name:"知识产权", table:0, 'type':'select', key:'name',}, // "intellectualProperty": {name:"知识产权", table:0, 'type':'select', key:'name',},
"totalFunding": {name:"累计获得融资总额(万元)", table:0}, "totalFunding": {name:"累计获得融资总额(万元)", table:0,width: 215},
"incubationStatus": {name:"企业孵化状态", 'type':'select', "incubationStatus": {name:"企业孵化状态", 'type':'select',
change: function (val){ change: function (val){
var Dict = this.Dict, slist = Dict.selectList, fitem = this.form.item; var Dict = this.Dict, slist = Dict.selectList, fitem = this.form.item;
...@@ -657,22 +657,22 @@ var reqApis = function(){ ...@@ -657,22 +657,22 @@ var reqApis = function(){
// 新增字段 // 新增字段
"companyLevel": { 'type': 'select', 'name': '企业级别', table:0 }, "companyLevel": { 'type': 'select', 'name': '企业级别', table:0 },
"technicalField": { 'type': 'select', 'name': '所属技术领域', }, "technicalField": { 'type': 'select', 'name': '所属技术领域', },
"registeredCapital": { 'type': '', 'name': '注册资金(万元)', table:0, }, "registeredCapital": { 'type': '', 'name': '注册资金(万元)', table:0, width: 215 },
"inventionPatentsNumber": { 'type': '', 'name': '发明专利数(件)', table:0, }, "inventionPatentsNumber": { 'type': '', 'name': '发明专利数(件)', table:0, width: 215 },
"inventionApplicationsNumber": { 'type': '', 'name': '发明申请数(件)', table:0, }, "inventionApplicationsNumber": { 'type': '', 'name': '发明申请数(件)', table:0, width: 215 },
"utilityModelsNumber": { 'type': '', 'name': '实用新型数(件)', table:0, }, "utilityModelsNumber": { 'type': '', 'name': '实用新型数(件)', table:0, width: 215 },
"softwareCopyrightNumber": { 'type': '', 'name': '软件著作权数(件)', table:0, }, "softwareCopyrightNumber": { 'type': '', 'name': '软件著作权数(件)', table:0, width: 215 },
// 新增字段 // 新增字段
"registerDate": { 'type': 'date', 'name': '注册时间', table:0, }, "registerDate": { 'type': 'date', 'name': '注册时间', table:0, width: 215 },
"legalPerson": { 'type': '', 'name': '法人', table:0, }, "legalPerson": { 'type': '', 'name': '法人', table:0, width: 215 },
"parMentorId": { 'type': '', 'name': '兼职导师', table:0, }, "parMentorId": { 'type': '', 'name': '兼职导师', table:0, width: 215 },
// 后台没有这个字段,目前有联系方式这个字段,是否为同一个。还是说新增的为导师的联系方式? // 后台没有这个字段,目前有联系方式这个字段,是否为同一个。还是说新增的为导师的联系方式?
// "legalPerson": { 'type': '', 'name': '联系电话', table:0, }, // "legalPerson": { 'type': '', 'name': '联系电话', table:0, },
// 字段已有! // 字段已有!
// "registeredCapital": { 'type': 'date', 'name': '注册资金', table:0, }, // "registeredCapital": { 'type': 'date', 'name': '注册资金', table:0, },
"outsideIncubation": { 'type': 'select', 'name': '是否体外孵化', table:0, }, "outsideIncubation": { 'type': 'select', 'name': '是否体外孵化', table:0, },
"investorsName": { 'type': '', 'name': '投资方名称', table:0, }, "investorsName": { 'type': '', 'name': '投资方名称', table:0, width: 215 },
"investmentArea": { 'type': '', 'name': '投资地区', table:0, }, "investmentArea": { 'type': '', 'name': '投资地区', table:0, width: 215 },
...@@ -769,7 +769,7 @@ var reqApis = function(){ ...@@ -769,7 +769,7 @@ var reqApis = function(){
}, },
config: { config: {
formWidth: '900px', formWidth: '900px',
labelWidth: '120', labelWidth: '150',
operWidth: '210', operWidth: '210',
title: '企业信息', title: '企业信息',
buttons: [ buttons: [
......
...@@ -545,23 +545,30 @@ export default { ...@@ -545,23 +545,30 @@ export default {
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scope>
.inputCombine_1{ .inputCombine_1{
.el-form-item__content{ .el-form-item__content{
width: 75px; width: 73px;
} }
} }
.inputCombine_2{ .inputCombine_2{
.el-form-item__content{ .el-form-item__content, .el-date-editor.el-input, .el-date-editor.el-input__inner{
width: 128px; width: 140px;
} }
.el-date-editor.el-input, .el-date-editor.el-input__inner{
width: 128px; .el-date-editor.el-input, .el-date-editor.el-input__inner {
width: 140px !important;
} }
} }
// // 模态框日期框样式调整
.el-date-editor.el-input, .el-date-editor.el-input__inner {
width: 216px !important;
}
.isHide{ .isHide{
// display: none !important; // display: none !important;
visibility: hidden !important; visibility: hidden !important;
} }
.p-head { .p-head {
position: absolute; position: absolute;
height: 100%; height: 100%;
......
...@@ -43,9 +43,10 @@ ...@@ -43,9 +43,10 @@
<div class="body"> <div class="body">
<ul class="list"> <ul class="list">
<li v-for="(item) in data.list" :key="item.id" @click="go2overview(item)"> <li v-for="(item) in data.list" :key="item.id" @click="go2overview(item)">
<span class="flag" :class="{'level1': item.incubatorLevel === 1}">{{ item.incubatorLevel === 1 ? '国家级': '省级' }}</span>
<img :src="`${baseAPI}file/${item.incubatorImage}`" alt="" /> <img :src="`${baseAPI}file/${item.incubatorImage}`" alt="" />
<div class="introduce"> <div class="introduce">
<h2>{{ item.incubatorName }}<span :class="{'level1': item.incubatorLevel === 1}">{{ item.incubatorLevel === 1 ? '国家级': '省级' }}</span></h2> <h2>{{ item.incubatorName }}</h2>
<p>运营机构:{{ item.operatingAgency }}</p> <p>运营机构:{{ item.operatingAgency }}</p>
<p>联系人:{{ item.contactPerson }}</p> <p>联系人:{{ item.contactPerson }}</p>
<p>联系电话: {{ item.contactPhone }}</p> <p>联系电话: {{ item.contactPhone }}</p>
...@@ -579,6 +580,25 @@ export default { ...@@ -579,6 +580,25 @@ export default {
margin-bottom: 16px; margin-bottom: 16px;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
.flag{
position: absolute;
display: inline-block;
width: 80px;
height: 39px;
line-height: 39px;
font-size: 16px;
color: #fff;
text-align: left;
text-indent: 14px;
background-repeat: no-repeat;
background-position: 0px 0px;
background-image: url("~@/assets/images/iconNew/flag-s.png");
&.level1{
background-image: url("~@/assets/images/iconNew/flag-g.png");
text-indent: 10px;
}
}
.introduce { .introduce {
padding: 20px; padding: 20px;
border-radius: 10px; border-radius: 10px;
...@@ -598,20 +618,6 @@ export default { ...@@ -598,20 +618,6 @@ export default {
padding-top: 4px; padding-top: 4px;
padding-bottom: 12px; padding-bottom: 12px;
font-weight: bold; font-weight: bold;
span{
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
font-size: 13px;
border-radius: 4px;
color: #fff;
background-color: #6bb56b;
margin-left: 10px;
&.level1{
background-color: orange;
}
}
} }
p { p {
padding-top: 8px; padding-top: 8px;
......
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