各个功能模块UI效果颜色调整优化。

This commit is contained in:
hdm 2022-06-27 01:27:33 +08:00
parent b6224ed63e
commit 7505709e3d
35 changed files with 158 additions and 158 deletions

View File

@ -59,7 +59,7 @@
}, {
field: 'title',
title: '文章标题',
templet: '<div><a data-href="/article/index/view/id/{{d.id}}.html" class="layui-table-link right-a" target="_blank">{{d.title}}</a></div>'
templet: '<div><a data-href="/article/index/view/id/{{d.id}}.html" class="right-a" target="_blank">{{d.title}}</a></div>'
},{
field: 'read',
title: '阅读量',

View File

@ -70,7 +70,7 @@
}, {
field: 'title',
title: '文章标题',
templet: '<div><a data-href="/article/index/view/id/{{d.id}}.html" class="layui-table-link right-a" target="_blank">{{d.title}}</a></div>'
templet: '<div><a data-href="/article/index/view/id/{{d.id}}.html" class="right-a" target="_blank">{{d.title}}</a></div>'
},{
field: 'read',
title: '阅读量',

View File

@ -69,7 +69,6 @@
field: 'amount',
title: '报销总金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 120,
},{
field: 'check_status',
@ -77,18 +76,18 @@
align: 'center',
width: 120,
templet:function(d){
var html='<span style="color:#FF5722">审批不通过</span>';
var html='<span class="red">审批不通过</span>';
if(d.check_status==1){
html='<span style="color:#5FB878">审批中</span>';
html='<span class="green">审批中</span>';
}
else if(d.check_status==2){
html='<span style="color:#1E9FFF">审批通过</span>';
html='<span class="blue">审批通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#FFB800">已打款</span>';
html='<span class="yellow">已打款</span>';
}
return html;
}

View File

@ -57,7 +57,6 @@
field: 'amount',
title: '报销总金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 120,
},{
field: 'check_status',
@ -65,18 +64,18 @@
align: 'center',
width: 120,
templet:function(d){
var html='<span style="color:#FF5722">审批不通过</span>';
var html='<span class="red">审批不通过</span>';
if(d.check_status==1){
html='<span style="color:#5FB878">审批中</span>';
html='<span class="green">审批中</span>';
}
else if(d.check_status==2){
html='<span style="color:#1E9FFF">审批通过</span>';
html='<span class="blue">审批通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#FFB800">已打款</span>';
html='<span class="yellow">已打款</span>';
}
return html;
}

View File

@ -72,7 +72,6 @@
field: 'amount',
title: '报销总金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 120,
},{
field: 'check_status',
@ -80,18 +79,18 @@
align: 'center',
width: 120,
templet:function(d){
var html='<span style="color:#FF5722">审批不通过</span>';
var html='<span class="red">审批不通过</span>';
if(d.check_status==1){
html='<span style="color:#5FB878">审批中</span>';
html='<span class="green">审批中</span>';
}
else if(d.check_status==2){
html='<span style="color:#1E9FFF">审批通过</span>';
html='<span class="blue">审批通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#FFB800">已打款</span>';
html='<span class="yellow">已打款</span>';
}
return html;
}

View File

@ -52,7 +52,6 @@
field: 'amount',
title: '报销总金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 120,
},{
field: 'check_status',
@ -60,18 +59,18 @@
align: 'center',
width: 120,
templet:function(d){
var html='<span style="color:#FF5722">审批不通过</span>';
var html='<span class="red">审批不通过</span>';
if(d.check_status==1){
html='<span style="color:#5FB878">审批中</span>';
html='<span class="green">审批中</span>';
}
else if(d.check_status==2){
html='<span style="color:#1E9FFF">审批通过</span>';
html='<span class="blue">审批通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#FFB800">已打款</span>';
html='<span class="yellow">已打款</span>';
}
return html;
}

View File

@ -137,12 +137,12 @@
{/notempty}
<tr>
<td class="layui-td-gray">审核状态</td>
<td>{eq name="$detail.check_status" value="0"}<span style="color:#666666">待审批</span>{/eq}
{eq name="$detail.check_status" value="1"}<span style="color:#4285f4">审批中</span>{/eq}
{eq name="$detail.check_status" value="2"}<span style="color:#34a853">已通过,待打款</span>{/eq}
{eq name="$detail.check_status" value="3"}<span style="color:#FF5722">已拒绝</span>{/eq}
{eq name="$detail.check_status" value="4"}<span style="color:#fbbc05">已撤销</span>{/eq}
{eq name="$detail.check_status" value="5"}<span style="color:#34a853">已通过</span>{/eq}
<td>{eq name="$detail.check_status" value="0"}<span class="green">待审批</span>{/eq}
{eq name="$detail.check_status" value="1"}<span class="green">审批中</span>{/eq}
{eq name="$detail.check_status" value="2"}<span class="blue">已通过,待打款</span>{/eq}
{eq name="$detail.check_status" value="3"}<span class="red">已拒绝</span>{/eq}
{eq name="$detail.check_status" value="4"}<span class="red">已撤销</span>{/eq}
{eq name="$detail.check_status" value="5"}<span class="yellow">已通过,并打款</span>{/eq}
<span id="showRecord" class="layui-btn layui-btn-xs layui-btn-radius layui-btn-normal" style="margin-left:10px;">查看审批记录</span>
</td>
<td class="layui-td-gray-2">当前审核人</td>

View File

@ -67,12 +67,12 @@
align: 'center',
width: 90,
templet:function(d){
var html='<span style="color:#FF5722">未到账</span>';
var html='<span class="red">未到账</span>';
if(d.is_cash==1){
html='<span style="color:#5FB878">部分到账</span>';
html='<span class="blue">部分到账</span>';
}
else if(d.is_cash==2){
html='<span style="color:#009688">全部到账</span>';
html='<span class="green">全部到账</span>';
}
return html;
}

View File

@ -99,19 +99,19 @@
<td class="layui-td-gray">发票状态</td>
<td colspan="5">
{if condition="($detail.check_status == 0)"}
<span style="color:#009688">待审</span>
<span class="green">待审</span>
{elseif condition="($detail.check_status == 1)"}
<span style="color:#009688">审核中</span>
<span class="green">审核中</span>
{elseif condition="($detail.check_status == 2)"}
<span style="color:#1E9FFF">审核通过,待开具</span>
<span class="blue">审核通过,待开具</span>
{elseif condition="($detail.check_status == 3)"}
<span style="color:#FF5722">审核不通过 【原因:{$detail.check_remark}】</span>
<span class="red">审核不通过 【原因:{$detail.check_remark}】</span>
{elseif condition="($detail.check_status == 4)"}
<span style="color:#FF5722">撤销 【原因:{$detail.check_remark}】</span>
<span class="red">撤销 【原因:{$detail.check_remark}】</span>
{elseif condition="($detail.check_status == 5)"}
<span style="color:#1E9FFF">已开具</span>
<span class="blue">已开具</span>
{elseif condition="($detail.check_status == 10)"}
<span style="color:#FF5722">已作废</span>
<span class="yellow">已作废</span>
{/if}
<span id="showRecord" class="layui-btn layui-btn-xs layui-btn-radius layui-btn-normal" style="margin-left:10px;">查看审批记录</span>
</td>
@ -135,17 +135,17 @@
<td class="layui-td-gray">到账状态</td>
<td>
{if condition="($detail.is_cash == 0)"}
<span style="color:#FF5722">未到账</span>
<span class="red">未到账</span>
{elseif condition="($detail.is_cash == 1)"}
<span style="color:#1E9FFF">部分到账</span>
<span class="blue">部分到账</span>
{elseif condition="($detail.is_cash == 2)"}
<span style="color:#009688">全部到账</span>
<span class="green">全部到账</span>
{/if}
</td>
<td class="layui-td-gray-2">未到账金额(元)</td>
<td style="color:#FF5722">{$detail.not_income}</td>
<td class="red">{$detail.not_income}</td>
<td class="layui-td-gray-2">已到账金额(元)</td>
<td style="color:#1E9FFF">{$detail.enter_amount}</td>
<td class="green">{$detail.enter_amount}</td>
</tr>
<tr>
<td class="layui-td-gray">到账记录</td>

View File

@ -56,7 +56,7 @@
title: '发票列表',
toolbar: '#toolbarDemo',
url: "/finance/invoice/checkedlist", //数据接口
cellMinWidth: 320,
cellMinWidth: 300,
page: true, //开启分页
limit: 20,
cols: [
@ -84,7 +84,6 @@
field: 'amount',
title: '开票金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 100,
},{
field: 'invoice_type',
@ -107,24 +106,24 @@
align: 'center',
width: 100,
templet:function(d){
var html='<span style="color:#FF5722">待审</span>';
var html='<span class="green">待审核</span>';
if(d.check_status==1){
html='<span style="color:#FFB800">审核中</span>';
html='<span class="green">审核中</span>';
}
else if(d.check_status==2){
html='<span style="color:#5FB878">待开具</span>';
html='<span class="blue">待开具</span>';
}
else if(d.check_status==3){
html='<span style="color:#FF5722">审核不通过</span>';
html='<span class="red">审核不通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#1E9FFF">已开具</span>';
html='<span class="blue">已开具</span>';
}
else if(d.check_status==10){
html='<span style="color:#FF5722">已作废</span>';
html='<span class="yellow">已作废</span>';
}
return html;
}

View File

@ -44,7 +44,7 @@
toolbar: '#toolbarDemo',
url: "/finance/invoice/copy", //数据接口
page: true, //开启分页
cellMinWidth: 320,
cellMinWidth: 300,
limit: 20,
cols: [
[
@ -70,7 +70,6 @@
field: 'amount',
title: '开票金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 100,
},{
field: 'invoice_type',
@ -93,24 +92,24 @@
align: 'center',
width: 100,
templet:function(d){
var html='<span style="color:#FF5722">待审核</span>';
var html='<span class="green">待审核</span>';
if(d.check_status==1){
html='<span style="color:#FFB800">审核中</span>';
html='<span class="green">审核中</span>';
}
else if(d.check_status==2){
html='<span style="color:#5FB878">待开具</span>';
html='<span class="blue">待开具</span>';
}
else if(d.check_status==3){
html='<span style="color:#FF5722">审核不通过</span>';
html='<span class="red">审核不通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#1E9FFF">已开具</span>';
html='<span class="blue">已开具</span>';
}
else if(d.check_status==10){
html='<span style="color:#FF5722">已作废</span>';
html='<span class="yellow">已作废</span>';
}
return html;
}

View File

@ -60,7 +60,7 @@
toolbar: '#toolbarDemo',
url: "/finance/invoice/index", //数据接口
page: true, //开启分页
cellMinWidth: 320,
cellMinWidth: 300,
limit: 20,
cols: [
[
@ -86,7 +86,6 @@
field: 'amount',
title: '开票金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 100,
},{
field: 'invoice_type',
@ -109,24 +108,24 @@
align: 'center',
width: 100,
templet:function(d){
var html='<span style="color:#FF5722">待审核</span>';
var html='<span class="green">待审核</span>';
if(d.check_status==1){
html='<span style="color:#FFB800">审核中</span>';
html='<span class="green">审核中</span>';
}
else if(d.check_status==2){
html='<span style="color:#5FB878">待开具</span>';
html='<span class="blue">待开具</span>';
}
else if(d.check_status==3){
html='<span style="color:#FF5722">审核不通过</span>';
html='<span class="red">审核不通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#1E9FFF">已开具</span>';
html='<span class="blue">已开具</span>';
}
else if(d.check_status==10){
html='<span style="color:#FF5722">已作废</span>';
html='<span class="yellow">已作废</span>';
}
return html;
}

View File

@ -37,7 +37,7 @@
title: '发票列表',
toolbar: '#toolbarDemo',
url: "/finance/invoice/list", //数据接口
cellMinWidth: 320,
cellMinWidth: 300,
page: true, //开启分页
limit: 20,
cols: [
@ -64,7 +64,6 @@
field: 'amount',
title: '开票金额(元)',
align: 'right',
style: 'color:#1E9FFF',
width: 100,
},{
field: 'invoice_type',
@ -87,24 +86,24 @@
align: 'center',
width: 100,
templet:function(d){
var html='<span style="color:#FF5722">待审核</span>';
var html='<span class="green">待审核</span>';
if(d.check_status==1){
html='<span style="color:#FFB800">审核中</span>';
html='<span class="green">审核中</span>';
}
else if(d.check_status==2){
html='<span style="color:#5FB878">待开具</span>';
html='<span class="blue">待开具</span>';
}
else if(d.check_status==3){
html='<span style="color:#FF5722">审核不通过</span>';
html='<span class="red">审核不通过</span>';
}
else if(d.check_status==4){
html='<span style="color:#FF5722">撤销</span>';
html='<span class="red">撤销</span>';
}
else if(d.check_status==5){
html='<span style="color:#1E9FFF">已开具</span>';
html='<span class="blue">已开具</span>';
}
else if(d.check_status==10){
html='<span style="color:#FF5722">已作废</span>';
html='<span class="yellow">已作废</span>';
}
return html;
}

View File

@ -143,19 +143,19 @@
<td class="layui-td-gray">发票状态</td>
<td colspan="3">
{if condition="($detail.check_status == 0)"}
<span style="color:#009688">待审</span>
<span class="green">待审</span>
{elseif condition="($detail.check_status == 1)"}
<span style="color:#009688">审核中</span>
<span class="green">审核中</span>
{elseif condition="($detail.check_status == 2)"}
<span style="color:#1E9FFF">审核通过,待开具</span>
<span class="blue">审核通过,待开具</span>
{elseif condition="($detail.check_status == 3)"}
<span style="color:#FF5722">审核不通过 【原因:{$detail.check_remark}】</span>
<span class="red">审核不通过 【原因:{$detail.check_remark}】</span>
{elseif condition="($detail.check_status == 4)"}
<span style="color:#FF5722">撤销 【原因:{$detail.check_remark}】</span>
<span class="red">撤销 【原因:{$detail.check_remark}】</span>
{elseif condition="($detail.check_status == 5)"}
<span style="color:#1E9FFF">已开具</span>
<span class="blue">已开具</span>
{elseif condition="($detail.check_status == 10)"}
<span style="color:#FF5722">已作废</span>
<span class="yellow">已作废</span>
{/if}
<span id="showRecord" class="layui-btn layui-btn-xs layui-btn-radius layui-btn-normal" style="margin-left:10px;">查看审批记录</span>
</td>

View File

@ -31,8 +31,8 @@
,{field:'title',title: '车辆名称'}
,{field:'name',title: '车牌号码'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -30,8 +30,8 @@
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '类别名称'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -30,8 +30,8 @@
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '类别名称'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -54,8 +54,8 @@
return html;
}}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -30,8 +30,8 @@
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '类别名称'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -30,8 +30,8 @@
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '发票主体名称'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -30,8 +30,8 @@
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '类别名称'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -6,7 +6,7 @@
</div>
<script type="text/html" id="status">
<i class="layui-icon {{# if(d.status == 1){ }}layui-icon-ok{{# } else { }}layui-icon-close{{# } }}"></i>
<i class="layui-icon {{# if(d.status == 1){ }}green layui-icon-ok{{# } else { }}red layui-icon-close{{# } }}"></i>
</script>
<script type="text/html" id="toolbarDemo">
<div class="layui-btn-container">

View File

@ -61,8 +61,8 @@
,{field:'department',title: '适用部门'}
,{field:'username',title: '最后修改人',width:90,align:'center'}
,{field:'status', title: '状态',width:80,align:'center',templet: function(d){
var html1='<span>正常</span>';
var html2='<span style="color:#FF5722">禁用</span>';
var html1='<span class="green">正常</span>';
var html2='<span class="yellow">禁用</span>';
if(d.status==1){
return html1;
}

View File

@ -145,7 +145,7 @@
, page: false //开启分页
, cols: [[ //表头
{ field: 'cate_title', title: '公告分类', align: 'center','width': 90 },
{ field: 'title', title: '公告标题',templet: '<div><a data-href="/note/index/view/id/{{d.id}}.html" class="layui-table-link right-a" target="_blank">{{d.title}}</a></div>'},
{ field: 'title', title: '公告标题',templet: '<div><a data-href="/note/index/view/id/{{d.id}}.html" class="right-a" target="_blank">{{d.title}}</a></div>'},
{ field: 'create_time', title: '发布时间', align: 'center','width': 136}
]]
});
@ -156,7 +156,7 @@
, page: false //开启分页
, cols: [[ //表头
{ field: 'cate_title', title: '知识分类', align: 'center','width': 90 },
{ field: 'title', title: '知识标题',templet: '<div><a data-href="/article/index/view/id/{{d.id}}.html" class="layui-table-link right-a" target="_blank">{{d.title}}</a></div>'},
{ field: 'title', title: '知识标题',templet: '<div><a data-href="/article/index/view/id/{{d.id}}.html" class="right-a" target="_blank">{{d.title}}</a></div>'},
{ field: 'read', title: '访问量', align: 'center','width': 80 },
{ field: 'create_time', title: '发布时间', align: 'center','width': 136}
]]
@ -176,7 +176,7 @@
return html;
}
},
{ field: 'title', title: '项目名称',templet: '<div><a data-href="/project/index/view/id/{{d.id}}.html" class="layui-table-link right-a" target="_blank">{{d.name}}</a></div>'},
{ field: 'title', title: '项目名称',templet: '<div><a data-href="/project/index/view/id/{{d.id}}.html" class="right-a" target="_blank">{{d.name}}</a></div>'},
{ field: 'director_name', title: '负责人', align: 'center', width: 80},
{ field: 'plan_time', title: '项目周期', align: 'center', width: 190},
]]

View File

@ -11,7 +11,7 @@
<table class="layui-hide" id="test" lay-filter="test"></table>
</div>
<script type="text/html" id="status">
<i class="layui-icon {{# if(d.status == 1){ }}layui-icon-ok{{# } else { }}layui-icon-close{{# } }}"></i>
<i class="layui-icon {{# if(d.status == 1){ }}green layui-icon-ok{{# } else { }}yellow layui-icon-close{{# } }}"></i>
</script>
<script type="text/html" id="toolbarDemo">
<div class="layui-btn-container">

View File

@ -27,7 +27,7 @@
{eq name="$vo.type" value="2"}普通模块{/eq}
</td>
<td align="center">
{eq name="$vo.sourse" value="1"}官方{/eq}
{eq name="$vo.sourse" value="1"}勾股OA{/eq}
{eq name="$vo.sourse" value="2"}第三方{/eq}
</td>
{eq name="$vo.is_install" value="0"}
@ -48,7 +48,7 @@
{/eq}
{eq name="$vo.is_install" value="1"}
<td align="center">
<span class="red">已安装</span>
<span class="yellow">已安装</span>
</td>
<td align="center">
<div class="layui-btn-group">

View File

@ -12,7 +12,7 @@
</div>
<script type="text/html" id="status">
<i class="layui-icon {{# if(d.status == 1){ }}layui-icon-ok{{# } else { }}layui-icon-close{{# } }}"></i>
<i class="layui-icon {{# if(d.status == 1){ }}green layui-icon-ok{{# } else { }}red layui-icon-close{{# } }}"></i>
</script>
<script type="text/html" id="toolbarDemo">
<div class="layui-btn-container">

View File

@ -716,6 +716,14 @@ CREATE TABLE `oa_file` (
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '文件表';
-- ----------------------------
-- Records of cms_file
-- ----------------------------
INSERT INTO `oa_file` VALUES (1, 'admin', '5125347886f07f48f7003825660117039eb8784f', '563e5e8f48e607ed54461796b0cb4844', 'f95982689eb222b84e999122a50b3780.jpg', 'f95982689eb222b84e999122a50b3780.jpg', 'https://blog.gougucms.com/storage/202202/f95982689eb222b84e999122a50b3780.jpg', 62609, 'jpg', 'image/jpeg', 1, '127.0.0.1', 1, 1645057433, 1, 1645057433, 'upload', 'thumb', 0);
INSERT INTO `oa_file` VALUES (2, 'admin', '5125347886f07f48f7003825660117039eb8784f', '563e5e8f48e607ed54461796b0cb4844', 'e729477de18e3be7e7eb4ec7fe2f821e.jpg', 'e729477de18e3be7e7eb4ec7fe2f821e.jpg', 'https://blog.gougucms.com/storage/202202/e729477de18e3be7e7eb4ec7fe2f821e.jpg', 62609, 'jpg', 'image/jpeg', 1, '127.0.0.1', 1, 1645057433, 1, 1645057433, 'upload', 'thumb', 0);
INSERT INTO `oa_file` VALUES (3, 'admin', '5125347886f07f48f7003825660117039eb8784f', '563e5e8f48e607ed54461796b0cb4844', '1193f7a1585b9f6e8a97ae17718018b3.jpg', 'images/1193f7a1585b9f6e8a97ae17718018b3.jpg', 'https://blog.gougucms.com/storage/202204/1193f7a1585b9f6e8a97ae17718018b3.jpg', 62609, 'jpg', 'image/jpeg', 1, '127.0.0.1', 1, 1645057433, 1, 1645057433, 'upload', 'thumb', 0);
INSERT INTO `oa_file` VALUES (4, 'admin', '5125347886f07f48f7003825660117039eb8784f', '563e5e8f48e607ed54461796b0cb4844', '0f22a5ba4797b2fa22049ea73e6f779c.jpg', 'images/0f22a5ba4797b2fa22049ea73e6f779c.jpg', 'https://blog.gougucms.com/storage/202202/0f22a5ba4797b2fa22049ea73e6f779c.jpg', 62609, 'jpg', 'image/jpeg', 1, '127.0.0.1', 1, 1645057433, 1, 1645057433, 'upload', 'thumb', 0);
-- ----------------------------
-- Table structure for oa_invoice
-- ----------------------------
@ -1319,7 +1327,7 @@ CREATE TABLE `oa_article` (
-- ----------------------------
-- Records of oa_article
-- ----------------------------
INSERT INTO `oa_article` VALUES (1, '勾股OA——简单实用的开源免费的企业办公系统框架', 2, '', '勾股办公是一款简单实用的开源免费的企业办公系统框架。系统集成了系统设置、人事管理模块、消息管理模块、日常办公、财务管理等基础模块。系统简约,易于功...', 1, 1, 1, '', '勾股办公是一款简单实用的开源免费的企业办公系统框架。系统集成了系统设置、人事管理模块、消息管理模块、日常办公、财务管理等基础模块。系统简约易于功能扩展方便二次开发让开发者更专注于业务深度需求的开发帮助开发者简单高效降低二次开发成本通过二次开发之后可以用来做CRMERP业务管理等系统。', 1, 2, 1, 1, 1, 1637985280, 1650817107, 0);
INSERT INTO `oa_article` VALUES (1, '勾股OA——简单实用的开源免费的企业办公系统框架', 2, '', '勾股办公是一款简单实用的开源免费的企业办公系统框架。系统集成了系统设置、人事管理模块、消息管理模块、日常办公、财务管理等基础模块。系统简约,易于功...', 0, 1, 1, '', '勾股办公是一款简单实用的开源免费的企业办公系统框架。系统集成了系统设置、人事管理模块、消息管理模块、日常办公、财务管理等基础模块。系统简约易于功能扩展方便二次开发让开发者更专注于业务深度需求的开发帮助开发者简单高效降低二次开发成本通过二次开发之后可以用来做CRMERP业务管理等系统。', 1, 2, 1, 1, 1, 1637985280, 1650817107, 0);
INSERT INTO `oa_article` VALUES (2, '勾股CMS——轻量级、高性能极速后台开发框架', 2, '', '勾股CMS是一套轻量级、高性能极速后台开发框架。通用型的后台权限管理框架极低门槛、操作简单、开箱即用。系统易于功能扩展代码维护方便二次开发让...', 0, 1, 1, '', '勾股CMS是一套轻量级、高性能极速后台开发框架。通用型的后台权限管理框架极低门槛、操作简单、开箱即用。系统易于功能扩展代码维护方便二次开发让开发者更专注于业务深度需求的开发帮助开发者简单高效降低二次开发成本。', 0, 0, 1, 1, 0, 1650817085, 0, 0);
INSERT INTO `oa_article` VALUES (3, '勾股BLOG——简约易用开源的个人博客系统', 2, '', '勾股BLOG是一款实用的开源免费的个人博客系统。集成了系统管理、基础数据、博客文章、博客动态、语雀知识库、用户管理、访问统计等功能。具有简约易用内存占用低等特点可以用来做个人博客工作室官网自...', 0, 1, 1, '', '勾股BLOG是一款实用的开源免费的个人博客系统。集成了系统管理、基础数据、博客文章、博客动态、语雀知识库、用户管理、访问统计等功能。具有简约易用内存占用低等特点可以用来做个人博客工作室官网自媒体官网等网站二次开发之后也可以作为资讯、展品展示等网站。', 0, 0, 1, 1, 0, 1650817152, 0, 0);
INSERT INTO `oa_article` VALUES (4, '勾股DEV——研发管理与团队协作的工具软件', 2, '', '勾股DEV是一款专为IT行业研发团队打造的智能化项目管理与团队协作的工具软件可以在线管理团队的工作、项目和任务覆盖从需求提出到研发完成上线整个过程的项目协作。', 0, 1, 1, '', '勾股DEV是一款专为IT行业研发团队打造的智能化项目管理与团队协作的工具软件可以在线管理团队的工作、项目和任务覆盖从需求提出到研发完成上线整个过程的项目协作。', 0, 0, 1, 1, 0, 1650817189, 0, 0);

View File

@ -6,7 +6,7 @@
</div>
<script type="text/html" id="status">
<i class="layui-icon {{# if(d.status == 1){ }}layui-icon-ok{{# } else { }}layui-icon-close{{# } }}"></i>
<i class="layui-icon {{# if(d.status == 1){ }}green layui-icon-ok{{# } else { }}yellow layui-icon-close{{# } }}"></i>
</script>
<script type="text/html" id="toolbarDemo">
<div class="layui-btn-container">

View File

@ -67,11 +67,11 @@ class Plan extends BaseController
$where1 = [];
$where2 = [];
$where1[] = ['delete_time', '=', 1];
$where1[] = ['delete_time', '=', 0];
$where1[] = ['admin_id', '=', $uid];
$where1[] = ['start_time', '>=', strtotime($param['start'])];
$where2[] = ['delete_time', '=', 1];
$where2[] = ['delete_time', '=', 0];
$where2[] = ['admin_id', '=', $uid];
$where2[] = ['end_time', '<=', strtotime($param['end'])];

View File

@ -31,7 +31,7 @@
}
, {
field: 'status', title: '状态', align: 'center', width: 70, rowspan: 2, templet: function (d) {
var html = '<span class="layui-btn layui-btn-xs bg-status-' + d.status + '">' + d.status_name + '</span>';
var html = '<span class="layui-btn layui-btn-xs layui-bg-' + d.status + '">' + d.status_name + '</span>';
return html;
}
}

View File

@ -6,7 +6,7 @@
</div>
<script type="text/html" id="status">
<i class="layui-icon {{# if(d.status == 1){ }}layui-icon-ok{{# } else { }}layui-icon-close{{# } }}"></i>
<i class="layui-icon {{# if(d.status == 1){ }}green layui-icon-ok{{# } else { }}yellow layui-icon-close{{# } }}"></i>
</script>
<script type="text/html" id="toolbarDemo">
<div class="layui-btn-container">

View File

@ -12,7 +12,7 @@
.layui-table-box{background-color:#fff;}
.layui-table-page{background-color:#fff;border-bottom:1px solid #f1f1f1;}
.layui-table-tool{box-shadow: 0 0 0 rgb(0 0 0 / 1%);}
.layui-btn{background-color: #5FB878;}
.layui-btn{background-color: #47B347;}
.layui-btn-normal{background-color: #3c9cff;}
.layui-btn-warm{background-color: #ff9900;}
.layui-btn-danger{background-color: #FF5722;}
@ -20,10 +20,10 @@
.layui-btn-primary:hover{border-color:#3c9cff;color:#3c9cff}
.layui-btn-group .layui-btn-primary:hover{color:#3c9cff}
.layui-btn-reset {height: 38px;background-color: #fff; line-height: 38px; border: 1px solid transparent;padding: 0 12px; white-space: nowrap; color: #767a82;font-size: 14px;cursor: pointer;vertical-align: middle;}
.layui-laypage .layui-laypage-curr .layui-laypage-em{background-color: #5FB878;}
.layui-laypage .layui-laypage-curr .layui-laypage-em{background-color: #47B347;}
.layui-tab-brief>.layui-tab-title .layui-this{color:#1E9FFF}
.layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-title .layui-this:after{border-color:#1E9FFF}
.layui-tab-brief>.layui-tab-title .layui-this{color:#187FDD}
.layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-title .layui-this:after{border-color:#187FDD}
.layui-form-radio{padding-right:4px;}
.layui-form-radio>i{margin-right:4px;}
.layui-form-label{padding:9px; color:#909399}
@ -53,12 +53,12 @@
.layui-data-none{padding:12px 0; color:#969696; text-align:center; font-size:12px;}
.gougu-data-none{background:url(../images/data-none.png) no-repeat center center; background-size:auto 80%;}
html {background-color: #FAFAFA; color: #162a48}
html {background-color: #F7F7F7; color: #162a48}
html,body{height:100%;}
body.right-open{overflow:hidden;}
.bg-white{background-color:#fff;}
a.tab-a,a.open-a,a.link-a,a.right-a{color:#1E9FFF; cursor:pointer;}
a.tab-a:hover,a:hover,a.open-a:hover,a.link-a:hover,a.right-a:hover{color:#1E9FFF; opacity:0.8}
a.tab-a,a.open-a,a.link-a,a.right-a{color:#187FDD; cursor:pointer;}
a.tab-a:hover,a:hover,a.open-a:hover,a.link-a:hover,a.right-a:hover{color:#187FDD; opacity:0.8}
.left{float:left;}
.right{float:right;}
.h1,h1{font-size:24px; font-weight: 600;}
@ -133,31 +133,31 @@ a.tab-a:hover,a:hover,a.open-a:hover,a.link-a:hover,a.right-a:hover{color:#1E9FF
.border-l{border-left:1px solid #eee; box-sizing:border-box}
.border-r{border-right:1px solid #eee; box-sizing:border-box}
.layui-bg-0{background-color:#648A8D !important;}
.layui-bg-1{background-color:#4AC8BE !important;}
.layui-bg-2{background-color:#1E9FFF !important;}
.layui-bg-3{background-color:#5FB878 !important;}
.layui-bg-4{background-color:#4DCE58 !important;}
.layui-bg-5{background-color:#FEC939 !important;}
.layui-bg-6{background-color:#8838DA !important;}
.layui-bg-7{background-color:#FD6206 !important;}
.layui-bg-8{background-color:#F03347 !important;}
.layui-bg-9{background-color:#A38B82 !important;}
.layui-bg-0{background-color:#648A8D !important;}/*灰青*/
.layui-bg-1,.layui-bg-green{background-color:#47B347 !important;}/*亮绿*/
.layui-bg-2{background-color:#187FDD !important;}/*亮蓝*/
.layui-bg-3{background-color:#FEC939 !important;}/*亮黄*/
.layui-bg-4{background-color:#FD6206 !important;}/*亮橙*/
.layui-bg-5{background-color:#FF5823 !important;}/*亮红*/
.layui-bg-6{background-color:#4AC8BE !important;}/*亮青*/
.layui-bg-7{background-color:#7860C0 !important;}/*亮紫*/
.layui-bg-8{background-color:#646464 !important;}/*黑*/
.layui-bg-9{background-color:#969696 !important;}/*灰黑*/
.layui-color-0{color:#648A8D !important;}
.layui-color-1{color:#4AC8BE !important;}
.layui-color-2{color:#1E9FFF !important;}
.layui-color-3{color:#5FB878 !important;}
.layui-color-4{color:#4DCE58 !important;}
.layui-color-5{color:#FEC939 !important;}
.layui-color-6{color:#8838DA !important;}
.layui-color-7{color:#FD6206 !important;}
.layui-color-8{color:#F03347 !important;}
.layui-color-9{color:#A38B82 !important;}
.layui-color-0{color:#648A8D !important;}/*灰青*/
.layui-color-1{color:#47B347 !important;}/*亮绿*/
.layui-color-2{color:#187FDD !important;}/*亮蓝*/
.layui-color-3{color:#FEC939 !important;}/*亮黄*/
.layui-color-4{color:#FD6206 !important;}/*亮橙*/
.layui-color-5{color:#FF5823 !important;}/*亮红*/
.layui-color-6{color:#4AC8BE !important;}/*亮青*/
.layui-color-7{color:#7860C0 !important;}/*亮紫*/
.layui-color-8{color:#646464 !important;}/*黑*/
.layui-color-9{color:#969696 !important;}/*灰黑*/
.black{color:#182b50}
.blue{color:#1E9FFF}
.blue{color:#187FDD}
.blue-dark{color:#3c9cff;}
.blue-disabled{color:#9acafc;}
.blue-light{color:#ecf5ff;}
@ -167,7 +167,7 @@ a.tab-a:hover,a:hover,a.open-a:hover,a.link-a:hover,a.right-a:hover{color:#1E9FF
.yellow-disabled{color:#f9d39b;}
.yellow-light{color:#fdf6ec;}
.green{color:#5FB878;}
.green{color:#47B347;}
.green-dark{color:#53c21d;}
.green-disabled{color:#a9e08f;}
.green-light{color:#f5fff0;}
@ -246,8 +246,8 @@ div.layui-table-main::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0
.gg-tab{text-align: left!important;}
.gg-tab-title{position: relative;left: 0; height: 40px; white-space: nowrap; font-size: 0;}
.gg-tab-title li{display: inline-block;*display: inline;*zoom: 1;vertical-align: middle; font-size: 16px; position: relative;line-height: 40px; min-width: 64px; padding: 0 12px;text-align: center;cursor: pointer;}
.gg-tab-title li:hover,.gougu-tab li.tab-this{ color:#1E9FFF;}
.gg-tab-title li.tab-this:after{border-bottom: 2px solid #1E9FFF;position: absolute;left: 0; top: 0; content: ""; width: 100%; height: 41px; box-sizing: border-box;pointer-events: none;}
.gg-tab-title li:hover,.gougu-tab li.tab-this{ color:#187FDD;}
.gg-tab-title li.tab-this:after{border-bottom: 2px solid #187FDD;position: absolute;left: 0; top: 0; content: ""; width: 100%; height: 41px; box-sizing: border-box;pointer-events: none;}
.gg-tab-title.big{height: 46px;}
.gg-tab-title.big li{line-height: 46px;}
.gg-tab-title.big li{line-height: 46px;}

View File

@ -1,4 +1,4 @@
.gg-layout .layui-header {position: fixed; top: 0;left: 0; width: 100%; height: 50px; border-bottom: 1px solid #f6f6f6;box-sizing: border-box;background-color: #fff}
.gg-layout .layui-header {position: fixed; top: 0;left: 0; width: 100%; height: 50px; border-bottom: 1px solid #eeeeee;box-sizing: border-box;background-color: #fff}
.gg-layout .layui-header a,
.gg-layout .layui-header a cite {color: #162a48}
.gg-layout .layui-header a:hover {color: #000}
@ -6,7 +6,7 @@
.gg-head-item i.layui-icon{font-size:20px;}
.gg-head-item .layui-nav{background:0 0;padding:0;}
.gg-head-item .layui-nav .layui-nav-item a{padding:0;}
.layui-layout-right .gg-head-item{border-left:1px solid #f6f6f6;}
.layui-layout-right .gg-head-item{border-left:1px solid #eeeeee;}
.layui-layout-right .gg-head-message{position:relative;}
.layui-layout-right .gg-message-num{height: 18px;position: absolute; top: -12px;margin-left: -4px;left: 50%;}
@ -47,7 +47,7 @@
.layui-side .layui-nav-tree .layui-nav-child dd a:hover{background-color:#192A3B;}
.layui-side .layui-nav-tree .layui-nav-bar{background-color: #3C9CFF;width:3px;}
.page-tabs{ position: fixed;top: 50px;right: 0; z-index: 999; height: 40px; line-height: 40px; padding: 0 80px 0 40px; background-color: #fff;box-sizing: border-box; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1)}
.page-tabs{ position: fixed;top: 50px;right: 0; z-index: 999; height: 40px; line-height: 40px; padding: 0 80px 0 40px; background-color: #fff;box-sizing: border-box; box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 8%)}
.page-tabs,
.gg-layout .layui-body,
.gg-layout .layui-footer,
@ -67,18 +67,18 @@
.gg-layout .layui-footer {padding: 10px 0;text-align: center; box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, .05)}
.gg-body-shade {position: fixed; display: none;left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0, 0, 0, .3); z-index: 1000}
.page-tabs .gg-tabs-control { position: absolute; top: 0;width: 40px; height: 100%;text-align: center; cursor: pointer;box-sizing: border-box; border-left: 1px solid #f6f6f6;
.page-tabs .gg-tabs-control { position: absolute; top: 0;width: 40px; height: 100%;text-align: center; cursor: pointer;box-sizing: border-box; border-left: 1px solid #eeeeee;
transition: all .3s;
-webkit-transition: all .3s;
}
.page-tabs .gg-tabs-control:hover {background-color: #fafafa}
.page-tabs .layui-icon-prev {left: 0; border-left: none; border-right: 1px solid #f6f6f6}
.page-tabs .layui-icon-prev {left: 0; border-left: none; border-right: 1px solid #eeeeee}
.page-tabs .layui-icon-next {right: 40px}
.page-tabs .layui-icon-down {right: 0}
.page-tabs .layui-tab {margin: 0; overflow: hidden}
.page-tabs .layui-tab-title {height: 40px;border: none}
.page-tabs .layui-tab-title li { min-width: 0; line-height: 40px; max-width: 160px; text-overflow: ellipsis; padding-left:12px; padding-right: 32px;overflow: hidden;border-right: 1px solid #f6f6f6;vertical-align: top}
.page-tabs .layui-tab-title li { min-width: 0; line-height: 40px; max-width: 160px; text-overflow: ellipsis; padding-left:12px; padding-right: 32px;overflow: hidden;border-right: 1px solid #eeeeee;vertical-align: top}
.page-tabs .layui-tab-title li:first-child {padding-right: 15px}
.page-tabs .layui-tab-title li .layui-tab-close { position: absolute;right: 8px; top: 50%;margin: -7px 0 0; width: 16px; height: 16px;line-height: 16px;border-radius: 50%;font-size: 12px}
.page-tabs .layui-tab-title li:after { content: ''; position: absolute; top: 0; left: 0;width: 0; height: 2px; border-radius: 0; background-color: #1E9FFF;

View File

@ -66,7 +66,7 @@ layui.define(['tool'], function (exports) {
<td class="layui-td-gray">所在部门</td>
<td>${detail.department}</td>
<td class="layui-td-gray">工作类别</td>
<td>${detail.work_cate}</td>
<td>${detail.cate}</td>
</tr>
<tr>
<td class="layui-td-gray">时间范围</td>