From 699430f7b5594daaed7142c4e8de2aba125698f2 Mon Sep 17 00:00:00 2001 From: "HDM58\\hdm58" Date: Tue, 5 Sep 2023 11:35:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7layui=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E7=89=88=E5=90=8E=EF=BC=8Cdropdown=E8=B0=83=E6=95=B4=20data.ti?= =?UTF-8?q?tle=20=E5=B1=9E=E6=80=A7=E5=AF=B9=20HTML=20=E7=9A=84=E8=BD=AC?= =?UTF-8?q?=E4=B9=89=E5=A4=84=E7=90=86=E6=89=80=E4=BA=A7=E7=94=9F=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/oa/view/plan/calendar.html | 34 ++++++++++++++++++++++++---------- app/oa/view/plan/index.html | 26 ++++++++++++++++++++------ 2 files changed, 44 insertions(+), 16 deletions(-) diff --git a/app/oa/view/plan/calendar.html b/app/oa/view/plan/calendar.html index e6da437..96c483b 100644 --- a/app/oa/view/plan/calendar.html +++ b/app/oa/view/plan/calendar.html @@ -135,17 +135,17 @@ user-select: none;} \
\ \ - 提醒*\ + 优先级*\ \ -
'+remind_type+'
\ +
'+type+'
\ \ \ \ 日程内容*\ \ - 优先级*\ + 提醒*\ \ -
'+type+'
\ +
'+remind_type+'
\ \ \ \ @@ -228,20 +228,34 @@ user-select: none;} dropdown.render({ elem: '#type' ,data: [{ - title: ' 紧急', + title: '紧急', + templet: function(d){ + return ' ' + d.title; + }, id: 1 },{ - title: ' 重要', - + title: '重要', + templet: function(d){ + return ' ' + d.title; + }, id: 2 },{ - title: ' 次要', + title: '次要', + templet: function(d){ + return ' ' + d.title; + }, id: 3 },{ - title: ' 不重要', + title: '不重要', + templet: function(d){ + return ' ' + d.title; + }, id: 4 },{ - title: ' 无优先级', + title: '无优先级', + templet: function(d){ + return ' ' + d.title; + }, id: 5 }] ,click: function(obj){ diff --git a/app/oa/view/plan/index.html b/app/oa/view/plan/index.html index 111c4bc..9716896 100644 --- a/app/oa/view/plan/index.html +++ b/app/oa/view/plan/index.html @@ -411,20 +411,34 @@ dropdown.render({ elem: '#type' ,data: [{ - title: ' 紧急', + title: '紧急', + templet: function(d){ + return ' ' + d.title; + }, id: 1 },{ - title: ' 重要', - + title: '重要', + templet: function(d){ + return ' ' + d.title; + }, id: 2 },{ - title: ' 次要', + title: '次要', + templet: function(d){ + return ' ' + d.title; + }, id: 3 },{ - title: ' 不重要', + title: '不重要', + templet: function(d){ + return ' ' + d.title; + }, id: 4 },{ - title: ' 无优先级', + title: '无优先级', + templet: function(d){ + return ' ' + d.title; + }, id: 5 }] ,click: function(obj){