车间工艺管理
This commit is contained in:
@@ -10,22 +10,7 @@ export const name = `OP8888`
|
|||||||
export const upload = `http://localhost:8411/submit/uploadFile.ashx`
|
export const upload = `http://localhost:8411/submit/uploadFile.ashx`
|
||||||
export const download = `http://localhost:8411/submit/downloadFile.ashx`
|
export const download = `http://localhost:8411/submit/downloadFile.ashx`
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
<<<<<<< HEAD
|
|
||||||
baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||||
=======
|
|
||||||
|
|
||||||
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
|
|
||||||
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
|
|
||||||
>>>>>>> 7cdb10d153358b72f95165dd7f3a12ad7675f14d
|
|
||||||
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
|
||||||
|
|
||||||
baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
|
||||||
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
|
|
||||||
|
|
||||||
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
|
||||||
// baseURL: `http://192.168.137.85:8411/submit/MESCommonBase.ashx`, // 李鑫
|
|
||||||
|
|
||||||
// baseURL: `http://192.168.1.112:8411/submit/MESCommonBase.ashx`,
|
|
||||||
timeout: 1500000 // 请求超时时间
|
timeout: 1500000 // 请求超时时间
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -538,7 +538,6 @@ export default {
|
|||||||
},
|
},
|
||||||
addPeople() {
|
addPeople() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
<<<<<<< HEAD
|
|
||||||
addPeople(this.id, this.people_form.Sex, this.people_form.Education, this.people_form.Address, this.people_form.Nation, this.people_form.Post, this.people_form.AccountNumber, this.people_form.Password, this.people_form.Name, this.people_form.IDcard, this.people_form.TimeOfEntry, this.people_form.Birthday, this.people_form.ContactInformation).then(response => {
|
addPeople(this.id, this.people_form.Sex, this.people_form.Education, this.people_form.Address, this.people_form.Nation, this.people_form.Post, this.people_form.AccountNumber, this.people_form.Password, this.people_form.Name, this.people_form.IDcard, this.people_form.TimeOfEntry, this.people_form.Birthday, this.people_form.ContactInformation).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.i = 1
|
this.i = 1
|
||||||
@@ -548,11 +547,9 @@ export default {
|
|||||||
this.$message.error('添加失败')
|
this.$message.error('添加失败')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
=======
|
|
||||||
this.people_title = '新增人员'
|
this.people_title = '新增人员'
|
||||||
this.people_DFV = true
|
this.people_DFV = true
|
||||||
this.addForm('people_form')
|
this.addForm('people_form')
|
||||||
>>>>>>> 7cdb10d153358b72f95165dd7f3a12ad7675f14d
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(`请选择部门名称`)
|
this.$message.warning(`请选择部门名称`)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -222,8 +222,8 @@ export default {
|
|||||||
ProcessClassification: [{ required: true, message: '请输入工艺分类名称', trigger: 'blur' }]
|
ProcessClassification: [{ required: true, message: '请输入工艺分类名称', trigger: 'blur' }]
|
||||||
},
|
},
|
||||||
rules2: {
|
rules2: {
|
||||||
Process: [{ required: true, message: '请输入工艺名称' }],
|
Process: [{ required: true, message: '请输入工艺名称', trigger: 'blur' }],
|
||||||
ProcessShort: [{ required: true, message: '请输入工艺名称简称' }]
|
ProcessShort: [{ required: true, message: '请输入工艺名称简称', trigger: 'blur' }]
|
||||||
},
|
},
|
||||||
rules3: {
|
rules3: {
|
||||||
TechnologicalRequirements: [{ required: true, message: '请输入工艺要求', trigger: 'blur' }]
|
TechnologicalRequirements: [{ required: true, message: '请输入工艺要求', trigger: 'blur' }]
|
||||||
|
|||||||
Reference in New Issue
Block a user