diff --git a/src/api/rescue/info.js b/src/api/rescue/info.js index fbc190c..a76edd1 100644 --- a/src/api/rescue/info.js +++ b/src/api/rescue/info.js @@ -110,3 +110,10 @@ export function exportManagement(params) { }) } +export function listBuckle() { + return request({ + url: "/system/rescueInfo/buckle", + method:"get" + }) +} + diff --git a/src/utils/createUniqueCode.js b/src/utils/createUniqueCode.js index eb411cb..4ffdd8d 100644 --- a/src/utils/createUniqueCode.js +++ b/src/utils/createUniqueCode.js @@ -1,9 +1,18 @@ import { v4 as uuidv4 } from 'uuid' +/** + * 生成UUID + * @returns {string} + */ export function createUUID() { return uuidv4().replace(/-/g, '') } +/** + * 通过字符串生成唯一编码,可能有hash碰撞问题 + * @param str + * @returns {number|string} + */ export function createHashCodeByStr(str) { let hash = 0 if (str.length === 0) return hash diff --git a/src/utils/dict.js b/src/utils/dict.js index b8c035c..4bb2047 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -171,6 +171,8 @@ export const DICT_TYPE = { ARCHIVES_TYPE: 'archives_type', // 档案项分类 ARCHIVES_ITEM_TYPE: 'archives_item_type', + // 扣车状态 + RESCUE_STATUS: 'rescue_status', } /** diff --git a/src/views/rescue/buckleList.vue b/src/views/rescue/buckleList.vue new file mode 100644 index 0000000..edbcde2 --- /dev/null +++ b/src/views/rescue/buckleList.vue @@ -0,0 +1,411 @@ + + + + + + 当前选择的是: {{ chooseData.buckleName }} + + + + + + + + {{ truncateText(data.buckleName, 15) }}({{ data.buckleCount }}) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + 导出 + + + + + + + + + {{ scope.$index + 1 }} + + + + + {{ getBuckleName(scope.row.deptId) }} + + + + + + + + + {{ scope.row.licenseNum }} + + + + + + + + + + + {{ scope.row.driverCarNum }} + + + + + + {{ parseTime(scope.row.rescueTime, '{y}-{m}-{d} {h}:{m}') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 未成单 + + + + + + + + + {{ scope.row.setMoney / 100 }} + + + + + {{ scope.row.payMoney / 100 }} + + + + + {{ scope.row.payTime }} + + + + + 删除 + + + + + + + + + + + + + + + diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index 6992d93..889f6e8 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -74,7 +74,7 @@ {{ parseTime(scope.row.createTime) }} - + 修改