This commit is contained in:
Vergil
2020-04-08 17:54:54 +08:00
5 changed files with 37 additions and 4 deletions

View File

@@ -23,6 +23,7 @@
start-placeholder="开始日期"
end-placeholder="结束日期"/>
<el-button type="primary" icon="el-icon-search" size="small" plain style="margin-left: 10px" @click="total=0;pageSize = 20;pageCurrent = 1;searchTable()">查询</el-button>
<!--<el-button type="primary" icon="el-icon-search" size="small" plain style="margin-left: 10px" @click="total=0;pageSize = 20;pageCurrent = 1;loginsession()">session</el-button>-->
<el-tooltip :open-delay="1200" effect="dark" content="只查询加急的零件" placement="top">
<el-checkbox v-model="all" size="small">加急</el-checkbox>
</el-tooltip>
@@ -32,7 +33,7 @@
</div>
</div>
<el-card>
<el-table v-loading="loading" :data="tableData" :row-class-name="tableRowClassName" height="570" style="width: 1000px; margin: 3px 0" size="mini" border highlight-current-row element-loading-text="拼命加载中">
<el-table v-loading="loading" :data="tableData" :row-class-name="tableRowClassName" height="570" style="width: 1090px; margin: 3px 0" size="mini" border highlight-current-row element-loading-text="拼命加载中">
<el-table-column label="机床图号" prop="机床图号" align="center" width="140px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床图号 }}
@@ -79,6 +80,11 @@
{{ scope.row.投产时间 | formatTime }}
</template>
</el-table-column>
<el-table-column label="计划员" align="center" width="90" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
</el-table>
<div class="block">
<el-pagination
@@ -118,6 +124,16 @@ export default {
this.projectChange()
},
methods: {
loginsession() {
this.$axios({
methods: 'post',
url: 'http://192.168.1.192:8045/submit/SessionID.ashx?userName=0000',
data: {
userName: '0000'
}
}).then(res => {
})
},
projectChange() {
this.machineName = []
this.machineNameValue = ''