atmosphereGl.vue 89.9 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 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795
<template>
	<div style="background-color:#f7f7f7;padding:10px 10px;">
		<div class="zhuti" v-if="addAct==false && bianshow==false && ggXin==false">
			<div style="height:58px;line-height:58px;">
				<div style="color:#0006"> <span>品牌策划</span> <span style="padding:0 5px;">></span> <span
						style="color:#000000e6">氛围方案管理</span></div>
			</div>
			<div>
				<!-- 搜索 -->
				<div class="formSearch">
					<div class="demo-input-suffix">
						<div style="width: 68px;height:36px;line-height:32px;">方案名称</div>
						<el-input placeholder="请输入" v-model="planName" style="width:168px;">
						</el-input>
					</div>
					<div>
						<el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询
						</el-button>
						<el-button @click="resetting" class="buttonHover"
							style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">重置
						</el-button>
					</div>
				</div>
				<div style="margin:20px 0;">
					<div style="display:flex;">
						<el-button icon="el-icon-circle-plus-outline" @click="create"
							style="background-color: #3F9B6A;color: #fff;">新增</el-button>
						<!-- <el-button style="background-color: #E24E5A;color: #fff;" icon="el-icon-delete"
							@click="handleDelete" class="DelBtnHover">删除</el-button> -->
						<!--  <el-button  style="background-color: #3F9B6A;color: #fff;" @click="duibi">效果对比</el-button>
                  <el-upload class="upload-demo" ref="upload"
                                    :limit="1"
                                    accept=".xlsx"
                                :action="uploadFileUrl"
                                    :on-success="daoru"
                                    :file-list="daoData"
                                     :auto-upload="true"
                                     :show-file-list="false">
                                    <el-button style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;margin:0 15px;"  class="buttonHover">导入</el-button>
                                  </el-upload> -->
						<el-button style="background-color: #3F9B6A;color: #fff;" @click="caogao">草稿箱</el-button>
						<!-- <el-button  style="background-color: #3F9B6A;color: #fff;" @click="daochu">审核流程导出</el-button> -->
						<!-- <el-button  style="background-color: #fff;color: #000;border: 1px solid #B1B1B1;"
                    icon="el-icon-folder-add" class="buttonHover" @click="xinFenlei">氛围分类管理</el-button> -->
					</div>
				</div>
				<!-- 分栏 -->
				<div class="fenlan">
					<!-- 搜索分类 -->
					<div class="souLei">
						<div
							style="line-height:42px;height:42px;background-color:#f2f3f5;border-bottom:1px solid #d7d7d7;padding-left:12px;color:#0009">
							标签分类
						</div>
						<div calss="souList">
							<div class="souTabs">
								<div style="padding: 5px 0 0 10px;color:#000000e6;line-height:40px;cursor: pointer;">
									<span @click="getFenAll">全部分类</span>
									<span style="font-size: 15px !important;color:#606266">
										<i class="el-icon-circle-plus" @click="xinFenlei()" style="padding: 5px;"></i>
									</span>
								</div>
								<el-tree :data="xianFenlei" :props="defaultProps" @node-click="handleNodeClick"
									:expand-on-click-node="false">
									<div class="custom-tree-node" slot-scope="{ node, data }">
										<span>{{ node.label }}</span>
										<span style="font-size: 15px !important;">
											<i class="el-icon-circle-plus" v-if="node.level!=2"
												@click="xinFenlei(node,data)" style="padding-right: 7px;"></i>
											<i class="el-icon-edit" @click="editFenlei(node, data)"
												style="padding-right: 7px;"></i>
											<i class="el-icon-delete-solid" @click="() => fenDelete(node, data)"></i>
										</span>
									</div>
								</el-tree>
							</div>
						</div>
					</div>
					<div class="tableList">

						<!-- 表格 -->
						<div>
							<el-table :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
								@selection-change="handleSelectionChange" tooltip-effect="dark"
								:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
								ref="mulTable">
								<!-- 	<el-table-column type="selection" min-width="80">
								</el-table-column> -->
								<el-table-column label="方案名称" min-width="300" prop="planName">
								</el-table-column>
								<el-table-column label="类型" prop="planType" min-width="80">
								</el-table-column>

								<el-table-column label="审批状态" min-width="150">
									<template slot-scope="scope">
										{{scope.row.state == ''?'待提交':scope.row.state == '1'?'待审批':scope.row.state == '2'?'部门领导审批':scope.row.state == '3'?'公司领导审批':scope.row.state == '4'?'其他审批':scope.row.state == '5'?'审核通过':'已驳回'}}
									</template>
								</el-table-column>
								<el-table-column label="创建时间" prop="createDate" min-width="250">
								</el-table-column>
								<!-- <el-table-column prop="auditReminderTime" label="审核提醒时间" width="200">

                      </el-table-column> -->
								<el-table-column label="操作" min-width="240" fixed="right">
									<template slot-scope="scope">
										<div class="tableBtn greens" @click="actBian(scope.row)"
											v-if="scope.row.state == ''">修改</div>
										<!-- <div class="tableBtn greens">发布</div> -->
										<div class="tableBtn greens" @click="handleEditForm(scope.row,1)">查看</div>
										<!-- <div class="tableBtn greens" @click="handleEditForm(scope.row,2)">执行情况</div> -->
										<div @click="OAshen(scope.row)" class="tableBtn greens"
											v-if="scope.row.state == ''">提交审核</div>
										<!-- <div class="tableBtn greens" v-if="scope.row.state ==''"  @click="peizhi(scope.row)">
                            审批流程选择
                          </div> -->
										<div class="tableBtn greens" @click="xiaoguo(scope.row)"
											v-if="scope.row.state == '5'">效果评估</div>
										<!-- <div class="tableBtn greens">策略调整</div> -->
										<div class="tableBtn greens" @click="koop(scope.row)">复制</div>
										<div class="tableBtn greens" @click="handleDelete(scope.row.id)">删除</div>
									</template>
								</el-table-column>
							</el-table>
							<div class="fenye">
								<div>
									<!-- <el-button @click="tableAll" class="buttonHover"
										style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">选择全部
									</el-button>
									<el-button @click="toggleSelection(tableData)" class="buttonHover"
										style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">反向选择
									</el-button> -->
								</div>
								<el-pagination class="pagination" :hide-on-single-page="flag" background small
									:current-page="currentPage" :page-sizes="[10, 20, 50, 100]" :page-size="pageSize"
									layout="prev,pager,next" :total="total" @size-change="handleSizeChange"
									@current-change="handleCurrentChange" />
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
		<el-dialog title="新增明细" :visible.sync="addMing" custom-class='dialog_css' style="padding: 0;" width="50%"
			append-to-body center :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false">
			<div style="padding: 15px;width:100%">
				<div style="">
					<div style="padding: 15px;">
						<el-form label-position="left" ref="ruleFormInfo" :model="mingFrom" label-width="140px"
							style="position: relative">
							<el-form-item label="明细项名称" class="grid-content bg-purple device-from" prop="planName">
								<el-input v-model="mingFrom.detailLtemName" placeholder="请输入" />
							</el-form-item>
							<el-form-item label="实际数量" class="grid-content bg-purple" prop=" planType">
								<el-input v-model="mingFrom.estimatedQuantity" placeholder="请输入" />
							</el-form-item>

							<el-form-item label="实际费用" class="grid-content bg-purple" prop="eventAddrs">
								<el-input v-model="mingFrom.estimatedCost" placeholder="请输入" />
							</el-form-item>
							<el-form-item label="备注" class="grid-content bg-purple device-from" prop="planName">
								<el-input v-model="mingFrom.notes" placeholder="请输入" />
							</el-form-item>
						</el-form>
					</div>
				</div>

			</div>
			<div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
				<el-button plain @click="addMing=false" style="background-color: #3F9B6A;color: #fff;">取消
				</el-button>
				<el-button plain @click="minSev" style="background-color: #3F9B6A;color: #fff;">确定
				</el-button>

			</div>
		</el-dialog>
		<!-- 氛围效果分析 -->
		<el-dialog :visible.sync="xiaoguoBox" custom-class='fenxi_css' style="padding: 0;" width="75%" center
			:close-on-click-modal="false" :close-on-press-escape="false">
			<div
				style="padding:15px;background-color:#F9F9F9;font-size:14px;border:1px solid #ECECEC;margin-bottom:20px">
				氛围效果分析
			</div>
			<div style="padding:0 20px;">
				<div style="font-size:14px;margin-bottom:10px;">成本分析</div>
				<div style="display:flex;padding:10px 0;justify-content: space-evenly">
					<div style="margin-right:40px;width:17%">
						<div style="color:#BBBBBB;font-size:10px;">吸引游客流量</div>
						<div style="font-size:14px;padding:10px 0"><span
								style="font-size:20px;font-weight:600;">{{fenxiData.expectedAttractTraffic}}</span>人
						</div>
						<div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">
							{{fenxiData.expectedAttractTrafficAnalyse}}%
						</div>
						<div style="height:5px;background-color:#FEC03D;"></div>
					</div>
					<div style="margin-right:40px;width:17%">
						<div style="color:#BBBBBB;font-size:10px;">参与人数</div>
						<div style="font-size:14px;padding:10px 0"><span
								style="font-size:20px;font-weight:600;">{{fenxiData.expectedParticipation}}</span>人
						</div>
						<div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">
							{{fenxiData.expectedParticipationAnalyse}}%
						</div>
						<div style="height:5px;background-color:#58A3F7;"></div>
					</div>
					<div style="margin-right:40px;width:17%">
						<div style="color:#BBBBBB;font-size:10px;">直接收益</div>
						<div style="font-size:14px;padding:10px 0"><span
								style="font-size:20px;font-weight:600;">{{fenxiData.expectedDirectBenefits?fenxiData.expectedDirectBenefits:'暂无'}}</span>
						</div>
						<div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">
							{{fenxiData.expectedDirectBenefitsAnalysis}}%
						</div>
						<div style="height:5px;background-color:#4BCED0;"></div>
					</div>
					<div style="margin-right:40px;width:17%">
						<div style="color:#BBBBBB;font-size:10px;">间接收益</div>
						<div style="font-size:14px;padding:10px 0"><span
								style="font-size:20px;font-weight:600;">{{fenxiData.expectedIndirectBenefits?fenxiData.expectedIndirectBenefits:'暂无'}}</span>
						</div>
						<div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">
							{{fenxiData.expectedIndirectBenefitsAnalysis}}%
						</div>
						<div style="height:5px;background-color:#3F9B6A;"></div>
					</div>
					<!-- <div style="margin-right:40px;width:17%">
						<div style="color:#BBBBBB;font-size:10px;">投入生产比</div>
						<div style="font-size:14px;padding:10px 0"><span
								style="font-size:20px;font-weight:600;">{{fenxiData.incomeAnalysis}}%</span></div>
						<div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">{{fenxiData.incomeAnalysis}}%</div>
						<div style="height:5px;background-color:#8167F5;"></div>
					</div> -->
				</div>
				<!-- <div style="font-size:14px;margin:10px 0;">效果分析</div> -->
				<!-- <div style="display:flex;padding:10px 0;">
                         <div style="margin-right:40px;width:17%">
                           <div style="color:#BBBBBB;font-size:10px;">吸引游客流量</div>
                           <div style="font-size:14px;padding:10px 0"><span style="font-size:20px;font-weight:600;">4289</span>人</div>
                           <div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">+45%</div>
                           <div style="height:5px;background-color:#FEC03D;"></div>
                         </div>
                         <div style="margin-right:40px;width:17%">
                           <div style="color:#BBBBBB;font-size:10px;">参与人数</div>
                           <div style="font-size:14px;padding:10px 0"><span style="font-size:20px;font-weight:600;">4289</span>人</div>
                           <div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">+45%</div>
                           <div style="height:5px;background-color:#58A3F7;"></div>
                         </div>
                         <div style="margin-right:40px;width:17%">
                           <div style="color:#BBBBBB;font-size:10px;">直接收益</div>
                           <div style="font-size:14px;padding:10px 0"><span style="font-size:20px;font-weight:600;">4289</span>人</div>
                           <div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">+45%</div>
                           <div style="height:5px;background-color:#4BCED0;"></div>
                         </div>
                         <div style="margin-right:40px;width:17%">
                           <div style="color:#BBBBBB;font-size:10px;">间接收益</div>
                           <div style="font-size:14px;padding:10px 0"><span style="font-size:20px;font-weight:600;">4289</span>人</div>
                           <div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">+45%</div>
                           <div style="height:5px;background-color:#3F9B6A;"></div>
                         </div>
                         <div style="margin-right:40px;width:17%">
                           <div style="color:#BBBBBB;font-size:10px;">投入生产比</div>
                           <div style="font-size:14px;padding:10px 0"><span style="font-size:20px;">4289</span>人</div>
                           <div style="color:#BBBBBB;font-size:10px;margin-bottom:10px">+45%</div>
                           <div style="height:5px;background-color:#8167F5;"></div>
                         </div>
                     </div> -->
			</div>
			<div style="padding:0 20px;margin-top:20px;">
				<div style="border:1px solid #EFEFEF;padding:20px 15px">
					<div style="display:flex">
						<!-- <div style="width:30%;margin-right:40px">
							<div>活动主题</div>
							<div style="margin-top:20px;">
								<div style="display:flex;justify-content: space-between;margin-bottom:10px;">
									<div style="font-size:14px;color:#BBBBBB">主题1</div>
									<div>300/100家</div>
								</div>
								<el-progress :text-inside="true" :stroke-width="15" :percentage="70"></el-progress>
								<div style="display:flex;justify-content: space-between;margin:10px 0;">
									<div style="font-size:14px;color:#BBBBBB">主题2</div>
									<div>300/100家</div>
								</div>
								<el-progress :text-inside="true" :stroke-width="15" :percentage="100"
									status="success"></el-progress>
								<div style="display:flex;justify-content: space-between;margin:10px 0;">
									<div style="font-size:14px;color:#BBBBBB">主题3</div>
									<div>300/100家</div>
								</div>
								<el-progress :text-inside="true" :stroke-width="15" :percentage="80"
									status="warning"></el-progress>
								<div style="display:flex;justify-content: space-between;margin:10px 0;">
									<div style="font-size:14px;color:#BBBBBB">主题4</div>
									<div>300/100家</div>
								</div>
								<el-progress :text-inside="true" :stroke-width="15" :percentage="50"
									status="exception"></el-progress>
							</div>
						</div> -->
						<!-- <div style="width:30%;margin-right:40px">
							<div>人群占比</div>
							<div style="height:250px;width:100%;" ref="shopL">
							</div>
						</div> -->
						<div style="width:100%;margin-right:40px">
							<div>氛围效果数据图表化展示</div>
							<div style="height:250px;width:100%;" ref="jiaoL">
							</div>
						</div>
					</div>
				</div>
				<!-- <div style="padding:55px 10px 10px 10px;background-color:#fff; position:relative">

					<el-tabs type="border-card">
						<el-tab-pane label="整体效果分析">
							<el-table :data="dataList"
								:header-cell-style="{fontSize: '12px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
								style="width: 100%">
								<el-table-column label="主题" width="auto" min-width="12%" align="center">
									<template slot-scope="scope">
										{{scope.$index + 1}}
									</template>
								</el-table-column>
								<el-table-column label="环比比较" width="auto" min-width="15%" align="center">
									<template slot-scope="scope">
										{{scope.$index + 1}}
									</template>
								</el-table-column>
								<el-table-column label="增长量" width="auto" min-width="15%" align="center">
									<template slot-scope="scope">
										{{scope.$index + 1}}
									</template>
								</el-table-column>
								<el-table-column label="增长率" prop="name" width="auto" min-width="15%">
									<template slot-scope="scope">
										{{scope.row.name}}
									</template>
								</el-table-column>
								<el-table-column label="投入总金额" prop="name" width="auto" min-width="15%">
									<template slot-scope="scope">
										{{scope.row.name}}
									</template>
								</el-table-column>
								<el-table-column label="投入产出比" prop="name" width="auto" min-width="15%">
									<template slot-scope="scope">
										{{scope.row.name}}
									</template>
								</el-table-column>
							</el-table>
						</el-tab-pane>
					</el-tabs>
				</div> -->

			</div>
		</el-dialog>
		<el-dialog :visible.sync="xinlei" custom-class='xiaoguo_css' style="padding: 0;" width="50%" center
			:close-on-click-modal="false" :close-on-press-escape="false" :show-close="false">
			<div
				style="padding:15px;background-color:#F9F9F9;font-size:14px;border:1px solid #ECECEC;margin-bottom:20px;display: flex;justify-content: space-between;">
				<div>{{editFen == 0 ?'新增':'编辑'}}</div>
			</div>
			<div style="padding:0 36px;">
				<el-form label-position="right" ref="fenFrom" :model="xinADD" :rules="rules" label-width="120px"
					style="position: relative">
					<el-form-item label="上级分类" class="grid-content bg-purple device-from" prop="parentId">
						<el-cascader v-model="xinADD.parentId" :options="cascaderList" @change="fenleiChange"
							:props="{ checkStrictly: true }" :show-all-levels="false" clearable ref="cascaderRef"
							style="width: 100%;"></el-cascader>
					</el-form-item>
					<el-form-item label="分类名称" class="grid-content bg-purple device-from" prop="classificationName">
						<el-input v-model="xinADD.classificationName" placeholder="请输入" />
					</el-form-item>
				</el-form>
			</div>

			<div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
				<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
					@click="fenqing">返回</el-button>
				<el-button plain @click="sevLei" style="background-color: #3F9B6A;color: #fff;">保存
				</el-button>
			</div>
		</el-dialog>
		<!-- 效果对比 -->
		<el-dialog :visible.sync="xiaoDui" custom-class='dialog_css' style="padding: 0;" width="60%" center
			:close-on-click-modal="false" :close-on-press-escape="false">
			<div style="padding: 0 50px;display:flex;justify-content: space-evenly;">
				<div style="width:30%">
					<div style="display: flex;">
						<div style="margin-right: 10px;padding: 10px 0;">
							<div>调整前方案</div>
							<div style="font-size: 22px;color: #3F9B6A;font-weight: 600;margin: 10px 0;">
								{{xiaoduiObj.biliOne}}
							</div>
							<div style="font-size: 16px;color: #3F9B6A;font-weight: 600;">投入产出比</div>
						</div>
						<el-progress type="circle" :percentage="xiaoduiObj.bilis" :show-text="false" :width="100">
						</el-progress>
					</div>
					<div style="padding:30px 0">计划任务(完成度)</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">直接收入</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiOne.expectedDirectBenefits)" status="success"
							:format="() => customFormat(duibiOne.expectedDirectBenefits)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">间接收入</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiOne.expectedIndirectBenefits)" status="success"
							:format="() => customFormat(duibiOne.expectedIndirectBenefits)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">人力</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiOne.internalLaborCostEstimation)" status="success"
							:format="() => customFormat(duibiOne.internalLaborCostEstimation)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">设备</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiOne.setCostEstimate)" status="success"
							:format="() => customFormat(duibiOne.setCostEstimate)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">宣传</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiOne.estimatedPromotionalExpenses)" status="success"
							:format="() => customFormat(duibiOne.estimatedPromotionalExpenses)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">其他</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiOne.otherNecessaryEstimates)" status="success"
							:format="() => customFormat(duibiOne.otherNecessaryEstimates)"></el-progress>
					</div>
				</div>
				<div style="width:30%">
					<div style="display: flex;">
						<div style="margin-right: 10px;padding: 10px 0;">
							<div>调整后方案</div>
							<div style="font-size: 22px;color: #3F9B6A;font-weight: 600;margin: 10px 0;">
								{{xiaoduiObj.biliTwo}}
							</div>
							<div style="font-size: 16px;color: #3F9B6A;font-weight: 600;">投入产出比</div>
						</div>
						<el-progress type="circle" :percentage="xiaoduiObj.biliT" :show-text="false" :width="100">
						</el-progress>
					</div>
					<div style="padding:30px 0">计划任务(完成度)</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">直接收入</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiTwo.expectedDirectBenefits)" status="success"
							:format="() => customFormat(duibiTwo.expectedDirectBenefits)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">间接收入</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiTwo.expectedIndirectBenefits)" status="success"
							:format="() => customFormat(duibiTwo.expectedIndirectBenefits)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">人力</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiTwo.internalLaborCostEstimation)" status="success"
							:format="() => customFormat(duibiTwo.internalLaborCostEstimation)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">设备</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiTwo.setCostEstimate)" status="success"
							:format="() => customFormat(duibiTwo.setCostEstimate)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">宣传</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiTwo.estimatedPromotionalExpenses)" status="success"
							:format="() => customFormat(duibiTwo.estimatedPromotionalExpenses)"></el-progress>
					</div>
					<div class="jindutiao">
						<div style="margin-right:10px;width:56px">其他</div>
						<!-- <el-progress :text-inside="true" :stroke-width="26" :format="format(xiaoduiObj.shou)" :percentage="xiaoduiObj.shouBi"></el-progress> -->
						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="24"
							:percentage="baifenbi(duibiTwo.otherNecessaryEstimates)" status="success"
							:format="() => customFormat(duibiTwo.otherNecessaryEstimates)"></el-progress>
					</div>
				</div>
			</div>
		</el-dialog>
		<!-- 复制 -->
		<el-dialog :visible.sync="copyShow" custom-class='xiaoguo_css' style="padding: 0;" width="50%" center
			:close-on-click-modal="false" :close-on-press-escape="false" :show-close="false">
			<div
				style="padding:15px;background-color:#F9F9F9;font-size:14px;border:1px solid #ECECEC;margin-bottom:20px;display: flex;justify-content: space-between;">
				<div>复制页</div>
			</div>
			<div style="padding:0 36px;">
				<el-form label-position="right" :model="copy" ref="copyfrom" :rules="copyRules" label-width="120px"
					style="position: relative">
					<el-form-item label="新方案名称" class="grid-content bg-purple device-from" prop="planName">
						<el-input v-model="copy.planName" placeholder="请输入" />
					</el-form-item>
				</el-form>
			</div>

			<div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
				<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
					@click="copyClose">返回</el-button>
				<el-button plain @click="copysev" style="background-color: #3F9B6A;color: #fff;">保存
				</el-button>
			</div>
		</el-dialog>
		<el-dialog title="草稿箱" :visible.sync="caogaoshow" custom-class="dialog_css_Xq" style="padding: 0;" width="70%"
			center :close-on-click-modal="false" :show-close="false">
			<div style="padding:20px;">
				<div style="margin-bottom: 20px;">
					<el-table :data="caoList.slice((caogaoPage - 1) * pageSize, caogaoPage * pageSize)"
						:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
						align="left">
						<el-table-column label="方案名称" min-width="300" prop="planName">
						</el-table-column>
						<el-table-column label="类型" prop="planType" min-width="80">
						</el-table-column>

						<el-table-column label="创建时间" prop="createDate" min-width="250">
						</el-table-column>
						<el-table-column label="操作" min-width="120" fixed="right">
							<template slot-scope="scope">
								<div @click="shiyong(scope.row)" class="tableBtn greens">使用</div>
								<!-- <div @click="actBian(scope.row)" class="tableBtn greens" v-if="scope.row.state == ''">修改</div> -->
								<div @click="handleDelete(scope.row.id)" class="tableBtn greens">删除</div>
							</template>
						</el-table-column>
					</el-table>
					<div class="fenye">
						<div>
							共{{caoList.length || 0}}条
						</div>
						<el-pagination :hide-on-single-page="flag" background :current-page="caogaoPage"
							layout="prev,pager,next" :total="caoList.length" @current-change="caogaoCurrentChange" />
					</div>
				</div>
				<div style="display: flex;justify-content: flex-end;">
					<el-button @click="caogaoshow=false" class="buttonHover"
						style="background-color: #fff;color: #000;border: 1px solid #dcdfe6;">返回</el-button>
				</div>
			</div>

		</el-dialog>

		<el-dialog :visible.sync="peiShow" custom-class='bian_css' style="padding: 0;" width="45%"
			:close-on-press-escape="false" center :close-on-click-modal="false" class="dialog_css_Xq"
			:show-close="false">
			<div style="padding:20px;">
				<div style="font-size: 14px;padding-bottom: 20px;color: #000;">审核流程配置</div>
				<el-form label-position="right" ref="jibenFrom" :model="peiForm" label-width="140px"
					style="position: relative">
					<el-form-item label="审核提醒时间" class="grid-content bg-purple device-from" prop="planName">
						<el-date-picker style="width:240px;margin-right:5px" v-model="peiForm.auditReminderTime"
							value-format="yyyy-MM-dd HH:mm:ss" type="datetime" prefix-icon="none">
						</el-date-picker>
					</el-form-item>
				</el-form>
				<div style="padding-top:20px;display:flex;justify-content: flex-end;">
					<el-button style="background-color: #3F9B6A;color: #fff" @click="peiCheck">确定</el-button>
					<el-button @click="peiShow = false"
						style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
						class="buttonHover">取消</el-button>

				</div>

			</div>

		</el-dialog>

		<!-- 详情活动方案 -->
		<div v-if="ggXin" style="background-color:#fff;">
			<div style="height:58px;line-height:58px;background-color:#fff;padding-left:20px;">
				<div style="color:#0006"> <span>品牌策划</span> <span style="padding:0 5px;">></span> <span
						style="color:#000000e6">活动方案详情</span></div>
			</div>
			<div ref="actXiang">
				<div style="width: 100%;">
					<div style="display: flex;padding:0px 20px 20px 20px; ">
						<div style="height: 80px;" v-if="secondData.coverPoster">
							<img :src="$baseURL+secondData.coverPoster" alt="" style="height: 80px;" />
						</div>
						<div
							style="display: flex;flex-direction: column;justify-content: space-around;padding: 0 10px;font-size: 14px;">
							<span style="margin-bottom: 10px;">{{text}}</span>
							<span>活动时间:{{tableData1[1].eventTheme}}至{{tableData1[1].planName}}</span>
							<span>活动地点:{{tableData1[0].planName}}</span>
						</div>
					</div>
				</div>
				<div style="width: 100%;background-color: #fff;">
					<el-tabs v-model="activeName" @tab-click="handleClick" style="padding-left:20px;">
						<el-tab-pane label="方案概况" name="first"></el-tab-pane>
						<el-tab-pane label="执行效果" name="second"></el-tab-pane>
						<!-- <el-tab-pane label="执行情况" name="five"></el-tab-pane> -->
					</el-tabs>
				</div>
				<div v-if="activeName=='first'" style="display: flex;">
					<div style="width: 100%;">
						<div style="width: 100%;">
							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">基本信息</div>
							<div style="padding: 10px 20px;">
								<el-table :data="tableData1"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#fff'}"
									style="width: 100%;margin: auto;">
									<el-table-column class-name="first-column-bg" label="方案编号" prop="name"
										min-width="15%">
									</el-table-column>
									<el-table-column :label="id" prop="eventTheme" min-width="35%">

									</el-table-column>
									<el-table-column class-name="first-column-bg" label="方案名称" prop="text"
										min-width="15%">

									</el-table-column>
									<el-table-column :label="text" prop="planName" min-width="35%">

									</el-table-column>
								</el-table>


							</div>
						</div>
						<div style="width: 100%;">
							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动明细信息</div>
							<div style="padding: 10px 20px;">
								<el-table :data="tableData2"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#fff'}"
									style="width: 100%;margin: auto;">
									<el-table-column label="序号" min-width="5%" align='center'>
										<template slot-scope="scope">
											<span style="">{{ scope.$index +1}}</span>
										</template>
									</el-table-column>
									<el-table-column label="明细项名称" prop="detailLtemName" min-width="28%">
									</el-table-column>
									<el-table-column label="预估数量" prop="estimatedQuantity" min-width="20%">

									</el-table-column>
									<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">

									</el-table-column>
									<el-table-column label="备注" prop="notes" min-width="20%">
									</el-table-column>
								</el-table>
							</div>
						</div>
						<div style="width: 100%;">
							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动成本信息</div>
							<div style="padding:10px 20px;">
								<el-table :data="tableData3"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#fff'}"
									style="width: 100%;margin: auto;">
									<el-table-column class-name="first-column-bg" label="内部人力成本预估(元)" prop="name"
										min-width="15%">
									</el-table-column>
									<el-table-column :label="internalLaborCostEstimation" prop="eventTheme"
										min-width="35%">

									</el-table-column>
									<el-table-column class-name="first-column-bg" label="外部人力成本预估(元)" prop="text"
										min-width="15%">

									</el-table-column>
									<el-table-column :label="externalLaborCostEstimation" prop="planName"
										min-width="35%">

									</el-table-column>
								</el-table>
							</div>
						</div>
						<div style="width: 100%;">
							<div style="font-size: 14px;padding:10px 20px 0px 20px;">预估效果</div>
							<div style="padding:10px 20px;">
								<el-table :data="tableData4"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#fff'}"
									style="width: 100%;margin: auto;">
									<el-table-column class-name="first-column-bg" label="预计吸引流量" prop="name"
										min-width="15%">
									</el-table-column>
									<el-table-column :label="expectedAttractTraffic" prop="eventTheme" min-width="35%">

									</el-table-column>
									<el-table-column class-name="first-column-bg" label="预计参与人数" prop="text"
										min-width="15%">

									</el-table-column>
									<el-table-column :label="expectedParticipation" prop="planName" min-width="35%">

									</el-table-column>
								</el-table>
								</el-table-column>
							</div>
						</div>
						<div style="width: 100%;">
							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">相关附件信息</div>
							<div style="padding:10px 20px;">
								<el-table :data="tableData6"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#fff'}"
									style="width: 100%;margin: auto;">
									<el-table-column label="序号" min-width="5%" align='center'>
										<template slot-scope="scope">
											<span style="">{{ scope.$index + 1 }}</span>
										</template>
									</el-table-column>
									<el-table-column label="附件名称" prop="attachmentName" min-width="75%">

									</el-table-column>
									<el-table-column label="操作" prop="text" min-width="20%">
										<template slot-scope="scope">
											<a class="tableBtn greens" :href="scope.row.attachmentUrl" target="_blank"
												download>下载</a>
										</template>
									</el-table-column>

								</el-table>
							</div>
						</div>
						<div style="width: 100%;">
							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">系统信息</div>
							<div style="padding:10px 20px;">
								<el-table :data="tableData5"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#fff'}"
									style="width: 100%;margin: auto;">
									<el-table-column class-name="first-column-bg" label="创建人" prop="name"
										min-width="15%">
									</el-table-column>
									<el-table-column :label="createUser" prop="eventTheme" min-width="35%">

									</el-table-column>
									<el-table-column class-name="first-column-bg" label="创建时间" prop="text"
										min-width="15%">

									</el-table-column>
									<el-table-column :label="createDate" prop="planName" min-width="35%">

									</el-table-column>
								</el-table>
							</div>
						</div>
					</div>
					<!-- <div style="width: 28%;">
									        <div style="padding: 10px;height: 500px;">
									          <div style="font-size: 14px;font-weight: 600;padding: 10px;">流程轨迹</div>
									          <el-steps style="height: 400px;padding: 10px;" direction="vertical" finish-status="process "
									            :active="0">
									            <el-step>
									              <template slot="title">
									                <div style="font-size: 14px;font-weight: 600;padding-bottom: 10px;">审核节点</div>
									                   </template>
									              <template slot="description">
									                <div class="custom-step-description">
									                  <div>
									                    当前处理人:王伟明
									                  </div>
									                </div>
									              </template>
									            </el-step>
									            <el-step  style="position: relative;">
									              <template slot="title">
									                <div style="font-size: 14px;font-weight: 600;padding-bottom: 10px;">品牌部门审批</div>
									                   </template>
									              <template slot="description">
									                <div class="custom-step-description">
									                  <div>
									                    操作:通过
									                    <span style="position: absolute;top: 0px;right: 0px;">2023-11-02 11:26:48</span>
									                  </div>
									                  <div>
									                    操作人:王伟明
									                  </div>
									                </div>
									              </template>
									            </el-step>
									            <el-step  style="position: relative;">
									              <template slot="title">
									                <div style="font-size: 14px;font-weight: 600;padding-bottom: 10px;">业务部门经理审核</div>
									                   </template>
									              <template slot="description">
									                <div class="custom-step-description">
									                  <div>
									                    操作:通过
									                    <span style="position: absolute;top: 0px;right: 0px;">2023-11-02 11:26:48</span>
									                  </div>
									                  <div>
									                    操作人:王伟明
									                  </div>
									                </div>
									              </template>
									            </el-step>
									            <el-step  style="position: relative;">
									              <template slot="title">
									                <div style="font-size: 14px;font-weight: 600;padding-bottom: 10px;">开始</div>
									                   </template>
									              <template slot="description">
									                <div class="custom-step-description">
									                  <div>
									                    操作:通过
									                    <span style="position: absolute;top: 0px;right: 0px;">2023-11-02 11:26:48</span>
									                  </div>
									                  <div>
									                    操作人:王伟明
									                  </div>
									                  <div>
									                    补充说明:发起流程事项审批
									                  </div>
									                </div>
									              </template>
									            </el-step>
									          </el-steps>
									        </div>
									      </div> -->
				</div>
				<div v-if="activeName=='second'">

					<div style="padding: 20px">
						<div style="border: solid 1px #E5E5E5;border-radius: 5px">
							<div style="border-bottom: 1px solid #E5E5E5;padding: 1px">
								<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
									基本信息
								</div>
							</div>
							<div style="padding: 20px 40px 20px 20px">
								<el-form label-position="top"  :model="zhixingList" ref="zhixingFormInfo" :rules="zhixingRules" 
									label-width="120px" style="position: relative">
									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="活动名称" class="grid-content bg-purple device-from"
												prop="planName">
												<el-input v-model="zhixingList.planName" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="8">
											<el-form-item label="实际举办地点" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.eventAddrs" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>

										<el-col :span="8">
											<el-form-item label="实际举办时间" class="grid-content bg-purple"
												prop="event_start_time" style="position: relative">
												<el-date-picker style="width: 100%;" v-model="zhixingList.planTime"
													value-format="yyyy-MM-dd HH:mm:ss" :disabled="!zhixingBian"
												@change="formTime" @blur="blur" clear-icon="none" type="datetimerange" range-separator="至"
													start-placeholder="开始日期" end-placeholder="结束日期" align="right">
												</el-date-picker>
											</el-form-item>
										</el-col>
									</el-row>

									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="活动主办方" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.sponsor" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="8">
											<el-form-item label="活动实际参与方" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.participants" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
									</el-row>
								</el-form>
							</div>
						</div>
					</div>
					<div style="padding: 0px 20px 20px 20px">
						<div style="border: solid 1px #E5E5E5;border-radius: 5px">
							<div style="border-bottom: 1px solid #E5E5E5;padding: 1px;display: flex">
								<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
									活动明细信息
								</div>
								<div style="color: #2d8a58;margin-top: 10px;font-size: 14px;" @click="tianMing">
									添加明细
								</div>
							</div>
							<!--          表格-->
							<div style="padding: 20px 20px 20px 20px">
								<el-table :data="tableDa"
									:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
									style="width: 100%">
									<el-table-column label="序号" width="auto" min-width="5%" align="center">
										<template slot-scope="scope">
											{{scope.$index +1}}
										</template>
									</el-table-column>
									<el-table-column label="明细项名称" prop="detailLtemName" width="auto" min-width="22%">

									</el-table-column>
									<el-table-column label="实际数量" prop="estimatedQuantity" width="auto" min-width="15%">

									</el-table-column>
									<el-table-column label="实际费用(元)" prop="estimatedCost" width="auto" min-width="15%">
									</el-table-column>
									<el-table-column prop="notes" label="备注" width="auto" min-width="15%">
									</el-table-column>
									<el-table-column label="操作" width="auto" min-width="18%" v-if="zhixingBian">
										<template slot-scope="scope">
											<div class="tableBtn greens" @click="MingDelete(scope.$index,scope.row)">删除
											</div>
										</template>
									</el-table-column>
								</el-table>

							</div>
						</div>
					</div>
					<div style="padding: 20px">
						<div style="border: solid 1px #E5E5E5;border-radius: 5px;padding-bottom: 20px;">
							<div style="border-bottom: 1px solid #E5E5E5;padding: 1px">
								<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
									实际花费成本
								</div>
							</div>
							<div style="padding: 20px 40px 0px 20px">
								<el-form label-position="top" ref="ruleFormInfo" :model="zhixingList"
									label-width="120px" style="position: relative">
									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="实际内部人力成本(元)"
												class="grid-content bg-purple device-from" prop="name">
												<el-input v-model="zhixingList.internalLaborCostEstimation"
													placeholder="请输入" :disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="8">
											<el-form-item label="实际外部人力成本(元)" class="grid-content bg-purple"
												prop="name">
												<el-input v-model="zhixingList.externalLaborCostEstimation"
													placeholder="请输入" :disabled="!zhixingBian" />
											</el-form-item>
										</el-col>

										<el-col :span="8">
											<el-form-item label="实际商品成本(元)" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.costEstimationGoods" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
									</el-row>

									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="实际设备成本(元)" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.setCostEstimate" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="8">
											<el-form-item label="实际宣传费用(元)" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.estimatedPromotionalExpenses"
													placeholder="请输入" :disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="8">
											<el-form-item label="实际其他成本(元)" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.otherNecessaryEstimates"
													placeholder="请输入" :disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
									</el-row>

									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="实际总成本(元)" prop="name" class="grid-content bg-purple">
												<el-input v-model="zhixingList.totalCostEstimation" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="16">
											<el-form-item label="备注" prop="name" class="grid-content bg-purple">
												<el-input v-model="zhixingList.notes" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
									</el-row>
								</el-form>
							</div>
						</div>
					</div>

					<div style="padding: 20px">
						<div style="border: solid 1px #E5E5E5;border-radius: 5px;padding-bottom: 20px;">
							<div style="border-bottom: 1px solid #E5E5E5;padding: 1px">
								<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
									活动执行效果
								</div>
							</div>
							<div style="padding: 20px 40px 0px 20px">
								<el-form label-position="top" ref="ruleFormInfo" :model="zhixingList"
									label-width="120px" style="position: relative">
									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="实际吸引流量" class="grid-content bg-purple device-from"
												prop="name">
												<el-input v-model="zhixingList.expectedAttractTraffic" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
										<el-col :span="8">
											<el-form-item label="实际参与人数" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.expectedParticipation" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>

										<el-col :span="8">
											<el-form-item label="实际直接收益(元)" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.expectedDirectBenefits" placeholder="请输入"
													:disabled="!zhixingBian" />
											</el-form-item>
										</el-col>
									</el-row>
									<el-row :gutter="20">
										<el-col :span="8">
											<el-form-item label="实际间接收益(元)" class="grid-content bg-purple" prop="name">
												<el-input v-model="zhixingList.expectedIndirectBenefits"
													placeholder="请输入" :disabled="!zhixingBian" />
											</el-form-item>
										</el-col>

									</el-row>
									<!-- <el-row :gutter="20">
									                <el-col :span="24">
									                  <el-form-item label="反馈内容" class="grid-content bg-purple" prop="name">
									                   <el-upload class="upload-demo" ref="upload"  :on-remove="handleRemove"
									                     :action="uploadFileUrl" :on-success="handleUploadSuccess" :file-list="fileData"
									                     :show-file-list="true" v-if="zhixingBian">
									                              <el-button style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;"  class="buttonHover" v-if="fileData.length==0">+点击上传</el-button>
									                   </el-upload>
									                   <div v-else>{{zhixingList.feedbackContent}}</div>
									                  </el-form-item>
									                </el-col>
									
									              </el-row> -->
								</el-form>
							</div>
						</div>
						<div v-if="activeName=='five'">
							<div style="width: 100%;padding:20px;">
								<wangEditor v-model="zhixingqingk" ref="editor"></wangEditor>
							</div>

						</div>
					</div>

				</div>
			</div>
			<div style="padding: 0px 20px 20px 20px;display:flex;justify-content: flex-end;">
				<el-button @click="refreshData" style="background-color: #3F9B6A;color: #fff">取消
				</el-button>
				<el-button @click="zhixingBian = true" style="background-color: #3F9B6A;color: #fff;"
					v-if="zhixingBian==false&& activeName=='second'">编辑</el-button>
				<el-button @click="bianji" style="background-color: #3F9B6A;color: #fff"
					v-if="zhixingBian && activeName=='second'">保存
				</el-button>
				<el-button @click="downloadPdf" style="background-color: #3F9B6A;color: #fff"
					v-if="activeName=='first'">下载
				</el-button>
				<el-button @click="fivebian" style="background-color: #3F9B6A;color: #fff" v-if="activeName=='five'">保存
				</el-button>
			</div>


		</div>
		<addAct v-if="addAct" @childClose='childClose' :fenleiName="cascaderList"></addAct>
		<atmbians v-if="bianshow" :showBian="atmbianMsg" @BianchildClose='BianchildClose'></atmbians>
	</div>
