This commit is contained in:
caoxinyu
2019-09-25 12:09:41 +08:00
parent 676f2a3ec3
commit 76b361ddbd
22 changed files with 82 additions and 72 deletions

View File

@@ -13,7 +13,7 @@
<el-col :span="6">
<div style="width: 650px;margin: 0">
<div style="overflow: hidden">
<div style="margin-bottom: 10px;">
<div style="margin-bottom: 0px;">
<span>项目</span>
<el-select v-model="projectValue" filterable size="small" placeholder="项目名称" style="margin-top: 3px">
<el-option
@@ -30,14 +30,14 @@
:label="item.label"
:value="item.value"/>
</el-select>
<el-button type="primary" size="small" icon="el-icon-upload2" style="margin-left: 10px" @click="opendialogVisibleMachine()">上传总图</el-button>
<el-tooltip :open-delay="1000" effect="dark" content="上传项目设计总图" placement="top">
<el-button type="primary" size="small" icon="el-icon-upload2" style="margin-left: 10px" @click="opendialogVisibleMachine()">上传总图</el-button>
</el-tooltip>
</div>
<upload-excel-component @on-selected-file="selected"/>
</div>
<div>
<el-tooltip content="删除全部" placement="top">
<span v-show="worksheet.length > 1" style="cursor: pointer;float: right;margin: 5px" @click="removeAll"><i class="el-icon-close"/></span>
</el-tooltip>
<span v-show="worksheet.length > 1" style="cursor: pointer;width: 100px" @click="removeAll"><i class="el-icon-close"/></span>
<el-upload :on-remove="handleRemove" :file-list="itemFile" action=""/>
</div>
<div v-if="worksheet.length !== 0" style="float: right;margin: 3px 0">

View File

@@ -3,7 +3,7 @@
<el-card>
<div style="width: 900px;margin: 0 auto">
<span>机床名称</span>
<el-select v-model="machineValue" filterable clearable size="small" placeholder="机床名称" style="margin-top: 3px" @change="getGroups">
<el-select v-model="machineValue" filterable clearable size="small" placeholder="机床名称" style="margin-top: 3px;width: 200px;" @change="getGroups">
<el-option
v-for="item in machineNames"
:key="item.value"
@@ -11,7 +11,7 @@
:value="item.value"/>
</el-select>
<span>分组名称</span>
<el-select v-model="groupValue" filterable clearable size="small" placeholder="分组名称">
<el-select v-model="groupValue" filterable clearable size="small" placeholder="分组名称" style="width: 200px;">
<el-option
v-for="item in groupsNames"
:key="item.value"