This commit is contained in:
hedekun
2020-02-08 16:34:57 +08:00
parent 76db4ae54a
commit 79b356d649
28 changed files with 464 additions and 176 deletions

View File

@@ -33,7 +33,7 @@
:value="item.value"/>
</el-select>
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData()">查询</el-button>
<el-button icon="el-icon-search" type="primary" plain size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData()">查询</el-button>
<el-upload
:disabled="disabled"
:action="action"
@@ -44,7 +44,7 @@
style="float: right; margin: 0px 50px"
class="upload-demo"
multiple>
<el-button type="success" size="small" style="float: right; margin: 0px 50px" @click="batchImportOfDrawings">图纸批量导入</el-button>
<el-button type="primary" size="small" style="float: right; margin: 0px 50px" plain @click="batchImportOfDrawings">图纸批量导入</el-button>
</el-upload>
</el-card>
<el-card>
@@ -87,8 +87,8 @@
</el-table-column>
<el-table-column label="是否导入" align="center">
<template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否导入)===1" type="success">已导入</el-tag>
<el-tag v-else type="danger">未导入</el-tag>
<span v-if="Number(scope.row.是否导入)===1" type="success">已导入</span>
<span v-else type="danger">未导入</span>
</template>
</el-table-column>
<el-table-column min-width="50px" label="零件图纸" align="center">
@@ -107,7 +107,7 @@
:file-list="fileList"
class="upload-demo"
multiple>
<el-button :disabled="disabled" size="mini" type="primary" round @click="getAction(scope.row)">点击上传</el-button>
<el-button :disabled="disabled" size="mini" type="text" icon="el-icon-upload2" round @click="getAction(scope.row)">点击上传</el-button>
</el-upload>
</template>
</el-table-column>