diff --git a/src/views/freightVehicles/carInfoManagement/components/carList.vue b/src/views/freightVehicles/carInfoManagement/components/carList.vue
index dfedc07..a52b1d1 100644
--- a/src/views/freightVehicles/carInfoManagement/components/carList.vue
+++ b/src/views/freightVehicles/carInfoManagement/components/carList.vue
@@ -38,8 +38,16 @@
-
-
+
+
+ {{ translateLicenceType(row.LICENCE_TYPE) }}
+
+
+
+
+ {{ translateVehicleType(row.VEHICLE_TYPE) }}
+
+
+
+ 返回
+
@@ -346,16 +357,7 @@ export default{
},
// 重置
reset() {
- this.form = {
- USER_NAME: '',
- PHONE: '',
- ID_CARD: '',
- CORPINFO_NAME: '',
- DEPARTMENT_NAME: '',
- VISIT_START_TIME: '',
- VISIT_END_TIME: '',
- DOOR_NAME: ''
- }
+ this.form.LICENCE_NO = ''
this.getList()
},
// 获取列表
@@ -404,11 +406,15 @@ export default{
}
}
},
- // 打开新增弹窗的新增按钮
- openAddDialogAddBtn() {
- this.addDialogVisible = true
- this.reSetAddDialog()
- this.ISCHECK = false
+ translateLicenceType(id) {
+ for (var i = 0; i < this.licenceTypeList.length; i++) {
+ if (this.licenceTypeList[i].ID == id) return this.licenceTypeList[i].NAME
+ }
+ },
+ translateVehicleType(id) {
+ for (var i = 0; i < this.vehicleTypeList.length; i++) {
+ if (this.vehicleTypeList[i].ID == id) return this.vehicleTypeList[i].NAME
+ }
},
reSetAddDialog() {
this.addForm.VEHICLE_ID = '',
@@ -501,6 +507,9 @@ export default{
}).catch((e) => {
this.editDialogVisible = false
})
+ },
+ returnBtn(){
+ this.$parent.activeName = 'List'
}
}
diff --git a/src/views/freightVehicles/carInfoManagement/components/corpList.vue b/src/views/freightVehicles/carInfoManagement/components/corpList.vue
index 7ede60e..57a5fa0 100644
--- a/src/views/freightVehicles/carInfoManagement/components/corpList.vue
+++ b/src/views/freightVehicles/carInfoManagement/components/corpList.vue
@@ -37,7 +37,11 @@
-
+
+
+ {{ getCorpType(row.STATE) }}
+
+
@@ -80,6 +84,19 @@ export default {
this.getList()
},
methods: {
+ getCorpType(STATE){
+ if (STATE === '0'){
+ return '未填报'
+ }else if (STATE === '1'){
+ return '待审核'
+ }else if (STATE === '2'){
+ return '已审核'
+ }else if (STATE === '3'){
+ return '已打回'
+ }else if (STATE === '4'){
+ return '已填报'
+ }
+ },
getRowKey(row) {
return row.CORPINFO_ID
},
diff --git a/src/views/freightVehicles/carInfoManagement/components/list.vue b/src/views/freightVehicles/carInfoManagement/components/list.vue
index ff7606a..917ff92 100644
--- a/src/views/freightVehicles/carInfoManagement/components/list.vue
+++ b/src/views/freightVehicles/carInfoManagement/components/list.vue
@@ -43,7 +43,9 @@
@@ -93,16 +95,7 @@ export default{
},
// 重置
reset() {
- this.form = {
- USER_NAME: '',
- PHONE: '',
- ID_CARD: '',
- CORPINFO_NAME: '',
- DEPARTMENT_NAME: '',
- VISIT_START_TIME: '',
- VISIT_END_TIME: '',
- DOOR_NAME: ''
- }
+ this.form.MOTORCADE_NAME = ''
this.getList()
},
// 获取列表
@@ -127,9 +120,10 @@ export default{
this.$parent.MOTORCADE_ID = row.MOTORCADE_ID
this.$parent.activeName = 'CarList'
},
- getAuditInfo(row) {
- this.$refs.flowStep.init(row)
+ returnBtn(){
+ this.$parent.activeName = 'CorpList'
}
+
}
}
diff --git a/src/views/freightVehicles/dangerousCar/components/list.vue b/src/views/freightVehicles/dangerousCar/components/list.vue
index 01dd1d2..21d606c 100644
--- a/src/views/freightVehicles/dangerousCar/components/list.vue
+++ b/src/views/freightVehicles/dangerousCar/components/list.vue
@@ -36,15 +36,25 @@
align="center"/>
-
-
+
+
+ {{ translateLicenceType(row.LICENCE_TYPE) }}
+
+
+
+
+ {{ translateVehicleType(row.VEHICLE_TYPE) }}
+
+
@@ -61,6 +71,21 @@ export default{
page: 1,
limit: 10
},
+ // 车牌类型列表
+ licenceTypeList: [
+ { ID: '0', NAME: '白牌' },
+ { ID: '1', NAME: '蓝牌' },
+ { ID: '2', NAME: '黄牌' },
+ { ID: '3', NAME: '绿牌' },
+ { ID: '4', NAME: '黑牌' }
+ ],
+ // 车辆类型列表
+ vehicleTypeList: [
+ // { ID: '', NAME: '请选择' },
+ { ID: '0', NAME: '货车' },
+ { ID: '1', NAME: '轿车' },
+ { ID: '2', NAME: '大巴客车' }
+ ],
areaList: [], // 省市县列表
placeList: [],
listLoading: true,
@@ -91,18 +116,18 @@ export default{
this.$refs.multipleTable.clearSelection()
this.getList()
},
- // 重置
- reset() {
- this.form = {
- USER_NAME: '',
- PHONE: '',
- ID_CARD: '',
- CORPINFO_NAME: '',
- DEPARTMENT_NAME: '',
- VISIT_START_TIME: '',
- VISIT_END_TIME: '',
- DOOR_NAME: ''
+ translateLicenceType(id) {
+ for (var i = 0; i < this.licenceTypeList.length; i++) {
+ if (this.licenceTypeList[i].ID == id) return this.licenceTypeList[i].NAME
}
+ },
+ translateVehicleType(id) {
+ for (var i = 0; i < this.vehicleTypeList.length; i++) {
+ if (this.vehicleTypeList[i].ID == id) return this.vehicleTypeList[i].NAME
+ }
+ },
+ reset() {
+ this.form.LICENCE_NO = ''
this.getList()
},
// 获取列表
@@ -120,6 +145,9 @@ export default{
}).catch((e) => {
this.listLoading = false
})
+ },
+ returnBtn(){
+ this.$parent.activeName = 'CorpList'
}
}
diff --git a/src/views/freightVehicles/filingAudit/components/list.vue b/src/views/freightVehicles/filingAudit/components/list.vue
index e586c69..ffd495d 100644
--- a/src/views/freightVehicles/filingAudit/components/list.vue
+++ b/src/views/freightVehicles/filingAudit/components/list.vue
@@ -44,10 +44,8 @@
- 查看详情
- 审核
-
+ 查看详情
+ 审核
@@ -152,9 +150,20 @@ export default {
}
},
created() {
+ this.getPermissions()
this.getList()
},
methods: {
+ checkButton(row){
+ console.log('---------------------')
+ console.log('row.IS_AUDIT:', row.IS_AUDIT); // 添加日志输出
+ console.log('this.IS_POLICE:', this.IS_POLICE); // 添加日志输出
+ if (row.IS_AUDIT == null && this.IS_POLICE === '1'){
+ return true
+ }else {
+ return false
+ }
+ },
detail(row) {
this.form.MOTORCADE_ID = row.MOTORCADE_ID
this.getFileList()
@@ -221,6 +230,15 @@ export default {
},
getRowKey() {
+ },
+ getPermissions(){
+ requestFN(
+ '/mkmjManagement/getPermissions'
+ ).then((data) => {
+ this.IS_POLICE = data.pageData.IS_POLICE
+ console.log('IS_POLICE:', this.IS_POLICE)
+ this.getList();
+ })
}
}
diff --git a/src/views/freightVehicles/ordinaryCar/components/list.vue b/src/views/freightVehicles/ordinaryCar/components/list.vue
index 45e4657..6d2f4c2 100644
--- a/src/views/freightVehicles/ordinaryCar/components/list.vue
+++ b/src/views/freightVehicles/ordinaryCar/components/list.vue
@@ -36,15 +36,25 @@
align="center"/>
-
-
+
+
+ {{ translateLicenceType(row.LICENCE_TYPE) }}
+
+
+
+
+ {{ translateVehicleType(row.VEHICLE_TYPE) }}
+
+
@@ -61,6 +71,21 @@ export default{
page: 1,
limit: 10
},
+ // 车牌类型列表
+ licenceTypeList: [
+ { ID: '0', NAME: '白牌' },
+ { ID: '1', NAME: '蓝牌' },
+ { ID: '2', NAME: '黄牌' },
+ { ID: '3', NAME: '绿牌' },
+ { ID: '4', NAME: '黑牌' }
+ ],
+ // 车辆类型列表
+ vehicleTypeList: [
+ // { ID: '', NAME: '请选择' },
+ { ID: '0', NAME: '货车' },
+ { ID: '1', NAME: '轿车' },
+ { ID: '2', NAME: '大巴客车' }
+ ],
areaList: [], // 省市县列表
placeList: [],
listLoading: true,
@@ -91,18 +116,19 @@ export default{
this.$refs.multipleTable.clearSelection()
this.getList()
},
+ translateLicenceType(id) {
+ for (var i = 0; i < this.licenceTypeList.length; i++) {
+ if (this.licenceTypeList[i].ID == id) return this.licenceTypeList[i].NAME
+ }
+ },
+ translateVehicleType(id) {
+ for (var i = 0; i < this.vehicleTypeList.length; i++) {
+ if (this.vehicleTypeList[i].ID == id) return this.vehicleTypeList[i].NAME
+ }
+ },
// 重置
reset() {
- this.form = {
- USER_NAME: '',
- PHONE: '',
- ID_CARD: '',
- CORPINFO_NAME: '',
- DEPARTMENT_NAME: '',
- VISIT_START_TIME: '',
- VISIT_END_TIME: '',
- DOOR_NAME: ''
- }
+ this.form.LICENCE_NO = ''
this.getList()
},
// 获取列表
@@ -120,6 +146,9 @@ export default{
}).catch((e) => {
this.listLoading = false
})
+ },
+ returnBtn(){
+ this.$parent.activeName = 'CorpList'
}
}
diff --git a/src/views/freightVehicles/publicAuidt/components/list.vue b/src/views/freightVehicles/publicAuidt/components/list.vue
index 5b7a103..fe99b48 100644
--- a/src/views/freightVehicles/publicAuidt/components/list.vue
+++ b/src/views/freightVehicles/publicAuidt/components/list.vue
@@ -36,8 +36,16 @@
align="center"/>
-
-
+
+
+ {{ translateLicenceType(row.LICENCE_TYPE) }}
+
+
+
+
+ {{ translateVehicleType(row.VEHICLE_TYPE) }}
+
+
@@ -45,9 +53,10 @@
{{ getType(row.IS_AUDIT) }}
-
+
- 审核
+ 详情
+ 审核
@@ -56,6 +65,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -71,6 +115,36 @@ export default{
page: 1,
limit: 10
},
+ config: config,
+ dialogVisible: false,
+ detailTitle: '详情',
+ detailForm: {
+ EMISSION_STANDARDS: '',
+ DRIVING_LICENSE: '',
+ GREEN_BOOK: '',
+ ECO_FRIENDLY_CHECKLIST: '',
+ CERTIFICATE_IMAGE: '',
+ FACTORY_CERTIFICATE: '',
+ ENVIRONMENTAL_SCREENSHOTS: '',
+ VISIT_START_TIME: '',
+ VISIT_END_TIME: '',
+ DOOR_NAME: ''
+ },
+ // 车牌类型列表
+ licenceTypeList: [
+ { ID: '0', NAME: '白牌' },
+ { ID: '1', NAME: '蓝牌' },
+ { ID: '2', NAME: '黄牌' },
+ { ID: '3', NAME: '绿牌' },
+ { ID: '4', NAME: '黑牌' }
+ ],
+ // 车辆类型列表
+ vehicleTypeList: [
+ // { ID: '', NAME: '请选择' },
+ { ID: '0', NAME: '货车' },
+ { ID: '1', NAME: '轿车' },
+ { ID: '2', NAME: '大巴客车' }
+ ],
IS_POLICE: '',
areaList: [], // 省市县列表
placeList: [],
@@ -100,14 +174,24 @@ export default{
methods: {
checkButton(row){
console.log('---------------------')
- console.log('row.IS_AUDIT:', row.IS_AUDIT); // 添加日志输出
- console.log('this.IS_POLICE:', this.IS_POLICE); // 添加日志输出
+ console.log('row.IS_AUDIT:', row.IS_AUDIT);
+ console.log('this.IS_POLICE:', this.IS_POLICE);
if (row.IS_AUDIT === '0' && this.IS_POLICE === '1'){
return true
}else {
return false
}
},
+ translateLicenceType(id) {
+ for (var i = 0; i < this.licenceTypeList.length; i++) {
+ if (this.licenceTypeList[i].ID == id) return this.licenceTypeList[i].NAME
+ }
+ },
+ translateVehicleType(id) {
+ for (var i = 0; i < this.vehicleTypeList.length; i++) {
+ if (this.vehicleTypeList[i].ID == id) return this.vehicleTypeList[i].NAME
+ }
+ },
approve(row) {
this.$refs.sendUtil.init(row)
},
@@ -164,6 +248,27 @@ export default{
this.IS_POLICE = data.pageData.IS_POLICE
console.log('IS_POLICE:', this.IS_POLICE)
})
+ },
+ detail(row){
+ this.dialogVisible = true
+ requestFN(
+ '/mkmjManagement/getCarInfo',
+ {
+ VEHICLE_ID: row.VEHICLE_ID
+ }
+ ).then((data) => {
+ this.detailForm.EMISSION_STANDARDS = data.pageData.EMISSION_STANDARDS
+ this.detailForm.DRIVING_LICENSE = data.pageData.DRIVING_LICENSE
+ this.detailForm.GREEN_BOOK = data.pageData.GREEN_BOOK
+ this.detailForm.ECO_FRIENDLY_CHECKLIST = data.pageData.ECO_FRIENDLY_CHECKLIST
+ this.detailForm.FACTORY_CERTIFICATE = data.pageData.FACTORY_CERTIFICATE
+ this.detailForm.ENVIRONMENTAL_SCREENSHOTS = data.pageData.ENVIRONMENTAL_SCREENSHOTS
+ this.detailForm.VISIT_START_TIME = data.pageData.VISIT_START_TIME
+ this.detailForm.VISIT_END_TIME = data.pageData.VISIT_END_TIME
+ this.detailForm.DOOR_NAME = data.pageData.DOOR_NAME
+ }).catch((e) => {
+ this.listLoading = false
+ })
}
}
diff --git a/src/views/longtermvehicle/vehiclemessage/components/indexList.vue b/src/views/longtermvehicle/vehiclemessage/components/indexList.vue
index bf0c926..1b464e5 100644
--- a/src/views/longtermvehicle/vehiclemessage/components/indexList.vue
+++ b/src/views/longtermvehicle/vehiclemessage/components/indexList.vue
@@ -33,7 +33,6 @@
fit
highlight-current-row
>
-
@@ -45,9 +44,6 @@
-
-
-
diff --git a/src/views/longtermvehicle/xgfCarMessage/components/List.vue b/src/views/longtermvehicle/xgfCarMessage/components/List.vue
index be21509..b175851 100644
--- a/src/views/longtermvehicle/xgfCarMessage/components/List.vue
+++ b/src/views/longtermvehicle/xgfCarMessage/components/List.vue
@@ -37,7 +37,15 @@
-
+
+
+ 未填报
+ 待审核
+ 已审核
+ 已打回
+ 已填报
+
+
diff --git a/src/views/longtermvehicle/zgCarMessage/components/List.vue b/src/views/longtermvehicle/zgCarMessage/components/List.vue
index e5d8f7b..46809bd 100644
--- a/src/views/longtermvehicle/zgCarMessage/components/List.vue
+++ b/src/views/longtermvehicle/zgCarMessage/components/List.vue
@@ -37,7 +37,15 @@
-
+
+
+ 未填报
+ 待审核
+ 已审核
+ 已打回
+ 已填报
+
+