|
@@ -3,28 +3,38 @@
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<div class="center">
|
|
<div class="center">
|
|
<el-col :span="24" class="ys">
|
|
<el-col :span="24" class="ys">
|
|
- <el-input v-model="input" placeholder="请输入查询产品" class="wid"></el-input>
|
|
|
|
|
|
+ <el-input v-model="company" placeholder="请输入查询产品" class="wid"></el-input>
|
|
<el-button type="primary" @click="clic">查询产品</el-button>
|
|
<el-button type="primary" @click="clic">查询产品</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-table @query="clic" :data="list" :default-sort="{ prop: 'company', order: 'descending' }" border>
|
|
<el-table @query="clic" :data="list" :default-sort="{ prop: 'company', order: 'descending' }" border>
|
|
<el-table-column prop="company" label="企业名称" sortable></el-table-column>
|
|
<el-table-column prop="company" label="企业名称" sortable></el-table-column>
|
|
<el-table-column prop="name" label="标题" sortable></el-table-column>
|
|
<el-table-column prop="name" label="标题" sortable></el-table-column>
|
|
- <el-table-column prop="type" label="产品类型" sortable></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="type" label="产品类型" sortable>
|
|
|
|
+ <template slot-scope="{ row: { type } }">
|
|
|
|
+ <span v-if="+type === 0">技术</span>
|
|
|
|
+ <span v-else-if="+type === 1">产品</span>
|
|
|
|
+ <span v-else>商务</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column prop="field" label="所属领域" sortable></el-table-column>
|
|
<el-table-column prop="field" label="所属领域" sortable></el-table-column>
|
|
<el-table-column prop="cooperation" label="合作方式" sortable></el-table-column>
|
|
<el-table-column prop="cooperation" label="合作方式" sortable></el-table-column>
|
|
<el-table-column prop="contacts" label="联系人" sortable></el-table-column>
|
|
<el-table-column prop="contacts" label="联系人" sortable></el-table-column>
|
|
<el-table-column prop="phone" label="联系电话" sortable></el-table-column>
|
|
<el-table-column prop="phone" label="联系电话" sortable></el-table-column>
|
|
- <el-table-column prop="status" label="状态" sortable></el-table-column>
|
|
|
|
- <el-table-column prop="cz" label="操作" class="page">
|
|
|
|
- <el-col :span="24" @delete="delDelete">
|
|
|
|
- <el-button type="text" icon="el-icon-delete"></el-button>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+ <el-table-column prop="status" label="状态" sortable>
|
|
|
|
+ <template slot-scope="{ row: { status } }">
|
|
|
|
+ <span v-if="+status === 0">审核拒绝</span>
|
|
|
|
+ <span v-else-if="+status === 1">审核成功</span>
|
|
|
|
+ <span v-else>待审核</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="操作" class="page">
|
|
|
|
+ <el-button type="text" icon="el-icon-delete" @delete="delDelete"></el-button>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<el-pagination background layout="prev, pager, next" :total="100"> </el-pagination>
|
|
<el-pagination background layout="prev, pager, next" :total="100"> </el-pagination>
|
|
<el-tabs class="tab" v-model="activeName" type="card" @tab-click="handleClick">
|
|
<el-tabs class="tab" v-model="activeName" type="card" @tab-click="handleClick">
|
|
<el-tab-pane label="技术需求" name="first">
|
|
<el-tab-pane label="技术需求" name="first">
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="pad">
|
|
<el-col :span="24" class="con">
|
|
<el-col :span="24" class="con">
|
|
<h2>企业信息</h2>
|
|
<h2>企业信息</h2>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -135,20 +145,20 @@
|
|
<el-input v-model="form.zjzyfrs" placeholder="请输入专&兼职研发人数"></el-input>
|
|
<el-input v-model="form.zjzyfrs" placeholder="请输入专&兼职研发人数"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="dir">
|
|
<span>企业简介:</span>
|
|
<span>企业简介:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.companybrief" placeholder="请输入企业简介"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.companybrief" placeholder="请输入企业简介"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="dir">
|
|
<span>主要产品:</span>
|
|
<span>主要产品:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.mainproduct" placeholder="请输入主要产品"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.mainproduct" placeholder="请输入主要产品"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="cc">
|
|
<span>企业资质&荣誉:</span>
|
|
<span>企业资质&荣誉:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.qualifications" placeholder="请输入主要产品"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.qualifications" placeholder="请输入主要产品"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="pad">
|
|
<el-col :span="24" class="ccn">
|
|
<el-col :span="24" class="ccn">
|
|
<h2>技术需求</h2>
|
|
<h2>技术需求</h2>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -198,19 +208,21 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<span>技术难题&需求说明:</span>
|
|
<span>技术难题&需求说明:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.requirementdesc" placeholder="请输入技术难题&需求说明"></el-input>
|
|
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="dir">
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.requirementdesc" placeholder="请输入技术难题&需求说明"></el-input>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="dir">
|
|
<span>预期技术目标描述:</span>
|
|
<span>预期技术目标描述:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.expect" placeholder="请输入预期技术目标描述"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.expect" placeholder="请输入预期技术目标描述"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="dir">
|
|
<span>需求现状及应对措施:</span>
|
|
<span>需求现状及应对措施:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.present" placeholder="请输入需求现状及应对措施"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.present" placeholder="请输入需求现状及应对措施"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="cc">
|
|
<span>合作条件及要求:</span>
|
|
<span>合作条件及要求:</span>
|
|
- <el-input type="textarea" maxlength="300" v-model="form.condition" placeholder="请输入合作条件及要求"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" maxlength="300" show-word-limit v-model="form.condition" placeholder="请输入合作条件及要求"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
@@ -238,17 +250,28 @@ export default {
|
|
components: {},
|
|
components: {},
|
|
data: function() {
|
|
data: function() {
|
|
return {
|
|
return {
|
|
- input: '',
|
|
|
|
|
|
+ types: '',
|
|
|
|
+ sta: '',
|
|
|
|
+ type: '',
|
|
|
|
+ company: '',
|
|
form: {},
|
|
form: {},
|
|
total: '',
|
|
total: '',
|
|
activeName: 'first',
|
|
activeName: 'first',
|
|
- list: [],
|
|
|
|
|
|
+ list: [
|
|
|
|
+ // {
|
|
|
|
+ // company: '1',
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // company: '2',
|
|
|
|
+ // },
|
|
|
|
+ ],
|
|
fieldList: [],
|
|
fieldList: [],
|
|
cooperationList: [],
|
|
cooperationList: [],
|
|
|
|
+ achievestatusList: [],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.clic();
|
|
|
|
|
|
+ this.searchtype();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...markettype({ markettypeList: 'query' }),
|
|
...markettype({ markettypeList: 'query' }),
|
|
@@ -290,7 +313,7 @@ export default {
|
|
},
|
|
},
|
|
//提交
|
|
//提交
|
|
async technologyBtn() {
|
|
async technologyBtn() {
|
|
- let data = this.technologyForm;
|
|
|
|
|
|
+ let data = this.form;
|
|
if (data.company != null) {
|
|
if (data.company != null) {
|
|
data.noticeid = this.noticeid;
|
|
data.noticeid = this.noticeid;
|
|
data.type = '0';
|
|
data.type = '0';
|
|
@@ -301,7 +324,7 @@ export default {
|
|
message: '信息添加成功',
|
|
message: '信息添加成功',
|
|
type: 'success',
|
|
type: 'success',
|
|
});
|
|
});
|
|
- this.technologyForm = {};
|
|
|
|
|
|
+ this.form = {};
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
@@ -358,9 +381,19 @@ export default {
|
|
}
|
|
}
|
|
.di {
|
|
.di {
|
|
border-bottom: 1px dashed #ccc;
|
|
border-bottom: 1px dashed #ccc;
|
|
- margin: 0 0 5px 0;
|
|
|
|
|
|
+ margin: 0 0 10px 0;
|
|
}
|
|
}
|
|
.sr {
|
|
.sr {
|
|
- margin-bottom: 5px;
|
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+}
|
|
|
|
+.dir {
|
|
|
|
+ border-bottom: 1px dashed #ccc;
|
|
|
|
+ padding: 10px 0;
|
|
|
|
+}
|
|
|
|
+.cc {
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+}
|
|
|
|
+.pad {
|
|
|
|
+ padding: 0 5px 0 5px;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|