This commit is contained in:
19173159168
2025-07-01 00:08:32 +08:00
parent fb8a5861f3
commit cf96688a4b
8 changed files with 17 additions and 17 deletions

View File

@ -229,11 +229,6 @@
</li>
</th:block>
<li role="presentation" id="tab_index">
<a data-toggle="tab" href="#index">
<i class="fa fa-area-chart"></i> <span>统计报表</span>
</a>
</li>
<li role="presentation" id="tab_demo" th:if="${demoEnabled}">
<a data-toggle="tab" href="#demo">

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增湖南行政区域')" />
<th:block th:include="include :: header('新增行政区域')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
@ -88,7 +88,7 @@
}
}
/*湖南行政区域-新增-选择父湖南行政区域树*/
/*行政区域-新增-选择父行政区域树*/
function selectAreaHnTree() {
var options = {
title: '行政区域选择',

View File

@ -92,12 +92,17 @@
createUrl: prefix + "/add/{id}",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove/{id}",
modalName: "湖南行政区域",
modalName: "行政区域",
// onClickRow: onClickRow,
columns: [{
field: 'selectItem',
radio: true
},
{
field: 'name',
title: '区域名称',
align: 'left'
},
{
field: 'areaCode',
title: '区域代码',
@ -150,9 +155,9 @@
align: 'left',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-info btn-xs ' + addFlag + '" href="javascript:void(0)" onclick="$.operate.add(\'' + row.id + '\')"><i class="fa fa-plus"></i>新增</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
actions.push('<a class="btn btn-success btn-xs ' + editFlag + ' btnOption" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-info btn-xs ' + addFlag + ' btnOption" href="javascript:void(0)" onclick="$.operate.add(\'' + row.id + '\')"><i class="fa fa-plus"></i>新增</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + ' btnOption" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改湖南行政区域')" />
<th:block th:include="include :: header('修改行政区域')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
@ -82,7 +82,7 @@
}
}
/*湖南行政区域-编辑-选择父湖南行政区域树*/
/*行政区域-编辑-选择父行政区域树*/
function selectAreaHnTree() {
var options = {
title: '行政区域选择',

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('湖南行政区域树选择')" />
<th:block th:include="include :: header('行政区域树选择')" />
<th:block th:include="include :: ztree-css" />
</head>
<style>

View File

@ -252,7 +252,7 @@
}
}
/*湖南行政区域-新增-选择父湖南行政区域树*/
/*行政区域-新增-选择父行政区域树*/
function selectAreaHnTree() {
var options = {
title: '行政区域选择',

View File

@ -217,7 +217,7 @@
$.modal.close(index);
}
/*湖南行政区域-新增-选择父湖南行政区域树*/
/*行政区域-新增-选择父行政区域树*/
function selectAreaHnTree() {
var options = {
title: '行政区域选择',