This commit is contained in:
liushuai
2019-05-13 16:00:35 +08:00
28 changed files with 544 additions and 733 deletions

View File

@@ -683,7 +683,7 @@ export default {
<style>
.el-table .warning-row {
background: oldlace;
background: red;
}
</style>

View File

@@ -640,7 +640,11 @@ export default {
<style>
.el-table .warning-row {
<<<<<<< HEAD
background: yellowgreen;
=======
background: red;
>>>>>>> fe0ba3d7bde1d5cfc6a4a87843e945deaff60a8d
}
.rgb196{
background: palevioletred;

View File

@@ -116,10 +116,10 @@
<el-table-column label="操作" fixed="right" align="center" width="100">
<template slot-scope="scope">
<el-button
:disabled="Number(id)!==0"
size="mini"
type="danger"
icon="el-icon-delete"
disabled
@click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
@@ -202,10 +202,10 @@
<el-table-column label="操作" fixed="right" align="center" width="200">
<template slot-scope="scope">
<el-button
:disabled="Number(id)!==0"
size="mini"
type="danger"
icon="el-icon-delete"
disabled
@click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
@@ -226,6 +226,7 @@
<script>
import { projectSelect, machineSelect, groupSelect, basicPartsData, deleteBasicParts, purchasePartsData, deletePurchaseData } from '@/api/TechnologyCenter/QueryParts'
import { mapGetters } from 'vuex'
export default {
name: 'Index',
data() {
@@ -249,6 +250,10 @@ export default {
}
},
computed: {
...mapGetters([
'name',
'id' // 人员编号
]),
groupName() {
for (let i = 0; i < this.group.length; i++) {
if (this.group[i].value === this.groupValue) {