cript>
    <script th:src="@{/js/common.js}"></script>

    <script>
        layui.config({
            base: '/lib/layui/extend/'
        }).use(['form', 'layer', 'dtree'], function () {
            var $ = layui.jquery,
                form = layui.form,
                layer = layui.layer,
                dtree = layui.dtree;

            var deptDTree = dtree.render({
                elem: "#parentTree",
                url: "/dept/tree/root",
                dataStyle: "layuiStyle",
                met