a
This commit is contained in:
@@ -647,13 +647,15 @@ export default {
|
||||
this.dialogFormVisible1 = true
|
||||
this.fetchData3()
|
||||
},
|
||||
// 获取人员信息树
|
||||
fetchData3() {
|
||||
getTree().then(response => { // 获取人员信息树
|
||||
getTree().then(response => {
|
||||
const data = response.data
|
||||
this.data2 = fn(data, 0)
|
||||
})
|
||||
},
|
||||
handleNodeClick(data) { // 树节点点击
|
||||
// 树节点点击
|
||||
handleNodeClick(data) {
|
||||
this.ssks = data.label
|
||||
getTable8(data.id).then(response => {
|
||||
this.List1 = response.data
|
||||
@@ -665,12 +667,14 @@ export default {
|
||||
this.List1 = response.data
|
||||
})
|
||||
},
|
||||
handleCurrentChange2(row) { // 获取当前行人员信息
|
||||
// 获取当前行人员信息
|
||||
handleCurrentChange2(row) {
|
||||
this.ssks = row.节点名称
|
||||
this.Number1 = row.人员编号
|
||||
this.Name = row.姓名
|
||||
},
|
||||
getName() { // 提交人员
|
||||
// 提交人员
|
||||
getName() {
|
||||
this.dialogFormVisible1 = false
|
||||
this.form.人员 = this.Name
|
||||
this.form.人员编号 = this.Number1
|
||||
@@ -692,13 +696,15 @@ export default {
|
||||
if (parseInt(row.考核状态) > 6) {
|
||||
return 'CompleteColor'
|
||||
}
|
||||
}, // 工序状态变色
|
||||
},
|
||||
// 工序状态变色
|
||||
tableRowClassName1({ row, rowIndex }) {
|
||||
row.index = rowIndex
|
||||
if (parseInt(row.工序状态) > 3) {
|
||||
return 'CompleteColor'
|
||||
}
|
||||
}, // 重置表单
|
||||
},
|
||||
// 重置表单
|
||||
callOff(formName) {
|
||||
this.dialogFormVisible = false
|
||||
this.$refs[formName].resetFields()
|
||||
|
||||
Reference in New Issue
Block a user