人员管理树
This commit is contained in:
@@ -470,6 +470,7 @@ export default {
|
|||||||
deleteTable() {
|
deleteTable() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
this.deleteRow(delList, this.id, function() { this.getTreeData() })
|
this.deleteRow(delList, this.id, function() { this.getTreeData() })
|
||||||
|
this.i = 1
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(`请选择部门`)
|
this.$message.warning(`请选择部门`)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -396,7 +396,6 @@ export default {
|
|||||||
this.Groups = []
|
this.Groups = []
|
||||||
if (this.project !== '') {
|
if (this.project !== '') {
|
||||||
getMachines(this.project).then(response => {
|
getMachines(this.project).then(response => {
|
||||||
console.log(response.data)
|
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.Machines.push({
|
this.Machines.push({
|
||||||
label: response.data[i].机床图号,
|
label: response.data[i].机床图号,
|
||||||
|
|||||||
Reference in New Issue
Block a user