target.vue 57.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726
<template>
  <div>
    <div class="title">
      <div>目标列表</div>
      <van-row type="flex" style="margin-top: 15px" justify="space-around">
        <van-col span="24" class="header-text" style="display: flex">
          <!-- <van-datetime-picker v-model="currentData.departureDate" type="time" title="选择时间" /> -->
          <van-cell-group>
            <!-- <van-field v-model="currentData.departureDate" label="出发时间" placeholder="请输入出发时间" /> -->
            城市:
            <select name="pets" id="pet-select" class="city" v-model="city">
              <option v-for="item in cityOptions" :key="item.value" :value="item.value">{{ item.label }}</option>
            </select>
          </van-cell-group>
          <!-- 出发时间:<van-field v-model="currentData.departureDate" size="small" placeholder="请输入时间" /> -->
        </van-col>
      </van-row>
    </div>
    <div style="width: 100%; overflow-x: auto; margin-bottom: 50px">
      <Table-vant :option="option" :tableData="currentData" :showCheck="true" width="480px">
        <template v-slot:dateTime="{ item }">
          <input type="text" v-model="item.dateTime" style="width: 80%; height: 25px" />
        </template>
        <template v-slot:vehicleType="{ item }">
          <div>{{ item.vehicleType == 1 ? '电动汽车' : '电动车' }}</div>
        </template>
      </Table-vant>
    </div>
    <div class="fixed-bottom-right">
      <div style="display: flex; flex-direction: row-reverse; margin-top: 10px">
        <!-- <van-button round plain type="primary" @click="instantPlanning">即时规划</van-button> -->
        <van-button round plain type="primary" @click="nextStep">下一步</van-button>
      </div>
    </div>
  </div>
</template>