</template>

<script>
	import {
		deleteById,
		queryByPage,
		xiangByPage,
		fujiaTable,
		mingTable,
		danqueryById,
		xiangedit,
		fenEdit,
		actPage,
		actEdit,
		actAdd,
		MingAdd,
		MingDel,
		cereGet,
		cereAdd,
		cereEdit,
		cereDel,
		copy,
		excelQueryByPage,
		excelAdd,
		effectEvaluation
	} from '../../api/activityBz'
	import addAct from "./atmosphereBz"
	import atmbians from "./atmosphereBian"
	import * as echarts from 'echarts'
	import Vue from 'vue'
	import html2canvas from 'html2canvas'
	import jsPDF from 'jspdf'
	import wangEditor from "@/components/editor/index"
	import {
		uploadUrl
	} from '@/utils/request'
	export default {
		name: 'atmosphereGl',
		components: {
			addAct,
			atmbians,
			wangEditor
		},
		data() {
			return {
				addAct: false, //新增页
				atmbianMsg: {},
				bianshow: false, //编辑页
				fenxiData: {},
				planName: '',
				planFen: '',
				eventTheme: '',
				currentPage: 1,
				caogaoPage: 1,
				total: 0,
				flag: false,
				pageSize: 10,
				ggXin: false,
				radio: '1',
				shan: '',
				idX: 0,
				activeName: 'first',
				rules: {
					classificationName: [{
							required: true,
							message: '请输入分类名称',
							trigger: 'blur'
						},

					],
				},
				copyRules: {
					planName: [{
							required: true,
							message: '请输入新方案名称',
							trigger: 'blur'
						},

					],
				},
				fenlei: [],
				formInline: {
					merchantName: '', // 商家名称
					storeId: '', // 编码
					contacts: '', // 联系人
					businessEntity: '', //经营主体
					page: 1, // 当前页
					pageSize: 10 // 每页记录数
				},
				tableData: [],
				id: '',
				text: '123',
				tableData1: [{
					id: 0,
					name: '类型',
					planName: '',
					text: '活动地点',
					eventTheme: ''
				}, {
					id: 0,
					name: '活动开始时间',
					planName: '',
					text: '活动结束时间',
					eventTheme: ''
				}, {
					id: 0,
					name: '活动主题',
					planName: '',
					text: '活动主办方',
					eventTheme: ''
				}, {
					id: 0,
					name: '活动参与方',
					planName: '',
					text: '活动主要目的',
					eventTheme: ''
				}, {
					id: 0,
					name: '范围设置',
					planName: '',
					text: '状态',
					eventTheme: ''
				}],
				internalLaborCostEstimation: '',
				externalLaborCostEstimation: '',
				tableData3: [{
					id: 0,
					name: '商品成本预估(元)',
					planName: '',
					text: '设备成本预估(元)',
					eventTheme: ''
				}, {
					id: 0,
					name: '宣传费用预估(元)',
					planName: '',
					text: '其他必要成本预估(元)',
					eventTheme: ''
				}, {
					id: 0,
					name: '总成本预估(元)',
					planName: '',
					text: '备注',
					eventTheme: ''
				}],
				expectedAttractTraffic: '',
				expectedParticipation: '',
				tableData4: [{
					id: 0,
					name: '预计直接收益(元)',
					planName: '',
					text: '预计间接收益(元)',
					eventTheme: '-'
				}],
				createDate: '',
				createUser: '',
				tableData5: [{
					id: 0,
					name: '更新人',
					planName: '',
					text: '更新时间',
					eventTheme: '-'
				}],
				tableData2: [], //基本信息明细列表
				tableData6: [], //基本信息附件列表
				tableDa: [], //执行效果明细列表
				addMing: false, //执行效果添加明细
				zhixingBian: false, //判断是否编辑执行效果
				zhiXing: true, //判断是否是新增的执行效果
				mingFrom: {
					detailLtemName: '',
					estimatedQuantity: '',
					estimatedCost: '',
					notes: ''
				},
				zhixingList: {
					plan_Time: '',
					planName: '', //活动名称
					eventAddrs: '', //实际举办地点
					eventStartTime: 0, //实际开始时间
					eventEndTime: 0, //实际结束时间
					sponsor: '', //实际主办方
					participants: '', //实际参与方
					internalLaborCostEstimation: '', //内部人工成本
					externalLaborCostEstimation: '', //外部人工成本
					costEstimationGoods: '', //商品成本
					setCostEstimate: '', //设备成本
					estimatedPromotionalExpenses: '', //宣传费用预估
					otherNecessaryEstimates: '', //其他成本预估
					totalCostEstimation: '', //总成本预估
					notes: '', //备注
					expectedAttractTraffic: '', //吸引流量
					expectedParticipation: '', //参与人数
					expectedDirectBenefits: '', //直接收益
					expectedIndirectBenefits: '', //间接收益
					createDate: '', //创建时间
				}, //执行效果列表
				secondData: {},
				planTime: [],
				pageindex: {
					pageNumber: 1,
					pageSize: 10,
					dataOwnership: '2',
					isDraft: 0
				},
				multipleSelection: [], //选择的数据
				options: [],
				xinADD: {
					classificationName: '',
					classificationCode: '',
					parentId: '',
					classificationType: '1'
				},
				value: '',
				xiaoDui: false, //效果对比
				xiaoguoBox: false,
				chart: null, //饼图
				chart1: null, //漏斗图
				dataList: [],
				xinlei: false, //分类管理框
				fenleiDelId: null, //删除的分类ID
				fentcont: true, //分类管理控制
				submenuId: '',
				cascaderList: [],
				xiaoduiObj: {
					biliOne: '0%',
					bilis: 0,
					biliTwo: '0%',
					biliT: 0
				}, //效果对比数据
				defaultProps: {
					children: 'children',
					label: 'classificationName'
				},
				xianFenlei: [],
				copy: {
					planName: ''
				},
				copyShow: false,
				duibiOne: {},
				duibiTwo: {},
				uploadFileUrl: uploadUrl, // 请求地址
				daoData: [],
				fileData: [],
				caoList: [],
				caogaoshow: false,
				peiForm: {
					auditReminderTime: ''
				},
				peiShow: false,
				peiId: '',
				zhixingqingk: '',
				editFen: 0,
				zhixingRules:{
					planName: [{
						required: true,
						message: '请输入活动名称',
						trigger: 'blur'
					}],
				},
				numBerList:0

			}
		},
		watch: {
		      tableDa: {
		          handler(newVal, oldVal) {
								this.numBerList +=1
								
		          },
		          deep: true
		      },
		      zhixingList: {
		          handler(newVal, oldVal) {
								this.numBerList +=1
								
		          },
		          deep: true
		      }
		  },
		created() {
			this.getAll()

		},
		computed: {

		},
		methods: {
			getStatus(state) {
				switch (state) {
					case '':
						return '待提交';
					case '1':
						return '待审核';
					case '2':
						return '业务部审核';
					case '3':
						return '品牌审核';
					case '4':
						return '审核通过';
					case '5':
						return '审核不通过'
				}
			},
			//查询全数据
			async getAll() {
				const res = await queryByPage((this.pageindex))

				this.tableData = res.data.content
				this.total = res.data.content.length
				let page = {
					pageNumber: 1,
					pageSize: 10,
					classificationType: '1'
				}
				const fenleis = await cereGet(page)
				this.fenlei = fenleis.data
				this.xianFenlei = this.trsData(fenleis.data)
				this.cascaderList = this.transformData(fenleis.data)
			},
			transformData(data) {
				return data.map(item => ({
					value: item.cereClassification.id,
					label: item.cereClassification.classificationName,
					children: item.childClassifications.map(child => ({
						value: child.id,
						label: child.classificationName,
					})),
				}));
			},
			trsData(data) {
				return data.map(item => ({
					...item.cereClassification,
					children: item.childClassifications || []
				}));
			},
			async handleNodeClick(data) {

				let pageindex = {
					pageNumber: 1,
					pageSize: 10,
					dataOwnership: '2',
					classificationCode: data.id,
					isDraft: 0
				}
				const res = await queryByPage(pageindex)
				this.tableData = res.data.content
				this.total = res.data.content.length
			},
			async getFenAll() {
				this.pageindex = {
					pageNumber: 1,
					pageSize: 10,
					dataOwnership: '2',
					isDraft: 0
				}
				const res = await queryByPage(this.pageindex)
				this.tableData = res.data.content
				this.total = res.data.content.length
			},
			//删除记录按钮
			handleDelete(val) {
				const h = this.$createElement;
				this.$msgbox({
					title: '消息',
					message: h('p', null, [
						h('span', null, '是否删除 '),
					]),
					showCancelButton: true,
					showClose: false,
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					customClass: 'oe-dialog-btn',
					beforeClose: (action, instance, done) => {
						if (action === 'confirm') {
							deleteById({
								id: val
							}).then(res => {
								this.getAll()
								done();
							})
						} else {
							done();
						}
					}
				})


				// if (this.multipleSelection.length == 1) {} else {
				// 	this.$message({
				// 		message: '请选择一个文件删除',
				// 		customClass: 'custom-message',
				// 		offset: 100
				// 	})
				// }
			},
			//查询
			async onSubmit() {
				if (this.planName != '' && this.eventTheme == '') {
					const res = await danqueryById({
						planName: this.planName,
						dataOwnership: '2',
						pageNumber: 1,
						pageSize: 10,
						auditTime: 0,
						isDraft: 0
					})
					this.tableData = res.data.content
				} else if (this.planName == '' && this.eventTheme != '') {
					const res = await danqueryById({
						eventTheme: this.eventTheme,
						dataOwnership: '2',
						pageNumber: 1,
						pageSize: 10,
						auditTime: 0,
						isDraft: 0
					})
					this.tableData = res.data.content
				} else {
					const res = await danqueryById({
						planName: this.planName,
						eventTheme: this.eventTheme,
						dataOwnership: '2',
						pageNumber: 1,
						pageSize: 10,
						auditTime: 0,
						isDraft: 0
					})
					this.tableData = res.data.content
				}

			},
			//获取当前时间
			updateCurrentTime() {
				const now = new Date();
				const year = now.getFullYear();
				const month = (now.getMonth() + 1).toString().padStart(2, '0');
				const day = now.getDate().toString().padStart(2, '0');
				const hours = now.getHours().toString().padStart(2, '0');
				const minutes = now.getMinutes().toString().padStart(2, '0');
				const seconds = now.getSeconds().toString().padStart(2, '0');

				return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
			},
			formTime(data) {
				this.zhixingList.planTime = data
			},
			blur(){
				this.$forceUpdate()
			},
			//执行效果保存
			 bianji() {
				 if(this.numBerList>3){
				 					 
				 }else{
				 					this.$message({
				 						message: '请填写或修改数据',
				 						type: 'error',
				 						offset: 100
				 					})
				 					return false; 
				 }
				this.$refs.zhixingFormInfo.validate((valid) => {
						          if (valid) {
									  if (this.fileData.length != 0) {
									  	this.zhixingList.feedbackContent = this.fileData[0].url
									  }
									  if (this.zhiXing) {
									  	this.zhixingList.eventStartTime = this.zhixingList.planTime[0]
									  	this.zhixingList.eventEndTime = this.zhixingList.planTime[1]
									  	this.zhixingList.detailsId = this.secondData.id
									  	this.zhixingList.createDate = this.updateCurrentTime()
									  	 actAdd(this.zhixingList).then(()=>{
											 this.ggXin = false
											 this.getAll()
										 })
									  } else {
									  	let that = this
									  	Vue.delete(that.zhixingList, 'createDate')
									  	this.zhixingList.eventStartTime = this.zhixingList.planTime[0]
									  	this.zhixingList.eventEndTime = this.zhixingList.planTime[1]
									  	Vue.delete(that.zhixingList, 'planTime')
									  	this.zhixingList.updateDate = ''
									  	 actEdit(this.zhixingList).then(()=>{
											 this.ggXin = false
											 this.getAll()
										 })
									  }
									  
									
									  }else{
										this.$message({
											message: '请填写数据',
											type: 'error',
											offset: 100
										})
										return false;  
									  }
								})
				
			},
			//详情点击
			handleEditForm(item, val) {
				if (val == 2) {
					this.activeName = 'five'
				}
				this.fileData = []
				this.zhixingList = {
					planTime: [],
					planName: '', //活动名称
					eventAddrs: '', //实际举办地点
					eventStartTime: 0, //实际开始时间
					eventEndTime: 0, //实际结束时间
					sponsor: '', //实际主办方
					participants: '', //实际参与方
					internalLaborCostEstimation: '', //内部人工成本
					externalLaborCostEstimation: '', //外部人工成本
					costEstimationGoods: '', //商品成本
					setCostEstimate: '', //设备成本
					estimatedPromotionalExpenses: '', //宣传费用预估
					otherNecessaryEstimates: '', //其他成本预估
					totalCostEstimation: '', //总成本预估
					notes: '', //备注
					expectedAttractTraffic: '', //吸引流量
					expectedParticipation: '', //参与人数
					expectedDirectBenefits: '', //直接收益
					expectedIndirectBenefits: '', //间接收益
					createDate: '', //创建时间
				} //执行效果列表
				actPage({
					detailsId: item.id,
					pageNumber: 1,
					pageSize: 10,
				}).then(res => {
					console.log(res.data.content)
					if (res.data.content.length == 0) {
						this.zhiXing = true

					} else {
						mingTable({
							detailsId: res.data.content[0].id,
							pageNumber: 1,
							pageSize: 10,
						}).then(res => {
							this.tableDa = res.data.content
						})
						this.zhiXing = false
						this.zhixingList = res.data.content[0]
						if ((typeof this.zhixingList.eventStartTime) == 'object' || (typeof this.zhixingList
								.eventEndTime) == 'object') {
							this.zhixingList.planTime = []
						} else {
							console.log(typeof this.zhixingList.eventStartTime)
							this.zhixingList.planTime = [this.zhixingList.eventStartTime, this.zhixingList
								.eventEndTime
							]
						}
					}
				})
				this.idX = item.id
				this.planTime = [item.eventStartTime, item.eventEndTime]
				let that = this

				fujiaTable({
					detailsId: item.id,
					pageNumber: 1,
					pageSize: 10,
				}).then(res => {
					this.tableData6 = res.data.content
				})
				mingTable({
					detailsId: item.id,
					pageNumber: 1,
					pageSize: 10,
				}).then(res => {
					this.tableData2 = res.data.content
				})

				danqueryById({
					id: item.id,
					dataOwnership: '2',
					pageNumber: 1,
					pageSize: 10,
				}).then(res => {
					this.secondData = res.data.content[0]
					//基本信息
					that.id = res.data.content[0].id
					that.text = res.data.content[0].planName
					that.tableData1[0].eventTheme = res.data.content[0].planType
					that.tableData1[0].planName = res.data.content[0].eventAddrs
					that.tableData1[1].eventTheme = res.data.content[0].eventStartTime
					that.tableData1[1].planName = res.data.content[0].eventEndTime
					that.tableData1[2].eventTheme = res.data.content[0].eventTheme
					that.tableData1[2].planName = res.data.content[0].sponsor
					that.tableData1[3].eventTheme = res.data.content[0].participants
					that.tableData1[3].planName = res.data.content[0].mainPurpose
					that.tableData1[4].planName = this.getStatus(res.data.content[0].state)
					that.tableData1[4].eventTheme = res.data.content[0].rangeSetting
					//活动成本信息
					that.internalLaborCostEstimation = res.data.content[0].internalLaborCostEstimation
					that.externalLaborCostEstimation = res.data.content[0].externalLaborCostEstimation
					that.tableData3[0].eventTheme = res.data.content[0].costEstimationGoods
					that.tableData3[0].planName = res.data.content[0].setCostEstimate
					that.tableData3[1].eventTheme = res.data.content[0].estimatedPromotionalExpenses
					that.tableData3[1].planName = res.data.content[0].otherNecessaryEstimates
					that.tableData3[2].eventTheme = res.data.content[0].totalCostEstimation
					that.tableData3[2].planName = res.data.content[0].notes
					//预估效果
					that.expectedAttractTraffic = res.data.content[0].expectedAttractTraffic
					that.expectedParticipation = res.data.content[0].expectedParticipation
					that.tableData4[0].eventTheme = res.data.content[0].expectedDirectBenefits
					that.tableData4[0].planName = res.data.content[0].expectedIndirectBenefits
					//系统信息
					that.createUser = res.data.content[0].createUser
					that.createDate = res.data.content[0].createDate
					that.tableData5[0].planName = res.data.content[0].updateDate
					that.tableData5[0].eventTheme = res.data.content[0].updateUser


				}).catch(err => {
					console.log(err)

				})
				if (!item) {
					this.formItem = {}
				} else {
					this.formItem = item
				}
				this.numBerList = 0
				this.ggXin = true
			},
			removeEmptyValues(obj) {
				if (typeof obj !== 'object' || obj === null) {
					return obj;
				}

				const newObj = Array.isArray(obj) ? [] : {};

				for (const key in obj) {
					if (Object.prototype.hasOwnProperty.call(obj, key)) {
						const value = obj[key];
						if (value !== null && value !== undefined && value !== '' && !this.isEmptyObject(value)) {
							if (Array.isArray(newObj)) {
								newObj.push(this.removeEmptyValues(value));
							} else {
								newObj[key] = this.removeEmptyValues(value);
							}
						}
					}
				}

				return newObj;
			},
			isEmptyObject(obj) {
				return Object.keys(obj).length === 0 && obj.constructor === Object;
			},
			//新增方案
			create() {
				this.addAct = true
			},
			childClose(msg) {
				this.addAct = msg
				this.getAll()
			},
			//编辑页
			BianchildClose(msg) {
				this.bianshow = msg
				this.getAll()
			},
			//修改
			actBian(item) {

				this.atmbianMsg = item
				this.bianshow = true

			},
			handleCurrentChange(val) {
				this.currentPage = val
			},
			caogaoCurrentChange(val) {
				this.caogaoPage = val
			},
			handleSizeChange(val) {
				this.pageSize = val
			},
			closeFn() {
				this.ggXin = false
			},
			handleClick() {

			},
			refreshData() {
				// console.log('12123')
				this.tableDa = []
				this.activeName = 'first'
				this.zhixingBian = false
				this.ggXin = false
			},
			TabClick(tab, event) {
				console.log(tab, event)
				if (tab.index == '0') {
					this.getAll()
				} else {
					this.tableData = []
				}
			},
			//重置按钮
			resetting() {
				this.planName = ''
				this.eventTheme = ''
				this.getAll()
			},
			handleSelectionChange(val) {
				this.multipleSelection = val;
				console.log(val)
			},
			toggleSelection(rows) {
				if (rows) {
					rows.forEach(row => {
						this.$refs.mulTable.toggleRowSelection(row);
					});
				}
			},
			tableAll() {
				this.$refs.mulTable.clearSelection(); // 清除所有选项
				const allRows = this.$refs.mulTable.data; // 获取所有行数据
				allRows.forEach(row => {
					this.$refs.mulTable.toggleRowSelection(row, true); // 全选所有项
				});
			},
			minSev() {
				if (this.zhiXing) {
					this.tableDa.push(this.mingFrom)
				} else {
					this.mingFrom.detailsId = this.zhixingList.id
					MingAdd(this.mingFrom).then(res => {
						this.mingcha(this.zhixingList.id)
					})
				}
				this.mingFrom = {
					detailLtemName: '',
					estimatedQuantity: '',
					estimatedCost: '',
					notes: ''
				}
				this.addMing = false
			},
			// 查询执行明细
			mingcha(id) {
				mingTable({
					detailsId: id,
					pageNumber: 1,
					pageSize: 10
				}).then(res => {
					this.tableDa = res.data.content
				})
			},
			MingDelete(index, item) {
				const h = this.$createElement;
				this.$msgbox({
					title: '消息',
					message: h('p', null, [
						h('span', null, '是否删除 '),
					]),
					showCancelButton: true,
					showClose: false,
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					customClass: 'oe-dialog-btn',
					beforeClose: (action, instance, done) => {
						if (action === 'confirm') {
							if (this.zhiXing) {
								this.tableDa.splice(item, 1);
							} else {
								MingDel({
									id: item.id
								}).then(res => {
									this.mingcha(this.zhixingList.id)
								})
							}
							done();
						} else {
							done();
						}
					}
				})
			},
			OAshen(item) {
				const h = this.$createElement;
				this.$msgbox({
					title: '消息',
					message: h('p', null, [
						h('span', null, '是否提交审核 '),
					]),
					showCancelButton: true,
					showClose: false,
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					customClass: 'oe-dialog-btn',
					beforeClose: (action, instance, done) => {
						if (action === 'confirm') {
							xiangedit({
								id: item.id,
								state: '1'
							}).then(res => {
								this.getAll()
							})
							done();
						} else {
							done();
						}
					}
				})

			},
			tianMing() {
				if (this.zhixingBian) {
					this.addMing = true
				}
			},
			xiaoguo(item) {
				effectEvaluation({
					id: item.id
				}).then(res => {
					this.fenxiData = res.data
					this.fenxiData.incomeAnalysis = Number(res.data.incomeAnalysis).toFixed(2)
					this.xiaoguoBox = true
					this.$nextTick(() => {
						this.jiaoLiu(this.$refs.jiaoL, this.fenxiData);
						// this.shopLiu(this.$refs.shopL);
						this.resizeChart = () => {
							try {
								// this.chart.resize();
								this.chart1.resize();
							} catch (error) {
								console.log(error);
							}
						};
						window.addEventListener('resize', this.resizeChart, false); // false代表事件句柄在冒泡阶段执行
					})
				})

			},
			shopLiu(Dom) {
				this.chart = echarts.init(Dom)
				let option = {
					tooltip: {
						trigger: 'item'
					},

					legend: {
						textStyle: {
							fontSize: 14
						},
						icon: 'circle',
						top: '40%',
						left: '65%'
					},
					color: ['#50B5FF', '#FFC542', '#8167F5', '#FF7474', '#58A3F7'],
					series: [{
						type: 'pie',
						radius: ['40%', '70%'],
						center: ['35%', '60%'],
						avoidLabelOverlap: false,
						padAngle: 5,
						itemStyle: {
							borderRadius: 10
						},
						label: {
							show: false,
							position: 'center',
							formatter: '{c}'
						},
						emphasis: {
							label: {
								show: true,
								fontSize: 16,
							}
						},
						labelLine: {
							show: false
						},
						data: [{
								value: 1048,
								name: '0-20'
							},
							{
								value: 735,
								name: '20-30'
							},
							{
								value: 580,
								name: '30-40'
							},
							{
								value: 484,
								name: '40-50'
							},
							{
								value: 300,
								name: '50-60'
							}
						]
					}]
				}
				this.chart.setOption(option)
			},
			jiaoLiu(Dom, list) {
				this.chart1 = echarts.init(Dom)
				let option = {
					tooltip: {
						trigger: 'item',
						formatter: '{b} : {c}%'
					},
					series: [{
						type: 'funnel',
						left: '12%',
						top: 60,
						bottom: 30,
						width: '80%',
						min: 0,
						max: 100,
						minSize: '45%',
						maxSize: '100%',
						sort: 'descending',
						gap: 2,
						label: {
							show: true,
							position: 'inside'
						},
						labelLine: {
							length: 10,
							lineStyle: {
								width: 1,
								type: 'solid'
							}
						},
						itemStyle: {
							borderColor: '#fff',
							borderWidth: 1
						},
						emphasis: {
							label: {
								fontSize: 20
							}
						},
						color: ['#50B5FF', '#5AD8A6', '#5D7092', '#F6BD16', '#f2d2f6'],
						data: [{
								value: list.expectedAttractTrafficAnalyse,
								name: '吸引游客流量'
							},
							{
								value: list.expectedParticipationAnalyse,
								name: '参与人数'
							},
							{
								value: list.expectedDirectBenefitsAnalysis,
								name: '直接收益'
							},
							{
								value: list.expectedIndirectBenefitsAnalysis,
								name: '间接收益'
							},
						]
					}]
				}
				this.chart1.setOption(option)
			},
			xinFenlei(node, data) {
				if (data) {
					this.xinADD.parentId = data.id
				}
				this.xinlei = true
			},
			editFenlei(node, data) {
				this.editFen = 1
				if (data) {
					this.xinADD.parentId = data.id
					this.xinADD.classificationName = data.classificationName
				}
				this.xinlei = true
			},
			sevLei() {
				this.$refs.fenFrom.validate((valid) => {
					if (valid) {
						if (this.editFen == 0) {
							this.xinADD.classificationCode = this.xinADD.classificationName

							cereAdd(this.xinADD).then(res => {
								this.xinlei = false
								this.xinADD = {
									classificationName: '',
									classificationCode: '',
									parentId: '',
									classificationType: '1'
								}
								this.$message({
									message: '保存成功',
									type: 'success',
									offset: 100
								})
								this.getAll()
							})
						} else {
							cereEdit({
								id: this.xinADD.parentId,
								classificationName: this.xinADD.classificationName
							}).then(res => {
								this.xinlei = false
								this.xinADD = {
									classificationName: '',
									classificationCode: '',
									parentId: '',
									classificationType: '1'
								}
								this.$message({
									message: '保存成功',
									type: 'success',
									offset: 100
								})
								this.getAll()
							})
						}

					} else {
						this.$message({
							message: '请填写数据',
							type: 'error',
							offset: 100
						})
						return false;
					}

				})


			},
			fenDelete(node, data) {
				const h = this.$createElement;
				this.$msgbox({
					title: '消息',
					message: h('p', null, [
						h('span', null, '是否当前分类和子分类删除 '),
					]),
					showCancelButton: true,
					showClose: false,
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					customClass: 'oe-dialog-btn',
					beforeClose: (action, instance, done) => {
						if (action === 'confirm') {
							cereDel({
								id: data.id
							}).then(res => {
								this.xinlei = false
								this.getAll()
								done();
							})
						} else {
							done();
						}
					}
				})

			},
			fenqing() {
				this.xinADD = {
					classificationName: '',
					classificationCode: '',
					parentId: '',
					classificationType: '1'
				}
				this.xinlei = false
			},
			fenleiChange(value) {
				this.xinADD.parentId = value[value.length - 1]
				this.$refs.cascaderRef.dropDownVisible = false;
			},
			duibi() {
				if (this.multipleSelection.length == 1) {
					this.xiaoDui = true
					this.duibiOne = this.multipleSelection[0]
					console.log(this.multipleSelection[0])
					let that = this
					actPage({
						detailsId: this.multipleSelection[0].id,
						pageNumber: 1,
						pageSize: 10,
					}).then(res => {
						this.duibiTwo = res.data.content[0] === undefined ? {} : res.data.content[0];
						console.log(this.duibiTwo)
						if (res.data.content[0] === undefined || res.data.content[0].totalCostEstimation == '') {
							that.xiaoduiObj.biliTwo = '0%'
							that.xiaoduiObj.biliT = 0
						} else {
							that.xiaoduiObj.biliT = that.duibiTwo.internalLaborCostEstimation / that.duibiTwo
								.totalCostEstimation * 100
							that.xiaoduiObj.biliTwo =
								`${Math.round(that.duibiTwo.internalLaborCostEstimation  / that.duibiTwo.totalCostEstimation*100)}%`
						}

					})
					if (that.duibiOne.totalCostEstimation == '') {
						that.xiaoduiObj.biliOne = '0%'
						that.xiaoduiObj.bilis = 0
					} else {
						that.xiaoduiObj.bilis = that.duibiOne.internalLaborCostEstimation / that.duibiOne
							.totalCostEstimation * 100
						that.xiaoduiObj.biliOne =
							`${Math.round(that.duibiOne.internalLaborCostEstimation  / that.duibiOne.totalCostEstimation*100)}%`
					}


				} else {
					this.$message({
						message: '请选择一个文件对比',
						customClass: 'custom-message',
						offset: 100
					})
				}

			},

			koop(item) {
				this.copy.id = item.id
				this.copyShow = true
			},
			copyClose() {
				this.copyShow = false
				this.copy.planName = ''
			},
			copysev() {
				this.$refs.copyfrom.validate((valid) => {
					if (valid) {
						copy(this.copy).then(res => {
							this.copyShow = false
							this.getAll()
						})
					} else {
						this.$message({
							message: '请填写数据',
							type: 'error',
							offset: 100
						})
						return false;
					}
				})
			},
			customFormat(percentage) {
				let zong
				if (percentage == undefined || percentage === null || percentage == '') {
					percentage = 0
					zong = 10000
				}
				return `${percentage} / ${percentage==''?zong:parseInt(percentage) *10}`;
			},
			baifenbi(item) {

				let zong
				if (item == undefined || item === null || item == '') {
					item = 0
					zong = 10000
					return Math.round(item / (item * 10) * 100);
				} else {
					return Math.round(item / zong * 100);
				}

			},
			handleUploadSuccess(response, file, fileList) {
				const fileMsg = {
					name: file.name,
					url: file.response.data.url,
				}
				// 将文件地址存储在 uploadedFiles 数组中
				this.fileData.push(fileMsg);
			},
			handleRemove() {
				this.fileData = []
			},
			daoru(response, file, fileList) {
				this.daoData.push(file.raw)
				const formDate = new FormData()
				formDate.append('file', this.daoData[0])
				excelAdd(formDate).then(res => {
					this.getAll()
				})
			},
			caogao() {
				let pageindex = {
					pageNumber: 1,
					pageSize: 10,
					dataOwnership: '2',
					isDraft: 1
				}
				queryByPage(pageindex).then(res => {
					this.caoList = res.data.content
				})
				this.caogaoshow = true

			},
			shiyong(item) {

				const h = this.$createElement;
				this.$msgbox({
					title: '消息',
					message: h('p', null, [
						h('span', null, '是否使用 '),
					]),
					showCancelButton: true,
					showClose: false,
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					customClass: 'oe-dialog-btn',
					beforeClose: (action, instance, done) => {
						if (action === 'confirm') {
							xiangedit({
								id: item.id,
								draftStatus: 1,
								isDraft: 0
							}).then(res => {
								this.getAll()
								this.caogao()
								done();
							})
						} else {
							done();
						}
					}
				})


			},
			async daochu() {
				let res = await excelQueryByPage(this.pageindex)
				if (!res) {
					return
				}
				const blob = new Blob([res], {
					type: 'application/vnd.ms-excel'
				})
				const fileName = '审核流程.xls'
				if ('download' in document.createElement('a')) {
					// 非IE下载
					const elink = document.createElement('a')
					elink.download = fileName
					elink.style.display = 'none'
					elink.href = URL.createObjectURL(blob)
					document.body.appendChild(elink)
					elink.click()
					URL.revokeObjectURL(elink.href) // 释放URL 对象
					document.body.removeChild(elink)
				} else {
					// IE10+下载
					navigator.msSaveBlob(blob, fileName)
				}
				this.$message({
					message: '导出成功',
					type: 'success'
				})


			},
			// 下载
			async downloadPdf() {
				const content = this.$refs.actXiang;

				// 使用 html2canvas 将 div 渲染为画布
				const canvas = await html2canvas(content);

				// 获取画布的图像数据
				const imgData = canvas.toDataURL('image/png');

				// 创建一个新的 PDF 文档
				const pdf = new jsPDF('p', 'mm', 'a4');

				// 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例
				const imgWidth = 190; // 图像的宽度(mm)
				const imgHeight = (canvas.height * imgWidth) / canvas.width; // 保持图像的宽高比

				pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); // 10, 10 是图像在 PDF 中的位置(mm)

				// 保存 PDF 文件
				pdf.save('氛围方案.pdf');
			},
			peizhi(item) {
				this.peiForm = {
					auditTime: ''
				}
				this.peiShow = true
				this.peiId = item.id
			},
			async peiCheck() {
				if (this.peiForm.auditReminderTime == '') {
					this.$message({
						message: '请填写审核提醒时间',
					})
					return;
				}
				await xiangedit({
					id: this.peiId,
					auditReminderTime: this.peiForm.auditReminderTime
				})
				this.peiShow = false
				this.getAll()
			},
		}
	}
