parent
074c8b983d
commit
7798fc0f87
|
@ -226,7 +226,6 @@ export default {
|
|||
}
|
||||
},
|
||||
confirm() {
|
||||
this.listLoading = true;
|
||||
this.$refs.form.validate(valid => {
|
||||
if (valid) {
|
||||
requestFN(
|
||||
|
@ -244,6 +243,7 @@ export default {
|
|||
},
|
||||
goBack() {
|
||||
this.$parent.activeName = 'List'
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
align="center"/>
|
||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||
<el-table-column prop="MOTORCADE_NAME" label="车队名称"/>
|
||||
<el-table-column prop="CREATE_DATE" label="车队创建时间"/>
|
||||
<el-table-column label="审核状态" align="center">
|
||||
<template slot-scope="{row}">
|
||||
{{ getAuditType(row.IS_AUDIT) }}
|
||||
|
@ -44,7 +45,7 @@
|
|||
<el-table-column label="操作" align="left" width="300">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="primary" icon="el-icon-view" size="mini" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button type="primary" icon="el-icon-view" size="mini" @click="getAuditInfo(row)">备案申请</el-button>
|
||||
<el-button v-if="row.IS_AUDIT !== '2'" type="primary" icon="el-icon-view" size="mini" @click="getAuditInfo(row)">备案申请</el-button>
|
||||
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -166,6 +167,7 @@ export default{
|
|||
})
|
||||
},
|
||||
handleAdd(){
|
||||
this.form.ADD_MOTORCADE_NAME = ''
|
||||
this.addLoading = true
|
||||
},
|
||||
saveMotorcade(){
|
||||
|
|
|
@ -189,7 +189,6 @@
|
|||
<el-input v-model="addForm.LICENCE_NO" type="text" maxlength="300" placeholder="这里输入车牌号..."
|
||||
@blur="goCheckLicenceNoAdd()"/>
|
||||
</el-form-item>
|
||||
<!-- 白牌、蓝牌、黄牌、绿牌、黑牌 下拉框-->
|
||||
<el-form-item :rules="[{required: true,message: '车牌类型不能为空',trigger: 'blur'}]" label="车牌类型" prop="LICENCE_TYPE">
|
||||
<SelectTree
|
||||
ref="selectTree_add2"
|
||||
|
@ -386,8 +385,7 @@ export default {
|
|||
// 车辆下拉树默认属性
|
||||
vehicleDefaultProps: {
|
||||
value: 'ID',
|
||||
label: 'NAME',
|
||||
children: 'nodes'
|
||||
label: 'NAME'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -579,8 +577,6 @@ export default {
|
|||
goEdit(row) {
|
||||
this.editDialogVisible = true
|
||||
this.addForm = {...row};
|
||||
this.addForm.VEHICLE_TYPE = this.translateVehicleType(row.VEHICLE_TYPE)
|
||||
this.addForm.LICENCE_TYPE = this.translateLicenceType(row.LICENCE_TYPE)
|
||||
},
|
||||
editDialogCancelBtn() {
|
||||
this.editDialogVisible = false
|
||||
|
|
|
@ -93,6 +93,7 @@
|
|||
</el-form-item>
|
||||
<el-form-item label="审核人公司" prop="CORPINFO_ID" v-if="showCorpSelect">
|
||||
<el-select
|
||||
filterable
|
||||
v-model="auditForm.CORPINFO_ID"
|
||||
placeholder="请选择公司"
|
||||
@change="handleCorpChange">
|
||||
|
@ -106,6 +107,7 @@
|
|||
</el-form-item>
|
||||
<el-form-item label="审核人" prop="AUDITOR_ID">
|
||||
<el-select
|
||||
filterable
|
||||
v-model="auditForm.AUDITOR_ID"
|
||||
placeholder="请选择审核人">
|
||||
<el-option
|
||||
|
|
|
@ -433,6 +433,7 @@ export default {
|
|||
},
|
||||
reapplyDialogVisible: false, // 控制重新申请对话框的显示
|
||||
reapplyForm: { // 重新申请表单数据
|
||||
VEHICLE_DEPARTMENT_ID: '',
|
||||
LICENCE_NO: '',
|
||||
LICENCE_TYPE: '',
|
||||
VEHICLE_TYPE: '',
|
||||
|
@ -641,10 +642,8 @@ export default {
|
|||
console.log(row)
|
||||
this.reapplyForm = { ...row }; // 将当前行的数据复制到 reapplyForm
|
||||
this.reapplyForm.DEPT_NAME = row.DEPT_NAME
|
||||
console.log('------------------------')
|
||||
console.log(this.reapplyForm.DEPT_NAME)
|
||||
this.reapplyForm.DEPARTMENT_ID = row.VEHICLE_DEPARTMENT_ID
|
||||
this.reapplyForm.U_NAME = row.U_NAME
|
||||
this.reapplyForm.VEHICLE_TYPE = this.translateVehicleType(row.VEHICLE_TYPE)
|
||||
this.reapplyDialogVisible = true; // 打开对话框
|
||||
console.log(this.reapplyForm)
|
||||
},
|
||||
|
@ -652,6 +651,7 @@ export default {
|
|||
this.reapplyDialogVisible = false; // 关闭对话框
|
||||
},
|
||||
reapplyDialogConfirmBtn() {
|
||||
console.log()
|
||||
// 在这里处理重新申请的逻辑
|
||||
this.$refs.reapplyForm.validate(valid => {
|
||||
if (valid) {
|
||||
|
|
Loading…
Reference in New Issue