<script>
import TableVant from '@/components/Table.vue'
import { getPlan, getSession } from '@/api/user.js'
import { Toast } from 'vant'
import _ from 'lodash'
export default {
  components: { TableVant },
  data() {
    return {
      index: 0,
      date: '',
      cloneData: {},
      checkeData: [],
      city: '',
      currentData: [],
      departureData: [],
      cityOptions: [
        { label: '济南', value: '济南' },
        { label: '德州', value: '德州' },
        { label: '聊城', value: '聊城' }
      ],
      option: {
        column: [
          {
            label: '序号',
            tableDataprop: 'rowNo',
            align: 'center',
            width: '50px'
          },
          {
            label: '目标点',
            tableDataprop: 'hospital',
            width: '210px'
          },
          {
            label: '取样数',
            tableDataprop: 'pkgs',
            width: '50px',
            align: 'right'
          },
          {
            label: '取样时间',
            tableDataprop: 'dateTime',
            width: '80px'
          },
          {
            label: '使用工具',
            tableDataprop: 'vehicleType',
            width: '80px'
          }
        ]
      },
      TargetList: [
        {
          name: '',
          plate: '',
          departure: '',
          arrival: '',
          departureDate: '06:30',
          customerData: [
            {
              rowNo: '2',
              batch: '1',
              hospital: '济南西站对接点',
              address: '济南市槐荫区齐鲁大道6号',
              dateTime: '07:50',
              stopTime: 20,
              pkgs: 0,
              coordinate: '116.89177900,36.66887900',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '3',
              batch: '1',
              hospital: '济南和合医学检验有限公司',
              address: '槐荫区美里湖555号路海那城总部42号楼',
              dateTime: '08:55',
              stopTime: 15,
              pkgs: 0,
              coordinate: '116.91937000,36.72000800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: '09:00,10:00'
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东第一医科大学附属皮肤病医院',
              address: '济南市经十路27397号',
              dateTime: '09:30',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.92826100,36.65210900',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: '09:00,11:30'
            },
            {
              rowNo: '5',
              batch: '1',
              hospital: '山东禾力升医学检验实验室有限公司',
              address: '济南市市中区南辛庄西路丰润 怡邻居西门',
              dateTime: '10:00',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.96255900,36.63623600',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '6',
              batch: '1',
              hospital: '市中慢病第四人民医院青龙山分院',
              address: '山东省济南市市中区南辛庄西路272号',
              dateTime: '10:20',
              stopTime: 40,
              pkgs: 100,
              coordinate: '116.95988200,36.62819100',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '7',
              batch: '1',
              hospital: '山东省医学科学院放射医学研究所',
              address: '济南经十路89号9956',
              dateTime: '11:15',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.01788200,36.64911300',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '8',
              batch: '1',
              hospital: '山东省分析测试中心',
              address: '山东省济南市历下区科院路19号详情',
              dateTime: '11:40',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.04783900,36.64556100',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '9',
              batch: '1',
              hospital: '济南汇安健康管理有限公司历下门诊部',
              address: '济南市历下区文化西路15号',
              dateTime: '12:05',
              stopTime: 120,
              pkgs: 100,
              coordinate: '117.03081400,36.65417800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '10',
              batch: '1',
              hospital: '武警山东总队医院',
              address: '山东省济南市历下区浆水泉路12--8号',
              dateTime: '14:45',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.08718600,36.65631700',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '11',
              batch: '1',
              hospital: '济南样本室对接点',
              address: '济南市历下区颖秀路2755号',
              dateTime: '15:20',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.13394400,36.67904500',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '2',
              batch: '1',
              hospital: '山东大学齐鲁医院',
              address: '济南市文化西路107号',
              dateTime: '08:50',
              stopTime: 190,
              pkgs: 100,
              coordinate: '117.01839000,36.65659000',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '3',
              batch: '1',
              hospital: '山东省中医院(西院)',
              address: '山东省济南市文化西路42号',
              dateTime: '11:25',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.02325300,36.65510600',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: '09:00,12:00'
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市中医医院1',
              address: '山东省济南市槐荫区美里路555号海那城总部24号楼101单元401',
              dateTime: '12:05',
              stopTime: 30,
              pkgs: 100,
              coordinate: '116.91984000,36.72078200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '5',
              batch: '1',
              hospital: '济南丽合医疗美容医院有限公司',
              address: '山东省济南市历下区黑虎泉北路61号',
              dateTime: '13:15',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.03587900,36.67266400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '6',
              batch: '1',
              hospital: '山东省千佛山医院',
              address: '经十路山师东路',
              dateTime: '13:40',
              stopTime: 20,
              pkgs: 100,
              coordinate: '117.04485100,36.64754900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '7',
              batch: '1',
              hospital: '山东第一医科大学第一附属医院',
              address: '山东省济南市历下区经十路16766号',
              dateTime: '14:05',
              stopTime: 20,
              pkgs: 100,
              coordinate: '117.04244800,36.64765800',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '8',
              batch: '1',
              hospital: '济南长途汽车总站对接点',
              address: '济南市天桥区济洛路131号',
              dateTime: '17:25',
              stopTime: 15,
              pkgs: 0,
              coordinate: '116.99360600,36.68543900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '2',
              batch: '1',
              hospital: '山东省省立医院东院',
              address: '山东省济南市历下区经十路9677号',
              dateTime: '09:05',
              stopTime: 90,
              pkgs: 100,
              coordinate: '117.12129000,36.66338600',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '3',
              batch: '1',
              hospital: '山东省省立医院东院(特检)',
              address: '山东省济南市历下区经十路9667号',
              dateTime: '10:40',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.03401900,36.64879400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '新华卓越门诊部(济南)有限公司',
              address: '济南市历下区龙奥北路8-4号玉兰广场2号楼3层',
              dateTime: '11:20',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.12426800,36.65054700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市历下区姚家办事处仁合社区卫生服务站',
              address: '济南市历下区荆山路438-62号',
              dateTime: '11:55',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.07670700,36.64310600',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南迪安中心办事处',
              address: '济南市高新区颖秀路2755号',
              dateTime: '12:40',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.13394400,36.67904500',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南云康达安医学检验实验室有限公司',
              address: '济南市高新区颖秀路2766号迪亚产业园东楼二楼',
              dateTime: '13:40',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.13506400,36.67946300',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南爱新卓尔医学检验有限公司',
              address: '济南市历下区天辰路1318',
              dateTime: '13:55',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.13495300,36.68222100',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南高新区雅居园社区卫生服务站',
              address: '济南高新区雅居园小区北门商 用房1期2区1号楼1单元 2201.202.203室',
              dateTime: '14:15',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.12526800,36.67245200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省立医院',
              address: '济南市经五纬七路324号',
              dateTime: '08:25',
              stopTime: 210,
              pkgs: 100,
              coordinate: '116.98415700,36.65685700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市槐荫区西市场办事处纬十路社区卫生服务站',
              address: '济南市槐荫区经三纬十一路330号',
              dateTime: '12:05',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.97392000,36.65924000',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市天桥区纬北经纬嘉园社区卫生服务站',
              address: '经一路经纬嘉园住宅小区141-31号',
              dateTime: '16:30',
              stopTime: 20,
              pkgs: 100,
              coordinate: '120.08842500,30.87737500',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市槐荫区五里沟公祥街社区卫生服务站',
              address: '槐荫区纬五路39-7',
              dateTime: '16:55',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.98715800,36.66398400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东光正眼科医院有限公司',
              address: '济南市市中区经二路223号',
              dateTime: '17:15',
              stopTime: 50,
              pkgs: 100,
              coordinate: '116.99099400,36.66410100',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东光正眼科医院有限公司',
              address: '济南市市中区经二路223号',
              dateTime: '17:15',
              stopTime: 50,
              pkgs: 100,
              coordinate: '116.99099400,36.66410100',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省康复医院',
              address: '历城区唐冶新区围子山路3126号',
              dateTime: '10:40',
              stopTime: 50,
              pkgs: 100,
              coordinate: '117.24190100,36.68823600',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东水发生命科学研究有限公司',
              address: '山东省济南市高新区大正路1777号生命科学城13号楼一层',
              dateTime: '11:50',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.32744800,36.70332300',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '章丘慢性病防治所对接点',
              address: '济南市章丘区唐王山路1099号',
              dateTime: '12:40',
              stopTime: 15,
              pkgs: 0,
              coordinate: '117.53489000,36.69297100',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南万泉生物技术有限公司',
              address: '济南市高新区港兴三路北段一号济南药谷研发平台区1号楼A座1305',
              dateTime: '14:05',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.22268400,36.66921200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '健颐生物(药谷)',
              address: '济南市历城区港兴三路济南药谷1号楼A座25楼',
              dateTime: '14:25',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.22278300,36.66978200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东惠然生物科技有限公司',
              address: '高新区港兴三路北段1号济南市药谷研发平台区2号楼1801房间',
              dateTime: '14:45',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.22239900,36.66859400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东富优生命科学有限公司',
              address: '山东富优生命科学有限公司',
              dateTime: '15:05',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.22283000,36.67004000',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省齐鲁细胞治疗工程技术有限公司',
              address: '山东省济南市高新区港兴三路1109号',
              dateTime: '16:05',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.22257900,36.65528700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南高新开发区景琪综合门诊有限公司',
              address: '高新区舜华路街道街道华奥路77号东鲁凤凰上都6-104',
              dateTime: '16:35',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.15647200,36.65323700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市历下区龙洞办事处社区卫生服务中心',
              address: '历下区龙洞办事处锦屏家园龙锦生活广场10号楼02号铺',
              dateTime: '17:05',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.12264500,36.62768600',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南佰年颐堂中医医院有限公司',
              address: '山东省济南市历城区工业北路180号院内办公楼2号楼1层',
              dateTime: '14:55',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.26118400,36.63685400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东元辰生物医药科技集团有限公司',
              address: '华山街道丑父路135号华山片区安置区二区S3号楼商业区四层',
              dateTime: '15:20',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.06162300,36.68773700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东大学第二医院(检验科)',
              address: '山东大学第二医院(检验科)',
              dateTime: '15:50',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.04054100,36.69042100',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省立第三医院',
              address: '山东省济南市无影山中路12号',
              dateTime: '16:40',
              stopTime: 60,
              pkgs: 100,
              coordinate: '116.98967800,36.68406100',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '艾迪康',
              address: '济南市天桥区田家庄东路4号',
              dateTime: '20:45',
              stopTime: 5,
              pkgs: 100,
              coordinate: '116.97534100,36.69010900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '历城奇鲁诊所',
              address: '七里堡东路84号4号',
              dateTime: '10:55',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.07034900,36.69118200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省立第三医院(新城社区卫生服务中心)',
              address: '济南市天桥区新黄路2567号',
              dateTime: '11:25',
              stopTime: 5,
              pkgs: 100,
              coordinate: '117.01213500,36.70852500',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省立第三医院(药山站点)',
              address: '山东省济南市天桥区药山西路南端',
              dateTime: '11:50',
              stopTime: 5,
              pkgs: 100,
              coordinate: '116.96048900,36.71312700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省立第三医院(济南市天桥人民医院)',
              address: '济南市天桥区天桥街25号',
              dateTime: '12:40',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.96048900,36.71312700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市市中区七里山街道泉景天沅社区卫生服务站',
              address: '济南市市中区郎茂山路4号101号',
              dateTime: '13:15',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.98310000,36.62614400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省南山医院有限责任公司',
              address: '济南市市中区英雄山路134号',
              dateTime: '13:40',
              stopTime: 50,
              pkgs: 100,
              coordinate: '116.98310000,36.62614400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '山东省南山医院有限责任公司(艾迪康站点)',
              address: '济南市市中区英雄山路134号',
              dateTime: '12:30',
              stopTime: 5,
              pkgs: 100,
              coordinate: '117.00314900,36.62241000',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市历下区第二人民医院',
              address: '济南市历下区东关大街57号',
              dateTime: '14:55',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.04394500,36.67837900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南三株酵本草医院有限公司',
              address: '济南市历城区山大北路77-6号',
              dateTime: '15:20',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.06090000,36.67966900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市历城区妇幼保健计划生育服务中心(两癌)',
              address: '济南市历城区洪楼西路45号',
              dateTime: '15:35',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.06136300,36.68004900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '历城中医院',
              address: '济南市历城区洪家楼南路26号',
              dateTime: '15:55',
              stopTime: 40,
              pkgs: 100,
              coordinate: '117.06652000,36.68147900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南远大中医脑康医院有限公司',
              address: '济南市历城区二环东路3889号',
              dateTime: '16:40',
              stopTime: 15,
              pkgs: 100,
              coordinate: '117.07276600,36.67283300',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南伊美尔整形美容医院有限公司',
              address: '济南市解放路30-1号',
              dateTime: '17:05',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.06004900,36.66592800',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市中心医院(精准中心)',
              address: '山东省济南市历城区解放路105号',
              dateTime: '17:25',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.06652000,36.68147900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市中心医院(特检)',
              address: '济南市历下区解放路105号',
              dateTime: '17:40',
              stopTime: 20,
              pkgs: 100,
              coordinate: '117.04767000,36.66776700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市济阳区人民医院',
              address: '济阳县纬六路9号',
              dateTime: '09:10',
              stopTime: 80,
              pkgs: 100,
              coordinate: '116.98330600,36.66371900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市济阳区中医医院(病理)',
              address: '山东省济南市济阳区纬二路112号',
              dateTime: '10:40',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.19134000,36.97515700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市济阳区中医医院',
              address: '山东省济南市济阳区纬二路112号',
              dateTime: '11:15',
              stopTime: 120,
              pkgs: 100,
              coordinate: '117.19134000,36.97515700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市济阳区妇幼保健计划生育服务中心',
              address: '山东省济南市济阳区老城街16号',
              dateTime: '13:45',
              stopTime: 30,
              pkgs: 100,
              coordinate: '117.21862800,36.97423500',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济南市济阳区妇幼保健院计划生育服务中心(站点)',
              address: '济阳区济北街道开元大街166号',
              dateTime: '14:30',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.17039900,36.97523800',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济阳妇幼对接点',
              address: '济阳区济北街道开元大街166号',
              dateTime: '14:40',
              stopTime: 5,
              pkgs: 100,
              coordinate: '117.17039900,36.97523800',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '济阳妇儿医院',
              address: '济南市济 阳区德阳路与兴河街交叉口',
              dateTime: '15:20',
              stopTime: 10,
              pkgs: 100,
              coordinate: '117.12511900,36.93419300',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            }
          ]
        },
        {
          name: '',
          plate: '',
          departure: '',
          arrival: '',
          departureDate: '08:00',
          customerData: [
            {
              rowNo: '1',
              batch: '1',
              hospital: '德州交通医院',
              address: '德城区东风中路389号',
              dateTime: '09:15',
              stopTime: 20,
              pkgs: 2,
              coordinate: '116.31887300,37.44295900',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '2',
              batch: '1',
              hospital: '德州市人民医院',
              address: '德州市新湖大街1751号',
              dateTime: '09:47',
              stopTime: 100,
              pkgs: 41,
              coordinate: '116.30555600,37.45116400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '3',
              batch: '1',
              hospital: '德州市人民医院(特检)',
              address: '德州市新湖大街1751号',
              dateTime: '11:32',
              stopTime: 15,
              pkgs: 1,
              coordinate: '116.30555600,37.45116400',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '德州市立医院对接点',
              address: '德州市德城区三八中路1766号',
              dateTime: '11:55',
              stopTime: 20,
              pkgs: 100,
              coordinate: '116.29370300,37.45320200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '5',
              batch: '1',
              hospital: '德州市立医院',
              address: '山东省德州市德城区三八路1766号',
              dateTime: '12:55',
              stopTime: 90,
              pkgs: 2,
              coordinate: '116.29370300,37.45320200',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '6',
              batch: '1',
              hospital: '德棉医院',
              address: '德州市运河开发区纺织大街522号',
              dateTime: '14:37',
              stopTime: 20,
              pkgs: 100,
              coordinate: '116.27572300,37.45761700',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '7',
              batch: '1',
              hospital: '德州汽车站对接点',
              address: '德州市德城区东风路1667号',
              dateTime: '15:12',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.29082500,37.44405800',
              isOrigin: 'N',
              vehicleType: '2',
              timeInterval: ''
            },
            {
              rowNo: '8',
              batch: '1',
              hospital: '武城县妇幼保健计划生育服务中心(两癌)',
              address: '山东省德州市武城县振华西街1536号',
              dateTime: '09:50',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.06056800,37.21353300',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '9',
              batch: '1',
              hospital: '武城县老城镇仓上村卫生室',
              address: '武城县老城镇仓上村',
              dateTime: '10:30',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.94163900,37.11129600',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '10',
              batch: '1',
              hospital: '武城县老城镇新运社区卫生室',
              address: '武城县老城镇',
              dateTime: '10:45',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.89356900,37.14593200',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '11',
              batch: '1',
              hospital: '夏津县中医院',
              address: '夏津县经开区北外环路',
              dateTime: '11:30',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.39217300,37.49376100',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '12',
              batch: '1',
              hospital: '夏津三鹤血液透析有限公司',
              address: '山东省德州市夏津县银城街道西关街142号',
              dateTime: '12:25',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.01219400,36.95977800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '13',
              batch: '1',
              hospital: '夏津慎安血液透析中心有限公司',
              address: '山东省德州市夏津县银城街道西关南街132号',
              dateTime: '12:45',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.99462000,36.95193800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '14',
              batch: '1',
              hospital: '临清市老赵庄镇卫生院',
              address: '老赵庄镇老赵庄村199号',
              dateTime: '13:25',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.86014600,36.83849000',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '15',
              batch: '1',
              hospital: '李娅诊所',
              address: '临清市黑庄民族小区',
              dateTime: '13:55',
              stopTime: 15,
              pkgs: 100,
              coordinate: '115.73074700,36.84652300',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '16',
              batch: '1',
              hospital: '临西县第二人民医院',
              address: '河北省邢台市临西县河西镇顺河街7号',
              dateTime: '14:25',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.68843100,36.85466500',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '17',
              batch: '1',
              hospital: '聊城市第二人民医院(特检)',
              address: '聊城市临清市先锋街道办事处健康街306号',
              dateTime: '14:45',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.70215500,36.85302700',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '18',
              batch: '1',
              hospital: '百康诊所',
              address: '临清市观澜国际B3西4户',
              dateTime: '15:09',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.71547000,36.81913800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '19',
              batch: '1',
              hospital: '聊城市第二人民医院(新院)',
              address: '临清市315省道和新华路交汇处',
              dateTime: '15:32',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.59475300,36.75968600',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '20',
              batch: '1',
              hospital: '夏津联络处对接点',
              address: '德州市夏津县泉林小区',
              dateTime: '15:52',
              stopTime: 15,
              pkgs: 100,
              coordinate: '115.99405300,36.97021100',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            }
          ]
        },
        {
          name: '',
          plate: '',
          departure: '',
          arrival: '',
          departureDate: '08:00',
          customerData: [
            {
              rowNo: '1',
              batch: '1',
              hospital: '聊城市东昌府区侯营镇卫生院',
              address: '山东省聊城市东昌府区侯营镇侯营村',
              dateTime: '08:35',
              stopTime: 10,
              pkgs: 100,
              coordinate: '115.88725200,36.39946400',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '2',
              batch: '1',
              hospital: '聊城市东昌府区和光诊所',
              address: '山东省聊城市东昌府区柳园街道陈口路金柱大学城A区30幢s30-113号商铺',
              dateTime: '09:12',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.01666300,36.44393800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '3',
              batch: '1',
              hospital: '聊城市东昌府区韩集镇卫生院',
              address: '山东省聊城市东昌府区韩集镇政府',
              dateTime: '09:55',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.18228000,36.40897800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '4',
              batch: '1',
              hospital: '茌平万里行中医诊所',
              address: '聊城市茌平县建设路1416号',
              dateTime: '10:40',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.21077700,36.56289800',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '5',
              batch: '1',
              hospital: '聊城市茌平区人民医院',
              address: '聊城市茌平县文化路99号',
              dateTime: '11:00',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.24962100,36.57960700',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '6',
              batch: '1',
              hospital: '聊城市茌平区中医医院',
              address: '聊城市茌平区新政西路1163号',
              dateTime: '11:22',
              stopTime: 30,
              pkgs: 100,
              coordinate: '116.24271400,36.58568300',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '7',
              batch: '1',
              hospital: '茌平县和睦家妇科诊所',
              address: '茌平县三产院内',
              dateTime: '12:22',
              stopTime: 5,
              pkgs: 100,
              coordinate: '116.23697900,36.58427100',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '8',
              batch: '1',
              hospital: '聊城市茌平区温陈街道社区卫生服务中心',
              address: '聊城市茌平区温陈街道',
              dateTime: '12:47',
              stopTime: 5,
              pkgs: 100,
              coordinate: '116.24984700,36.59027400',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '9',
              batch: '1',
              hospital: '聊城市茌平区胡屯镇卫生院',
              address: '聊城市茌平区新政西路1163号',
              dateTime: '13:12',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.24271400,36.58568300',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '10',
              batch: '1',
              hospital: '高唐县中医院',
              address: '高唐县东兴路16号',
              dateTime: '13:52',
              stopTime: 10,
              pkgs: 100,
              coordinate: '116.25357800,36.85772200',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '11',
              batch: '1',
              hospital: '高唐县人民医院',
              address: '山东省高唐县金城西路99号',
              dateTime: '14:17',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.22798600,36.86687600',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '12',
              batch: '1',
              hospital: '聊城市茌平区第二人民医院',
              address: '茌平县博平镇政府街',
              dateTime: '15:04',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.11760000,36.58789400',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '13',
              batch: '1',
              hospital: '聊城市茌平区洪官屯镇卫生院',
              address: '聊城市茌平区洪官屯镇政府驻地',
              dateTime: '15:47',
              stopTime: 15,
              pkgs: 100,
              coordinate: '116.06041900,36.39670700',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '14',
              batch: '1',
              hospital: '聊城汽车总站对接点',
              address: '聊城市东昌府区建设路与柳园北路交汇处西北角',
              dateTime: '16:22',
              stopTime: 8,
              pkgs: 100,
              coordinate: '115.98847500,36.47286500',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '15',
              batch: '1',
              hospital: '聊城市东昌府区妇幼保健院(两癌)',
              address: '山东省聊城市东昌府区振兴西路129号',
              dateTime: '16:40',
              stopTime: 50,
              pkgs: 100,
              coordinate: '115.95710000,36.46834600',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '16',
              batch: '1',
              hospital: '聊城联络处(回)',
              address: '山东省聊城市东昌府区',
              dateTime: '17:43',
              stopTime: 30,
              pkgs: 100,
              coordinate: '115.98849100,36.43464500',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            },
            {
              rowNo: '17',
              batch: '1',
              hospital: '聊城联络处对接点',
              address: '山东省聊城市东昌府区',
              dateTime: '18:18',
              stopTime: 20,
              pkgs: 100,
              coordinate: '115.98849100,36.43464500',
              isOrigin: 'N',
              vehicleType: '1',
              timeInterval: ''
            }
          ]
        }
      ]
    }
  },
  methods: {
    getSessionId() {
      this.$store.dispatch('setTarget', JSON.stringify(this.checkeData))
      let params = {
        client_id: 'dd48c515fcde43bea0b5bd0b8f77e119',
        grant_type: 'client_credentials',
        client_secret: 'c6602114c9ba488b877d0d84b0e5e700',
        scope: 'read'
      }
      getSession(params, {}).then(res => {
        this.accessToken = res.access_token
        // if (Array.isArray(this.targetData)) {
        //   this.initData([...this.departureData, ...this.targetData])
        // } else {
        //   location.reload()
        //   this.initData([...this.departureData, ...this.targetData])
        // }
        this.initData([...JSON.parse(this.$store.state.app.depart), ...this.checkeData])
      })
    },
    // 请求数据案例
    initData(list) {
      Toast.loading({
        duration: 0
      })
      console.log('123', list)
      let arr = _.cloneDeep(list)
      const data = {
        region: this.city,
        plate: '',
        departure: '',
        arrival: '',
        departureDate: '06:30',
        customerData: arr
      }
      const params = {
        method: 'GetRouteMatrix_test',
        format: 'json',
        sessionId: this.accessToken,
        sign: '203EF639BA15A6E001B59DB78AB81470B7893CAF',
        appKey: 'dd48c515fcde43bea0b5bd0b8f77e119',
        v: '1.0'
      }
      getPlan(data, params)
        .then(res => {
          Toast.clear()
          let newArr = JSON.parse(res).returnModel
          console.log('返回的数据', newArr)
          newArr.forEach(item => {
            item.data.forEach((e, index) => {
              e.distance = e.distance.toFixed(2)
              e.hospital = e.returnName
              e.status = '未去'
              e.coordinate = e.destination
              e.isOrigin = 'N'
              if (index == item.data.length - 1) {
                e.pkgs = 0
              } else {
                e.pkgs = 100
              }
              // e.distance.toFixed(2)
            })
            item.data.pop()
          })
          this.resultData = newArr
          console.log('aaaaa', this.resultData)

          let arrs = this.resultData
          arrs.forEach((item, index) => {
            item.rowNo = index + 1
          })
          this.$store.dispatch('setOrder', JSON.stringify(newArr))
          this.$router.push({ path: '/result' })
        })
        .catch(() => {})
    },
    getDate() {
      this.date = new Date()
    },
    // 即时规划
    instantPlanning() {
      if (!this.checkeData.length) {
        Toast('请至少选择一条数据')
        return
      }
      this.$store.dispatch('setTarget', JSON.stringify(this.checkeData))
      this.$router.push({ path: '/about1' })
    },
    nextStep() {
      if (!this.checkeData.length) {
        Toast('请至少选择一条数据')
        return
      }
      this.getSessionId()
    },
    // 下一个
    nextOrder() {
      console.log(this.orginData)
      if (this.index == this.orginData.length - 1) {
        Toast.fail('已经是最后一条')
        return
      }
      this.index++
      this.cloneData = _.cloneDeep(this.orginData[this.index])
      this.currentData = _.cloneDeep(this.orginData[this.index])
      if (this.index == 4) {
        this.currentData.customerData = this.currentData.customerData.filter(item => item.batch == 1)
      }
      this.currentData.customerData.shift()
      this.currentData.batch = '第一批'
      this.currentData.arrival = this.cloneData.customerData.findLast(element => element.batch == '1').hospital
      // this.currentData.departureDate = this.cloneData.customerData.findLast(element => element.batch == '1').dateTime
      this.currentData.customerData.forEach((item, index) => (item.rowNo = index + 1))
      this.$forceUpdate()
    },
    // 上一个
    lastOrder() {
      console.log(this.orginData)
      if (this.index == 0) {
        Toast.fail('已经是第一条')
        return
      }
      this.index--
      this.cloneData = _.cloneDeep(this.orginData[this.index])
      this.currentData = _.cloneDeep(this.orginData[this.index])
      if (this.index == 4) {
        this.currentData.customerData = this.currentData.customerData.filter(item => item.batch == 1)
      }
      this.currentData.customerData.shift()
      this.currentData.batch = '第一批'
      this.currentData.arrival = this.cloneData.customerData.findLast(element => element.batch == '1').hospital
      // this.currentData.departureDate = this.cloneData.customerData.findLast(element => element.batch == '1').dateTime
      this.currentData.customerData.forEach((item, index) => (item.rowNo = index + 1))
      this.$forceUpdate()
    },
    // 下一批
    nextCargo() {
      console.log(this.orginData[this.index].customerData)
      if (this.index == 4) {
        this.currentData.customerData = this.cloneData.customerData.filter(item => item.batch == 2)
        this.currentData.departure = this.cloneData.customerData.findLast(element => element.batch == '1').hospital
        this.currentData.departureDate = this.cloneData.customerData.findLast(element => element.batch == '1').dateTime
        this.currentData.customerData.forEach((item, index) => (item.rowNo = index + 1))
        this.currentData.batch = '第二批'
      }
      console.log(this.currentData.customerData)
    },
    // 上一批
    lastCargo() {
      if (this.index == 4) {
        this.currentData.customerData = this.cloneData.customerData.filter(item => item.batch == 1)
        this.currentData.arrival = this.cloneData.customerData.findLast(element => element.batch == '1').hospital
        this.currentData.departureDate = this.cloneData.customerData[0].dateTime
        this.currentData.customerData.forEach((item, index) => (item.rowNo = index + 1))
        this.currentData.batch = '第一批'
      }
    }
  },
  watch: {
    city: {
      handler: function (val) {
        switch (val) {
          case '济南':
            this.$store.dispatch('setCity', val)
            this.currentData = this.TargetList[0]?.customerData
            this.currentData.forEach((item, index) => (item.rowNo = index + 1))
            break
          case '德州':
            this.$store.dispatch('setCity', val)
            this.currentData = this.TargetList[1]?.customerData
            this.currentData.forEach((item, index) => (item.rowNo = index + 1))
            break
          case '聊城':
            this.$store.dispatch('setCity', val)
            this.currentData = this.TargetList[2]?.customerData
            this.currentData.forEach((item, index) => (item.rowNo = index + 1))
            break
        }
      },
      deep: true,
      immediate: true
    }
  },
  created() {
    this.$bus.$on('selecte', e => (this.checkeData = e))
    this.city = this.$store.state.app.city
    this.departureData = this.$route.query.departureData
    // this.orginData.forEach(item => item.customerData.forEach(item1 => (item1.status = '未去')))
    // this.cloneData = _.cloneDeep(this.orginData[this.index])
    // this.currentData = _.cloneDeep(this.orginData[this.index])
    // this.currentData.batch = '第一批'
    // this.currentData.customerData.shift()
    // console.log('cloneData', this.cloneData)
    // this.currentData.customerData.forEach((item, index) => (item.rowNo = index + 1))
    // console.log(this.currentData.customerData)
    // this.getDate()
  },
  destroyed() {
    // 取消对bus事件的监听
    // this.$bus.$off('selecte')
  }
}
</script>

<style lang="scss" scoped>
.title {
  padding: 10px;
}

.header-text {
  font-size: 36px;
  font-weight: 800;
}

.table-box {
  margin: 12px 0px;

  .th-row {
    height: 56px;
    line-height: 56px;
    background: #ebf1f7;
    padding: 0px 12px;
    font-size: 36px;
  }

  .tb-row {
    font-size: 48px;
    height: 56px;
    line-height: 56px;
    padding: 0px 12px;
  }
}

.fixed-bottom-right {
  // position: absolute;
  margin-top: 80px;
  bottom: 20px;
  right: 0px;
  width: 100%;
}
</style>