优化:

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;
}
*/
.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 .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;}

View File

@ -53,7 +53,7 @@
.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: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;}
.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},
success:function(res){
dataList=res.data;
if(dataList.length>2 && me.settings.type == 1){
if(dataList.length>1 && me.settings.type == 1){
$('.layui-tags-all').show();
}
else{
@ -114,7 +114,7 @@ layui.define(['layer','dtree'],function(exports){
}
}
dataList=letterData;
if(dataList.length>2 && me.settings.type == 1){
if(dataList.length>1 && me.settings.type == 1){
$('.layui-tags-all').show();
}
else{

View File

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