12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199 |
- <template>
- <div id="index">
- <el-row>
- <el-col :span="24">
- <el-col :span="24" class="top">
- <div class="w_1200">
- <el-col :span="12" class="left">
- <el-col :span="24" class="leftTop">
- <el-col :span="2" class="image">
- <el-image :src="iconImage"></el-image>
- </el-col>
- <el-col :span="22" class="txt">
- <span>技术成果</span>
- <span>A</span>
- <span>chieve</span>
- <span @click="$router.push({ path: '/market/marketlists', query: { type: '1', column_name: '技术成果' } })">更多</span>
- </el-col>
- </el-col>
- <el-col :span="24" class="leftDown">
- <el-col
- :span="12"
- class="achieveList"
- v-for="(item, index) in achieveList"
- :key="index"
- @click.native="$router.push({ path: '/market/marketlists', query: { type: '1', column_name: '技术成果', id: item.id } })"
- >
- <el-col :span="24" class="achieveImage">
- <el-image v-if="item.image && item.image.length > 0" :src="item.image[0].url"></el-image>
- <el-image v-else :src="achievezb"></el-image>
- </el-col>
- <el-col :span="24" class="name textOver">
- {{ item.name }}
- </el-col>
- <!-- <el-col :span="2" class="achieveListLeft">
- <span>
- a<br />c<br />h<br />i<br />e<br />v<br />e<br />m<br />e<br />n<br />t<br />s<br />s<br />u<br />p<br />e<br />r<br />m<br />a<br />r<br />k<br />e<br />t</span
- >
- </el-col>
- <el-col :span="22" class="achieveListRight">
- <el-col :span="24" class="company">
- <p class="textOver">{{ item.company }}</p>
- <p></p>
- <p></p>
- </el-col>
- <el-col :span="6" class="achimage">
- <el-image v-if="item.image && item.image.length > 0" :src="item.image[0].url"></el-image>
- <el-image v-else :src="achievezb"></el-image>
- </el-col>
- <el-col :span="18" class="achname">
- {{ item.name }}
- </el-col>
- <el-col :span="24" class="brief">
- {{ item.achievebrief || '暂无' }}
- </el-col>
- <el-col :span="24" class="companyInfo">
- <p>企业网址:{{ item.companyweb || '暂无' }}</p>
- <p>联系人:{{ item.contacts || '暂无' }}</p>
- <p>电子邮箱:{{ item.email || '暂无' }}</p>
- </el-col>
- </el-col> -->
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="12" class="right">
- <el-col :span="24" class="rightTop">
- <el-col :span="2" class="image">
- <el-image :src="iconImage"></el-image>
- </el-col>
- <el-col :span="22" class="txt">
- <span>科技需求</span>
- <span>T</span>
- <span>echnology</span>
- <span @click="$router.push({ path: '/market/marketlists', query: { type: '0', column_name: '科技需求' } })">更多</span>
- </el-col>
- </el-col>
- <el-col :span="24" class="rightDown">
- <el-col
- :span="24"
- class="technologyList"
- v-for="(item, index) in technologyList"
- :key="index"
- @click.native="$router.push({ path: '/market/marketlists', query: { type: '0', column_name: '科技需求', id: item.id } })"
- >
- <el-col :span="20" class="name textOver">
- {{ item.name }}
- </el-col>
- <el-col :span="4" class="date">
- {{ item.meta | getDate }}
- </el-col>
- <el-col :span="12" class="field"> 所属领域:{{ item.field }} </el-col>
- <el-col :span="12" class="field"> 合作方式:{{ item.cooperation }} </el-col>
- </el-col>
- </el-col>
- </el-col>
- </div>
- </el-col>
- <el-col :span="24" class="image">
- <el-image :src="gongqiuImage"></el-image>
- </el-col>
- <el-col :span="24" class="down">
- <div class="w_1200">
- <el-col :span="12" class="left">
- <el-col :span="24" class="leftTop">
- <el-col :span="2" class="image">
- <el-image :src="iconImage"></el-image>
- </el-col>
- <el-col :span="22" class="txt">
- <span>商务信息</span>
- <span>B</span>
- <span>usiness</span>
- <span @click="$router.push({ path: '/market/marketlists', query: { type: '2', column_name: '商务信息' } })">更多</span>
- </el-col>
- </el-col>
- <el-col :span="24" class="leftDown">
- <el-col
- :span="24"
- class="businessList"
- v-for="(item, index) in businessList"
- :key="index"
- @click.native="$router.push({ path: '/market/marketlists', query: { type: '2', column_name: '商务信息', id: item.id } })"
- >
- <el-col :span="10" class="name textOver">
- {{ item.name }}
- </el-col>
- <el-col :span="10" class="messbute"> 信息属性:{{ item.messattribute }} </el-col>
- <el-col :span="4" class="date">
- {{ item.meta | getDate }}
- </el-col>
- <el-col :span="24" class="info">
- {{ item.informationdesc }}
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="12" class="right">
- <el-col :span="24" class="rightTop">
- <el-col :span="2" class="image">
- <el-image :src="iconImage"></el-image>
- </el-col>
- <el-col :span="22" class="txt">
- <span>专家服务</span>
- <span>E</span>
- <span>xpert</span>
- <span @click="$router.push({ path: '/market/marketlists', query: { type: '3', column_name: '专家服务' } })">更多</span>
- </el-col>
- </el-col>
- <el-col :span="24" class="rightDown">
- <el-col
- :span="12"
- class="expertList"
- v-for="(item, index) in expertList"
- :key="index"
- @click.native="$router.push({ path: '/market/marketlists', query: { type: '3', column_name: '专家服务', id: item.id } })"
- >
- <el-col :span="8" class="expertimage">
- <el-image v-if="item.expertimage != ''" :src="item.expertimage"></el-image>
- <el-image v-else :src="expertimage"></el-image>
- </el-col>
- <el-col :span="16" class="rightInfo">
- <el-col :span="24" class="name textOver">
- {{ item.name }}
- </el-col>
- <el-col :span="24" class="school textOver"> 院校:{{ item.school }} </el-col>
- <!-- <el-col :span="12" class="edu textOver"> 学历:{{ item.education }} </el-col> -->
- <el-col :span="24" class="company textOver">单位:{{ item.company }} </el-col>
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- </div>
- </el-col>
- </el-col>
- </el-row>
- <el-col :span="24" class="createpro">
- <el-button type="text" @click="dialog = true">我要<br />发布</el-button>
- </el-col>
- <el-dialog :visible.sync="dialog" class="releaseDialog" title="信息征集" @close="toClose" width="61%">
- <el-tabs v-model="activeName" type="card">
- <el-tab-pane label="技术需求" name="first">
- <el-col :span="24" class="first">
- <el-form ref="technologyForm" :model="technologyForm" :rules="technologyRules" label-width="140px">
- <el-col :span="24" class="company">
- <h1>企业信息</h1>
- <el-col :span="24" class="compnayInfo">
- <el-col :span="24" class="txt">
- <el-form-item label="企业名称:" prop="company">
- <el-input v-model="technologyForm.company" placeholder="请输入企业名称"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="注册类型:">
- <el-input v-model="technologyForm.companytype" placeholder="请输入注册类型"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="组织机构代码:">
- <el-input v-model="technologyForm.companytype" placeholder="请输入组织机构代码"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="注册时间:">
- <el-date-picker v-model="technologyForm.companydate" type="date" placeholder="请选择时间" format="yyyy-MM-dd" value-format="yyyy-MM-dd">
- </el-date-picker>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="注册资金:">
- <el-input v-model="technologyForm.companycapital" placeholder="请输入注册资金"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="企业法人:">
- <el-input v-model="technologyForm.companyperson" placeholder="请输入企业法人"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="企业网址:">
- <el-input v-model="technologyForm.companyweb" placeholder="请输入企业网址"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="联系人:">
- <el-input v-model="technologyForm.contacts" placeholder="请输入联系人"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="联系电话:" prop="phone">
- <el-input v-model="technologyForm.phone" placeholder="请输入联系电话"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="QQ/微信:">
- <el-input v-model="technologyForm.qqwx" placeholder="请输入QQ/微信"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="电子邮箱:">
- <el-input v-model="technologyForm.email" placeholder="请输入电子邮箱"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="上年度企业总收入:">
- <el-input v-model="technologyForm.sndqyzsr" placeholder="请输入上年度企业总收入"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="上年度研发费用:">
- <el-input v-model="technologyForm.sndyffy" placeholder="请输入上年度研发费用"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="企业总人数:">
- <el-input v-model="technologyForm.companytotal" placeholder="请输入企业总人数"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="专(兼)职研发人数:">
- <el-input v-model="technologyForm.zjzyfrs" placeholder="请输入专(兼)职研发人数"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="企业简介:">
- <el-input
- v-model="technologyForm.companybrief"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入企业简介"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="主要产品:">
- <el-input
- v-model="technologyForm.mainproduct"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入主要产品"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="企业资质(荣誉):">
- <el-input
- v-model="technologyForm.qualifications"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入企业资质(荣誉)"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="24" class="product">
- <h1>技术需求</h1>
- <el-col :span="24" class="productInfo">
- <el-col :span="24" class="txt">
- <el-form-item label="名称:" prop="name">
- <el-input v-model="technologyForm.name" placeholder="请输入需求名称"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="需求紧急程度:">
- <el-select v-model="technologyForm.degreeurgency" placeholder="请选择需求紧急程度">
- <el-option label="特急" value="特急"></el-option>
- <el-option label="一般" value="一般"></el-option>
- <el-option label="储备" value="储备"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="所属领域:">
- <el-select v-model="technologyForm.field" filterable>
- <el-option v-for="(item, index) in fieldList" :key="index" :value="item.name" :label="item.name"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="投资预算:">
- <el-input v-model="technologyForm.budget" placeholder="请输入投资预算"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="合作方式:">
- <el-select v-model="technologyForm.cooperation" filterable>
- <el-option v-for="(item, index) in cooperationList" :key="index" :value="item.name" :label="item.name"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="技术说明:">
- <el-input
- v-model="technologyForm.requirementdesc"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入技术难题/需求说明"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="预期目标:">
- <el-input
- v-model="technologyForm.expect"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入预期技术目标描述"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="需求现状:">
- <el-input
- v-model="technologyForm.present"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入需求现状及应对措施"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="合作条件及要求:">
- <el-input
- v-model="technologyForm.condition"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入合作条件及要求"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-col>
- </el-col>
- </el-form>
- <el-col :span="24" class="btn">
- <el-button type="primary" size="mini" @click="technologyBtn">保存</el-button>
- </el-col>
- </el-col>
- </el-tab-pane>
- <el-tab-pane label="科技成果" name="second">
- <el-col :span="24" class="first">
- <el-form ref="achieveForm" :model="achieveForm" :rules="technologyRules" label-width="140px">
- <el-col :span="24" class="company">
- <h1>企业信息</h1>
- <el-col :span="24" class="compnayInfo">
- <el-col :span="24" class="txt">
- <el-form-item label="企业名称:" prop="company">
- <el-input v-model="achieveForm.company" placeholder="请输入企业名称"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="企业网址:">
- <el-input v-model="achieveForm.companyweb" placeholder="请输入企业网址"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="联系人:">
- <el-input v-model="achieveForm.contacts" placeholder="请输入联系人"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="联系电话:" prop="phone">
- <el-input v-model="achieveForm.phone" placeholder="请输入联系电话"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="QQ/微信:">
- <el-input v-model="achieveForm.qqwx" placeholder="请输入QQ/微信"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="电子邮箱:">
- <el-input v-model="achieveForm.email" placeholder="请输入电子邮箱"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="企业简介:">
- <el-input
- v-model="achieveForm.companybrief"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入企业简介"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="24" class="product">
- <h1>科技成果</h1>
- <el-col :span="24" class="productInfo">
- <el-col :span="24" class="txt">
- <el-form-item label="成果名称:" prop="name">
- <el-input v-model="achieveForm.name" placeholder="请输入注册类型"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="所属领域:">
- <el-select v-model="achieveForm.field" filterable>
- <el-option v-for="(item, index) in fieldList" :key="index" :value="item.name" :label="item.name"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="合作方式:">
- <el-select v-model="achieveForm.cooperation" filterable>
- <el-option v-for="(item, index) in cooperationList" :key="index" :value="item.name" :label="item.name"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12" class="txt">
- <el-form-item label="成果状态:">
- <el-select v-model="achieveForm.achievestatus" filterable>
- <el-option v-for="(item, index) in achievestatusList" :key="index" :value="item.name" :label="item.name"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="成果权属:">
- <el-input v-model="achieveForm.achieveown" placeholder="请输入成果权属"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="成果来源:">
- <el-select v-model="achieveForm.achievesource" placeholder="请选择成果来源">
- <el-option label="国家项目" value="国家项目"></el-option>
- <el-option label="省级项目" value="省级项目"></el-option>
- <el-option label="市级项目" value="市级项目"></el-option>
- <el-option label="自选项目" value="自选项目"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="意向价格:">
- <el-input v-model="achieveForm.intentionprice" placeholder="请输入意向价格"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="专利信息:">
- <el-input v-model="achieveForm.patentinfo" placeholder="请输入专利信息"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="专利状态:">
- <el-select v-model="achieveForm.patentstatus" placeholder="请选择专利状态">
- <el-option label="已申请" value="已申请"></el-option>
- <el-option label="已授权" value="已授权"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txt">
- <el-form-item label="项目路演:">
- <el-input v-model="achieveForm.roadshow" placeholder="请输入项目路演"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="成果简介:">
- <el-input
- v-model="achieveForm.achievebrief"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入成果简介"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="技术特点:">
- <el-input
- v-model="achieveForm.features"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入技术特点"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="技术团队:">
- <el-input
- v-model="achieveForm.team"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入技术团队"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="商业预期:">
- <el-input
- v-model="achieveForm.expectations"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入商业预期"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="txtTwo">
- <el-form-item label="合作条件及要求:">
- <el-input
- v-model="achieveForm.condition"
- type="textarea"
- maxlength="300"
- show-word-limit
- :autosize="{ minRows: 4, maxRows: 5 }"
- placeholder="请输入合作条件及要求"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-col>
- </el-col>
- </el-form>
- <el-col :span="24" class="btn">
- <el-button type="primary" size="mini" @click="achieveBtn">保存</el-button>
- </el-col>
- </el-col>
- </el-tab-pane>
- </el-tabs>
- </el-dialog>
- </div>
- </template>
- <script>
- import { mapState, createNamespacedHelpers } from 'vuex';
- const { mapActions: product } = createNamespacedHelpers('marketproduct');
- const { mapActions: expertsuser } = createNamespacedHelpers('expertsuser');
- const { mapActions: markettype } = createNamespacedHelpers('markettype');
- var moment = require('moment');
- export default {
- name: 'index',
- props: {},
- components: {},
- data: function() {
- return {
- gongqiuImage: require('@/assets/live/main2.png'),
- iconImage: require('@/assets/live/square_big.png'),
- achievezb: require('@/assets/achievezb.jpg'),
- expertimage: require('@/assets/live/222.png'),
- // 成果
- achieveList: [],
- // 技术
- technologyList: [],
- // 商务信息
- businessList: [],
- // 专家信息
- expertList: [],
- // 未注册用户发布产品
- dialog: false,
- activeName: 'first',
- // 所属领域
- fieldList: [],
- // 成果状态
- achievestatusList: [],
- // 合作方式
- cooperationList: [],
- // 技术
- technologyForm: {},
- // 成果
- achieveForm: {},
- technologyRules: {
- company: [{ required: true, message: '请输入企业名称', trigger: 'blur' }],
- phone: [{ required: true, message: '请输入联系电话', trigger: 'blur' }],
- name: [{ required: true, message: '请输入需求名称', trigger: 'blur' }],
- },
- };
- },
- created() {
- this.search();
- this.searchtype();
- },
- methods: {
- ...markettype({ markettypeList: 'query' }),
- ...product({ newquery: 'newquery', productCreate: 'create' }),
- ...expertsuser({ expertQuery: 'query' }),
- async search() {
- let res = await this.newquery({ skip: 0, limit: 4, type: '1', status: '1' });
- if (this.$checkRes(res)) this.$set(this, `achieveList`, res.data);
- res = await this.newquery({ skip: 0, limit: 6, type: '0', status: '1' });
- if (this.$checkRes(res)) this.$set(this, `technologyList`, res.data);
- res = await this.newquery({ skip: 0, limit: 5, type: '2', status: '1' });
- if (this.$checkRes(res)) this.$set(this, `businessList`, res.data);
- res = await this.expertQuery({ skip: 0, limit: 6 });
- if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
- },
- // 未注册用户添加产品
- // 查询字典表
- async searchtype() {
- // 所属领域;
- let res = await this.markettypeList({ category: '01' });
- if (this.$checkRes(res)) {
- this.$set(this, `fieldList`, res.data);
- }
- // 成果状态;
- res = await this.markettypeList({ category: '02' });
- if (this.$checkRes(res)) {
- this.$set(this, `achievestatusList`, res.data);
- }
- // 合作方式;
- res = await this.markettypeList({ category: '03' });
- if (this.$checkRes(res)) {
- this.$set(this, `cooperationList`, res.data);
- }
- },
- // 技术保存
- async technologyBtn() {
- let data = this.technologyForm;
- data.type = '0';
- data.status = '0';
- let res = await this.productCreate(data);
- if (this.$checkRes(res)) {
- this.$message({
- message: '信息创建成功',
- type: 'success',
- });
- this.toClose();
- } else {
- this.$message.error('信息创建失败');
- }
- },
- // 成果保存
- async achieveBtn() {
- let data = this.achieveForm;
- data.type = '0';
- data.status = '0';
- let res = await this.productCreate(data);
- if (this.$checkRes(res)) {
- this.$message({
- message: '信息创建成功',
- type: 'success',
- });
- this.toClose();
- } else {
- this.$message.error('信息创建失败');
- }
- },
- // 取消
- toClose() {
- this.technologyForm = {};
- this.achieveForm = {};
- this.dialog = false;
- },
- },
- // 过滤时间
- filters: {
- getDate(meta) {
- let createdAt = _.get(meta, `createdAt`);
- let date = new Date(createdAt)
- .toLocaleDateString()
- .replace('/', '-')
- .replace('/', '-');
- return date;
- },
- },
- computed: {
- ...mapState(['user']),
- pageTitle() {
- return `${this.$route.meta.title}`;
- },
- },
- metaInfo() {
- return { title: this.$route.meta.title };
- },
- };
- </script>
- <style lang="less" scoped>
- .w_1200 {
- // width: 80%;
- width: 1200px;
- margin: 0 auto;
- }
- .top {
- margin: 15px 0;
- height: 500px;
- overflow: hidden;
- .left {
- border-right: 1px dashed #ccc;
- .leftTop {
- height: 50px;
- .txt {
- height: 47px;
- line-height: 47px;
- border-bottom: 3px solid #044b79;
- span:first-child {
- color: #000000;
- font-size: 24px;
- font-weight: bold;
- }
- span:nth-child(2) {
- color: #92959a;
- font-size: 24px;
- font-weight: bold;
- margin: 0 0 0 10px;
- }
- span:nth-child(3) {
- color: #92959a;
- font-size: 18px;
- font-weight: bold;
- }
- span:last-child {
- float: right;
- padding: 0 15px;
- font-size: 16px;
- font-weight: bold;
- color: #044b79;
- }
- span:last-child:hover {
- cursor: pointer;
- }
- }
- }
- .leftDown {
- height: 450px;
- .achieveList {
- position: relative;
- height: 220px;
- margin: 0 0 5px 0;
- border: 1px dashed #ccc;
- padding: 5px;
- // .achieveListLeft {
- // text-align: center;
- // background-color: #ec6c2d;
- // text-align: center;
- // span {
- // color: #fff;
- // font-size: 14px;
- // font-weight: bold;
- // }
- // }
- // .achieveListRight {
- // .company {
- // p:first-child {
- // font-size: 20px;
- // font-family: cursive;
- // font-style: italic;
- // color: #ec6c2d;
- // font-weight: bold;
- // padding: 0 10px 5px 10px;
- // }
- // p:nth-child(2) {
- // border: 1px solid #ec6c2d;
- // }
- // p:nth-child(3) {
- // border: 2px solid #f3e639;
- // margin: 5px 0 0 0;
- // width: 70%;
- // }
- // }
- // .achimage {
- // padding: 10px 5px;
- // }
- // .achname {
- // padding: 0px 10px;
- // font-size: 20px;
- // font-family: cursive;
- // font-style: italic;
- // -webkit-text-fill-color: white;
- // -webkit-text-stroke-color: #ec6c2d;
- // -webkit-text-stroke-width: 1px;
- // overflow: hidden;
- // text-overflow: ellipsis;
- // -webkit-line-clamp: 3;
- // word-break: break-all;
- // display: -webkit-box;
- // -webkit-box-orient: vertical;
- // margin: 10px 0 0 0;
- // }
- // .brief {
- // font-size: 16px;
- // padding: 0px 7px;
- // font-weight: bold;
- // line-height: 26px;
- // overflow: hidden;
- // text-overflow: ellipsis;
- // -webkit-line-clamp: 9;
- // word-break: break-all;
- // display: -webkit-box;
- // -webkit-box-orient: vertical;
- // }
- // .companyInfo {
- // position: absolute;
- // bottom: 14px;
- // p {
- // font-size: 10px;
- // padding: 0 10px;
- // }
- // }
- // }
- .achieveImage .el-image {
- width: 100%;
- height: 210px;
- overflow: hidden;
- border-radius: 5px;
- }
- .name {
- position: absolute;
- bottom: 0;
- width: 97%;
- height: 40px;
- line-height: 40px;
- background: #0085d25f;
- font-size: 16px;
- padding: 0 10px;
- color: #333;
- }
- }
- .achieveList:hover {
- cursor: pointer;
- .name {
- color: #0085d2;
- font-weight: bold;
- }
- }
- }
- }
- .right {
- .rightTop {
- height: 50px;
- .txt {
- height: 47px;
- line-height: 47px;
- border-bottom: 3px solid #044b79;
- span:first-child {
- color: #000000;
- font-size: 24px;
- font-weight: bold;
- }
- span:nth-child(2) {
- color: #92959a;
- font-size: 24px;
- font-weight: bold;
- margin: 0 0 0 10px;
- }
- span:nth-child(3) {
- color: #92959a;
- font-size: 18px;
- font-weight: bold;
- }
- span:last-child {
- float: right;
- padding: 0 15px;
- font-size: 16px;
- font-weight: bold;
- color: #044b79;
- }
- span:last-child:hover {
- cursor: pointer;
- }
- }
- }
- .rightDown {
- padding: 0 10px;
- .technologyList {
- padding: 10px 0;
- border-bottom: 1px dashed #ccc;
- .name {
- font-size: 18px;
- }
- .date {
- text-align: center;
- font-size: 16px;
- }
- .field {
- padding: 10px 0 0 0;
- font-size: 15px;
- }
- }
- .technologyList:hover {
- cursor: pointer;
- .name {
- color: #0085d2;
- font-weight: bold;
- }
- }
- }
- }
- }
- .image {
- text-align: center;
- margin: 15px 0;
- }
- .down {
- height: 550px;
- padding: 50px 0 0 0;
- margin: 0 0 15px 0;
- background-color: #e9edf6;
- .left {
- border-right: 1px dashed #ccc;
- .leftTop {
- height: 50px;
- .txt {
- height: 47px;
- line-height: 47px;
- border-bottom: 3px solid #044b79;
- span:first-child {
- color: #000000;
- font-size: 24px;
- font-weight: bold;
- }
- span:nth-child(2) {
- color: #92959a;
- font-size: 24px;
- font-weight: bold;
- margin: 0 0 0 10px;
- }
- span:nth-child(3) {
- color: #92959a;
- font-size: 18px;
- font-weight: bold;
- }
- span:last-child {
- float: right;
- padding: 0 15px;
- font-size: 16px;
- font-weight: bold;
- color: #044b79;
- }
- span:last-child:hover {
- cursor: pointer;
- }
- }
- }
- .leftDown {
- height: 450px;
- padding: 0 10px;
- .businessList {
- padding: 10px 0;
- border-bottom: 1px dashed #044b79;
- .name {
- font-size: 18px;
- }
- .messbute {
- font-size: 16px;
- }
- .date {
- font-size: 16px;
- text-align: center;
- }
- .info {
- padding: 5px 0 0 0;
- height: 45px;
- font-size: 14px;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-line-clamp: 2;
- word-break: break-all;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- }
- }
- .businessList:last-child {
- border-bottom: none;
- }
- .businessList:hover {
- cursor: pointer;
- .name {
- color: #0085d2;
- font-weight: bold;
- }
- }
- }
- }
- .right {
- .rightTop {
- height: 50px;
- .txt {
- height: 47px;
- line-height: 47px;
- border-bottom: 3px solid #044b79;
- span:first-child {
- color: #000000;
- font-size: 24px;
- font-weight: bold;
- }
- span:nth-child(2) {
- color: #92959a;
- font-size: 24px;
- font-weight: bold;
- margin: 0 0 0 10px;
- }
- span:nth-child(3) {
- color: #92959a;
- font-size: 18px;
- font-weight: bold;
- }
- span:last-child {
- float: right;
- padding: 0 15px;
- font-size: 16px;
- font-weight: bold;
- color: #044b79;
- }
- span:last-child:hover {
- cursor: pointer;
- }
- }
- }
- .rightDown {
- height: 450px;
- padding: 0 10px;
- .expertList {
- margin: 20px 0 10px 0;
- padding: 10px 0;
- border-bottom: 1px dashed #044b79;
- .expertimage {
- .el-image {
- width: 90px;
- height: 90px;
- border-radius: 90px;
- }
- }
- .rightInfo {
- padding: 0 10px;
- .name {
- font-size: 18px;
- padding: 7px 0 0 0;
- }
- .school {
- font-size: 16px;
- padding: 7px 0 0 0;
- }
- .edu {
- font-size: 16px;
- padding: 7px 0 0 0;
- }
- .company {
- font-size: 16px;
- padding: 7px 0 0 0;
- }
- }
- }
- .expertList:nth-child(5) {
- border-bottom: none;
- }
- .expertList:nth-child(6) {
- border-bottom: none;
- }
- .expertList:hover {
- cursor: pointer;
- .name {
- color: #0085d2;
- font-weight: bold;
- }
- }
- }
- }
- }
- .createpro {
- position: fixed;
- bottom: 100px;
- left: 100px;
- width: 80px;
- height: 80px;
- border: 1px solid #ccc;
- border-radius: 10px;
- text-align: center;
- .el-button {
- font-size: 25px;
- }
- }
- .createpro:hover {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px);
- -webkit-box-shadow: 0 0 6px #0085d2;
- box-shadow: 0 0 6px #0085d2;
- -webkit-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- cursor: pointer;
- .el-button {
- font-weight: bold;
- }
- }
- .releaseDialog {
- margin: 15px 0;
- .first {
- .company {
- border: 1px solid #ccc;
- padding: 0 15px 15px 15px;
- h1 {
- margin: 10px 10px;
- border-bottom: 1px solid red;
- height: 40px;
- line-height: 40px;
- }
- .compnayInfo {
- .txt {
- margin: 0 0 5px 0;
- border-bottom: 1px dashed #ccc;
- padding: 10px 0;
- .left {
- text-align: center;
- height: 40px;
- line-height: 40px;
- font-size: 15px;
- }
- }
- .txtTwo {
- p {
- font-size: 15px;
- padding: 10px;
- }
- }
- }
- }
- .product {
- border: 1px solid #ccc;
- padding: 0 15px 15px 15px;
- h1 {
- margin: 10px 10px;
- border-bottom: 1px solid red;
- height: 40px;
- line-height: 40px;
- }
- .productInfo {
- .txt {
- margin: 0 0 5px 0;
- border-bottom: 1px dashed #ccc;
- padding: 10px 0;
- .left {
- text-align: center;
- height: 40px;
- line-height: 40px;
- font-size: 15px;
- }
- }
- .txtTwo {
- p {
- font-size: 15px;
- padding: 10px;
- }
- }
- }
- }
- .btn {
- text-align: center;
- margin: 15px 0;
- }
- }
- }
- </style>
|