行
This commit is contained in:
@@ -34,14 +34,17 @@
|
||||
</el-card>
|
||||
<el-card>
|
||||
<div>
|
||||
<span style="font-size: 20px;margin-bottom: 20px">基本件三表数量</span>
|
||||
<el-button style="float: right;margin-bottom: 20px" type="danger" size="small" @click="alldelete()">全部删除</el-button>
|
||||
<span style="font-size: 20px">基本件三表数量</span>
|
||||
<el-tooltip effect="dark" content="删除基本件三表数量" placement="top" open-delay="1000">
|
||||
<el-button style="float: right;margin-bottom: 20px" type="danger" size="small" @click="alldelete()">全部删除</el-button>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="tableData"
|
||||
highlight-current-row
|
||||
border
|
||||
stripe
|
||||
size="mini"
|
||||
style="width: 100%;max-height: 520px"
|
||||
height="320">
|
||||
@@ -121,16 +124,23 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" fixed="right" align="center" width="200">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
icon="el-icon-edit"
|
||||
@click="type=1;handleEdit(scope.row)">编辑</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)">删除</el-button>
|
||||
|
||||
<el-tooltip effect="dark" content="编辑零件数量" placement="top" open-delay="1000">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
@click="type=1;handleEdit(scope.row)">编辑</el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip effect="dark" content="删除该行" placement="top" open-delay="1000">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)">删除</el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -147,8 +157,10 @@
|
||||
</el-card>
|
||||
<el-card>
|
||||
<div>
|
||||
<span style="font-size: 20px;margin-bottom: 20px">外购件和标准件三表数量</span>
|
||||
<el-button style="float: right;margin-bottom: 20px" type="danger" size="small" @click="alldeleteWB()">全部删除</el-button>
|
||||
<span style="font-size: 20px">外购件和标准件三表数量</span>
|
||||
<el-tooltip effect="dark" content="删除外购件和标准件数量" placement="top" open-delay="1000">
|
||||
<el-button style="float: right;margin-bottom: 20px" type="danger" size="small" @click="alldeleteWB()">全部删除</el-button>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<el-table
|
||||
v-loading="loadingWB"
|
||||
@@ -241,7 +253,7 @@
|
||||
</el-card>
|
||||
<el-card>
|
||||
<div>
|
||||
<div style="font-size: 20px;margin-bottom: 20px">未投产数量</div>
|
||||
<div style="font-size: 20px">未投产数量</div>
|
||||
<el-table
|
||||
:data="tableData1"
|
||||
border
|
||||
@@ -305,7 +317,7 @@
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<div style="font-size: 20px;margin-bottom: 20px">未平衡数量</div>
|
||||
<div style="font-size: 20px">未平衡数量</div>
|
||||
<el-table
|
||||
:data="tableData2"
|
||||
border
|
||||
@@ -363,7 +375,7 @@
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<div style="font-size: 20px;margin-bottom: 20px">未分配采购零件数量</div>
|
||||
<div style="font-size: 20px">未分配采购零件数量</div>
|
||||
<el-tabs type="border-card" @tab-click="searchTable1();searchTable2()">
|
||||
<el-tab-pane label="标准件和外购件">
|
||||
<el-table :data="tableData3" size="mini" style="max-height: 320px" height="320px" border>
|
||||
@@ -617,7 +629,7 @@
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-card>
|
||||
<el-dialog :visible.sync="dialogFormVisible3" title="更改数量" center style="min-height: 300px" width="400px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="更改数量" center style="min-height: 300px" width="400px">
|
||||
<el-form ref="form3" :model="form3" :rules="rules3" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-form-item label="数量" prop="数量">
|
||||
<el-input
|
||||
|
||||
@@ -10,76 +10,81 @@
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="searchTable()">查询</el-button>
|
||||
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="addShifttable()">增加</el-button>
|
||||
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="ShiftType()">班次类型工作时间</el-button>
|
||||
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="addShifttable()">新增</el-button>
|
||||
<el-button type="warning" icon="el-icon-circle-plus-outline" plain size="small" @click="ShiftType()">班次类型工作时间</el-button>
|
||||
</el-card>
|
||||
|
||||
<el-card>
|
||||
<el-table
|
||||
:data="tableData"
|
||||
border
|
||||
stripe
|
||||
size="mini"
|
||||
style="width: 100%;height: 550px;">
|
||||
<el-table-column label="开始工作时间">
|
||||
height="550"
|
||||
center
|
||||
style="width: 100%">
|
||||
<el-table-column label="开始工作时间" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.开始工作时间 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column disabled label="结束工作时间" >
|
||||
<el-table-column disabled label="结束工作时间" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.结束工作时间 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="班次类型">
|
||||
<el-table-column label="班次类型" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.班次类型 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="班次代码">
|
||||
<el-table-column label="班次代码" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.班次代码 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否夜班">
|
||||
<el-table-column label="是否夜班" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.是否夜班 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否工作">
|
||||
<el-table-column label="是否工作" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.是否工作 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否工作">
|
||||
<el-table-column label="是否工作" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.是否工作 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="日工作能力">
|
||||
<el-table-column label="日工作能力" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.日工作能力 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否可以安排高难度件">
|
||||
<el-table-column label="是否可以安排高难度件" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.是否可以安排高难度件 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="备注">
|
||||
<el-table-column label="备注" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.备注 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="200">
|
||||
<el-table-column label="操作" width="200" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
@click="aeditShifttable(scope.row)">修改</el-button>
|
||||
@click="aeditShifttable(scope.row)">编辑</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
@@ -96,7 +101,7 @@
|
||||
@current-change="handleCurrentChange"/>
|
||||
</div>
|
||||
</el-card>
|
||||
<el-dialog :visible.sync ="dialogFormVisible1" title="增加" center style="min-height: 270px" width="900px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync ="dialogFormVisible1" title="新增班次人员" center style="min-height: 270px" width="900px">
|
||||
<el-form ref="form1" :model="form1" :rules="rules" label-position="right" label-width="160px" class="demo-ruleForm">
|
||||
<el-row>
|
||||
<el-col :span="10">
|
||||
@@ -183,7 +188,7 @@
|
||||
<el-button type="primary" @click="submitAdd1()">确 定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-dialog :visible.sync="dialogFormVisible2" title="编辑" center style="min-height: 270px" width="900px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible2" title="编辑" center style="min-height: 270px" width="900px">
|
||||
<el-form ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-row>
|
||||
<el-col :span="10">
|
||||
@@ -467,8 +472,6 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
.el-card{
|
||||
margin-bottom:15px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="pageCurrent=1;pageSize = 10;searchData()">查询</el-button>
|
||||
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">增加</el-button>
|
||||
</el-card>
|
||||
<el-card style="margin-top: 15px">
|
||||
<el-card style="margin-top: 0px">
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="tableData"
|
||||
@@ -32,11 +32,13 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
@click="handleEdit(scope.row)">编辑</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
@@ -54,7 +56,7 @@
|
||||
</div>
|
||||
</el-card>
|
||||
|
||||
<el-dialog :visible.sync="dialogFormVisible1" title="新增角色" center style="min-height: 200px" width="400px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible1" title="新增角色" center style="min-height: 200px" width="400px">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px">
|
||||
<el-form-item label="角色名称" prop="角色功能" style="display: inline-block">
|
||||
<el-input
|
||||
@@ -212,7 +214,8 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.el-card{
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -18,42 +18,49 @@
|
||||
</el-card>
|
||||
|
||||
<el-card>
|
||||
<el-table :data="tableData" highlight-current-row>
|
||||
<el-table-column label="员工姓名">
|
||||
<el-table :data="tableData" highlight-current-row stripe size="mini" height="550" border style="width: 100%">
|
||||
<el-table-column
|
||||
label="序号"
|
||||
align="center"
|
||||
type="index"
|
||||
width="50"/>
|
||||
<el-table-column label="员工姓名" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.姓名 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column disabled label="所属部门" >
|
||||
<el-table-column disabled label="所属部门" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.部门名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="岗位名称">
|
||||
<el-table-column label="岗位名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.岗位名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="角色名称">
|
||||
<el-table-column label="角色名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.角色功能 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="考勤编号">
|
||||
<el-table-column label="考勤编号" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.考勤编号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作">
|
||||
<el-table-column label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
@click="submitEdit(scope.$index, scope.row)">修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
@@ -72,7 +79,7 @@
|
||||
</el-card>
|
||||
</table>
|
||||
|
||||
<el-dialog :visible.sync="dialogFormVisible" title="人员信息" center width="750px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible" title="人员信息" center width="750px">
|
||||
<div style="height: 500px">
|
||||
<div style="float: left;margin-top: 10px;margin-left: 20px;overflow-y: scroll;height: 400px">
|
||||
<el-tree
|
||||
@@ -111,7 +118,7 @@
|
||||
<el-button type="primary" style="margin-top: 20px" @click="getName">确认</el-button>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog :visible.sync="dialogFormVisible1" title="增加" center style="min-height: 270px" width="800px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible1" title="增加" center style="min-height: 270px" width="800px">
|
||||
<el-form ref="form1" :model="form1" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
@@ -148,7 +155,7 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog :visible.sync="dialogFormVisible2" title="编辑" center style="min-height: 270px" width="800px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible2" title="编辑" center style="min-height: 270px" width="800px">
|
||||
<el-form ref="form2" :model="form2" :rules="rules1" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
@@ -393,8 +400,6 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
.el-card{
|
||||
margin-bottom:15px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user