Browse Source

行拖拽重命名reorder-row-js

RuoYi 3 years ago
parent
commit
b7c8258399

+ 0 - 0
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/reorder/bootstrap-table-reorder.js → ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/reorder-row/bootstrap-table-reorder.js


+ 0 - 0
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/reorder/jquery.tablednd.js → ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/reorder-row/jquery.tablednd.js


+ 1 - 1
ruoyi-admin/src/main/resources/templates/demo/table/reorderRows.html

@@ -15,7 +15,7 @@
 		</div>
 	</div>
     <div th:include="include :: footer"></div>
-    <th:block th:include="include :: bootstrap-table-reorder-js" />
+    <th:block th:include="include :: bootstrap-table-reorder-row-js" />
     <script th:inline="javascript">
         var prefix = ctx + "demo/table";
         var datas = [[${@dict.getType('sys_normal_disable')}]];

+ 4 - 4
ruoyi-admin/src/main/resources/templates/include.html

@@ -171,15 +171,15 @@
 </div>
 
 <!-- 表格行拖拽插件 -->
-<div th:fragment="bootstrap-table-reorder-js">
-	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder/bootstrap-table-reorder.min.js}"></script>
-	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder/jquery.tablednd.js}"></script>
+<div th:fragment="bootstrap-table-reorder-row-js">
+	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder-row/bootstrap-table-reorder.js}"></script>
+	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder-row/jquery.tablednd.js}"></script>
 </div>
 
 <!-- 表格列拖拽插件 -->
 <div th:fragment="bootstrap-table-reorder-columns-js">
 	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder-columns/jquery.dragtable.js}"></script>
-	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder.js?v=20210202}"></script>
+	<script th:src="@{/ajax/libs/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder.min.js?v=20210203}"></script>
 </div>
 
 <!-- 表格列宽拖动插件 -->

+ 1 - 1
ruoyi-generator/src/main/resources/templates/tool/gen/edit.html

@@ -257,7 +257,7 @@
 	</section>
     <th:block th:include="include :: footer" />
     <th:block th:include="include :: select2-js" />
-    <th:block th:include="include :: bootstrap-table-reorder-js" />
+    <th:block th:include="include :: bootstrap-table-reorder-row-js" />
     <script th:src="@{/js/jquery.tmpl.js}"></script>
     <th:block th:include="include :: jquery-cxselect-js" />
     <script th:inline="javascript">