358 Commits

Author SHA1 Message Date
1cb27fea3a 二手车车源信息--求购页添加车源id 2025-07-23 15:37:41 +08:00
61f2ae5a87 story#6735 中道救援系统及调度APP中新增报警模块 接口 2025-07-18 17:36:24 +08:00
156d570595 story#6735 中道救援系统及调度APP中新增报警模块 接口 2025-07-18 16:48:25 +08:00
c44f872d00 task#7363 车辆报警详情处理页面静态页 2025-07-17 09:16:47 +08:00
5c603618d3 story#6735 task#7361 车辆报警列表静态页 2025-07-16 16:00:55 +08:00
9a9ac9f76e task#6796 二手拖车系统查询功能完善的需求 2025-07-09 14:13:52 +08:00
da73c933a0 二手拖车,进入详情页调保存信息记录接口,注释打印代码 2025-06-28 14:41:12 +08:00
45d95fe250 二手拖车,进入详情页调保存信息记录接口,获取id,关闭页面,id传入接口 2025-06-27 17:28:25 +08:00
310b64f97c 二手拖车,进入详情页调保存信息记录接口,获取id,关闭页面,id传入接口 2025-06-27 17:23:12 +08:00
058ce2c72c 二手拖车,进入详情页调保存信息记录接口,获取id,关闭页面,id传入接口 2025-06-27 16:56:58 +08:00
ee8fdb16c4 task#6524 添加刷新按钮 2025-06-20 11:44:51 +08:00
7ff13628b5 task#6524 滚动测试 2025-06-20 10:36:02 +08:00
eae60d1000 task#6524 修改地址 2025-06-20 10:20:57 +08:00
3a1e4a6ae2 task#6524 滚动问题 2025-06-20 10:19:45 +08:00
5bd9db3165 task#6524 颜色兼容 2025-06-20 10:10:21 +08:00
fbce498e94 task#6524 头部颜色兼容 2025-06-20 09:49:18 +08:00
6ab2e0b1d7 task#6524 头部兼容 2025-06-20 09:41:40 +08:00
001683f215 task#6524 下拉刷新 2025-06-19 20:32:16 +08:00
bb13a6e34e task#6524 获取定位城市,时间默认当前 2025-06-19 19:55:32 +08:00
16d4425e07 task#6524 有订单才访问 2025-06-19 18:00:36 +08:00
a73434fd4d task#6524 textarea修改 2025-06-18 14:15:02 +08:00
75d20beb77 task#6524 http兼容司机app 2025-06-18 13:42:10 +08:00
9a21834741 task#6524 报备防重复点击 2025-06-18 11:09:51 +08:00
749daae26e task#6524 报备 2025-06-12 10:27:59 +08:00
0fc0d33742 story#6606,二手拖车系统优化,浏览单位加人 2025-06-09 09:32:13 +08:00
d1efe578d4 story#6606,二手拖车系统优化 2025-06-09 08:59:34 +08:00
899ea612f4 task#5914 添加报备页面,地图页面 2025-06-06 09:38:55 +08:00
5552b48ec4 story#6462,二手车,下架状态不展示想要按钮 2025-05-22 19:26:23 +08:00
56e56c7839 story#6462,筛选项问题 2025-05-22 11:55:08 +08:00
851a0e7260 story#6462,二手拖车信息需求 2025-05-22 11:43:06 +08:00
d2f124e901 story#6462,二手拖车信息需求 2025-05-22 10:58:35 +08:00
8bc734273b story#6462,二手拖车信息需求 2025-05-22 10:58:04 +08:00
643ee2c5eb story#6462,发布省市和日期去除clearable属性 2025-05-21 14:32:39 +08:00
881ae7e47b story#6462,发布日期清除事件和图标 2025-05-21 14:27:14 +08:00
d5af7692f8 story#6462,自定义清除事件和图标 2025-05-21 14:21:34 +08:00
aa52bd2f31 story#6462,自定义清除事件和图标 2025-05-21 14:17:35 +08:00
9df87ac518 story#6462,阻止输入框默认行为 2025-05-21 14:10:45 +08:00
8e20adbba3 story#6462,阻止输入框默认行为 2025-05-21 14:02:32 +08:00
cc083b7551 story#6462,阻止输入框默认行为 2025-05-21 14:00:04 +08:00
0a668e6f57 story#6462,阻止输入框默认行为 2025-05-21 13:55:09 +08:00
c2cc09aef1 story#6462,省市选择弹出框不要× 2025-05-21 13:48:33 +08:00
037fbf74fb story#6462,筛选输入框设置只读 2025-05-21 13:18:00 +08:00
de252fceb2 story#6462,列表添加发布省市和发布时间筛选项 2025-05-21 10:55:16 +08:00
6a53749cdc 样式调整 2025-05-08 14:07:38 +08:00
d71e3679ef 添加展示测试 2025-05-08 13:41:38 +08:00
c626aab606 添加展示 2025-05-08 13:06:42 +08:00
7594e56cda story#5360,web端拨打电话的确定事件弹框消失 2025-04-21 09:34:47 +08:00
95c8095518 story#5314 图片变形 2025-04-17 14:06:45 +08:00
0aa3630adb story#5360,web端拨打电话改为确定 2025-04-16 16:48:38 +08:00
75eba22e9e story#5360,将所有露出的“二手车”字样,全部改为“二手拖车”字样 2025-04-16 16:42:30 +08:00
a162c3fdcc story#5314 底部图片修改 2025-04-14 09:26:58 +08:00
33f4857427 story#5314 banner图样式3 2025-04-11 18:51:42 +08:00
432f35a403 story#5314 banner图样式2 2025-04-11 18:45:05 +08:00
ae0bd3b169 story#5314 banner图样式 2025-04-11 18:39:37 +08:00
6b27859358 二手车交易,刷新函数添加调列表接口 2025-04-11 13:51:52 +08:00
99edd5d431 story#5314 二手车系统优化需求 2025-04-11 11:01:47 +08:00
9ac5860ef8 story#5314 二手车系统优化需求 2025-04-11 10:52:57 +08:00
e56de7ff8b story#5314 二手车系统的优化需求 2025-04-11 09:28:56 +08:00
4a70d881b8 story#5256 供应商整改界面完善20250327 2025-04-09 16:26:27 +08:00
5de1efc5fb story#5314 二手车系统的优化需求 需要UI和接口的修改 2025-04-07 16:07:02 +08:00
7b7e926f8a story#5314 照片显示比例失调的问题需要优化 2025-04-02 13:23:18 +08:00
ba1cd9fcac story#5314 含税价格--> 售价(含税) 2025-04-02 11:42:03 +08:00
3fe67c1015 story#5314 在查看车源列表的界面,鼠标在移动到可以点击的区域时,改成手指的样式。 2025-04-02 11:00:19 +08:00
cdc63e6c42 story#5314 h5端 点击车源查看详情的照片,无法再点击放大,需要改成可以点击查看大图 2025-04-02 10:56:30 +08:00
0e138e22f4 story#5314 web端 点击车源查看详情的照片,无法再点击放大,需要改成可以点击查看大图2 2025-04-02 10:46:55 +08:00
b5c5f24c49 story#5314 web端 点击车源查看详情的照片,无法再点击放大,需要改成可以点击查看大图。 2025-04-02 10:43:13 +08:00
d3d6226bcd story#5314 点击车源查看详情的照片:一是要改成照片自动滚动播放,二是左右切换照片的按钮改为更明显的样式,三是照片张数显示改为更明显的样式,目前的按钮不醒目 2 2025-04-02 10:38:55 +08:00
a426b67a51 story#5314 点击车源查看详情的照片:一是要改成照片自动滚动播放,二是左右切换照片的按钮改为更明显的样式,三是照片张数显示改为更明显的样式,目前的按钮不醒目 2025-04-02 10:31:53 +08:00
efe76bb675 story#5314 二、名称优化,含税价格,点击车源查看详情的照片部分优化 2025-04-02 10:24:08 +08:00
de9d73a642 二手车交易,发布列表的navBar自定义 2025-03-25 14:54:19 +08:00
044813f411 二手车交易,售价输入0开头时,后边不允许输入任何数字 2025-03-25 14:15:57 +08:00
b90b7ea89c 二手车交易,发布时,求购可以输入0,但不允许输入多个0 2025-03-25 13:16:06 +08:00
4c02dcd075 二手车交易,求购发布样式优化 2025-03-25 11:38:30 +08:00
3cd768b973 二手车交易,排放标准添加国三选项 2025-03-25 11:05:02 +08:00
db6a3facae 二手车交易,行驶公里保留一位小数 2025-03-19 18:00:01 +08:00
48ab0cfb52 二手车交易,后台点击弹框关闭时记录浏览量 2025-03-19 10:14:13 +08:00
c5176ebc02 二手车交易,测试记录浏览量1 2025-03-19 09:48:27 +08:00
f666d9bcb4 二手车交易,测试记录浏览量 2025-03-19 09:23:17 +08:00
6864a1330f 二手车交易,记录浏览量 2025-03-19 09:08:34 +08:00
e373acb818 二手车交易,用户离开记录浏览量 2025-03-18 21:22:33 +08:00
fe71adf6e3 二手车交易,用户离开记录浏览量 2025-03-18 21:21:00 +08:00
b6d0ae476c 二手车交易,用户离开记录浏览量 2025-03-18 20:58:50 +08:00
c80a2f6e6b 二手车交易,行驶公里换行显示 2025-03-18 20:53:01 +08:00
06e860592b 二手车交易,vconsole删除 2025-03-18 10:19:45 +08:00
afd9d570a4 二手车交易,缓存问题,删除照片的bug 2025-03-18 10:06:21 +08:00
3668ee7f0a 二手车交易,缓存问题 2025-03-17 17:34:18 +08:00
abd4b2a84b 二手车交易,缓存问题 2025-03-17 17:28:03 +08:00
815c94e81c 二手车交易,缓存问题 2025-03-17 17:15:46 +08:00
ad1c6f1c9c 二手车交易,缓存问题 2025-03-17 17:12:04 +08:00
b914dd9738 二手车交易,缓存问题 2025-03-17 17:07:56 +08:00
728fa2ccb2 二手车交易,缓存问题 2025-03-17 17:04:53 +08:00
abe17223af 二手车交易,缓存问题 2025-03-17 17:02:49 +08:00
857f30c11f 二手车交易,缓存问题 2025-03-17 17:02:08 +08:00
affe57159d 二手车交易,必填项回到原本 2025-03-17 16:53:13 +08:00
cf45da3ef7 二手车交易,车源报错 2025-03-17 16:47:20 +08:00
82d4c86936 二手车交易,反馈建议调整 2025-03-17 16:44:32 +08:00
8558eee259 二手车交易,错误提示抛出 2025-03-17 16:32:11 +08:00
d7242ab1a5 二手车交易,照片缓存报错 2025-03-17 16:25:59 +08:00
9c7ec8969e 二手车交易,ios打电话报错 2025-03-17 16:22:43 +08:00
75f5dabf3d 二手车交易,ios打电话报错 2025-03-17 16:11:37 +08:00
ee69ed0c2b 二手车交易,写建议弹框优化 2025-03-17 16:11:02 +08:00
b5f01b70b7 二手车交易,直辖市的显示问题 2025-03-17 15:18:31 +08:00
301babc54e 二手车交易,直辖市的code取第一个 2025-03-17 13:56:59 +08:00
88293b2089 二手车交易,VConsole删除 2025-03-17 13:07:27 +08:00
8b94d8b689 二手车交易,web端查看图片无法变回原本样子 2025-03-17 11:51:27 +08:00
0b49fd502a 二手车交易,web端查看图片无法变回原本样子 2025-03-17 11:41:25 +08:00
aea127d12b 二手车交易,我的发布记录index优化 2025-03-17 10:29:06 +08:00
3cd7ff0318 二手车交易,协议代码部分优化 2025-03-17 10:19:23 +08:00
ef8df96818 二手车交易,购车详情查看 2025-03-17 09:56:31 +08:00
db26230208 二手车交易,优化 2025-03-17 09:23:37 +08:00
eddabd68b4 二手车交易,缓存问题解决 2025-03-16 21:14:58 +08:00
22e6c58e65 二手车交易,缓存问题解决 2025-03-15 17:49:25 +08:00
678d4f6436 二手车交易,打电话问题 2025-03-15 16:47:01 +08:00
4f20dffc52 二手车交易,打电话问题 2025-03-14 17:14:42 +08:00
ab9402e591 二手车交易,打电话问题 2025-03-14 17:09:45 +08:00
88606bd31d 二手车交易,打电话问题 2025-03-14 16:53:21 +08:00
397d234637 二手车交易,打电话问题 2025-03-14 16:50:58 +08:00
79ddd02342 二手车交易,打电话问题 2025-03-14 16:42:29 +08:00
f72304459c 二手车交易,我的发布tab切 2025-03-14 16:38:03 +08:00
9bffcb22cb 二手车交易,我的发布显示问题 2025-03-14 16:18:20 +08:00
3fbd0b2769 二手车交易,选择其他时的修改 2025-03-14 16:00:51 +08:00
23a9bf9e80 二手车交易,其他的原因要加上 2025-03-14 15:44:32 +08:00
f9a29e81dc 二手车交易,其他的原因要加上 2025-03-14 15:28:25 +08:00
57d0e47c9b 二手车交易,详情加loading 2025-03-14 15:25:26 +08:00
260eb01dcb 二手车交易,车源的钱换字段 2025-03-14 15:19:29 +08:00
4dbf2dc8c7 二手车交易,审核加字段 2025-03-14 15:07:35 +08:00
509ab301a2 二手车交易,缓存问题 2025-03-14 14:57:54 +08:00
546ec672c7 二手车交易,审核 2025-03-14 14:55:26 +08:00
6926f1b140 二手车交易,添加了打印 2025-03-14 14:54:35 +08:00
104c6a33b5 二手车交易,其他照片上传问题 2025-03-14 14:44:15 +08:00
48fe4d404f 二手车交易,上传照片抛出异常 2025-03-14 14:35:23 +08:00
dde6c337e2 二手车交易,审核不掉发布成功提示 2025-03-14 14:23:20 +08:00
7e0455f695 二手车交易,返回按钮路径 2025-03-14 14:19:18 +08:00
082a3ab6b6 二手车交易,返回按钮路径 2025-03-14 14:19:07 +08:00
3ea4168b87 二手车交易,返回按钮路径 2025-03-14 14:18:15 +08:00
b349671004 二手车交易,返回按钮路径 2025-03-14 13:57:07 +08:00
b9ae7eef5d 二手车交易,上传去除限制 2025-03-14 13:55:01 +08:00
94051d88c0 二手车交易,小手添加 2025-03-14 13:43:13 +08:00
1a9633106c 二手车交易,隐私后台返回 2025-03-14 13:35:53 +08:00
0feee005d5 二手车交易,隐私后台返回 2025-03-14 13:33:25 +08:00
989e950f99 二手车交易,下架原因清空 2025-03-14 13:30:38 +08:00
f0c3b499cc 二手车交易,审核 2025-03-14 13:28:46 +08:00
dc028cdfae 二手车交易,车源详情宽度弄一起 2025-03-14 13:26:50 +08:00
e5554e17b5 二手车交易,图片更换 2025-03-14 13:19:07 +08:00
bc0b666171 二手车交易,列表显示数据调整 2025-03-14 13:01:56 +08:00
11ee4a031a 二手车交易,审核修改掉接口 2025-03-14 11:51:53 +08:00
905bfc0785 二手车交易,车源发布做缓存 2025-03-14 11:44:06 +08:00
558e3e3e8c 二手车交易,车源发布做缓存 2025-03-14 11:40:25 +08:00
90c0852ace 二手车交易,求购做缓存 2025-03-14 11:28:32 +08:00
0155ff7e00 二手车交易,打电话 2025-03-14 10:55:45 +08:00
f76ce0a65f 二手车交易,打电话 2025-03-14 10:52:52 +08:00
f3ca98b2ff 二手车交易,打电话 2025-03-14 10:50:10 +08:00
0cdfab8de6 二手车交易,高度遮挡调整 2025-03-14 10:39:14 +08:00
74fcbe55df 二手车交易,高度遮挡调整 2025-03-14 10:36:43 +08:00
27ad6d414d 二手车交易,我的发布记录tab切 2025-03-14 10:18:04 +08:00
fe105df6c6 二手车交易,我的发布记录tab切 2025-03-14 10:15:46 +08:00
7afefb162c 二手车交易,我的发布记录tab切 2025-03-14 10:12:03 +08:00
2810bb9c6f 二手车交易,我的发布记录tab切 2025-03-14 10:04:06 +08:00
c7b49b5ffe 二手车交易,自己发布供应商 2025-03-14 09:59:41 +08:00
f73927c01e 二手车交易,审核中的数据中 下架按钮 2025-03-14 09:49:04 +08:00
ae711d5726 二手车交易,小手 2025-03-14 09:40:49 +08:00
d498734739 二手车交易,识别接口更换 2025-03-14 09:33:44 +08:00
938d6c9386 二手车交易,调数字键盘 2025-03-14 09:27:04 +08:00
34d228099c 二手车交易,自己发布的点进去不要按钮 2025-03-13 20:24:19 +08:00
9472933a68 二手车交易,檫亮按钮当天不展示 2025-03-13 20:16:12 +08:00
d280b1bcd1 二手车交易,檫亮按钮当天不展示 2025-03-13 20:15:15 +08:00
c1bdcae830 二手车交易,报错解决 2025-03-13 20:14:24 +08:00
3a3d74ac69 二手车交易,打电话添加取消按钮事件 2025-03-13 20:00:52 +08:00
91ce9fb3c7 二手车交易,vconsole的添加 2025-03-13 19:57:45 +08:00
1d491e501f 二手车交易,测试优化 2025-03-13 19:47:15 +08:00
2e6f855cf8 二手车交易,下架原因根据车源和求购 2025-03-13 16:37:00 +08:00
05e4df5751 二手车交易,swiper显示查看做两套 2025-03-13 16:21:37 +08:00
c8964508f2 二手车交易,发布信息抛出异常 2025-03-13 16:04:28 +08:00
2a03a95963 二手车交易,切换接口调用次数 2025-03-13 15:29:09 +08:00
5a236926d7 二手车交易,首页列表和我的发布加加载分页功能 2025-03-13 15:27:02 +08:00
18bfc4517e 二手车交易,首页添加价格区间的筛选 2025-03-13 15:10:05 +08:00
ca6d1ef728 二手车交易,按钮逻辑判断修改 2025-03-13 14:20:59 +08:00
328874064a 二手车交易,按钮逻辑判断修改 2025-03-13 14:19:10 +08:00
f5e0af4753 二手车交易,审核后派发界面事件 2025-03-13 14:06:21 +08:00
03df02174d 二手车交易,所在城市只能选择两级 2025-03-13 14:02:10 +08:00
22f76aaa73 二手车交易,协议链接加返回按钮 2025-03-13 13:54:43 +08:00
d4485779c6 二手车交易,公里转化数值转化 2025-03-13 13:31:37 +08:00
16321333d2 二手车交易,协议条款url更换 2025-03-13 13:19:01 +08:00
e01e7c44c1 二手车交易,监听筛选框的值,重新获取列表 2025-03-13 09:49:04 +08:00
7d42853f39 二手车交易,监听筛选框的值 2025-03-13 09:24:28 +08:00
8b44ce326a 二手车交易,返回按钮的控制 2025-03-12 17:29:36 +08:00
eb34457173 二手车交易,返回按钮的控制 2025-03-12 17:05:07 +08:00
252660c8a8 二手车交易,添加车型品牌显示 2025-03-12 16:40:15 +08:00
d008612675 二手车交易,所在城市不调用键盘 2025-03-12 16:26:04 +08:00
5754e05a7f 二手车交易,声明的添加,测试的优化 2025-03-12 16:06:27 +08:00
f8ad6a109b 二手车交易,我的发布按钮逻辑优化 2025-03-12 13:14:32 +08:00
c71b1fc709 二手车交易,不通过原因必填 2025-03-12 09:43:48 +08:00
5371e43b53 二手车交易,全部接口对接 2025-03-12 09:32:57 +08:00
76c6d6ef5b 二手车交易,全部页面&对接部分接口 2025-03-11 11:09:01 +08:00
24f25635d5 二手车交易,全部页面&对接部分接口 2025-03-11 11:08:08 +08:00
d789e88b05 二手车交易,全部页面&对接部分接口 2025-03-11 11:07:54 +08:00
292e8bdfb1 二手车交易,静态列表页面 2025-03-07 17:22:41 +08:00
4ca8385a36 补结算单,输入框是否可变价添加判断 2025-03-07 17:21:38 +08:00
b84d2a7767 二手车交易,新增资源图片 2025-03-07 17:15:19 +08:00
6c1863efdf 二手车交易,所有资源图片 2025-03-07 13:51:54 +08:00
68d9a7b7b5 story#,车辆,新增车头照车牌号码字段 2025-02-19 15:02:59 +08:00
cfb032d8da story#,补充结算单页面,提交按钮显示添加逻辑判断 2025-02-17 16:20:10 +08:00
406fba2615 story#,补充结算单页面,提交按钮显示添加逻辑判断 2025-02-17 15:25:03 +08:00
1c1f62d99c 上传发票修改 2025-02-14 09:30:52 +08:00
54881a9c19 story#6071,选择小修车且只有一项数据时需清除原本的拖车服务类型 2025-01-21 16:45:39 +08:00
179dd8f18d story#6071,选择小修车时需清除原本的拖车服务类型 2025-01-20 13:40:22 +08:00
b9c10e8df3 车辆添加ocr识别,添加牌照 2025-01-20 11:33:07 +08:00
653a86cf00 story#6071,车辆类型为小修车时需清除拖车服务类型id 2025-01-20 10:05:26 +08:00
ea5c817057 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 17:25:05 +08:00
f88bddb65b story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 15:23:29 +08:00
34f968e596 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 13:59:27 +08:00
4016d2b7c4 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 13:59:07 +08:00
81a3b4b7a4 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 11:49:13 +08:00
c93655976b story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 11:23:58 +08:00
d53bbbbe72 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 11:08:50 +08:00
5ed64b07e3 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-17 10:32:01 +08:00
e4a893815d story#6071,编辑车辆页面选择服务逻辑修改 2025-01-16 21:01:22 +08:00
45b910fdc4 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-16 20:55:26 +08:00
2a5dad2211 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-16 20:03:49 +08:00
8072894f97 story#6071,编辑车辆页面选择服务逻辑修改 2025-01-16 19:55:52 +08:00
e00db98396 记账页面修改2 2025-01-16 13:35:12 +08:00
8f43f46abf 记账页面修改 2025-01-16 13:29:10 +08:00
d2c4542a5e 上傳發票-與後臺同步 2025-01-13 10:15:28 +08:00
156b3f04db task#,月总图表X轴数据去重
(cherry picked from commit 7b8e2efbb4)
2025-01-09 17:03:13 +08:00
7158e4aa2a task#,师傅相关还原 2025-01-02 20:58:55 +08:00
dfddc69c4a task#,师傅相关还原 2025-01-02 17:39:22 +08:00
9f9450afc3 添加车辆-修改 2025-01-02 14:41:32 +08:00
0272e06486 添加车辆 2024-12-31 11:36:34 +08:00
4a122818e5 task#,接口更换 2024-12-30 17:02:28 +08:00
5f2bd8d276 task#,接口更换 2024-12-30 16:54:34 +08:00
99789abddc task#,接口更换 2024-12-30 16:50:50 +08:00
009bd0b5ac task#,千分号问题解决 2024-12-27 20:37:53 +08:00
4ebc40f93c task#,大于1000的数据加千分号 2024-12-27 18:26:53 +08:00
b53a086862 task#,格式化承接案件量数据 2024-12-27 16:42:40 +08:00
0063828771 task#,删除师傅 2024-12-26 13:26:53 +08:00
cd02c44fca task#,添加师傅满意度接口更换 2024-12-25 17:29:22 +08:00
43c1f76f82 task#,添加师傅满意度表格,月师傅的表格错乱调整,首页最后一个图加背景 2024-12-25 15:13:56 +08:00
f3a15b829f task#,司机培训文档和文档材料添加关键词接收 2024-12-20 11:22:18 +08:00
745c21341a task#,供应商数据,输入框加样式边框 2024-12-19 19:38:03 +08:00
2ab75039b9 task#,测试 2024-12-13 17:37:41 +08:00
304a1457dc task#,测试 2024-12-13 17:34:30 +08:00
422d1ce2ec task#,新师傅培训列表、获取培训文档和普通资料接口不挂载Authorization 2024-12-13 17:11:11 +08:00
147e10b342 task#,工单批次,未开票,统计金额,浮点数相加优化 2024-12-12 16:29:39 +08:00
055876c0a2 task#,kpi添加月份选择,优化代码 2024-12-05 15:00:14 +08:00
ca52f0793f task#16101,工单记账,小轮费输入框不可编辑 2024-11-26 13:30:05 +08:00
226f9aef63 task#16101,工单记账,小轮个数和费用优化 2024-11-19 11:25:41 +08:00
652055c3d3 task#16101,工单记账,小轮个数和费用优化 2024-11-19 11:15:18 +08:00
fc2e9bfec6 task#16101,工单记账模块提示样式更改 2024-11-19 10:41:28 +08:00
8350cfb2a5 task#16101,工单记账模块提示样式更改 2024-11-19 10:37:36 +08:00
872e0ea91a task#16101,工单记账模块同步后台逻辑 2024-11-18 17:57:05 +08:00
5652ab9600 task#16101,工单记账模块同步后台逻辑 2024-11-18 11:42:54 +08:00
4e8e6d4f72 task#15950,搜索的supplierId需要传递 2024-11-14 16:06:10 +08:00
3bb4688652 task#15950,变更按钮权限转换类型 2024-11-14 13:59:45 +08:00
675e89b02e task#15950,变更按钮权限 2024-11-14 13:17:53 +08:00
c3100dd68f task#15950,月师傅总览 2024-11-13 17:31:41 +08:00
c04b43a8c8 task#15950,信息变更申请按钮加权限 2024-11-13 10:47:11 +08:00
c5c31c5eec task#15950,信息变更申请按钮加权限 2024-11-13 10:35:25 +08:00
94424faa2e task#15950,综合打分后加信息变更按钮调整 2024-11-12 15:21:29 +08:00
db2493181a task#15950,综合打分后加信息变更按钮 2024-11-12 14:44:06 +08:00
18ebd7c0d9 task#15950,综合打分后加信息变更按钮 2024-11-12 14:31:11 +08:00
d239781d5d task#15950,服务商kpi,月师傅添加总览 2024-11-12 13:06:16 +08:00
f2b4b3e853 task#15950,服务商kpi,月师傅添加总览 2024-11-12 12:03:15 +08:00
57c3d3d679 task#15950,服务商kpi,服务商管理添加kpi,可查看 2024-11-08 11:10:39 +08:00
4f8063bf2e 工单数量 元 删除 2024-11-06 16:51:34 +08:00
266195ec26 同后台修改 2024-11-06 16:38:46 +08:00
898b4b8128 按钮颜色 2024-11-06 16:36:19 +08:00
1e305b1734 上传同步后台修改 2024-11-06 16:14:10 +08:00
e919d0136d http, reject 修改 2024-11-06 14:44:07 +08:00
6720928761 上传发票 不显示问题 2024-11-06 14:30:06 +08:00
6affb368b7 task#15638,工单详情添加电瓶相关信息 2024-11-06 13:10:22 +08:00
a93c98b547 上传修改 2024-11-06 11:18:12 +08:00
3ee550c985 image/* 2024-11-06 11:11:25 +08:00
28408ac803 工单批次,开票信息修改 2024-11-06 10:05:23 +08:00
41d44e93d4 工单批次,工单批次详情,上传发票,发票查看 2024-11-05 16:01:32 +08:00
8a822e829d 工单批次列表,工单批次详情 2024-11-04 11:09:50 +08:00
8aafdc9bff task#15638,增加上传发票接口 2024-11-01 11:15:20 +08:00
432be97178 task#15638,工单详情界面,删除电瓶信息一栏 2024-10-28 13:24:01 +08:00
36cea0f447 task#15638,电瓶详情列表根据时间排序 2024-10-24 14:49:16 +08:00
07db998735 task#15638,电瓶详情页面和接口对接,样式调整 2024-10-21 11:39:02 +08:00
54b839fb0d task#15638,增加 电瓶进销存 2024-10-21 09:47:12 +08:00
343bccdcfa task#15348,服务商kpi搜索请求头字段更换 2024-10-18 10:28:28 +08:00
fcce91b6b5 task#15348,服务商kpi请求头字段更换 2024-10-17 10:10:44 +08:00
baf25587a8 task#15348,服务商kpi请求头字段更换 2024-10-17 10:06:00 +08:00
b0fd520316 task#15348,ios培训文档跳转参数加1000000 2024-10-15 11:32:39 +08:00
1f8df28ef8 task#15348,ios培训参数转换为int,去除Vscole 2024-10-14 17:20:53 +08:00
bd45b42ccd task#15348,ios培训参数转换为int 2024-10-14 17:11:33 +08:00
e19580e7f6 task#15348,ios培训参数转换为int 2024-10-14 17:10:57 +08:00
f954dff3ad task#15348,ios培训参数更改,打印 2024-10-14 17:05:24 +08:00
2dc505c40d task#15348,ios培训参数更改 2024-10-14 16:50:01 +08:00
532b8d439b task#15348,添加vconsole 2024-10-14 09:39:15 +08:00
cc19777ddf task#15348,IOS跳转培训文档添加参数 2024-10-12 09:54:04 +08:00
812f3e3a03 task#15348,删除Vconsole 2024-10-11 22:46:49 +08:00
b6a9836932 task#15348,司机app自动刷新功能 2024-10-11 20:47:49 +08:00
36d2895f2b task#15348,司机app自动刷新功能 2024-10-11 20:46:05 +08:00
d28a23e664 监听页面显示1 2024-10-11 20:38:22 +08:00
a642e7783c 监听页面显示 2024-10-11 20:35:38 +08:00
dccc3ae530 task#15348,司机培训界面 2024-10-11 20:31:52 +08:00
07ac2d1e86 task#15348,培训界面滚动条 2024-10-11 17:34:03 +08:00
6030432a8c task#15348,司机app滚动条高度 2024-10-11 17:26:18 +08:00
235fe85604 task#15348,司机app样式 2024-10-11 17:07:35 +08:00
a7f4018050 task#15348,司机app样式 2024-10-11 17:03:14 +08:00
5c96f06916 task#15348,司机app样式 2024-10-11 16:59:40 +08:00
2ad457c92a task#15348,司机app参数 2024-10-11 16:51:22 +08:00
dd440e81df task#15348,培训文档加cache:true, 2024-10-11 16:10:32 +08:00
8212c1cd8a task#15348,测试生命周期activated 2024-10-11 16:03:12 +08:00
a0e6681ad6 task#15348,测试生命周期activated 2024-10-11 16:00:56 +08:00
4cf076914d task#15348,测试生命周期 2024-10-11 15:18:12 +08:00
7220ad8989 task#15348,测试生命周期 2024-10-11 15:12:11 +08:00
85ecdceaf1 task#15348,测试生命周期 2024-10-11 15:09:51 +08:00
a319a9d097 task#15348,测试生命周期 2024-10-11 14:57:33 +08:00
06591b6eb4 task#15348,司机app培训,更新时间取当前时间 2024-10-11 14:48:31 +08:00
c9cedc526a task#15348,培训页弹框,只能通过按钮去关闭 2024-10-11 14:40:19 +08:00
d72a74c2ea task#15348,司机app,培训返回加事件 2024-10-11 13:39:13 +08:00
e950ce2589 task#15348,司机app,培训返回加事件 2024-10-11 13:38:46 +08:00
db45cecfe3 task#15348,调度app,培训完成给提示 2024-10-11 11:54:34 +08:00
9345b2ab79 task#15348,调度app,培训完成给提示 2024-10-11 11:51:13 +08:00
bc4f419aca task#15348,调度app,培训完成给提示 2024-10-11 11:43:18 +08:00
7a73b0b83a task#15348,调度app,培训完成给提示 2024-10-11 11:41:37 +08:00
45ca7a8382 task#15348,调度app,培训完成给提示 2024-10-11 11:38:18 +08:00
584fded2f7 task#15348,调度app,培训完成给提示 2024-10-11 11:31:27 +08:00
bd58a176f6 task#15348,调度app,培训排版更改 2024-10-11 10:42:42 +08:00
d8729033e1 task#15348,跳转H5加参数,培训有问答的加标识 2024-10-11 10:31:56 +08:00
20a9d7ebad task#15348,跳转H5加参数,区分是培训还是普通 2024-10-11 10:10:48 +08:00
9befe22373 task#15348,跳转H5加参数 2024-10-11 09:52:26 +08:00
ccf11f6fa6 task#15348,调度新签培训数据格式更换 2024-10-11 09:32:58 +08:00
edcd55b074 task#15348,新加师傅界面 2024-10-10 20:51:02 +08:00
bce648bdc6 task#15348,新加师傅界面 2024-10-10 20:44:06 +08:00
a5e4a2d5dd task#15348,添加调试工具 2024-10-10 15:20:19 +08:00
cc7ea113c4 task#15348,新签培训接口 2024-10-10 13:58:24 +08:00
5589417862 task#15348,培训文档和文档材料,已处理字体置灰 2024-10-09 17:50:07 +08:00
1dc5094172 task#15348,培训文档和文档材料,排班布局更新 2024-10-09 17:37:12 +08:00
413da6aea7 task#15348,培训文档和文档材料,跳转添加参数 2024-10-09 15:41:20 +08:00
f255bf48e4 task#15348,培训文档和文档材料获取supplierId 2024-10-09 09:37:49 +08:00
31d3bcf071 task#15348,列表接口获取更换 2024-10-08 16:30:04 +08:00
75e014562f task#15348,新人培训布局调整,必读字号减小 2024-09-26 17:42:15 +08:00
3919bf6934 task#15348,培训文档和文档资料布局更改 2024-09-26 17:00:29 +08:00
8223ff3e46 去除vConsole 2024-09-23 18:18:58 +08:00
6e7254607b 行驶证副业,代码恢复 2024-09-23 10:12:53 +08:00
0e82be5cbe 身份证正面面,代码恢复 2024-09-23 10:03:14 +08:00
b6d86c4517 身份证反面,参数更改 2024-09-20 17:50:04 +08:00
c3f859619f 身份证正面,文件更换 2024-09-20 17:05:01 +08:00
7b95507378 身份证正面,文件上传采用el-upload 2024-09-20 16:57:14 +08:00
250e68bed7 身份证正面,文件上传 2024-09-20 16:10:08 +08:00
e768f9c8f8 查询工单记账图片和修改服务商记账信息 接口添加参数 2024-09-20 16:09:05 +08:00
7aceb84ee5 task#,身份证正面上传兼容代码添加 2024-09-18 10:05:19 +08:00
0d91afc1e8 log 2024-09-14 15:15:12 +08:00
d362fef099 行驶证副页添加调试 2024-09-14 15:12:35 +08:00
5dc9bfb840 task#,身份证正面 2024-09-14 14:18:17 +08:00
fd1ad6db3c task#,身份证正面 2024-09-14 14:07:57 +08:00
2d78a9cee6 task#,身份证上传 2024-09-14 13:58:25 +08:00
68d9f83b66 task#,身份证上传,添加函数 2024-09-14 13:37:18 +08:00
728e70f00e task#,身份证上传添加验证 2024-09-14 13:16:49 +08:00
46e2cb3b3e task#,身份证上传添加验证 2024-09-14 11:49:06 +08:00
c22b3ac319 task#,身份证上传添加验证 2024-09-14 11:35:51 +08:00
4250119cce task#,身份证上传添加验证 2024-09-14 11:26:22 +08:00
5fc76a5765 task#,身份证上传去除:max-size 2024-09-14 11:14:38 +08:00
71e1b1ebb7 task#,增加VConsole 2024-09-14 11:03:15 +08:00
73ec8c267b task#14504,换电瓶费用,加号改为减号 2024-08-30 10:50:59 +08:00
133 changed files with 22003 additions and 7187 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?
/yarn.lock

12277
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,21 +9,23 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@vant/area-data": "^2.0.0",
"amfe-flexible": "^2.2.1",
"axios": "^1.4.0",
"core-js": "^3.8.3",
"dayjs": "^1.8.14",
"decimal.js": "^10.4.3",
"echarts": "^5.2.2",
"element-ui": "^2.15.9",
"less": "^4.1.3",
"less-loader": "^11.1.3",
"qs": "^6.11.2",
"sass": "^1.65.1",
"sass-loader": "^13.3.2",
"vant": "^2.12.54",
"vant": "^2.13.2",
"vue": "^2.6.14",
"vue-router": "^3.0.7",
"vuex": "^3.6.2",
"element-ui": "^2.15.9",
"dayjs": "^1.8.14"
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/core": "^7.12.16",

View File

@ -26,16 +26,17 @@
<van-number-keyboard safe-area-inset-bottom />
<script type="text/javascript">
window._AMapSecurityConfig = {
serviceHost: 'https://api.sinoassist.com/_AMapService',
// serviceHost: 'https://api.sinoassist.com/_AMapService',
securityJsCode:'91ab1ebc492d5479a68b11527bd73dc9',
}
</script>
<script src="https://webapi.amap.com/maps?v=1.4.15&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.Polyline"></script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script>
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
<script>
// VConsole 默认会挂载到 `window.VConsole` 上
// let vConsole = new window.VConsole();
(function (doc, win) {
console.log("==window.location.pathname===",window.location.pathname)
// console.log("==window.location.pathname===",window.location.pathname)
let docEl = doc.documentElement
let resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
recalc = function () {

78
public/res/privacy.html Normal file
View File

@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>免责声明</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
/*margin: 20px;*/
padding: 0;
/*background-color: #f9f9f9;*/
color: #333;
}
h3 {
text-align: center;
/*font-size: 24px;*/
margin-bottom: 20px;
}
h4 {
/*font-size: 20px;*/
margin-top: 30px;
margin-bottom: 10px;
color: #555;
}
p {
margin: 10px 0;
text-indent: 2em;
}
ul {
margin: 10px 0;
padding-left: 40px;
}
li {
margin: 5px 0;
}
.container {
font-size: 14px;
padding-bottom: 20px;
}
</style>
</head>
<body>
<div class="container">
<h3>声明</h3>
<p>本平台为二手拖车买卖双方提供免费信息发布服务。在您使用本平台之前,请仔细阅读并理解本免责声明。一旦使用本平台,即视为您已阅读、理解并同意接受本免责声明的所有条款。</p>
<h4>一、平台性质</h4>
<p>1. 本平台仅为信息发布平台,不参与任何二手拖车交易环节,包括但不限于交易洽谈、合同签订、款项支付、车辆交付等,实际交易价格由买卖双方自行协商确定。</p>
<p>2. 本平台不对发布信息的真实性、准确性、完整性、合法性进行任何形式的担保或保证,用户应自行判断信息的真实性并承担由此产生的风险。</p>
<h4>二、用户责任</h4>
<p>1. 用户应保证发布的信息真实、准确、完整、合法,并对其发布的信息承担全部责任。</p>
<p>2. 用户不得发布任何虚假、违法、侵权、违反公序良俗的信息,包括但不限于:</p>
<ul>
<li>虚假车源信息</li>
<li>事故车、水泡车、火烧车等存在重大安全隐患的车辆信息</li>
<li>盗抢车辆信息</li>
<li>侵犯他人知识产权或其他合法权益的信息</li>
<li>含有淫秽、色情、赌博、暴力、恐怖等内容的信息</li>
<li>其他违反法律法规或平台规则的信息</li>
</ul>
<h4>三、免责条款</h4>
<p>1. 因用户发布的信息引起的任何纠纷或损失,本平台不承担任何责任。</p>
<p>2. 因不可抗力、计算机病毒、黑客攻击、系统不稳定、用户所在位置、用户关机以及其他任何网络、技术、通信线路等原因造成的服务中断或不能满足用户要求的风险,本平台不承担任何责任。</p>
<p>3. 本平台不对用户之间的交易行为承担任何责任,用户应自行承担交易风险。</p>
<h4>四、其他</h4>
<p>1. 本平台有权根据法律法规的变化或平台运营的需要,随时修改本免责声明,并在平台上公布,修改后的内容自公布之日起生效。</p>
<p>2. 本免责声明的解释权归中道救援股份有限公司所有。</p>
<p>请您在使用本平台前务必仔细阅读并理解本免责声明。</p>
<p>如果您对本免责声明有任何疑问,请联系我们。</p>
</div>
</body>
</html>

