Commit c0901f32 authored by Maofei94's avatar Maofei94

style: 修改样式

parent aa5a829b
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1606814471866'); /* IE9 */
src: url('iconfont.ttf?t=1606814471866') format('truetype') /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
src: url('./iconfont.eot?t=1607328366790'); /* IE9 */
src: url('./iconfont.eot?t=1607328366790#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAfUAAsAAAAADnwAAAeGAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEAgqObIwHATYCJAMkCxQABCAFhG0HgQ8bOgxRlE9SjexHgbunCBQBGRZNc/m/Fv+WKbcsEw//rn3el2SGF9Dtqm1ZVgIeX4Wo0Fhg1TpV5zIFI/7lVD9roE6q47YzYFDXQpMrykuW11sri5cHsSJUAFvAOoWbtUtSS0Kq+LRIxfRcAicmNUnvHP4d0RNT9FRDOBMZ/n6pl3gNVPHsgO6UKt5VxaJtoz8dJw+ooq3ANh2QjWSLbjbBpYjZBdvhBEaHIo3rdy/v0FeY+oCWV1px6KfsSg0l9Ka2ZNNyGAeNPr1PZwD4Sn8+/oN59EmazDzSjZe3K7io5LIh0yva/fzTr/G84Oci4yxQeOOPUssnAEOltYzVxWNg0zpIi0rW4tquLlwaF+uyYfU7J6FoMMDoZT4CPyij55JWt6c/HtEy4Qz4d4WeSjqAQi0CZGoxIKjtAIm6ENCyNAI6FiugYdlg1wN2WHobOAnSPYC8TfDn81kxwHlaWfpbAhdn+BP+3YiAwECUCAoiCIkEEtZpJCgq4nIjg3BJGBFKNDBMf6+X8vlULFtrn03ZKqWA7WLuaLMzDoPmDXEExNdulEB872UpbLNHhmk4xPZn7/R3M/0ZhvJSe/O9d1U9V7Ns2bNPqAXMHeUxtsynYt7d6vi1W8XQ56vdWb4888h0pj97XeW7S5lEjGpL2vEOpgZtBMRWsF3LBa36VREVp9Sd2+rXaCN0vNQTjAwDekxtF3JMDlwjAPT6WBxECY0LQmqQLMiqw3FNxOycQWvVeoi0GjQ6MHqBOmJGRdYHcYqi+NNVBMId2KSTUq2ldRpD6xSqQH4Isr3LQNb7zdhHSuZBf+9Dyvd4lGXDLmF/o/2Yc6UrVrfWYuYfY2TLvB2O+qKVxvV7JSqL66hjmT1Ov8po4hV4V7IdK3/ZZBzXAEBjmBrCVpAIzMSQQ0Y5n2WVXYhi2gig44UaBFA/iIMho7go0cCxXsgBRrvaKYYYXWDPIYgEr3YAQKc9Ftc0BooqZAPesWu2Ye1qU0TGWa8cByRc6euVpbesXc3LFOzV5PL6q9cZ12s2tm7AIaY1mlZHVnPNdg9NMwWUzmZdh2GWKFzZ66CPZfO2JK0dULAgod6wZKlAtd6r8Q16AspzgrNraDHEmtFnKbaD9H6FA/3xA3Upzh/fKej37/8Fx/cf5E7pwvAthzmaxAUsm+Kn6J0jtngupC7gLJJxBw6SLeIMGthb7hc+OrFuK5wJOmbUg95ZV6K2hg0O3tL0V+G89Wcy/0C7dkmYbRa0U/RQgwvH5m78q2RrY6/isatDRnbsYK+ieP6ytZy9a4TPphY5dqSs7XGw7+oaST9qdl5A5/Y5VV2XPxrH6tokCo07+jqTuhqHZ/7f19A1dUQf7X+Vq+o+Hx3yJDd4LMji0O7//ZBxbQckk5GYvXd9e/mM0PaTetuDArJ/lpR8KCWK/s+VKskOpFLK1faIMGWkVZJjS8ZKK4dWklQpRVamZZiQrv9zo8ZxO5JjR6ixM7wzWEf8NO80znsyEDYPwjucJjo0DQLRg9mag3hl2uPZwRpYZfrgtPNPzg8Zgtn59tZVB/kH8V8rusoqQjy7nukIiiCNbHv2bJurRTgEsi2ubLcNPU2Sp1GLIgI9jafaf0ZxPFLOmzPs3bV029v3np5FzEXDwPL1deUDzXQCFeuS6bqegOwRyAQGZgQyw+YlxBZ0XheQcxhvv83Z7M47Z1t7fG7eCP8c/xEz8ArNHrfd7XE1080gc+QPyj97RGOQIkcR1NhID+bf930stXiZQvxFrMhVBH0JUpwGBwJz86sTowZXT6oZ/LJNxYRmKE2WNkNFm5eDayZVy19i1ubBtln2SVyAhYhDJCGbAeq5KwwWQdEbkDIqWFkJVflZAzeuO+Jo//Z++NifM4f6vh+vl1KiwZ3z38z4rJdb/lhVXHEp/P7b9o5Ej4edeD068adt61cHlZWVKiiTlVC1KphXuPTAuXbv7smeye69a3cOI5c7gi7WnMwgTk0NHAQH1tQO8qWsBQ6EWWtqwHAaAAB+u1qMroLSW/I4hKYva91BRtC/ZDcCF/6ntQOZBQAAiI7DkmA+5/lPx2IgyhG8fHhwycdA/N8kdf0DMg03+P1mpRohYlQDvVQVCH4orM0soz5oNLWpG3Q9R16rjodERY/g4NsrlE0YLQQ/EOFtf+Ma91orf4+MezE76Ryws94RuuDPshuTc+xW7xJ7dMb91pMdVkuUAad9EXbY9M1O1v3W5TL8j64A/pfd2PevbYEQLfboZuzscnI89PCaRe5xxZY7pgVV0nb5YdD6iioU3KKaXe4TrdNUsVkyNUr3WKEdYw23VnPvJZOWSnZHVsGiIFZbylD4JIVivZhMpLhmIqiEoWssxHmPf4VZ2olqAqnIsb1h7vtfISUocLZmSFX0E7IcPXNmJjFtgb6HVash19LZWVPmPHol5vS2SIm5Qy8qrDxh6vKFMkjwEmmPbG1hgiPJtjCZ31g+63EwMvc6RIocJZpoo4s+hhj1r/QVpSqjB4Fl1vMOu08DzUZbzUmkWKltaD/TftctvOL5dXCeSrQlr7jCEisfS10U4ydCUEjYAAAA') format('woff2'),
url('./iconfont.woff?t=1607328366790') format('woff'),
url('./iconfont.ttf?t=1607328366790') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('./iconfont.svg?t=1607328366790#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
......
This diff was suppressed by a .gitattributes entry.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="liulanqi" unicode="&#58939;" d="M510.3 831.7c-247.3 0-448-200.7-448-448s200.7-448 448-448 448 200.7 448 448-200.7 448-448 448z m-44.8-803.3c-177 22-313.6 172.5-313.6 355.3 0 27.8 3.6 54.2 9.4 80.2l214.6-214.6v-44.8c0-49.3 40.3-89.6 89.6-89.6v-86.5z m309.1 113.8c-11.6 36.3-44.8 62.3-85.1 62.3h-44.8V338.9c0 24.6-20.2 44.8-44.8 44.8H331.1v89.6h89.6c24.6 0 44.8 20.2 44.8 44.8v89.6h89.6c49.3 0 89.6 40.3 89.6 89.6v18.4c131.3-53.3 224-181.9 224-332 0-93.2-35.8-177.9-94.1-241.5z" horiz-adv-x="1024" />
<glyph glyph-name="liulanqi1" unicode="&#58947;" d="M1282.8333 728.060739C1243.921448 815.783071 1097.490006 812.247847 980.851974 794.010964 757.864633 962.97032 441.547362 917.280589 274.343427 691.928305a513.265854 513.265854 0 0 1-100.107809-277.405419c-91.647651-48.420387-204.79922-178.175321-166.618794-263.752138 22.918008-51.931231 81.919688-78.57951 174.250003-78.579511a634.901962 634.901962 0 0 1 90.940606 7.728733c165.862987-227.302753 482.667876-275.698759 707.630066-108.104731a512.144335 512.144335 0 0 1 198.26515 324.143527 55.490836 55.490836 0 0 1-38.082903 68.266406 54.75941 54.75941 0 0 1-67.534981-38.448615 55.954073 55.954073 0 0 1-1.974849-12.263572c-37.692809-218.306216-243.39412-364.396326-459.408536-326.313424a395.774492 395.774492 0 0 0-216.745841 115.857844 1991.59927 1991.59927 0 0 1 347.110297 122.757628 1968.144883 1968.144883 0 0 1 354.01008 202.726847 54.369317 54.369317 0 0 1 39.594516-7.704352 56.100358 56.100358 0 0 1 42.325172 65.218799v7.021688c96.499442 91.891459 133.290159 171.153634 104.837696 234.982724zM109.675102 193.583537a238.322902 238.322902 0 0 0 69.412307 93.988213c6.826641-35.596055 17.31041-70.387541 31.231881-103.8137a182.173782 182.173782 0 0 0-100.644188 9.825487z m585.872054 133.265778a1836.780812 1836.780812 0 0 0-369.979543-126.268471c-101.473137 196.899821-25.770568 439.635659 169.05688 542.157172 194.851829 102.521514 435.052057 26.038758 536.525194-170.861063 6.607213-12.824332 12.531762-26.014377 17.749266-39.496993a1842.461553 1842.461553 0 0 0-353.351797-205.530645z m436.661194 281.281976a562.149478 562.149478 0 0 1-52.784561 85.576817 230.935501 230.935501 0 0 0 100.668569-9.801106c4.876172-14.043375-11.117672-40.691655-47.908389-75.775711z" horiz-adv-x="1292" />
<glyph glyph-name="anzhuo1" unicode="&#58938;" d="M800 640c-9.28 0-16.224-2.336-23.168-4.64V640h-2.336c-9.28 72.16-57.92 134.976-125.12 172.224l32.448 46.528c0 4.672 2.304 9.312 2.304 13.984 0 13.952-9.28 23.264-23.168 23.264-6.944 0-13.888-4.64-18.56-11.648l-37.056-53.504a320.544 320.544 0 0 1-106.56 18.592c-37.12 0-74.176-6.976-106.624-18.592L355.104 884.352C350.464 891.36 343.488 896 336.544 896c-13.888 0-23.168-9.28-23.168-23.264 0-4.672 2.336-9.312 4.64-11.648l32.448-46.528C280.928 777.28 232.288 714.464 225.344 642.336h-4.64v-4.672c-6.976 2.336-13.92 4.672-23.2 4.672C158.144 642.336 128 612.064 128 572.48v-325.824c0-39.552 30.112-69.824 69.504-69.824 9.28 0 16.224 2.336 23.2 4.672v-76.8c0-25.6 20.832-46.56 46.336-46.56h46.336v-116.352c0-39.584 30.112-69.824 69.536-69.824 39.36 0 69.504 30.24 69.504 69.824v116.352h92.672v-116.352c0-39.584 30.144-69.824 69.536-69.824 39.36 0 69.504 30.24 69.504 69.824v116.352h46.368c25.472 0 46.336 20.96 46.336 46.56V179.2c6.944-2.336 13.888-4.64 23.168-4.64 39.392 0 69.504 30.24 69.504 69.792V570.176C869.504 609.76 839.392 640 800 640zM220.704 244.352c0-13.952-9.28-23.264-23.2-23.264-13.888 0-23.168 9.312-23.168 23.264V570.176c0 13.984 9.28 23.264 23.168 23.264 13.92 0 23.2-9.28 23.2-23.264v-325.824z m278.08 558.56c118.144 0 215.488-72.16 229.376-162.912H269.344c13.92 90.752 111.232 162.88 229.44 162.88zM406.08-58.24c0-13.952-9.28-23.232-23.168-23.232-13.92 0-23.2 9.28-23.2 23.264v116.352H406.08v-116.352z m231.712 0c0-13.952-9.28-23.232-23.168-23.232-13.92 0-23.168 9.28-23.168 23.264v116.352h46.336v-116.352z m92.704 162.944H267.04V593.44h463.456v-488.704z m92.672 139.616c0-13.952-9.28-23.264-23.168-23.264s-23.168 9.312-23.168 23.264V570.176c0 13.984 9.28 23.264 23.168 23.264s23.168-9.28 23.168-23.264v-325.824zM568.32 733.12c-13.92 0-23.2-9.28-23.2-23.264s9.28-23.264 23.2-23.264c13.888 0 23.168 9.28 23.168 23.264 0 13.952-9.28 23.264-23.168 23.264z m-139.04 0c-13.92 0-23.168-9.28-23.168-23.264s9.28-23.264 23.168-23.264 23.168 9.28 23.168 23.264c0 13.952-9.28 23.264-23.168 23.264z" horiz-adv-x="1024" />
<glyph glyph-name="xiaochengxu" unicode="&#58894;" d="M928 384a416 416 0 1 0-832 0 416 416 0 0 0 832 0z m64 0a480 480 0 1 1-960 0 480 480 0 0 1 960 0zM544.64 385.344a32 32 0 1 1-63.104 10.432l-21.632-131.072A74.24 74.24 0 1 0 398.72 350.08a32 32 0 0 1 10.432 63.168 138.24 138.24 0 1 1 113.92-158.976l21.632 131.072zM479.36 382.656a32 32 0 1 1 63.104-10.432l21.632 131.072A74.24 74.24 0 1 0 625.28 417.92a32 32 0 0 1-10.432-63.168 138.24 138.24 0 1 1-113.92 158.976L479.36 382.656z" horiz-adv-x="1024" />
<glyph glyph-name="city" unicode="&#59292;" d="M271 590m8 0l212 0q8 0 8-8l0-48q0-8-8-8l-212 0q-8 0-8 8l0 48q0 8 8 8ZM271 458m8 0l212 0q8 0 8-8l0-48q0-8-8-8l-212 0q-8 0-8 8l0 48q0 8 8 8ZM271 324m8 0l212 0q8 0 8-8l0-48q0-8-8-8l-212 0q-8 0-8 8l0 48q0 8 8 8ZM952 60h-52V511a66.08 66.08 0 0 1-66 66H644V703a66.08 66.08 0 0 1-66 66H192a66.08 66.08 0 0 1-66-66v-643H72a8 8 0 0 1-8-8v-52a8 8 0 0 1 8-8h880a8 8 0 0 1 8 8v52a8 8 0 0 1-8 8zM832 509v-448H644V509zM194 701h382v-640H194z" horiz-adv-x="1024" />
<glyph glyph-name="anzhuo" unicode="&#59015;" d="M790.485333 507.776v-340.394667a92.842667 92.842667 0 0 0-92.8-92.842666v-123.733334c0-34.090667-27.861333-61.909333-61.866666-61.909333-34.090667 0-61.909333 27.818667-61.909334 61.866667v123.776h-123.818666v-123.733334c0-34.090667-27.818667-61.909333-61.866667-61.909333-34.048 0-61.866667 27.818667-61.866667 61.866667v123.776l-6.656 0.256a92.842667 92.842667 0 0 0-86.186666 92.586666V507.776h556.970666z m92.842667 0c34.048 0 61.866667-27.861333 61.866667-61.866667v-247.594666c0-34.005333-27.818667-61.866667-61.866667-61.866667-34.048 0-61.866667 27.861333-61.866667 61.866667v247.594666c0 34.005333 27.818667 61.866667 61.866667 61.866667z m-742.656 0c34.048 0 61.866667-27.861333 61.866667-61.866667v-247.594666c0-34.005333-27.818667-61.866667-61.866667-61.866667-34.048 0-61.866667 27.861333-61.866667 61.866667v247.594666c0 34.005333 27.818667 61.866667 61.866667 61.866667zM639.018667 861.994667a30.933333 30.933333 0 0 0 55.381333-27.690667l-30.976-61.909333a278.314667 278.314667 0 0 0 125.354667-202.709334h1.706666v-30.976H235.221333v30.976a278.4 278.4 0 0 0 125.354667 202.709334l-30.976 61.909333a30.933333 30.933333 0 0 0 55.381333 27.733333l31.061334-62.208 8.106666 3.242667A278.016 278.016 0 0 0 512 817.237333c30.72 0 60.245333-4.992 87.893333-14.165333l8.106667-3.242667z m-219.733334-168.533334A30.976 30.976 0 1 1 419.072 631.466667a30.976 30.976 0 0 1 0.128 61.952z m185.642667 0h-0.128l-4.224-0.298666a30.933333 30.933333 0 0 1 4.266667-61.610667 30.976 30.976 0 0 1 0.085333 61.866667z" horiz-adv-x="1024" />
<glyph glyph-name="Customermanagement-fill" unicode="&#59260;" d="M617.216 725.333333c114.24 0 206.869333-92.608 206.869333-206.869333 0-72.533333-37.333333-136.32-93.802666-173.269333l168.746666-196.885334A64 64 0 0 0 850.432 42.666667l-101.888-0.021334c11.221333 19.413333 14.293333 42.496 8.746667 64L850.432 106.666667 634.24 358.890667l60.992 39.872a142.869333 142.869333 0 0 1-75.584 262.549333 251.264 251.264 0 0 1-55.424 57.173333A206.976 206.976 0 0 0 617.216 725.333333z m-61.162667-412.757333l140.8-164.266667A64 64 0 0 0 648.213333 42.666667H181.824a64 64 0 0 0-48.597333 105.642666l140.8 164.266667a248.384 248.384 0 0 1 141.013333-43.648c52.330667 0 100.906667 16.106667 141.013333 43.648zM415.04 725.333333c114.24 0 206.869333-92.608 206.869333-206.869333 0-114.24-92.629333-206.869333-206.869333-206.869333-114.261333 0-206.869333 92.629333-206.869333 206.869333C208.170667 632.725333 300.778667 725.333333 415.04 725.333333z" horiz-adv-x="1024" />
<glyph glyph-name="account-fill" unicode="&#59306;" d="M644.8 314.432l160.64-187.456A64 64 0 0 0 756.842667 21.333333H267.157333a64 64 0 0 0-48.597333 105.642667l160.661333 187.434667A254.805333 254.805333 0 0 1 512 277.333333c48.64 0 94.08 13.546667 132.8 37.098667zM512 746.666667c117.824 0 213.333333-95.509333 213.333333-213.333334s-95.509333-213.333333-213.333333-213.333333-213.333333 95.509333-213.333333 213.333333S394.176 746.666667 512 746.666667z" horiz-adv-x="1024" />
</font>
</defs></svg>
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
......@@ -27,6 +27,7 @@ const ManagementDataBase = () => {
const [logLoading, setLogLoading] = useState(false);
const [modalVisible, setModalVisible] = useState(false); // 弹窗
const [content, setContent] = useState(null);
const [modalTitle, setModalTitle] = useState('详细信息');
// 检查数据库表
useEffect(() => {
setCheckLoading(true);
......@@ -116,8 +117,9 @@ const ManagementDataBase = () => {
console.error(err);
});
};
const handleLog = text => {
const handleLog = (text, val) => {
console.log(text);
setModalTitle(val);
let arr = [];
arr.push(
text.split(/(\r\n)|(\n)/).map((item, index) => <p key={index}>{item}</p>),
......@@ -206,7 +208,7 @@ const ManagementDataBase = () => {
<Button
size="small"
onClick={() => {
handleLog(text);
handleLog(text, '版本日志');
}}
>
日志
......@@ -223,7 +225,7 @@ const ManagementDataBase = () => {
size="small"
type="primary"
onClick={() => {
handleLog(text);
handleLog(text, '详细信息');
}}
>
升级内容
......@@ -295,7 +297,7 @@ const ManagementDataBase = () => {
</PageContainer>
<Modal
title="详细信息"
title={modalTitle}
visible={modalVisible}
keyboard={false}
maskClosable
......
......@@ -10,8 +10,10 @@ import {
} from '@/services/mobileConfig/api';
import SiteConfig from './SiteConfig';
import MenuConfig from './menuconfig/MenuConfig';
import { appConnector } from '@/containers/App/store';
const { TabPane } = Tabs;
const MobileConfigPage = props => {
const { userMode } = props;
const [activeKey, setActiveKey] = useState('1'); // tabs活动页
const [miniTitle, setMiniTitle] = useState('');
const [flag, setFlag] = useState(1);
......@@ -22,7 +24,7 @@ const MobileConfigPage = props => {
useEffect(() => {
setLoading(true);
getMiniAppModuleTree({
userMode: 'admin',
userMode: userMode || 'super',
}).then(res => {
setLoading(false);
console.log(res, 'res');
......@@ -190,4 +192,4 @@ const MobileConfigPage = props => {
);
};
export default MobileConfigPage;
export default appConnector(MobileConfigPage);
......@@ -29,12 +29,14 @@ import {
dragMenu,
} from '@/services/mobileConfig/api';
import styles from './miniMenu.less';
import { appConnector } from '@/containers/App/store';
import AddForm from './AddForm';
import EditForm from './editForm';
import CheckList from './checkBox';
const MiniMenu = props => {
const { userMode } = props;
const [flag, setFlag] = useState(1); // 刷新标志
const [treeFlag, setTreeFlag] = useState(true);
const [treeData, setTreeData] = useState([]); // 树的数据
......@@ -54,6 +56,7 @@ const MiniMenu = props => {
const [submitLoading, setSubmitLoading] = useState(false);
const [addList, setAddList] = useState([]);
const [newTreeList, setNewTreeList] = useState([]);
// 获取菜单树
useEffect(() => {
updateTrees();
......@@ -87,7 +90,7 @@ const MiniMenu = props => {
// select: '',
// })
getMiniAppModuleTree({
userMode: 'super',
userMode: userMode || 'super',
})
.then(res => {
console.log(res, 'res');
......@@ -151,10 +154,10 @@ const MiniMenu = props => {
icon:
obj.menuType !== 'MiniAppMenuThree' &&
obj.menuType !== 'MiniAppMenu' ? (
<FolderFilled />
) : (
<FileOutlined />
),
<FolderFilled />
) : (
<FileOutlined />
),
menuType: obj.menuType,
children: hasChild ? obj.children.map(i => mapTree(i)) : [],
};
......@@ -627,4 +630,4 @@ const MiniMenu = props => {
);
};
export default MiniMenu;
export default appConnector(MiniMenu);
......@@ -38,7 +38,7 @@ import DelModal from './DelModal';
import EditModal from './EditModal';
import EditGroup from './EditGroup';
import userStyles from '../UserManage.less';
import '@/assets/font/omsfont/iconfont.css';
import iconStyles from '@/assets/font/omsfont/iconfont.css';
const { Search } = Input;
const placeholder = '请输入功能名称';
......@@ -63,7 +63,7 @@ const SiteManage = () => {
const [dataList, setdataList] = useState([]);
const [loading, setLoading] = useState(true);
const [btnLoading, setBtnLoading] = useState(false);
const [mulu, setMulu] = useState(true);
const [mulu, setMulu] = useState(true); // 展示目录
const [siteList, setSiteList] = useState([]);
const [disFlag, setDisFlag] = useState(false);
......@@ -188,6 +188,7 @@ const SiteManage = () => {
item.roleList.unshift(itemC);
});
}
console.log(iconStyles);
if (item.visibleTitle === '手持系统') {
item.icon = <span className="iconfont iconanzhuo1" />;
newArr[0] = item;
......
......@@ -24,6 +24,7 @@ import ListCard, {
} from '@/components/CheckGroup';
import styles from '@/pages/userCenter/siteManage/SiteManage.less';
import qs from 'qs';
import { appConnector } from '@/containers/App/store';
import classnames from 'classnames';
import AddModal from './AddModal';
import DelModal from './DelModal';
......@@ -32,7 +33,8 @@ import userStyles from '../UserManage.less';
const { Search } = Input;
const placeholder = '请输入人员姓名';
const SiteManage = () => {
const SiteManage = props => {
const { userMode } = props;
const [treeData, setTreeData] = useState([]); // 树结构数据
const [currentStation, setCurrentStation] = useState({}); // 当前选中站点
const [searchWord, setSearchWord] = useState(''); // 关键字
......@@ -51,7 +53,7 @@ const SiteManage = () => {
useEffect(() => {
setSpinLoading(true);
getWebModuleTree({
userMode: 'super',
userMode: userMode || 'super',
select: '',
_version: 9999,
_dc: Date.now(),
......@@ -393,4 +395,4 @@ const SiteManage = () => {
);
};
export default SiteManage;
export default appConnector(SiteManage);
......@@ -62,6 +62,7 @@
align-items: center;
}
.listItem{
height: 35px !important;
padding-left: 5px;
cursor: pointer;
font-size: 14px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment