修改html

This commit is contained in:
liuwu 2024-02-21 11:20:31 +08:00
parent f83959de93
commit 0f0ce60ef9
10 changed files with 145 additions and 52 deletions

View File

@ -22,6 +22,16 @@ public class TAmentPartyAffairs extends BaseEntity
private Long id;
private String start;
private String year;
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
private String end;
public String getStart() {

View File

@ -28,6 +28,16 @@ public class TAmentTrade extends BaseEntity
private String tradeType;
private String year;
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
public String getTradeType() {
return tradeType;
}

View File

@ -35,11 +35,12 @@
<input type="hidden" id="zhiwu" name="zhiwu">
<li>
<label>年份:</label>
<select name="year" id="year">
<option>2023</option>
<option selected>2024</option>
<option>2025</option>
</select>
<input type="text" readonly name="year" id="year" placeholder="yyyy">
<!-- <select name="year" id="year">-->
<!-- <option>2023</option>-->
<!-- <option selected>2024</option>-->
<!-- <option>2025</option>-->
<!-- </select>-->
</li>
<li>
<label>简写:</label>
@ -89,6 +90,16 @@
var editFlag = [[${@permission.hasPermi('base:affairs:edit')}]];
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
var prefix = ctx + "base/affairs";
var year = new Date().getFullYear();
$('#year').val(year)
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({
elem: '#year',
type: 'year',
// value: new Date()
});
})
if(window.parent.parent){
$("#shotName").val(window.parent.parent._shotName)
@ -153,7 +164,7 @@
{
field: 'target',
title: '目标项',
width:150,
width:120,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -171,7 +182,7 @@
{
field: 'demand',
title: '目标要求',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -180,7 +191,7 @@
{
field: 'detailed',
title: '工作任务',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -197,7 +208,7 @@
{
field: 'method',
title: '考核方式',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);

View File

@ -34,11 +34,12 @@
<input type="hidden" name="type" value="日常考核指标"/>
<li>
<label>年份:</label>
<select name="year" id="year">
<option>2023</option>
<option selected>2024</option>
<option>2025</option>
</select>
<input type="text" readonly name="year" id="year" placeholder="yyyy">
<!-- <select name="year" id="year">-->
<!-- <option>2023</option>-->
<!-- <option selected>2024</option>-->
<!-- <option>2025</option>-->
<!-- </select>-->
</li>
<li>
<label>简写:</label>
@ -94,6 +95,16 @@
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
var prefix = ctx + "base/affairs";
var year = new Date().getFullYear();
$('#year').val(year)
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({
elem: '#year',
type: 'year',
// value: new Date()
});
})
if(window.parent.parent){
$("#shotName").val(window.parent.parent._shotName)
}else {
@ -170,7 +181,7 @@
{
field: 'target',
title: '考核内容',
width:150,
width:120,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -188,7 +199,7 @@
{
field: 'demand',
title: '考核目标',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);

View File

@ -80,6 +80,10 @@
$("#type0831").val('')
}
var year = new Date().getFullYear();
var str = year+'-01-01'+' - '+year+'-12-31'
$('#laydate-demo-4').val(str)
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({

View File

@ -35,11 +35,12 @@
<input type="hidden" name="type" value="党风廉政建设"/>
<li>
<label>年份:</label>
<select name="year" id="year">
<option>2023</option>
<option selected>2024</option>
<option>2025</option>
</select>
<input type="text" readonly name="year" id="year" placeholder="yyyy">
<!-- <select name="year" id="year">-->
<!-- <option>2023</option>-->
<!-- <option selected>2024</option>-->
<!-- <option>2025</option>-->
<!-- </select>-->
</li>
<li>
<label>简写:</label>
@ -89,6 +90,16 @@
var editFlag = [[${@permission.hasPermi('base:affairs:edit')}]];
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
var prefix = ctx + "base/affairs";
var year = new Date().getFullYear();
$('#year').val(year)
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({
elem: '#year',
type: 'year',
// value: new Date()
});
})
$(document).ready(function () {
$.ajax({
@ -147,7 +158,7 @@
{
field: 'target',
title: '责任类别',
width:150,
width:120,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -165,7 +176,7 @@
{
field: 'demand',
title: '目标要求',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -174,7 +185,7 @@
{
field: 'detailed',
title: '工作任务',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -191,7 +202,7 @@
{
field: 'method',
title: '考核方式',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);

View File

@ -12,11 +12,12 @@
<ul>
<li>
<label>年份:</label>
<select name="year" id="year">
<option>2023</option>
<option selected>2024</option>
<option>2025</option>
</select>
<input type="text" readonly name="year" id="year" placeholder="yyyy">
<!-- <select name="year" id="year">-->
<!-- <option>2023</option>-->
<!-- <option selected>2024</option>-->
<!-- <option>2025</option>-->
<!-- </select>-->
</li>
<li>
<label>考核类型:</label>
@ -72,6 +73,16 @@
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
var prefix = ctx + "base/affairs";
var year = new Date().getFullYear();
$('#year').val(year)
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({
elem: '#year',
type: 'year',
// value: new Date()
});
})
$(document).ready(function () {
$.ajax({
type: "post",
@ -139,7 +150,7 @@
{
field: 'demand',
title: '目标要求/考核目标',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -148,7 +159,7 @@
{
field: 'method',
title: '标准要求',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -157,7 +168,7 @@
{
field: 'detailed',
title: '工作任务',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);

View File

@ -34,11 +34,12 @@
<input type="hidden" name="type" value="季度考核指标"/>
<li>
<label>年份:</label>
<select name="year" id="year">
<option>2023</option>
<option selected>2024</option>
<option>2025</option>
</select>
<input type="text" readonly name="year" id="year" placeholder="yyyy">
<!-- <select name="year" id="year">-->
<!-- <option>2023</option>-->
<!-- <option selected>2024</option>-->
<!-- <option>2025</option>-->
<!-- </select>-->
</li>
<li>
<label>简写:</label>
@ -93,6 +94,16 @@
var editFlag = [[${@permission.hasPermi('base:affairs:edit')}]];
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
var prefix = ctx + "base/affairs";
var year = new Date().getFullYear();
$('#year').val(year)
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({
elem: '#year',
type: 'year',
// value: new Date()
});
})
$(document).ready(function () {
$.ajax({
@ -164,7 +175,7 @@
{
field: 'target',
title: '考核内容',
width:150,
width:120,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -182,7 +193,7 @@
{
field: 'demand',
title: '考核目标',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -191,7 +202,7 @@
{
field: 'method',
title: '标准要求',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
@ -200,7 +211,7 @@
{
field: 'detailed',
title: '评分办法',
width:180,
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);

View File

@ -80,20 +80,26 @@
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var year = new Date().getFullYear();
var mon = new Date().getMonth() + 1;
var str = (year+'-')+(mon>9?mon:'0'+mon)
$('#laydate-demo-4').val(str)
var editFlag = [[${@permission.hasPermi('base:trade:edit')}]];
var removeFlag = [[${@permission.hasPermi('base:trade:remove')}]];
var prefix = ctx + "base/trade";
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({
elem: '#laydate-demo-4',
type: 'month'
type: 'month',
// value: new Date()
});
})
$(function() {
var options = {
url: prefix + "/list",

View File

@ -190,8 +190,9 @@
//加载左上角echarts
function loadEchartsOne() {
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/dwysxt',
url:'/base/index/dwysxt?year='+year,
type:'post',
dataType:'json',
success(res){
@ -258,8 +259,9 @@
//加载左边中间的echarts
function loadEchartsTwo() {
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/dflzjs',
url:'/base/index/dflzjs?year='+year,
type:'post',
dataType:'json',
success(res){
@ -309,8 +311,9 @@
//加载左下角的echarts
function loadEchartsThree() {
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/bmwcqk',
url:'/base/index/bmwcqk?year='+year,
type:'post',
dataType:'json',
success(res){
@ -403,8 +406,9 @@
//加载右上角的echarts
function loadEchartsFour(){
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/rckhzb',
url:'/base/index/rckhzb?year='+year,
type:'post',
dataType:'json',
success(res){
@ -472,8 +476,9 @@
//加载右下角的echarts
function loadEchartsFive(){
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/ndkhbz',
url:'/base/index/ndkhbz?year='+year,
type:'post',
dataType:'json',
success(res){
@ -642,8 +647,9 @@
//加载中间数据
function loadCenterData(){
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/groupAll',
url:'/base/index/groupAll?year='+year,
type:'post',
dataType:'json',
success(res){
@ -679,8 +685,9 @@
//加载重点工作进度数据
function loadPeopleData(){
_peopleData = [];
var year = new Date().getFullYear();
$.ajax({
url:'/base/affairs/importantWork',
url:'/base/affairs/importantWork?year='+year,
type:'post',
dataType:'json',
success(res){
@ -705,8 +712,9 @@
//加载资源交易数据
function loadDepData(){
var year = new Date().getFullYear();
$.ajax({
url:'/base/index/tradeEcharts',
url:'/base/index/tradeEcharts?year='+year,
type:'post',
dataType:'json',
success(res){