parent
550875da40
commit
76ae8c4fb1
|
@ -128,10 +128,10 @@ export default{
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getAuditType(IS_AUDIT){
|
getAuditType(IS_AUDIT) {
|
||||||
if (IS_AUDIT === '1'){
|
if (IS_AUDIT === '1') {
|
||||||
return '审核通过'
|
return '审核通过'
|
||||||
}else {
|
} else {
|
||||||
return '未审核'
|
return '未审核'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -161,10 +161,11 @@ export default{
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleAdd(){
|
handleAdd() {
|
||||||
|
this.form.ADD_MOTORCADE_NAME = ''
|
||||||
this.addLoading = true
|
this.addLoading = true
|
||||||
},
|
},
|
||||||
saveMotorcade(){
|
saveMotorcade() {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
requestFN(
|
requestFN(
|
||||||
|
@ -181,19 +182,20 @@ export default{
|
||||||
this.addLoading = false
|
this.addLoading = false
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请填写完整信息');
|
this.$message.error('请填写完整信息')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleEdit(row){
|
handleEdit(row) {
|
||||||
this.form.MOTORCADE_ID = row.MOTORCADE_ID
|
this.form.MOTORCADE_ID = row.MOTORCADE_ID
|
||||||
|
this.form.ADD_MOTORCADE_NAME = row.MOTORCADE_NAME
|
||||||
this.editLoading = true
|
this.editLoading = true
|
||||||
},
|
},
|
||||||
editMotorcade(){
|
editMotorcade() {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/mkmj/management/motorcadeInfoManagement',
|
'/mkmj/management/motorcadeInfoManagement',
|
||||||
{
|
{
|
||||||
MOTORCADE_ID : this.form.MOTORCADE_ID,
|
MOTORCADE_ID: this.form.MOTORCADE_ID,
|
||||||
MOTORCADE_NAME: this.form.ADD_MOTORCADE_NAME,
|
MOTORCADE_NAME: this.form.ADD_MOTORCADE_NAME,
|
||||||
CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID
|
CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID
|
||||||
}
|
}
|
||||||
|
@ -214,7 +216,7 @@ export default{
|
||||||
requestFN(
|
requestFN(
|
||||||
'/mkmj/management/deleteMotorCade',
|
'/mkmj/management/deleteMotorCade',
|
||||||
{
|
{
|
||||||
MOTORCADE_ID : row.MOTORCADE_ID
|
MOTORCADE_ID: row.MOTORCADE_ID
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
Loading…
Reference in New Issue