优化:

1、日程排期日历字体颜色;
2、选择空间点击确定时可能关闭全部弹层的问题
3、选择人员控件调整为超过两人就出现全选按钮
This commit is contained in:
HDM58\hdm58 2024-01-12 10:44:04 +08:00
parent 1ad3996786
commit 7c134b07b3
4 changed files with 14 additions and 13 deletions

View File

@ -39,6 +39,7 @@ user-select: none;}
background-color: #fafafa; background-color: #fafafa;
} }
*/ */
.fc-v-event .fc-event-title,.fc-timegrid-event .fc-event-time{color:#333}
.calendar-select{width:100px; height:38px; position:absolute; top:27px; right:255px; z-index:100;} .calendar-select{width:100px; height:38px; position:absolute; top:27px; right:255px; z-index:100;}
.calendar-select .layui-input{height: 36px; line-height: 1.2;} .calendar-select .layui-input{height: 36px; line-height: 1.2;}
.layui-tags-span {padding: 3px 6px;font-size: 12px; background-color:#fff; border-radius: 3px; margin:2px 0; margin-right: 5px; border: 1px solid #e6e6e6; display: inline-block;} .layui-tags-span {padding: 3px 6px;font-size: 12px; background-color:#fff; border-radius: 3px; margin:2px 0; margin-right: 5px; border: 1px solid #e6e6e6; display: inline-block;}

View File

@ -53,7 +53,7 @@
.layui-letter-span{padding:10px 5px; font-size:15px; display:inline-block; cursor:pointer;} .layui-letter-span{padding:10px 5px; font-size:15px; display:inline-block; cursor:pointer;}
.layui-letter-span.on{color:#FF6347; font-weight:800;} .layui-letter-span.on{color:#FF6347; font-weight:800;}
.layui-letter-span:hover{color:#4285f4;} .layui-letter-span:hover{color:#4285f4;}
.layui-tags-all{float: right; font-weight: 200; background-color:#4285f4; color:#fff; border-radius: 3px; padding: 2px 6px; cursor: pointer; display: none;} .layui-tags-all{float: right; font-weight: 200; font-size:12px; background-color:#4285f4; color:#fff; border-radius: 3px; padding: 2px 6px; cursor: pointer; display: none;}
.layui-data-none{padding:12px 0; color:#969696; text-align:center; font-size:12px;} .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%;} .gougu-data-none{background:url(../images/data-none.png) no-repeat center center; background-size:auto 80%;}

View File

@ -77,7 +77,7 @@ layui.define(['layer','dtree'],function(exports){
data:{did:obj.param.nodeId}, data:{did:obj.param.nodeId},
success:function(res){ success:function(res){
dataList=res.data; dataList=res.data;
if(dataList.length>2 && me.settings.type == 1){ if(dataList.length>1 && me.settings.type == 1){
$('.layui-tags-all').show(); $('.layui-tags-all').show();
} }
else{ else{
@ -114,7 +114,7 @@ layui.define(['layer','dtree'],function(exports){
} }
} }
dataList=letterData; dataList=letterData;
if(dataList.length>2 && me.settings.type == 1){ if(dataList.length>1 && me.settings.type == 1){
$('.layui-tags-all').show(); $('.layui-tags-all').show();
} }
else{ else{

View File

@ -192,7 +192,7 @@ layui.define(['tool'], function (exports) {
//选择岗位 //选择岗位
positionPicker:function(type,callback){ positionPicker:function(type,callback){
let select_type = type==1?'radio':'checkbox',positionTable; let select_type = type==1?'radio':'checkbox',positionTable;
layer.open({ var positionLayer = layer.open({
title:'选择岗位', title:'选择岗位',
type:1, type:1,
area:['390px','436px'], area:['390px','436px'],
@ -216,7 +216,7 @@ layui.define(['tool'], function (exports) {
var data = checkStatus.data; var data = checkStatus.data;
if(data.length>0){ if(data.length>0){
callback(data); callback(data);
layer.closeAll(); layer.close(positionLayer);
}else{ }else{
layer.msg('请选择岗位'); layer.msg('请选择岗位');
return; return;
@ -228,7 +228,7 @@ layui.define(['tool'], function (exports) {
servicePicker:function(type,callback){ servicePicker:function(type,callback){
let select_type = type==1?'radio':'checkbox',departmentTable; let select_type = type==1?'radio':'checkbox',departmentTable;
var serviceTable; var serviceTable;
layer.open({ var serviceLayer = layer.open({
title: '选择服务类型', title: '选择服务类型',
area: ['500px', '536px'], area: ['500px', '536px'],
type: 1, type: 1,
@ -252,7 +252,7 @@ layui.define(['tool'], function (exports) {
var data = checkStatus.data; var data = checkStatus.data;
if(data.length>0){ if(data.length>0){
callback(data); callback(data);
layer.closeAll(); layer.close(serviceLayer);
}else{ }else{
layer.msg('请选择服务类型'); layer.msg('请选择服务类型');
return; return;
@ -263,7 +263,7 @@ layui.define(['tool'], function (exports) {
//选择客户 //选择客户
customerPicker:function(callback){ customerPicker:function(callback){
var customeTable; var customeTable;
layer.open({ var customeLayer = layer.open({
title: '选择客户', title: '选择客户',
area: ['600px', '580px'], area: ['600px', '580px'],
type: 1, type: 1,
@ -305,7 +305,7 @@ layui.define(['tool'], function (exports) {
var data = checkStatus.data; var data = checkStatus.data;
if (data.length > 0) { if (data.length > 0) {
callback(data[0]); callback(data[0]);
layer.closeAll(); layer.close(customeLayer);
} }
else { else {
layer.msg('请先选择客户'); layer.msg('请先选择客户');
@ -317,7 +317,7 @@ layui.define(['tool'], function (exports) {
//选择合同 //选择合同
contractPicker:function(callback){ contractPicker:function(callback){
var contractTable; var contractTable;
layer.open({ var contractLayer = layer.open({
title: '选择合同', title: '选择合同',
area: ['720px', '580px'], area: ['720px', '580px'],
type: 1, type: 1,
@ -355,7 +355,7 @@ layui.define(['tool'], function (exports) {
var data = checkStatus.data; var data = checkStatus.data;
if (data.length > 0) { if (data.length > 0) {
callback(data[0]); callback(data[0]);
layer.closeAll(); layer.close(contractLayer);
} }
else { else {
layer.msg('请先选择合同'); layer.msg('请先选择合同');
@ -413,7 +413,7 @@ layui.define(['tool'], function (exports) {
}, },
btn2: function () { btn2: function () {
callback({'id':0,'title':''}); callback({'id':0,'title':''});
layer.closeAll(); layer.close(projectLayer);
} }
}) })
}, },
@ -470,7 +470,7 @@ layui.define(['tool'], function (exports) {
}, },
btn2: function () { btn2: function () {
callback({'id':0,'title':''}); callback({'id':0,'title':''});
layer.closeAll(); layer.close(taskLayer);
} }
}) })
} }