</script>

<style scoped>
	.custom-tree-node {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 14px;
		padding-right: 8px;
	}

	/deep/ .first-column-bg {
		background-color: #f4f4f5 !important;
	}

	.zhuti {
		padding: 0 20px 20px 20px;
		min-height: calc(100vh - 50px - 20px);
		background-color: #Fff;

	}


	.tableBtn {
		display: inline-block;
		margin-right: 10px;
	}

	.formSearch {
		display: flex;
		width: 100%;
		font-size: 14px;
		justify-content: space-between;
		padding-bottom: 10px;
		align-items: center;
	}


	.greens {
		color: #3F9B6A;
	}

	/deep/ .el-table__row {
		font-size: 14px;
		color: #000000e6;
	}

	.fenye {
		margin-top: 20px;
		display: flex;
		justify-content: space-between;
		position: relative;
	}

	/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
		background-color: #3F9B6A;
	}

	.el-row {
		margin-bottom: 20px;
	}

	:last-child {
		margin-bottom: 0;
	}

	.el-col {
		border-radius: 4px;
	}

	.bg-purple-dark {
		background: #99a9bf;
	}

	.bg-purple {
		/* background: #d3dce6; */
	}

	.bg-purple-light {
		background: #e5e9f2;
	}

	.grid-content {
		border-radius: 4px;
		min-height: 36px;
	}

	.row-bg {
		padding: 10px 0;
		background-color: #f9fafc;
	}

	/deep/ .bg-purple[data-v-0e3fe4ec] {
		background: #fff;
		height: 50px;
	}

	/deep/ .el-form--label-top .el-form-item__label {
		padding: 0;
	}


	.pagination {
		text-align: right;
		line-height: 20px;
	}

	/deep/ .el-pagination__total {
		margin-top: 4px;
	}

	/deep/ .dialog_css {
		margin-top: 11vh;
		margin-left: 25%;
		padding: 0px;

		.el-dialog__title {
			font-size: 14px;
		}
	}

	/deep/.el-dialog__body {
		padding: 0px;
	}

	/deep/ .el-dialog__header {
		background-color: #fff;
	}

	/deep/.el-dialog__title {
		color: #000;
	}

	.el-row {
		margin-bottom: 20px;

		&:last-child {
			margin-bottom: 0;
		}
	}

	/deep/ .avatar-uploader .el-upload {
		border: 1px dashed #d9d9d9;
		border-radius: 6px;
		cursor: pointer;
		position: relative;
		overflow: hidden;
	}

	.avatar-uploader .el-upload:hover {
		border-color: #409EFF;
	}

	.avatar-uploader-icon {
		font-size: 28px;
		color: #8c939d;
		width: 108px;
		height: 108px;
		line-height: 108px;
		/*text-align: center;*/
	}

	.avatar {
		width: 108px;
		height: 108px;
		display: block;
	}

	::v-deep .el-tabs__item.is-active {
		color: #389865;
		opacity: 1;
	}

	/deep/ .el-tabs__nav-wrap::after {
		background-color: #fff;
	}

	::v-deep .el-tabs__item:hover {
		color: #389865;
		cursor: pointer;
		opacity: 1;
	}

	/deep/ .el-tabs__active-bar {
		background-color: #389865;
	}

	/deep/ .el-table_2_column_13 {
		font-weight: 100;
	}

	::v-deep .el-input__inner:focus {
		border: #11be59 1px solid;
	}

	::v-deep .el-input__inner:hover {
		border: #11be59 1px solid;
	}

	::v-deep .el-input__inner {
		height: 32px;
		line-height: 32px;
	}

	::v-deep .el-select .el-input.is-focus .el-input__inner {
		border-color: #11be59
	}

	::v-deep .el-form-item__label {
		font-weight: 100;
		font-size: 14px;
		color: #000000e6;
	}

	/* 修改未进行步骤的描述文字颜色 */
	::v-deep .el-steps .el-step__description.is-wait {
		color: #999;
		/* 修改为你想要的颜色 */
	}

	/* 修改未进行步骤的图标颜色 */
	::v-deep .el-steps .el-step__icon.is-text.is-wait {
		color: #999;
		/* 修改为你想要的颜色 */
	}

	/* 修改未进行步骤的边框色 */
	::v-deep .el-steps .el-step__line.is-wait {
		border-color: #eee;
		/* 修改为你想要的颜色 */
	}

	::v-deep .el-steps .is-process .el-step__line {
		background-color: #3F9B6A;
		/* 修改线的颜色 */
	}

	::v-deep .el-steps .is-process .el-step__title {
		color: #fe7b6a;
		/* 修改进行中步骤的标题颜色 */
	}

	::v-deep .el-steps .is-process .el-step__icon {
		color: #fff;
		/* 修改进行中步骤的图标颜色 */
		background: #3F9B6A;
		/* 修改进行中步骤图标的边框颜色 */
		border: 0px;
	}

	::v-deep .el-step__icon-inner {
		line-height: 0
	}

	/* 线条长度 */
	::v-deep .el-step.is-vertical .el-step__line {
		top: 30px;
		height: 60px;
	}

	::v-deep .xiang_css {
		margin-top: 11vh !important;
		margin-left: 13%;
		height: 600px;
		overflow-y: auto;
	}

	.fenlan {
		display: flex;
	}

	.souLei {
		border: 1px solid #d7d7d7;
		background-color: #fff;
		width: 18%;
		margin-right: 20px;

	}

	::v-deep .el-menu {
		border-right: 0px;
	}

	::v-deep .el-menu-item {
		height: 36px;
		line-height: 36px;
	}

	::v-deep .el-submenu__title {
		height: 36px;
		line-height: 36px;
		font-weight: 600;
		border-radius: 4px;
		margin: 4px 0;
	}

	::v-deep .el-menu-item-group__title {
		padding: 0px
	}

	::v-deep .fudan {
		font-weight: 600;
		border-radius: 4px;
		padding-left: 29px !important;
		margin: 4px 0;
	}

	::v-deep .chinddan {
		margin: 5px 0;
	}
