提交 e06f060e authored 作者: CRS's avatar CRS

new

...@@ -200,3 +200,6 @@ ...@@ -200,3 +200,6 @@
.el-upload-list{ .el-upload-list{
display: none; display: none;
} }
.el-scrollbar__wrap{
margin-bottom: 0px !important;
}
\ No newline at end of file
...@@ -137,9 +137,9 @@ export default { ...@@ -137,9 +137,9 @@ export default {
download (val) { download (val) {
if (val.path) { if (val.path) {
let link = document.createElement('a'); let link = document.createElement('a');
link.download ='文件';
link.style.display = 'none';
link.href = val.path; link.href = val.path;
link.download = val.name;
link.style.display = 'none';
document.body.appendChild(link); document.body.appendChild(link);
link.click(); link.click();
document.body.removeChild(link); document.body.removeChild(link);
......
...@@ -180,6 +180,7 @@ ...@@ -180,6 +180,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
:formatter="formChange"
prop="form" prop="form"
label="类型" label="类型"
align="center"> align="center">
...@@ -467,6 +468,7 @@ export default { ...@@ -467,6 +468,7 @@ export default {
thirdName: this.supervisor, thirdName: this.supervisor,
des: this.textarea des: this.textarea
}; };
console.log(data)
if (this.supervisor && this.endTime && this.startTime && this.develop && this.integrate && this.build) { if (this.supervisor && this.endTime && this.startTime && this.develop && this.integrate && this.build) {
this.$server.postProjectAdd(data).then(res => { this.$server.postProjectAdd(data).then(res => {
console.log(res) console.log(res)
...@@ -489,8 +491,9 @@ export default { ...@@ -489,8 +491,9 @@ export default {
this.techList.map(item => { // 技术路线查询产品信息 this.techList.map(item => { // 技术路线查询产品信息
if (item.name === this.techVal && item.producies) { if (item.name === this.techVal && item.producies) {
this.productData = item.producies; this.productData = item.producies;
this.productData.map(val => { // 默认技术数量 this.productData.map(val => {
val.expect = 1; val.expect = 1; // 默认技术数量
val.form = this.formVal[val.form]; // 产品类型转换
}) })
} }
}) })
...@@ -664,4 +667,8 @@ export default { ...@@ -664,4 +667,8 @@ export default {
.projectAdd .content>>>.el-scrollbar__wrap { .projectAdd .content>>>.el-scrollbar__wrap {
overflow-x: hidden; overflow-x: hidden;
} }
.projectAdd .content>>>.el-scrollbar__wrap{
margin-bottom: 0px !important;
}
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论