View File

@ -27,6 +27,14 @@ export function getDriverStatisticsKpi(data){
data
})
}
export function querySupplierDriverStatisticsScore(data){
return request({
url: '/supplier/supplierKPI/querySupplierDriverStatisticsScore',
method:'POST',
// contentType: 'application/json',
data
})
}
// 各种详情数据
export function getKpiDetailsData(data){
return request({
@ -36,6 +44,24 @@ export function getKpiDetailsData(data){
data
})
}
// 获取近12个月的服务商数据
export function getRecentSupplierKpi(data){
return request({
url: '/supplier/supplierKPI/queryRecentSupplierStatisticsKpi',
method:'POST',
// contentType: 'application/json',
data
})
}
// 司机分数详情
export function driverScoreDetail(data){
return request({
url: '/supplier/supplierKPI/querySupplierDriverStatisticsScore',
method:'POST',
// contentType: 'application/json',
data
})
}
// 关键词搜索服务商名称
export function getSupplierId(key) {
return request({

View File

@ -132,7 +132,7 @@ export function deleteImage(data){
})
}
//新增记账图片 form-data
export function insertRecordPicture(data){
/*export function insertRecordPicture(data){
return request({
url:'/supplierAppV2/dispatchApp/accountRecord/insertRecordPicture',
method:'POST',
@ -142,27 +142,35 @@ export function insertRecordPicture(data){
// 'Content-Type': 'multipart/form-data',
// },
})
}
}*/
//开票通知列表
export function notifyInvoiceList(data){
return request({
url:'/supplierAppV2/dispatchApp/accountRecord/notifyInvoiceList',
url:'/order/taskInvoiceBatch/selectPageList',
method:'POST',
contentType:'application/json',
data
})
}
// contentType:'application/json',
//开票通知详情
export function notifyInvoiceDetail(data){
return request({
url:'/supplierAppV2/dispatchApp/accountRecord/notifyInvoiceDetail',
url:'/order/taskInvoiceBatch/selectById',
method:'POST',
contentType:'application/json',
data
})
}
// /supplier/supplierTrainingMaterials/pageList 获取培训材料列表
// 关联案件
export function getOrderListByInvoice(data) {
return request({
url:'/order/taskOrderCostHisRecord/selectPageList',
method:'POST',
data
})
}
// 调度app获取新签列表
export function pageList(data){
return request({
url:'/supplierAppV2/dispatchApp/user/supplierTrainingMaterialsPageList',
@ -171,6 +179,31 @@ export function pageList(data){
data
})
}
// 司机app获取新签列表
export function driverTrainList(key){
return request({
url:'/supplier/supplierTraining/trainingTask',
method:'GET',
params:key
})
}
//获取普通材料
export function getNormalList(key) {
return request({
url: '/supplier/supplierTraining/normalList',
method: 'GET',
params:key
});
}
//获取培训材料
export function getTrainingList(key) {
return request({
url: '/supplier/supplierTraining/trainingList',
method: 'GET',
params:key
});
}
//用户操作权限
export function userOperationPermissions(){
return request({
@ -189,6 +222,83 @@ export function uploadImage(data){
})
}
// 发票上传
export function uploadInvoice(data){
return request({
url:'/order/taskInvoiceBatch/saveInvoiceImagesAndIdentify',
method:'POST',
contentType:'multipart/form-data',
data
})
}
// 删除发票
export function deleteInvoice(data) {
return request({
url:'/order/taskInvoiceBatch/deleteInfo',
method:'POST',
contentType:'multipart/form-data',
data
})
}
// 生成财务批次
export function createBatch(data) {
return request({
url:'/order/taskInvoiceBatch/supplierCreateFinanceBatch',
method:'POST',
contentType:'application/x-www-form-urlencoded',
data,
testFlag: true
})
}
// 开票信息列表
export function getFinanceBatchList(data) {
return request({
url:'/order/taskInvoiceFinanceBatch/selectFinanceBatchPageList',
method:'POST',
data,
})
}
// 批次对应发票信息列表
export function financeInvoiceList(data) {
return request({
url:'/order/taskInvoiceBatch/selectInvoicePageList',
method:'POST',
data,
})
}
// 查看发票
export function selectInvoiceDetailInfo(data) {
return request({
url:'/order/taskInvoiceBatch/selectInvoiceDetailInfo',
method:'POST',
data,
})
}
// 填写快递
export function saveBatchCourierNumber(data) {
return request({
url:'/order/taskInvoiceBatch/supplierSaveBatchCourierNumber',
method:'POST',
data,
})
}
// 获取服务商发票信息
export function getBillingInfo(url, data) {
return request({
url: url,
method:'POST',
contentType:'multipart/form-data',
data
})
}
// ocr 识别
export function ocrHandler(data){
return request({
@ -198,3 +308,12 @@ export function ocrHandler(data){
data
})
}
///agg-api/tencent-ocr/unifiedOCRWithCompress
export function unifiedOCRWithCompress(data){
return request({
url:'/agg-api/tencent-ocr/unifiedOCRWithCompress',
method:'POST',
contentType:'application/json',
data
})
}

View File

@ -77,3 +77,78 @@ export function updateOrderSettlement(data){
data
})
}
// 电瓶数量列表
export function batteryCountList(){
return request({
url:'/supplierAppV2/dispatchApp/battery/batteryCountList',
method:'POST',
contentType:'application/json',
// data
})
}
// 电瓶详情
export function batteryDetailList (data){
return request({
url:'/supplierAppV2/dispatchApp/battery/batteryDetailList',
method:'POST',
contentType:'application/json',
data
})
}
// 查询未读告知函
export function selectUnReadNotifyBySupplier() {
return request({
url: '/supplierManage/correction/notify/selectUnReadNotifyBySupplier',
method:'POST',
})
}
// 阅读告知函
export function correctionHandle(data) {
return request({
url: '/supplierManage/correction/record/correctionHandle',
method:'POST',
data
})
}
// 获取报警列表
export function getAlarmList(data) {
return request({
url: '/supplierAppV2/dispatchApp/alarm/alarmList',
method:'POST',
contentType: 'application/json',
data
})
}
// 获取报警数目
export function getAlarmCount(data) {
return request({
url: '/supplierAppV2/dispatchApp/alarm/alarmCount',
method:'POST',
data
})
}
// 获取报警详情
export function getAlarmByCode(data) {
return request({
url: '/supplierAppV2/dispatchApp/alarm/getAlarmByCode',
method:'POST',
data
})
}
// 处理报警
export function dealWithAlarm(data) {
return request({
url: '/supplierAppV2/dispatchApp/alarm/handAlarm',
method:'POST',
data
})
}

37
src/api/report.js Normal file
View File

@ -0,0 +1,37 @@
import request from '@/utils/http'
// 根据订单 获取报备类型
export function getReportListByOrder(key){
return request({
url: '/order/baseDriverReportConfigs/getByOrderId',
method:'GET',
params: key
})
}
// 添加报备
export function newOrderReporting(data){
return request({
url: '/supplierAppV2/dispatchApp/order/newOrderReporting',
method:'POST',
contentType: 'application/json',
data
})
}
// 获取报备列表
export function reportHistory(data){
return request({
url: '/supplierAppV2/dispatchApp/order/reportHistory',
method:'POST',
data
})
}
// 获取订单信息
export function getOrderInfo(data){
return request({
url: '/supplierAppV2/dispatchApp/order/reportOrderDetail',
method:'POST',
data
})
}

96
src/api/secondHandCar.js Normal file
View File

@ -0,0 +1,96 @@
import request from '@/utils/http'
// 车源/求购列表
export function appPageList(data){
return request({
url: '/toc-user/car-app/appPageList',
method:'POST',
contentType: 'application/json',
data
})
}
// 我的发布列表
export function minePublishPageList(data){
return request({
url: '/toc-user/car-app/minePublishPageList',
method:'POST',
contentType: 'application/json',
data
})
}
// 审核不通过数量
export function auditFailCount (data){
return request({
url: '/toc-user/car-app/auditFailCount ',
method:'POST',
// contentType: 'application/json',
data
})
}
// 信息详情查询
export function carInfoDetail(data){
return request({
url: '/toc-user/car-app/carInfoDetail',
method:'POST',
contentType: 'application/json',
data
})
}
// 发布编辑信息
export function publishCarInfo(data){
return request({
url: '/toc-user/car-app/publishCarInfo',
method:'POST',
contentType: 'application/json',
data
})
}
// 用户信息反馈
export function userFeedback(data){
return request({
url: '/toc-user/car-app/userFeedback',
method:'POST',
contentType: 'application/json',
data
})
}
//二手拖车信息擦亮
export function usedCarPolish(data){
return request({
url: `/toc-user/car-app/usedCarPolish/${data}`,
method:'POST',
})
}
//二手拖车信息下架
export function usedCarRemove(data){
return request({
url: '/toc-user/car-app/usedCarRemove',
method:'POST',
contentType: 'application/json',
data
})
}
//二手拖车信息重新上架
export function usedCarReShelf(data){
return request({
url: `/toc-user/car-app/usedCarReShelf/${data}`,
method:'POST',
})
}
//审批信息
export function auditCarInfo(data){
return request({
url: '/toc-user/car-admin/auditCarInfo',
method:'POST',
data
})
}
// 保存信息记录
export function saveRecord(data){
return request({
url: '/toc-user/car-record/saveRecord',
method:'POST',
contentType: 'application/json',
data
})
}

BIN
src/assets/alarm_check.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

BIN
src/assets/alarm_one.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
src/assets/alarm_repair.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
src/assets/alarm_three.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/alarm_tip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
src/assets/alarm_two.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

BIN
src/assets/icon_upload.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -2,6 +2,9 @@ import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
import kpiRouter from './kpi-router'
import invoiceRouter from "@/router/invoice-router";
import secondHandRouter from "@/router/second-hand-router";
import reportRouter from "@/router/report-router"
const routes = [
{
path: '/',
@ -84,15 +87,48 @@ const routes = [
name: 'invoicingNotify',
component: () => import('@/views/index/invoicingNotify.vue'),
meta: {
title: '开票通知'
title: '工单批次'
}
},
{
path: "/invoiceListInfo",
name: 'invoiceListInfo',
component: () => import('@/views/index/invoiceListInfo.vue'),
meta: {
title: '开票信息'
}
},
{
path: "/invoiceInfo",
name: 'invoiceInfo',
component: () => import('@/views/index/invoiceInfo.vue'),
meta: {
title: '开票信息'
}
},
{
path: "/invoicingDetail",
name: 'invoicingDetail',
component: () => import('@/views/index/invoicingDetail'),
meta: {
title: '开票通知详情'
title: '工单批次详情'
}
},
{
path: "/uploadInvoice",
name: 'uploadInvoice',
component: () => import('@/views/index/uploadInvoice.vue'),
meta: {
title: '上传发票',
cache: true
}
},
{
path: "/showInvoice",
name: 'showInvoice',
component: () => import('@/views/index/showInvoice.vue'),
meta: {
title: '查看发票'
}
},
{
@ -131,6 +167,14 @@ const routes = [
path: '/trainDocment',
name: 'trainDocment',
component:()=>import('@/views/documentView/trainDocment.vue'),
meta: {
title:'培训文档',
}
},
{
path: '/diverTrainDocment',
name: 'diverTrainDocment',
component:()=>import('@/views/documentView/diverTrainDocment.vue'),
meta: {
title:'培训文档'
}
@ -143,6 +187,14 @@ const routes = [
title:'文档资料'
}
},
{
path: '/notificationList',
name: 'notificationList',
component:()=>import('@/views/index/notificationList'),
meta: {
title:'告知函'
}
},
{
path: '/caseList',
name: 'caseList',
@ -180,7 +232,15 @@ const routes = [
name: 'newTrainingList',
component:()=>import('@/views/newcomerTraining/newTrainingList.vue'),
meta: {
title:'新培训'
title:'新服务商培训'
}
},
{
path: '/driverTrainingList',
name: 'driverTrainingList',
component:()=>import('@/views/newcomerTraining/driverTrainingList.vue'),
meta: {
title:'新师傅培训'
}
},
{
@ -191,6 +251,22 @@ const routes = [
title:'车辆维保'
}
},
{
path: '/vehicleAlarmList',
name: 'vehicleAlarmList',
component:()=>import('@/views/vehicle-maintenance/vehicle-alarm-list.vue'),
meta: {
title:'车辆报警'
}
},
{
path: '/vehicleAlarmDetail',
name: 'vehicleAlarmDetail',
component:()=>import('@/views/vehicle-maintenance/vehicle-alarm-detail.vue'),
meta: {
title:'报警详情'
}
},
{
path: '/maintenanceApplication',
name: 'maintenanceApplication',
@ -199,7 +275,26 @@ const routes = [
title:'维保申请'
}
},
{
path: '/batteryList',
name: 'batteryList',
component:()=>import('@/views/battery/batteryList.vue'),
meta: {
title:'电瓶进销存'
}
},
{
path: '/batteryDetail',
name: 'batteryDetail',
component:()=>import('@/views/battery/batteryDetail.vue'),
meta: {
title:'电瓶详情'
}
},
...kpiRouter,
...invoiceRouter,
...secondHandRouter,
...reportRouter
]
const router = new VueRouter({

View File

@ -0,0 +1,11 @@
const invoiceRouter = [
{
path: '/invoiceIndex',
name: 'invoiceIndex',
component: () => import('@/views/invoice/invoiceIndex'),
meta:{
title: '道路救援',
}
},
]
export default invoiceRouter

View File

@ -0,0 +1,21 @@
const reportRouter = [
{
path: '/reportIndex',
name: 'reportIndex',
component: () => import('@/views/report/reportIndex'),
meta:{
title: '道路救援',
cache: true,
modalState: false,
}
},
{
path: '/addressMap',
name: 'addressMap',
component: () => import('@/views/report/addressMap'),
meta:{
title: '道路救援',
}
},
]
export default reportRouter

View File

@ -0,0 +1,59 @@
const secondHandCar = [
{
path: '/indexList',
name: 'indexList',
component: () => import('@/views/secondHandCar/indexList.vue'),
meta:{
title: '首页列表',
}
},
{
path: '/carSource',
name: 'carSource',
component: () => import('@/views/secondHandCar/carSource.vue'),
meta:{
title: '车源发布',
}
},
{
path: '/wantBuy',
name: 'wantBuy',
component: () => import('@/views/secondHandCar/wantBuy.vue'),
meta:{
title: '求购发布',
}
},
{
path: '/forSale',
name: 'forSale',
component: () => import('@/views/secondHandCar/forSale.vue'),
meta:{
title: '查看车源',
}
},
{
path: '/wantBuySale',
name: 'wantBuySale',
component: () => import('@/views/secondHandCar/wantBuySale.vue'),
meta:{
title: '查看求购',
}
},
{
path: '/mineRelease',
name: 'mineRelease',
component: () => import('@/views/secondHandCar/mineRelease.vue'),
meta:{
title: '我的发布',
}
},
{
path: '/privacyComponent',
name: 'privacyComponent',
component: () => import('@/views/secondHandCar/privacy.vue'),
meta:{
title: '免责声明',
}
},
]
export default secondHandCar

View File

@ -45,7 +45,6 @@ select{
margin-left: 0;
font-weight: normal;
font-size: 14px;
//@include fontWeightSize(400,14px);
color: #000000;
}

View File

@ -1,8 +1,9 @@
@import "@/styles/mixin.scss";
.wrap{
@include wh(100%,100%);
background-color: #F4F5F7;
overflow-y: auto;
}
.navBar{
margin-bottom: 46px;
@ -13,16 +14,44 @@
@include wh(17px, 17px);
}
}
.tab_wrap {
@include fontWeightSize(bold, 12px);
display: flex;
justify-content: space-around;
padding: 5px 0 5px 0;
@include colorOpa(#737373,0.7);
div {
padding-top: 8px;
}
.active {
color: #3678FF;
position: relative;
}
.active:after {
content: '';
display: block;
@include wh(50px,2px);
background: linear-gradient(270deg, #33A3FF 0%, #176AFE 100%);
border-radius: 2px;
position: absolute;
margin-top: 3px;
left: 50%;
transform: translateX(-50%);
}
}
.contentWrap{
@include sizingPadding(0,8px);
overflow-y: auto;
width: 100%;
margin-top: 20px;
height: calc(100% - 100px);
margin-top: 10px;
.itemWrap{
margin-bottom: 16px;
@include wh(100%, 300px);
width: 100%;
//@include wh(100%, 300px);
background: #FFFFFF;
box-shadow: 0px 2px 10px 0px rgba(216, 216, 216, 0.5);
@include sizingPadRadius(6px ,0,3px);
@include sizingPadRadius(6px ,0,6px);
@include flexAround;
@include fontWeightSize(400, 12px);
.flexBetween{
@ -31,18 +60,16 @@
.common{
margin: 0 15px ;
}
.time{
color: rgba(0,0,0,0.7);
margin-top: 5px;
}
.imgWrap{
@include wh(100%,200px);
position: relative;
margin: 6px 0;
img{
@include wh(100%,200px);
}
.name{
position: absolute;
left: 30px;
bottom: 30px;
@include fontWeightSize(bold,14px);
color: #FFFFFF;
@include wh(100%,100%);
}
}
.left{

View File

@ -0,0 +1,103 @@
@import "@/styles/mixin.scss";
::v-deep .van-nav-bar__content{
background-color: #3A3A3A !important;
}
.wrap{
@include wh(100%,100%);
background-color: #F4F5F7;
}
.navBar{
margin-bottom: 46px;
}
.search{
color: #AAADB3 !important;
font-weight: bolder;
margin-right: 10px;
}
.navLeft{
display: flex;
flex-direction: column;
color: #9C9C9C;
font-size: 8px;
.icon{
font-size: 10px;
font-weight: bold;
margin-right: 5px;
margin-top: 5px;
}
}
.statisticContainer{
box-sizing: border-box;
padding: 8px;
}
.statisticWrap{
@include wh(100%,100px);
background: #FFFFFF;
box-sizing: border-box;
padding: 8px 8px 15px;
border-radius: 8px;
border: 1px solid #c7c1c1;
display: flex;
flex-direction: column;
justify-content: space-between;
.line1{
display: flex;
justify-content: space-between;
span:first-child{
font-weight: bolder;
}
span:last-child{
opacity: .7;
//font-size: 12px;
}
}
.numWrap{
display: flex;
justify-content: space-around;
div{
display: flex;
flex-direction: column;
align-items: center;
font-size: 14px;
font-weight: 500;
span:first-child{
margin-bottom: 3px;
font-size: 18px;
}
}
}
}
.rightWrap {
@include flexCenter;
.img2 {
@include wh(17px, 17px);
}
}
.driver_tab_wrap {
font-size: 12px;
display: flex;
justify-content: space-around;
padding: 5px 0 5px 0;
div {
padding-top: 8px;
}
.active {
position: relative;
}
.active:after {
content: '';
display: block;
@include wh(100px,2px);
background-color: #E8A524;
border-radius: 2px;
position: absolute;
margin-top: 3px;
left: 50%;
transform: translateX(-50%);
}
}
.empty{
margin-top: 14px;
}

View File

@ -1,7 +1,6 @@
import axios from "axios";
import qs from 'qs'
import { Toast } from 'vant'
// console.log('process.env.VUE_APP_BASE_API', process.env.VUE_APP_BASE_API)
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API,
@ -11,28 +10,32 @@ const service = axios.create({
timeout: 10000
})
const urlParams = new URLSearchParams(window.location.search);
let token = urlParams.get('token') ;
localStorage.setItem('token', token);
let token = urlParams.get('token');
if( token ) {
localStorage.setItem('token', token);
} else {
localStorage.setItem('token', '');
}
service.interceptors.request.use(
config => {
let reqUrl=config.url
config.data = config.contentType ? config.data : qs.stringify(config.data)
if (config.testFlag) {
config.data = qs.stringify(config.data, {arrayFormat: 'indices', allowDots: true})
}
config.headers['Content-Type'] = config.contentType || 'application/x-www-form-urlencoded'
let token = localStorage.getItem('token');
// alert(token);
// let token='4099761587129c46b03c9316c9e866c9'
// let token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzb25nIiwiYXVkIjpbInN1cHBsaWVyLWFwcCJdLCJuYmYiOjE3MTI0NTQ5NTMsInVzZXJfaW5mbyI6eyJ1c2VySWQiOjU0NjU0LCJwaG9uZSI6IjE3NjMwMDM1NjU4IiwibmFtZSI6InNvbmciLCJzdXBwbGllck5hbWUiOiJDLeS4iua1t-a1i-ivleacjeWKoeWVhiIsInN1cHBsaWVySWQiOjMzMDQxLCJzdXBwbGllclR5cGUiOjIsInVzZXJuYW1lIjoic29uZyIsInVzZXJUeXBlIjoicmVzY3VlQXBwIiwiZGV2aWNlSWQiOiIyMmI0OWNhMjBmOWI4MzMwZDk4NzIxNzNmMzllYTY4YmMiLCJhdXRob3JpdGllcyI6W119LCJzY29wZSI6WyJhbGwiXSwiaXNzIjoiaHR0cHM6Ly9zaW5vYXNzaXN0LmNvbSIsImV4cCI6MTcxMjU0MTM1MywiaWF0IjoxNzEyNDU0OTUzfQ.sPU9_OD_TOWcTwqmlawEGyo4mCPrEaRYw2R02gnvYJw'
// console.log("tokentokentoken",token)
if (reqUrl.includes("/driverApp")) {
config.headers['token'] = `${token}`;
} else {
console.log("调度app")
config.headers['Authorization'] = `${token}`;
}
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBTkNIQU5HIiwidXNlcklkIjo0NTY3MSwibmFtZSI6IuWuieeVhSIsInVzZXJOYW1lIjoiQU5DSEFORyIsInN1cHBsaWVySWQiOjExMjgsImlzWmQiOjAsImV4cCI6MTc1NTQyMjUyNX0.xzDZhaANJFnbeViIHJA0SEtOyTv7Ja3rKmXqRKRuFkc'
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJTSEhQWEIiLCJ1c2VySWQiOjU0NzI2LCJuYW1lIjoiI-a1i-ivleWwj-eZveeZvSIsInVzZXJOYW1lIjoiU0hIUFhCIiwic3VwcGxpZXJJZCI6MTAwMDE2NSwiZXhwIjoxNzQ0NTEwNzkwfQ.JPk0OA7slYJN3FIi_uhW4Y0CiWRvl6R1dK8MRTbyhD8'
if(!(reqUrl=='/supplier/supplierTraining/trainingTask' || reqUrl=='/supplier/supplierTraining/normalList' || reqUrl=='/supplier/supplierTraining/trainingList')){
if(token) {
config.headers['Authorization'] = `${token}`;
config.headers['token'] = `${token}`;
}
}
return config
},
error => {
console.log(error)
return Promise.reject(error)
}
)
@ -40,27 +43,17 @@ service.interceptors.request.use(
service.interceptors.response.use(
response => {
const res = response.data
// return res //请求响应数据
// if(res.code === 401){
// Toast('token不合法或过期')
// }else if(){
//
// }
if ( res.code === 401 || res.code === 400 || res.code == 500) {
Toast(res.msg || 'Error')
return Promise.reject(new Error(res.msg || 'Error'))
return Promise.reject(res.msg)
} else {
return res
// if( res.code === 200 ) {
// return res.data
// } else {
// return res.data
// }
}
},
error => {
console.log('err' + error)
Toast(error.message)
if(error.message != 'Network Error'){
Toast(error.message)
}
return Promise.reject(error)
}
)

View File

@ -36,6 +36,7 @@ export function getAddress(mapContext, lnglat) {
} else {
console.log(result)
alert(JSON.stringify(result))
reject(result)
}
})
})
@ -44,7 +45,7 @@ export function getAddress(mapContext, lnglat) {
// 输入提示
export function searchFun(mapContext, cityCode, keyword) {
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
mapContext.plugin('AMap.AutoComplete', function(){
var autoOptions = {
city: cityCode || '全国',
@ -57,7 +58,7 @@ export function searchFun(mapContext, cityCode, keyword) {
if(result.info == 'OK') {
resolve(result.tips)
} else {
reject(result)
resolve([])
}
})
})
@ -90,6 +91,7 @@ export function getRoad( mapContext, startLng, startLat, endLng, endLat ) {
}
/*
function drawRoute(route, map) {
let path = parseRouteToPath(route)
@ -106,3 +108,4 @@ function drawRoute(route, map) {
map.add(routeLine);
}
*/

View File

@ -1,9 +1,7 @@
export const myMixins = {
data() {
return {
touchStart: [],
touchEnd: [],
slideShow: true
}
},
methods: {
@ -34,19 +32,26 @@ export const myMixins = {
window.android.sendMessage("goBack");
}
},
goH5Detail(item){//h5传参到app文档资料培训文档
goH5Detail(item,type){//h5传参到app文档资料培训文档
// console.log("type",type)
let data = {
"action": "goTraining",
"params": {
"id": item.id,
"id":type == '培训文档' ? Number(1000000+item.id) : item.id,
}
};
let u = navigator.userAgent;
let isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
if(isiOS){
// console.log("data",data)
window.webkit.messageHandlers.nativeObject.postMessage(data);
}else {
window.android.sendMessage("articleId=" + item.id);
if(type == '培训文档'){
window.android.sendMessage("articleId=" +'q'+ item.id);
}else{
window.android.sendMessage("articleId=" + item.id);
}
}
},
h5GoBack(){
@ -65,12 +70,38 @@ export const myMixins = {
methods();
}
setTimeout(() => {
console.log("shengxiaoxi")
that.noClick = true;
}, 3000)
} else {
// 这里是重复点击的判断
}
}
},
formatNumber(num) {
if (num < 10000) {
// 小于 5 位数,显示为 0.x 万
return `${(num / 10000).toFixed(1)}`;
} else {
// 大于或等于 5 位数,显示为 x 万,四舍五入到小数点后一位
return `${Math.round(num / 1000) / 10}`;
}
},
isWebFunc(){
let res=false
var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
if (!isMobile) {// 是移动端不变
res=true
}
return res
},
closeParentDialog() {
if (window.parent) {
const hasListener = window.parent.dispatchEvent(new Event('checkCloseDialog'));
if (hasListener) {
window.parent.postMessage('closeDialog', '*');
} else {
window.history.back();
}
}
},
}
}

View File

@ -0,0 +1,138 @@
<template>
<div class="wrap" >
<div class="navBar">
<van-nav-bar
title="已售电瓶"
left-arrow
left-arrow-color="#FFFFFF"
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="h5GoBack"
> </van-nav-bar>
</div>
<div class="container" v-if="batteryDetailList && batteryDetailList.length>0">
<div class="itemWrap" v-for="(item,index) in batteryDetailList" :key="index">
<div>
<span class="halfOpci">设备号</span>
<span class="allOpci">{{ item.productNo }}</span>
</div>
<div>
<span class="halfOpci">品牌</span>
<span class="allOpci">{{ item.brand }}</span>
</div>
<div>
<span class="halfOpci">型号</span>
<span class="allOpci">{{ item.model }}</span>
</div>
<div>
<span class="halfOpci">售卖人员</span>
<span class="allOpci">{{ item.saleName }}</span>
</div>
<div>
<span class="halfOpci">售卖时间</span>
<span class="allOpci">{{ item.createTime }}</span>
</div>
</div></div>
</div>
</template>
<script>
import {myMixins} from "@/utils/myMixins"
import {batteryDetailList} from "@/api/order"
export default {
name: "batteryDetail",
mixins:[myMixins],
data(){
return{
batteryDetailList:[],
isLoading: false,
loading: false,
brand: '',
model:'',
}
},
async mounted() {
this.brand = this.$route.params.brand;
this.model = this.$route.params.model;
await this.getDetailList()
},
methods:{
async getDetailList(){
let res = await batteryDetailList({
brand:this.brand,
model:this.model,
})
this.batteryDetailList=res.data.reverse();
},
}
}
</script>
<style scoped lang="scss">
@import '@/styles/mixin.scss';
@import "@/styles/common.scss";
.wrap {
background: #F4F5F7;
@include wh(100%, 100%);
}
.navBar{
margin-bottom: 46px;
.rightWrap{
@include wh(50px,20px);
border-radius: 10px;
opacity: 0.7;
border: 1px solid #FFFFFF;
@include flexTwoCenter;
img{
@include widHeiMar(9px,8px,4px);
}
.addTxt{
@include fontWeightSize(bolder,11px);
@include colorOpa( #FFFFFF,0.7);
}
}
}
.container{
@include wh(100%, calc(100% - 56px));
overflow-y: auto;
@include sizingPadding(13px,13px);
}
.itemWrap {
@include wh(100%, 104px);
@include radiusSizing(6px);
@include fontWeightSize(400, 12px);
@include flexBetween;
background: #FFFFFF;
box-shadow: 0px 2px 10px 0px rgba(216, 216, 216, 0.5);
margin-bottom: 10px;
padding: 11px 13px 9px 15px;
position: relative;
.halfOpci {
display: inline-block;
width: 60px;
opacity: .5;
margin-right: 5px;
}
.allOpci {
opacity: 1;
}
.statusNo {
color: #FF0000;
}
.statusYes {
color: #09B820
}
.img{
width: 20px;
height: 20px;
position: absolute;
right: 10px;
top: 35%;
cursor: pointer;
}
}
</style>

View File

@ -0,0 +1,171 @@
<template>
<div class="wrap" >
<div class="navBar">
<van-nav-bar
title="电瓶进销存"
left-arrow
left-arrow-color="#FFFFFF"
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="goBack"
>
</van-nav-bar>
</div>
<van-field class="input" right-icon="search" v-model="keyword" placeholder="请输入品牌或型号" @input="filterBatteryList"/>
<div class="container" v-if="batteryList && batteryList.length>0">
<div class="itemWrap" v-for="(item,index) in batteryList" :key="index">
<div>
<span class="halfOpci">品牌</span>
<span class="allOpci">{{ item.brand }}</span>
</div>
<div>
<span class="halfOpci">型号</span>
<span class="allOpci">{{ item.model }}</span>
</div>
<div>
<span class="halfOpci">总量</span>
<span class="allOpci">{{ item.totalNum }}</span>
</div>
<div>
<span class="halfOpci">库存数量</span>
<span class="allOpci">{{ item.stockNum }}</span>
</div>
<div>
<span class="halfOpci">已售数量</span>
<span class="allOpci">{{ item.sellNum }}</span>
</div>
<img @click="goBatteryDetail(item)" class="img" src="@/assets/arrow_rht.png" />
</div>
</div>
<div class="bgEmptyImg" v-show="show" >
<img src="@/assets/empty.png" />
</div>
</div>
</template>
<script>
import {myMixins} from "@/utils/myMixins"
import {batteryCountList} from "@/api/order"
export default {
name: "batteryList",
mixins:[myMixins],
data(){
return{
batteryList:[],
isLoading: false,
keyword:'',
}
},
computed:{
show() {
return (this.batteryList.length < 0 || this.batteryList.length == 0); // 判断数组长度是否大于 0
},
},
mounted() {
this.getList()
},
methods:{
async filterBatteryList(){
await this.getList()
this.batteryList = this.batteryList.filter(item =>
item.brand.includes(this.keyword) || item.model.includes(this.keyword)
);
},
goBatteryDetail(item){//电瓶详情
this.$router.push({
name: "batteryDetail",
params: {
brand: item.brand,
model: item.model,
}
})
},
async getList(){
let res = await batteryCountList()
this.batteryList=res.data
},
}
}
</script>
<style scoped lang="scss">
@import '@/styles/mixin.scss';
@import "@/styles/common.scss";
.wrap {
background: #F4F5F7;
@include wh(100%, 100%);
}
.navBar{
margin-bottom: 46px;
.rightWrap{
@include wh(50px,20px);
border-radius: 10px;
opacity: 0.7;
border: 1px solid #FFFFFF;
@include flexTwoCenter;
img{
@include widHeiMar(9px,8px,4px);
}
.addTxt{
@include fontWeightSize(bolder,11px);
@include colorOpa( #FFFFFF,0.7);
}
}
}
.input{
//@include sizingPadding(13px,13px);
//margin: 13px 0;
}
.container{
@include sizingPadding(13px,13px);
overflow-y: auto;
@include wh(100%, calc(100% - 96px));
}
.itemWrap {
@include wh(100%, 104px);
@include radiusSizing(6px);
@include fontWeightSize(400, 12px);
@include flexBetween;
background: #FFFFFF;
box-shadow: 0px 2px 10px 0px rgba(216, 216, 216, 0.5);
margin-bottom: 10px;
padding: 11px 13px 9px 15px;
position: relative;
//margin-top: 10px;
.halfOpci {
display: inline-block;
width: 60px;
opacity: .5;
margin-right: 5px;
}
.allOpci {
opacity: 1;
}
.statusNo {
color: #FF0000;
}
.statusYes {
color: #09B820
}
.img{
width: 20px;
height: 20px;
position: absolute;
right: 10px;
top: 35%;
cursor: pointer;
}
}
.bgEmptyImg{
@include flexTwoCenter;
height: 90% ;
background-color: #FAFAFA;
img{
width: 100%;
}
}
</style>

View File

@ -0,0 +1,176 @@
<template>
<div class="wrap">
<div class="navBar">
<van-nav-bar
:border="false"
:fixed="true"
:safe-area-inset-top="true"
>
<template slot="title">
<van-field
v-model="keyword"
placeholder="名称/关键词/简介"
>
</van-field>
</template>
<template slot="left">
<div class="navLeft" @click="goBack">
<van-icon class="icon" name="arrow-left" />
<div>返回</div>
</div>
</template>
<template slot="right">
<van-icon class="search" name="search" size="20" @click="getTrainingList"/>
</template>
</van-nav-bar>
</div>
<div class="statisticContainer">
<div class="statisticWrap">
<div class="line1">
<span>培训统计</span>
<span>更新时间{{time}}</span>
</div>
<div class="numWrap">
<div>
<span>{{ numInfo?.totalNum }}</span>
<span>文章总数</span>
</div>
<div>
<span>{{ numInfo?.readNum }}</span><span>已培训数量</span>
</div>
<div>
<span>{{ numInfo?.notReadNum }}</span> <span>未培训数量</span>
</div>
</div>
</div>
</div>
<div class="driver_tab_wrap">
<div v-for="(item, index) in tabArr" :key="index" :class="{'active' : activeIndex == index}"
@click="changeTab(index)">
{{ item.name }}
</div>
</div>
<div class="contentWrap" v-show="!showEmpty">
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" style="min-height:85vh">
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" @click="goH5Detail(item,'培训文档')">
<div class="info flexBetween common">
<div class="title">{{ item.name }}<span v-if="item.mustRead===1" class="read">必读</span></div>
</div>
<div class="imgWrap">
<img :src="item.themePicture">
</div>
<div class="num common">{{ item.synopsis }}</div>
<div class="info flexBetween common" >
<div class="time">{{ item.pushTime }}</div>
<span style="color: red;font-size: 14px;margin-right: 8px" :class="item.alreadyRead===1 ? 'alRead' : ''">{{ item.alreadyRead===1 ? '已处理' : '未处理' }}</span>
</div>
</div>
</van-pull-refresh>
</div>
<div class="empty" v-show="showEmpty">
<img src="@/assets/empty.png" />
</div>
</div>
</template>
<script>
import {myMixins} from "@/utils/myMixins"
import {getTrainingList} from "@/api/mine"
import {timeFormat} from "@/utils/common";
export default {
name: "diverTrainDocment",
computed: {
},
mixins:[myMixins],
data(){
return{
tabArr: [{name: '车型技术参数', status: 1}, {name: '中道服务规范', status:2},{name: '中道小课堂', status: 3}],
activeIndex: 0,
pageList:[],
totalList:[],
numInfo:'',
keyword:'',
show:false,
showEmpty:false,
isLoading:false,
driverId:'',
time:'',
}
},
mounted() {
const urlParams = new URLSearchParams(window.location.search);
this.driverId = urlParams.get('driverId');
this.time=timeFormat(Date.now())
this.keyword=urlParams.get('keyWord') || ''
this.getTrainingList();
document.addEventListener('visibilitychange', async ( ) => {
let state = document.visibilityState
if (state == 'hidden') { // 用户离开了
}
if (state == 'visible') {
this.getTrainingList();
}
});
},
methods:{
onRefresh() {
this.getTrainingList()
setTimeout(() => {
this.$toast('刷新成功');
this.isLoading = false;
}, 1000);
},
async changeTab(index) {
this.activeIndex = index
await this.getTrainingList()
},
async getTrainingList(){
let res= await getTrainingList({
type:1,
id:this.driverId,
text:this.keyword || '',
})
this.totalList=[]
this.pageList=[]
this.numInfo=res.data
this.totalList=res.data.list
let result=[]
if(this.activeIndex === 0){
result=this.totalList?.filter(q => q.title === '车型技术参数');
}else if(this.activeIndex === 1){
result=this.totalList?.filter(q => q.title === '中道服务规范');
}else if(this.activeIndex === 2){
result=this.totalList?.filter(q => q.title === '中道小课堂');
}
if(result){
this.pageList=result[0].materials
this.time=timeFormat(Date.now())
}
if(this.pageList?.length === 0){
this.showEmpty = true
}else {
this.showEmpty = false
}
},
}
}
</script>
<style scoped lang="scss">
@import "@/styles/common.scss";
@import "@/styles/mixin.scss";
@import "@/styles/docment.scss";
@import "@/styles/driverDocment.scss";
.read{
padding: 2px 8px;
border-radius: 5px;
border: 1px solid red;
color: red;
font-size: 8px;
}
.alRead{
color: #cccccc !important;
}
.contentWrap{
height: calc(100% - 180px) !important;
}
</style>

View File

@ -1,28 +1,59 @@
<template>
<div class="wrap">
<div class="navBar">
<van-nav-bar
left-arrow
left-arrow-color="#FFFFFF"
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="goBack"
>
<template slot="title">
<div v-show="!show">文档资料</div>
<van-field v-model="keyword" placeholder="请输入关键词" v-show="show" @input="getList"/>
</template>
<template slot="right">
<div class="rightWrap" @click="show = !show">
<img src="@/assets/serach.png" class="img2" v-show="!show"/>
<img src="@/assets/delKey.png" class="img2" v-show="show" @click="initShow"/>
</div>
</template>
</van-nav-bar>
</div>
<div class="tab_wrap">
<template v-if="supplierId">
<div class="navBar">
<van-nav-bar
left-arrow
left-arrow-color="#FFFFFF"
class="supplier"
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="goBack"
>
<template slot="title">
<div v-show="!show">文档资料</div>
<van-field v-model="keyword" placeholder="请输入关键词" v-show="show" @input="getNormalList"/>
</template>
<template slot="right">
<div class="rightWrap" @click="show = !show">
<img src="@/assets/serach.png" class="img2" v-show="!show"/>
<img src="@/assets/delKey.png" class="img2" v-show="show" @click="initShow"/>
</div>
</template>
</van-nav-bar>
</div>
</template>
<template v-if="driverId">
<div class="navBar">
<van-nav-bar
:border="false"
:fixed="true"
:safe-area-inset-top="true"
>
<template slot="title">
<van-field
v-model="keyword"
placeholder="名称/关键词/简介"
>
<!-- <template #button>
<van-icon class="search" name="search" size="20" @click="getTrainingList"/>
</template>-->
</van-field>
</template>
<template slot="left">
<div class="navLeft" @click="goBack">
<van-icon class="icon" name="arrow-left" />
<div>返回</div>
</div>
</template>
<template slot="right">
<van-icon class="search" name="search" size="20" @click="getNormalList"/>
</template>
</van-nav-bar>
</div>
</template>
<div :class="supplierId ? 'tab_wrap' : 'driver_tab_wrap'">
<div v-for="(item, index) in tabArr" :key="index" :class="{'active' : activeIndex == index}"
@click="changeTab(index)">
{{ item.name }}
@ -30,23 +61,15 @@
</div>
<div class="contentWrap" v-show="!showEmpty">
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" style="min-height:85vh">
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" @click="goH5Detail(item)">
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" @click="goH5Detail(item,'文档资料')">
<div class="info flexBetween common">
<div class="title">{{ item.pushUser }}</div>
<div class="time">{{ item.pushTime }}</div>
<div class="title">{{ item.name }}</div>
</div>
<div class="imgWrap">
<img :src="item.themePicture">
<div class="name">{{item.name}}</div>
</div>
<div class="num common">{{ item.synopsis }}</div>
<div class="doc flexBetween common">
<div class="left">{{ item.docType?.label }}</div>
<div class="right">
<span style="color: red;font-size: 14px;margin-right: 8px">{{ item.listShowButton==null ? '已处理' : '未处理' }}</span>
<span style="opacity: .9;color: #ccc">阅读 {{item.readCount}}</span>
</div>
</div>
<div class="time common">{{ item.pushTime }}</div>
</div>
</van-pull-refresh>
</div>
@ -58,30 +81,36 @@
<script>
import {myMixins} from "@/utils/myMixins"
import {pageList} from "@/api/mine";
import {getNormalList} from "@/api/mine";
export default {
name: "trainDocment",
name: "docmentList",
mixins:[myMixins],
data(){
return{
tabArr: [{name: '中道制度', status: 1}, {name: '技术参数', status: 2},],
tabArr: [{name: '车型技术参数', status: 1}, {name: '中道服务规范', status:2},{name: '中道小课堂', status: 3}, {name: '新手入列', status: 4},],
activeIndex: 0,
pageList:[],
pageNum:1,
pageSize:10,
totalList:[],
keyword:'',
trainingType:1,
isLoading:false,
show:false,
showEmpty:false
showEmpty:false,
supplierId:'',
driverId:'',
}
},
mounted() {
this.getList()
const urlParams = new URLSearchParams(window.location.search);
this.supplierId = urlParams.get('supplierId');
this.driverId = urlParams.get('driverId');
if(this.driverId){
this.keyword=urlParams.get('keyWord') || ''
}
this.getNormalList()
},
methods:{
onRefresh() {
this.getList()
this.getNormalList()
setTimeout(() => {
this.$toast('刷新成功');
this.isLoading = false;
@ -89,32 +118,41 @@ export default {
},
async changeTab(index) {
this.activeIndex = index
this.pageNum = 1
this.pageList = [];
if(this.activeIndex === 0){
this.trainingType =1
}else{
this.trainingType=2
}
await this.getList()
await this.getNormalList()
},
async getList(){
let res= await pageList({
pageNum:this.pageNum,
pageSize:this.pageSize,
docType:2,
trainingType:this.trainingType,
keyword:this.keyword || ''
async getNormalList(){
let res= await getNormalList({
type:this.supplierId ? 2 : 1,
// type:2,
id: this.supplierId ? this.supplierId : this.driverId,
// id:this.supplierId,//33041,
text:this.keyword || '',
})
this.pageList=res.data;
if(res.data.length === 0){
this.totalList=[]
this.pageList=[]
this.totalList=res.data.list
let result=[]
if(this.activeIndex === 0){
result=this.totalList?.filter(q => q.title === '车型技术参数');
}else if(this.activeIndex === 1){
result=this.totalList?.filter(q => q.title === '中道服务规范');
}else if(this.activeIndex === 2){
result=this.totalList?.filter(q => q.title === '中道小课堂');
}else if(this.activeIndex === 3){
result=this.totalList?.filter(q => q.title === '新手入列');
}
if(result){
this.pageList=result[0].materials
}
if(this.pageList?.length === 0){
this.showEmpty = true
}else {
this.showEmpty = false
} },
}
},
initShow(){
this.keyword= '',
this.getList()
this.getNormalList()
}
}
}
@ -124,29 +162,8 @@ export default {
@import "@/styles/common.scss";
@import "@/styles/mixin.scss";
@import "@/styles/docment.scss";
.tab_wrap {
@include fontWeightSize(bolder, 15px);
display: flex;
justify-content: space-around;
padding: 5px 0 5px 0;
@include colorOpa(#737373,0.7);
div {
padding-top: 8px;
}
.active {
color: #3678FF;
position: relative;
}
.active:after {
content: '';
display: block;
@include wh(50px,3px);
background: linear-gradient(270deg, #33A3FF 0%, #176AFE 100%);
border-radius: 2px;
position: absolute;
margin-top: 3px;
left: 50%;
transform: translateX(-50%);
}
@import "@/styles/driverDocment.scss";
.supplier ::v-deep .van-nav-bar__content{
background-color: #2C395F !important;
}
</style>

View File

@ -11,7 +11,7 @@
>
<template slot="title">
<div v-show="!show">培训文档</div>
<van-field v-model="keyword" placeholder="请输入关键词" v-show="show" @input="getList"/>
<van-field v-model="keyword" placeholder="请输入关键词" v-show="show" @input="getTrainingList"/>
</template>
<template slot="right">
<div class="rightWrap" @click="show = !show">
@ -21,25 +21,26 @@
</template>
</van-nav-bar>
</div>
<div class="tab_wrap">
<div v-for="(item, index) in tabArr" :key="index" :class="{'active' : activeIndex == index}"
@click="changeTab(index)">
{{ item.name }}
</div>
</div>
<div class="contentWrap" v-show="!showEmpty">
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" style="min-height:85vh">
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" @click="goH5Detail(item)">
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" @click="goH5Detail(item,'培训文档')">
<div class="info flexBetween common">
<div class="title">{{ item.pushUser }}</div>
<div class="time">{{ item.pushTime }}</div>
<div class="title">{{ item.name }}<span v-if="item.mustRead===1" class="read">必读</span></div>
<!-- <div class="time">{{ item.pushTime }}</div>-->
</div>
<div class="imgWrap">
<img :src="item.themePicture">
<div class="name">{{item.name}}</div>
</div>
<div class="num common">{{ item.synopsis }}</div>
<div class="doc flexBetween common">
<div class="left">{{ item.docType?.label }}</div>
<div class="right">
<span style="color: red;font-size: 14px;margin-right: 8px">{{ item.listShowButton==null ? '已处理' : '未处理' }}</span>
<span style="opacity: .9;color: #ccc">阅读 {{item.readCount}}</span>
</div>
<div class="info flexBetween common" >
<div class="time">{{ item.pushTime }}</div>
<span style="color: red;font-size: 14px;margin-right: 8px" :class="item.alreadyRead===1 ? 'alRead' : ''">{{ item.alreadyRead===1 ? '已处理' : '未处理' }}</span>
</div>
</div>
</van-pull-refresh>
@ -52,7 +53,7 @@
<script>
import {myMixins} from "@/utils/myMixins"
import {pageList} from "@/api/mine"
import {getTrainingList} from "@/api/mine"
export default {
name: "trainDocment",
computed: {
@ -60,35 +61,65 @@ export default {
mixins:[myMixins],
data(){
return{
tabArr: [{name: '车型技术参数', status: 1}, {name: '中道服务规范', status:2},{name: '中道小课堂', status: 3}],
activeIndex: 0,
pageNum:1,
pageSize:10,
pageList:[],
totalList:[],
keyword:'',
show:false,
showEmpty:false,
isLoading:false,
supplierId:'',
}
},
mounted() {
this.getList();
const urlParams = new URLSearchParams(window.location.search);
this.supplierId = urlParams.get('supplierId');
this.getTrainingList();
document.addEventListener('visibilitychange', async ( ) => {
let state = document.visibilityState
if (state == 'hidden') { // 用户离开了
}
if (state == 'visible') {
this.getTrainingList();
}
});
},
methods:{
onRefresh() {
this.getList()
this.getTrainingList()
setTimeout(() => {
this.$toast('刷新成功');
this.isLoading = false;
}, 1000);
},
async getList(){
let res= await pageList({
pageNum:this.pageNum,
pageSize:this.pageSize,
docType:1,
keyword:this.keyword || ''
async changeTab(index) {
this.activeIndex = index
await this.getTrainingList()
},
async getTrainingList(){
let res= await getTrainingList({
type:2,
id: this.supplierId,
text:this.keyword || '',
})
this.pageList=res.data;
if(res.data.length === 0){
this.totalList=[]
this.pageList=[]
this.totalList=res.data.list
let result=[]
if(this.activeIndex === 0){
result=this.totalList?.filter(q => q.title === '车型技术参数');
}else if(this.activeIndex === 1){
result=this.totalList?.filter(q => q.title === '中道服务规范');
}else if(this.activeIndex === 2){
result=this.totalList?.filter(q => q.title === '中道小课堂');
}
if(result){
this.pageList=result[0].materials
}
if(this.pageList?.length === 0){
this.showEmpty = true
}else {
this.showEmpty = false
@ -96,7 +127,7 @@ export default {
},
initShow(){
this.keyword= '',
this.getList()
this.getTrainingList()
}
}
}
@ -105,4 +136,14 @@ export default {
@import "@/styles/common.scss";
@import "@/styles/mixin.scss";
@import "@/styles/docment.scss";
.read{
padding: 2px 8px;
border-radius: 5px;
border: 1px solid red;
color: red;
font-size: 8px;
}
.alRead{
color: #cccccc !important;
}
</style>

View File

@ -16,13 +16,26 @@
<img class="startImg" src="@/assets/start.png" />
<span>身份证正面</span>
</div>
<!-- <van-image @click="handlePreview" @remove="handleRemove" style="width: 54px;height: 54px;" class="camerImg" v-if="identityCardFront" :src="identityCardFront" />-->
<!-- <el-upload-->
<!-- v-else-->
<!-- :action="baseURL + '/order/uploadImage'"-->
<!-- :headers='authorization'-->
<!-- accept=".png,.jpg,.jpeg,.zip,.rar,.xlsx,.xsavels,.pdf,.PDF,.doc,.docx"-->
<!-- :on-success="changeHandle"-->
<!-- :before-upload="checkImgType"-->
<!-- class="upload-demo"-->
<!-- :show-file-list="false"-->
<!-- >-->
<!-- <van-icon slot="default" name="plus" style="font-size: 54px" />-->
<!-- </el-upload>-->
<van-uploader
v-model="identityCardFrontList"
:after-read="identityCardFrontHandler"
:max-size="5 * 1024 * 1024"
max-count="1"
:preview-size="54"
accept="image "
v-model="identityCardFrontList"
:after-read="identityCardFrontHandler"
:max-count="1"
:preview-size="54"
:max-size="5 * 1024 * 1024"
accept="image/*"
/>
</div>
<div class="lineBot"></div>
@ -139,11 +152,15 @@ import {saveDriver, uploadImage, ocrHandler} from "@/api/mine"
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
import CellGroup from "@/components/cellGroup.vue"
import {formatDate1} from "@/utils/common"
// import {ImagePreview} from "vant";
export default {
name: "driverAdd",
mixins:[myMixins],
data(){
return{
// baseURL:'',
// licenseOcrInfo:'',
id:'',
driverName:"",
driverPhone:"",
@ -169,9 +186,22 @@ export default {
idCardAuthority:'',
idCardValidStartTime:'',
idCardValidEndTime:'',
}
// authorization:{Authorization: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzb25nIiwiYXVkIjpbInN1cHBsaWVyLWFwcCJdLCJuYmYiOjE3MjY4MDk4MTQsInVzZXJfaW5mbyI6eyJ1c2VySWQiOjU0NjU0LCJwaG9uZSI6IjE3NjMwMDM1NjU4IiwibmFtZSI6InNvbmciLCJzdXBwbGllck5hbWUiOiLkuIrmtbfmtYvor5XkvpvlupTllYYiLCJzdXBwbGllcklkIjozMzA0MSwic3VwcGxpZXJUeXBlIjoyLCJ1c2VybmFtZSI6InNvbmciLCJ1c2VyVHlwZSI6InJlc2N1ZUFwcCIsImRldmljZUlkIjoiMTkwZTM1ZjdlMTRhYzdjMDAwNyIsImF1dGhvcml0aWVzIjpbXX0sInNjb3BlIjpbImFsbCJdLCJpc3MiOiJodHRwczovL3Npbm9hc3Npc3QuY29tIiwiZXhwIjoxNzI2ODk2MjE0LCJpYXQiOjE3MjY4MDk4MTR9.5KTAMXZf8ll6HS4Z49YJQ1HiRvHr79Q1goDAGEtsBmY'},
// authorization:{Authorization:''},
}
},
mounted() {
/* if (window.location.href.includes('www.sinoassist.com')) {
this.baseURL = 'https://api.sinoassist.com'
} else if (window.location.href.includes('ccreview.sino-assist.com')) {
this.baseURL = 'https://api.sinoassist.com'
} else {
this.baseURL = 'https://api1.sino-assist.com'
// this.baseURL = 'http://localhost:8080'
}
let token=localStorage.getItem('token')
this.authorization.Authorization=token;*/
this.id = this.$route.params?.id;
this.driverName = this.$route.params?.name;
this.driverPhone = this.$route.params?.phone;
@ -215,6 +245,41 @@ export default {
isUse(e){
this.states=e
},
/* checkImgType(file) {
const FileExt = file.name.replace(/.+\./, "");
const isLt5M = file.size / 1024 / 1024 < 5;
const whiteList = ['png', 'jpeg', 'jpg'];
if (whiteList.indexOf(FileExt.toLowerCase()) === -1) {
this.$message.error("请上传正确的文件格式:" + whiteList.join('、'))
return false
}
if (!isLt5M) {
this.$message.error('上传图片大小不能超过 5MB!');
return false
}
},
handleRemove() {
this.identityCardFront = ''
},
handlePreview() {
ImagePreview({
images: this.identityCardFront,
startPosition: 1,
closeable: true,
});
},
async changeHandle(response) {
if (response.success === true) {
this.$toast('上传成功')
// this.form.identityCardFront = response.data;
// await this.ocrFrontHandler()
this.identityCardFront = response.data;
console.log("this.identityCardFront",this.identityCardFront)
await this.idCardOcrHandler();
} else {
this.$toast('上传失败')
}
},*/
async identityCardFrontHandler(file) { // 上传身份证正面照片
const formData = new FormData();
formData.append("file" , file.file);

Some files were not shown because too many files have changed in this diff Show More