</style>
<style lang="scss" scoped>
	::v-deep .souTabs {
		padding: 0 15px 0 12px;

		.el-submenu {
			padding: 0px;
		}

		.el-menu-item:focus,
		.el-menu-item:hover {
			background-color: #3F9B6A !important;
		}

		.el-menu-item:hover {
			background-color: #3f9b6a1a !important;
			color: #000 !important;
		}

		::v-deep .el-menu-item.is-active {
			background-color: #3F9B6A !important;
		}

		.el-tabs--left .el-tabs__header.is-left {
			width: 100%;
			margin-right: 0px;
		}

		.el-tabs--left .el-tabs__item.is-left {
			text-align: center;
		}

		.el-tabs__item.is-active {
			background-color: #DEEBE2;
		}
	}

	::v-deep .tableList {
		width: 81%;

		.el-button:hover {
			border: none
		}
	}

	::v-deep .demo-input-suffix {
		display: flex;
		margin-right: 20px;

		.el-input__inner {
			height: 32px;
		}
	}

	::v-deep .buttonHover:hover {
		color: #3f9b6a !important;
		border-color: #c5e1d2 !important;
		background-color: #ecf5f0 !important;
		outline: none;
	}

	::v-deep .DelBtnHover:hover {
		color: #fff !important;
		border-color: rgb(226, 78, 90) !important;
		background-color: rgb(226, 78, 90) !important;
		outline: none;
	}

	::v-deep .el-input__icon {
		line-height: 25px;
	}

	::v-deep .el-input--mini .el-input__icon {
		line-height: 33px;
	}

	::v-deep .jindutiao {
		display: flex;
		align-items: center;
		margin-bottom: 15px;

		.el-progress-bar__outer {
			border-radius: 0px;
		}

		.el-progress-bar__inner {
			border-radius: 0px;
		}
	}
</style>