Commit 3ce69f96 authored by anxixi's avatar anxixi

修改科创企业功能部分bug

parent df110a04
......@@ -864,7 +864,7 @@ module.exports = {
statereview:'您的项目正在审核中,预计审核时间为3个工作日,请耐心等待。',
staterefuse:'您的项目未通过审核,请修改后重新提交审核,驳回理由为:',
statenotcertified:'您还未通过个人认证,认证通过后,该项目才可以展示;',
companyname :'公司全称:',
companyname :'公司全称',
thecompany:'公司',
companyWebsite:'网址:',
officialAccount:'公众号:',
......
......@@ -38,7 +38,7 @@
<span>{{addData.companyIntroductionSimple}}</span>
</el-form-item>
<el-form-item :label="$t('releasejson.companyLogoUrl')" style="width: 100%;">
<img :src="addData.companyLogoUrl" alt="图片" width="120px" height="120px">
<img :src="addData.companyLogoUrl" alt="图片" style="border-radius: 3px; border:1px solid #DCDFF1; width:120px;height:120px;">
</el-form-item>
<el-form-item :label="$t('releasejson.projectIndustryList')" style="width: 100%;">
<span style="margin-right: 10px" v-for="(item,index) in addData.companyIndustrys" :key="index">{{item}}</span>
......@@ -63,7 +63,7 @@
<p class="company" v-for="(item,index) in addData.companyLabel" :key="index"> {{item}}</p>
</div>
</el-form-item>
<el-form-item :label="$t('workPlace.basicForm.companyIntro')+':'" style="width: 100%;">
<el-form-item :label="$t('workPlace.basicForm.companyIntro')+''" style="width: 100%;">
<span>{{addData.companyIntroduction}}</span>
</el-form-item>
</el-form>
......@@ -86,7 +86,7 @@
<span>{{addData.cooperationWay}}</span>
</el-form-item>
<el-form-item :label="$t('requireInfo.targetIndustry')+':'" style="width: 40%;">
<span>{{addData.targetIndustryStr}}</span>
<span v-for="(item,index) in addData.targetIndustrys" style="margin-right: 10px">{{item}}</span>
</el-form-item>
<el-form-item :label="$t('operationjson.Cooperation')" style="width: 100%;">
<div style="display: flex;flex-wrap:wrap;" v-if="addData.targetLabel">
......
......@@ -39,6 +39,8 @@
<el-button type="primary" style="width: 180px;height: 42px" @click="editDatapush">{{$t('findPassword.confirmModify')}}</el-button>
<el-button style="width: 180px;height: 42px" @click="backgo">{{$t('workPlace.goreturn')}}</el-button>
</el-row>
<loadingCmpt v-if="fullscreenLoading"></loadingCmpt>
</div>
</template>
......@@ -48,6 +50,7 @@
import submitTwo from '../submitprojects/submittwo';
import submitThree from '../submitprojects/submitthree';
import submitFour from '../submitprojects/submitfour';
import loadingCmpt from '../../../components/common/loading';
export default {
name : "setproject",
data(){
......@@ -57,10 +60,11 @@
thirdName:'third',
fourthName:'fourth',
formData:{},
fullscreenLoading:false,
}
},
components:{
submitOne,submitTwo,submitThree,submitFour
submitOne,submitTwo,submitThree,submitFour,loadingCmpt
},
methods : {
editDatapush(){
......@@ -82,8 +86,13 @@
}).then(() => {
api.updateProject(this.formData).then(response => {
if(response.code == 0) {
this.$message.success(this.$t('Otherjson.revision'));
this.$router.go(-1);
this.fullscreenLoading = true;
let _this = this;
setTimeout(function(){
_this.$message.success(_this.$t('Otherjson.revision'));
_this.$router.go(-1);
_this.fullscreenLoading = false;
},2000)
} else {
this.$message.error(response.msg);
}
......
......@@ -89,7 +89,7 @@
<el-image style="width: 100px;border: 1px solid #E7E9F5;border-radius:10px;margin-right: 20px; height: 100px" v-for="(item,index) in addData.projectPicUrlList" :key="index" :src="item" :preview-src-list="addData.projectPicUrlList">
</el-image>
</el-form-item>
<el-form-item v-if="addData.showProjectOther" style="width: 100%;" :label="$t('listproject.projectlight')" class="itemcontent">
<el-form-item v-if="addData.showProjectOther" style="width: 100%;" :label="$t('listproject.projectlight')+':'" class="itemcontent">
<el-row :gutter="20">
<el-col :span="6" class="liangcol" v-for="(item,index) in addData.projectLightspotList" :key="index">
<div class="images">
......@@ -392,7 +392,7 @@
</el-table-column>
<el-table-column prop="requirementName" :label="$t('listproject.requirementName')">
<template slot-scope="scope">
<p @click="$router.push({path:'/require/detail',query:{id:scope.row.requirementId}})">{{scope.row.requirementName}}</p>
<p style="cursor: pointer" @click="$router.push({path:'/require/detail',query:{id:scope.row.requirementId,flag:1}})">{{scope.row.requirementName}}</p>
</template>
</el-table-column>
<el-table-column prop="empName" :label="$t('listproject.techempName')">
......
......@@ -48,8 +48,8 @@
<el-form-item :label="$t('listproject.empPosition')+':'" style="width: 100%;">
<span>{{addData.empPosition}}</span>
</el-form-item>
<el-form-item :label="$t('releasejson.companyLogoUrl')" style="width: 100%;">
<img :src="addData.empCardUrl" alt="图片" width="476px" height="305px">
<el-form-item :label="$t('personalAuth.card')+':'" style="width: 100%;">
<img :src="addData.empCardUrl" alt="图片" style="border-radius: 3px; border:1px solid #DCDFF1; width:476px;height:305px;">
</el-form-item>
</el-form>
</div>
......
......@@ -41,7 +41,7 @@
<span>{{addData.companyIntroduction}}</span>
</el-form-item>
<el-form-item :label="$t('releasejson.companyLogoUrl')" style="width: 100%;margin: 20px 0">
<img :src="addData.companyLogoUrl" alt="图片" width="120px" height="120px">
<img :src="addData.companyLogoUrl" alt="图片" style="border-radius: 3px; border:1px solid #DCDFF1; width:120px;height:120px;">
</el-form-item>
<el-form-item :label="$t('releasejson.companyLabelList')" style="width: 100%;">
<div style="display: flex;flex-wrap:wrap;">
......@@ -75,7 +75,7 @@
<el-image style="width: 100px;border: 1px solid #E7E9F5;border-radius:10px;margin-right: 20px; height: 100px" v-for="(item,index) in addData.projectPicUrlList" :key="index" :src="item" :preview-src-list="addData.projectPicUrlList">
</el-image>
</el-form-item>
<el-form-item :label="$t('releasejson.projectlight')" style="width: 100%;">
<el-form-item :label="$t('releasejson.projectlight')+':'" style="width: 100%;">
<p v-for="(item,index) in addData.projectLightspotList" :key="index">{{item.lightspotName}}</p>
</el-form-item>
<el-form-item :label="$t('operationjson.ProjectPatent')" style="width: 100%;line-height: 48px;margin: 15px 0">
......
<template>
<div class="contentPadding forminput">
<el-form :inline="true" label-position="right" :model="formData" :rules="rules" ref="formData" :label-width="diven_zh?'180px':'300px'" :class="diven_zh?'contnetform180':'contnetform300s'" >
<el-form :inline="true" label-position="right" :model="formData" :rules="rules" ref="formData" :label-width="diven_zh?'180px':'300px'" :class="diven_zh?'':'contnetform300s'" >
<el-form-item :label="$t('releasejson.projectName')" prop="projectName" style="width: 100%;">
<el-input v-model="formData.projectName" maxlength="36" :placeholder="$t('releasejson.plprojectName')" style="width: 450px;height: 40px"></el-input>
</el-form-item>
......@@ -54,7 +54,7 @@
:on-remove="handleRemove"
>
<i class="iconfont icon-jiahao"></i>
<p class="uploadImgTitle">{{$t("personalAuth.businessCard")}}</p>
<p class="uploadImgTitle">{{$t("personalAuth.businessCardimg")}}</p>
</el-upload>
</div>
</el-form-item>
......
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